/* ─── USE CARDS ─── */

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 340px;
  cursor: pointer;
}

.use-card-wide {
  grid-column: span 2;
}

.use-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: .5s;
}
.use-card:hover .use-card-bg {
  transform: scale(1.05);
}

.use-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.18) 60%, transparent 100%);
}

.use-card-content {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
}

.use-card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.use-card h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.use-card p {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.use-card a {
  color: #ccc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.use-card a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .use-card-wide { grid-column: span 2; }
}
@media (max-width: 576px) {
  .use-grid { grid-template-columns: 1fr; }
  .use-card-wide { grid-column: span 1; }
  .use-card { height: 280px; }
}


/* ─── BRANDS GRID ─── */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: .25s;
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #333;
  transform: scaleX(0);
  transition: .3s;
}
.brand-card:hover {
  border-color: #333;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.brand-card:hover::before {
  transform: scaleX(1);
}

.brand-logo-placeholder {
  width: 70px;
  height: 70px;
  background: var(--grey);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 900;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: .5px;
}

.brand-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.brand-card span {
  font-size: 11px;
  color: var(--muted);
}

.price-from {
  display: inline-block;
  background: var(--grey);
  color: #333;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 8px;
}

#banner_box_8 .st_image_layered_description_inner {
  width: 100%;
  height: 100%;
}

@media (max-width: 1200px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .brands-grid { grid-template-columns: 1fr; }
}


/* ─── PRODUCT CARDS (mockup base) ─── */

.products-section {
  padding: 80px 40px;
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: .25s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border-color: #ccc;
}

.product-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--grey);
}

.product-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: .5s;
}
.product-card:hover .product-img-bg {
  transform: scale(1.06);
}

.product-img a.product-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}

.product-badge.badge-sale {
  background: #c0392b;
}

.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: #888;
  font-size: 14px;
  transition: .2s;
}
.product-wishlist:hover {
  background: #fff;
  color: #e74c3c;
}

.product-info {
  padding: 18px 18px 14px;
}

.product-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.product-name a {
  color: inherit;
  text-decoration: none;
}
.product-name a:hover {
  color: #555;
}

.product-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.product-spec {
  background: var(--grey);
  color: #555;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .3px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.product-price .currency {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 1px;
}

.product-price .old-price {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.btn-cart {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
}
.btn-cart:hover {
  background: #333;
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-section { padding: 60px 24px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-img { height: 200px; }
}


/* ─── FEATURED PRODUCTS SLIDER (ss-featured) ─── */

.ss-featured-products,
.ss-featured-section {
  background: #fff;
  padding: 80px 40px;
}

.ss-section-header { text-align: center; margin-bottom: 48px; }

.ss-section-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ss-section-title {
  font-size: 46px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}
.ss-section-title a { color: inherit; text-decoration: none; }

.ss-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ss-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.ss-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.10);
}

.ss-product-img-wrap {
  display: block;
  height: 260px;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.ss-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.ss-product-card:hover .ss-product-img { transform: scale(1.06); }

.ss-product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}
.ss-product-img-placeholder svg { width: 56px; height: 56px; }

.ss-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #333;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: .5px;
  z-index: 2;
  text-transform: uppercase;
}
.ss-badge--sale { background: #c00; }

.ss-product-info { padding: 20px; }

.ss-product-brand {
  font-size: 11px;
  font-weight: 700;
  color: #333;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ss-product-name {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 14px;
  line-height: 1.35;
}
.ss-product-name a { color: inherit; text-decoration: none; }

.ss-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ss-product-price { display: flex; flex-direction: column; gap: 2px; }
.ss-price-old { font-size: 13px; color: #888; text-decoration: line-through; }
.ss-price-main { font-size: 22px; font-weight: 900; color: #111; }

/* Panda swiper overrides */
.stfeaturedslider_container { max-width: 100% !important; width: 100% !important; }

.ss-featured-section .block_content,
.ss-featured-section .swiper-container { overflow: visible !important; }
.ss-featured-section .products_slider {
  overflow: hidden;
  padding: 20px 2px 28px;
  margin: -20px -2px -28px;
}
.ss-featured-section .swiper-wrapper { align-items: stretch; }
.ss-featured-section .ajax_block_product.swiper-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
}

.ss-featured-section .pro_outer_box {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease;
}
.ss-featured-section .pro_outer_box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
}

.ss-featured-section .pro_first_box {
  aspect-ratio: 800 / 520;
  width: 100%;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ss-featured-section .pro_first_box .product_img_link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ss-featured-section .pro_first_box .front_image_pic {
  display: block;
  width: 100%;
  height: 100%;
}
.ss-featured-section .pro_first_box .front-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}
.ss-featured-section .pro_outer_box:hover .front-image { transform: scale(1.05); }
.ss-featured-section .pro_first_box .holder { display: none !important; }

.ss-featured-section .ss-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  line-height: 1;
}
.ss-featured-section .ss-badge-type-1 { background: #2a9d8f; }
.ss-featured-section .ss-badge-type-2,
.ss-featured-section .ss-badge-type-3 { background: #e63946; }

.ss-featured-section .ss-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.ss-featured-section .ss-wishlist:hover { background: #fff; }
.ss-featured-section .ss-wishlist .add_to_love {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #999;
  font-size: 14px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: color .2s;
}
.ss-featured-section .ss-wishlist .add_to_love:hover,
.ss-featured-section .ss-wishlist .add_to_love.loved { color: #e63946; }
.ss-featured-section .ss-wishlist .add_to_love .btn_text { display: none; }
.ss-featured-section .ss-wishlist .add_to_love .icon_btn { font-size: 14px; }
.ss-featured-section .ss-wishlist .add_to_love.hover_out { display: flex !important; opacity: 1 !important; visibility: visible !important; }

.ss-featured-section .pro_second_box {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ss-featured-section .pro_list_manufacturer {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding: 0;
}

.ss-featured-section .s_title_block {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.3;
}
.ss-featured-section .s_title_block a { color: var(--navy); text-decoration: none; }
.ss-featured-section .s_title_block a:hover { color: var(--cyan); }

.ss-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ss-spec {
  background: #f3f4f6;
  color: #555;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  line-height: 1;
}

.ss-featured-section .product-desc,
.ss-featured-section .pro_mini_cate_name,
.ss-featured-section .pro_list_reference,
.ss-featured-section .act_box_inner,
.ss-featured-section .rating-box,
.ss-featured-section .product_variants,
.ss-featured-section .hover_fly,
.ss-featured-section .bottom_hover_fly,
.ss-featured-section .countdown_wrap { display: none !important; }

.ss-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.ss-card-price { display: flex; flex-direction: column; line-height: 1; }
.ss-card-price .regular-price {
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 3px;
}
.ss-card-price .price {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}

.ss-btn-cart {
  flex-shrink: 0;
  background: var(--navy);
  color: #fff !important;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.ss-btn-cart:hover { background: #333; color: #fff !important; transform: translateY(-1px); }
.ss-btn-cart--view { background: #f5f5f5; color: #111 !important; }
.ss-btn-cart--view:hover { background: #e0e0e0; color: #111 !important; }

.ss-featured-section .swiper-button-outer {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: background .2s, border-color .2s;
  color: var(--navy);
}
.ss-featured-section .swiper-button-outer:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.ss-view-more { text-align: center; margin-top: 48px; }
.ss-btn-more {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .5px;
  transition: background .2s, color .2s;
}
.ss-btn-more:hover { background: var(--navy); color: #fff; }

@media (max-width: 1024px) {
  .ss-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .ss-featured-products,
  .ss-featured-section { padding: 60px 24px; }
  .ss-section-title { font-size: 32px; }
}
@media (max-width: 576px) {
  .ss-featured-products,
  .ss-featured-section { padding: 40px 16px; }
  .ss-section-title { font-size: 26px; }
  .ss-section-header { margin-bottom: 28px; }
  .ss-products-grid { grid-template-columns: 1fr; }
  .ss-product-img-wrap { height: 220px; }
}
