/* --- SHOP CATEGORY PILLS vs DROPDOWN ----------------------- */
@media(max-width:639px) {
  .shop-cat-pills { display: none !important }
  .shop-cat-dropdown { display: block !important }
}

/* --- SHOP FILTERS + VIEW MODES ---------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  transition: grid-template-columns .3s ease
}

.shop-layout.sidebar-hidden {
  grid-template-columns: 0px minmax(0, 1fr)
}

.shop-layout.sidebar-hidden .shop-sidebar {
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  border: none;
  min-width: 0
}

.shop-filter-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 10px
}

.shop-filter-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px
}

.shop-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0px
}

.shop-filter-list-scroll {
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin
}

.shop-filter-list-scroll::-webkit-scrollbar {
  width: 4px
}

.shop-filter-list-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px
}

.shop-filter-link {
  display: block;
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600
}

.shop-filter-link:hover,
.shop-filter-link.active {
  background: var(--primary-light);
  color: var(--primary)
}

/* Checkbox & radio filter items */
.shop-filter-check,
.shop-filter-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 8px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s
}

.shop-filter-check:hover,
.shop-filter-radio:hover {
  background: var(--gray-50, #f9fafb)
}

.shop-filter-check.active,
.shop-filter-radio.active {
  background: var(--primary-light);
  color: var(--primary)
}

.shop-filter-check input,
.shop-filter-radio input {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer
}

/* Range slider */
.range-slider-wrap {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center
}

.range-slider-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gray-200);
  border-radius: 4px;
  top: 50%;
  transform: translateY(-50%)
}

.range-slider-track {
  position: absolute;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none
}

.range-input {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  cursor: pointer;
  pointer-events: all
}

.range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  cursor: pointer;
  pointer-events: all
}

/* Desktop sidebar toggle button */
.shop-sidebar-toggle {
  display: none
}

@media(min-width:768px) {
  .shop-sidebar-toggle {
    display: inline-flex
  }
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap
}

.shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.shop-icon-btn {
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-700);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.shop-icon-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #d7d3ff
}

.shop-filter-drawer-toggle {
  display: none
}

.shop-filter-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1198
}

.shop-filter-drawer-overlay.show {
  display: block
}

/* --- Product list mode ------------------------------------- */
.products-list-mode .product-card {
  flex-direction: row;
  align-items: center
}

.products-list-mode .product-card-img-wrap {
  width: 100px;
  min-width: 100px;
  aspect-ratio: 1/1;
  border-radius: .5rem 0 0 .5rem;
  flex-shrink: 0
}

.products-list-mode .product-card-body {
  flex: 1;
  padding: 10px 14px;
  min-width: 0
}

.products-list-mode .product-card-name {
  font-size: 14px;
  font-weight: 600
}

.products-list-mode .product-card-footer {
  padding-top: 4px
}

.products-list-mode .product-price-wrap {
  flex-direction: row;
  align-items: center;
  gap: 6px
}

.products-list-mode .product-price {
  font-size: 15px
}

.products-list-mode .product-price-old {
  font-size: 12px;
  order: -1
}

.products-list-mode .wishlist-heart {
  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  display: inline-flex
}

@media(min-width:768px) {
  .products-grid.products-list-mode {
    grid-template-columns: repeat(3, 1fr) !important
  }

  .products-list-mode .product-card-img-wrap {
    width: 90px;
    min-width: 90px
  }

  .products-list-mode .product-card-body {
    padding: 8px 12px
  }

  .products-list-mode .product-card-name {
    font-size: 13px
  }

  .products-list-mode .product-price {
    font-size: 13px
  }
}

@media(max-width:767px) {
  .products-grid.products-list-mode {
    grid-template-columns: 1fr !important;
    gap: 8px !important
  }

  .products-list-mode .product-card-img-wrap {
    width: 80px;
    min-width: 80px
  }

  .products-list-mode .product-card-body {
    padding: 8px 10px
  }

  .products-list-mode .product-card-name {
    font-size: 13px
  }

  .products-list-mode .product-price {
    font-size: 13px
  }
}

@media(max-width:767px) {
  .shop-layout {
    grid-template-columns: 1fr
  }

  .shop-filter-drawer-toggle {
    display: inline-flex
  }

  .shop-sidebar-toggle {
    display: none !important
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    z-index: 1199;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
    padding: 14px
  }

  .shop-sidebar.open {
    transform: translateX(0)
  }
}

/* --- PRODUCT CARD ------------------------------------------- */
.product-card {
  background: hsl(210 20% 98%);
  border-radius: .5rem;
  overflow: hidden;
      border: 1px solid hsl(220 13% 87%);
  transition: box-shadow .2s ease, transform .2s ease;
  position: relative;
  display: flex;
  flex-direction: column
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  transform: translateY(-2px)
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--product-img-ratio, 1/1);
  background: var(--gray-100)
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease
}

.product-card:hover .product-card-img {
  transform: scale(1.04)
}

.product-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.badge-sale {
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px
}

.badge-featured {
  background: var(--accent);
  color: #1a1929;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px
}

.badge-delivery {
  background: linear-gradient(135deg, #fff7d6, #ffefb0);
  color: #7c4a03;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #f8de87
}

.product-card > .wishlist-heart {
  display: none
}

.product-card-body {
  padding: 8px 12px 10px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.product-card-cat {
  font-size: 10px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 4px
}

.product-card-name {
  font-size: 12px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block
}

.product-card-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px
}

.attr-pill {
  font-size: 10px;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500
}

.product-card-footer {
  margin-top: auto;
  padding-top: 2px
}

.product-price-wrap {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap
}

.product-price {
  font-family: 'Inter', var(--font);
  font-size: 14px;
  font-weight: 700;
  color: #111
}

.product-price-old {
  display: inline;
  font-size: 11px;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400
}

.product-card-btn {
  padding: 7px 10px;
  font-size: 13px;
  border-radius: 7px;
  white-space: nowrap;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  font-weight: 600;
  flex-shrink: 0
}

.product-card-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: none;
  box-shadow: 0 3px 10px var(--primary-glow)
}

@media(max-width:767px) {
  .product-card-btn {
    padding: 5px 15px;
    font-size: 18px;
    min-height: 35px
  }

  .product-card-btn svg {
    width: 20px;
    height: 20px
  }
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

@media(min-width:640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(min-width:1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
  }
}

@media(min-width:1280px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr)
  }
}

/* --- SECTION TITLES ---------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 8px
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900)
}

.section-title span {
  color: var(--primary)
}

.section-subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap
}

.section-link:hover {
  text-decoration: underline
}

.section-pad {
  padding: 6px 0
}

@media(min-width:768px) {
  .section-pad {
    padding: 24px 0
  }
}

/* --- HOMEPAGE SECTION LIST STYLE -------------------------- */
.home-section-products.home-layout-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

@media(min-width:640px) {
  .home-section-products.home-layout-list {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(min-width:1024px) {
  .home-section-products.home-layout-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
  }
}

.home-list-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: hsl(210 20% 97%);
  border-radius: 10px;
  padding: 8px 10px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: background .18s ease
}

.home-list-card:hover {
  background: hsl(210 20% 94%)
}

.home-list-card-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-200)
}

.home-list-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.home-list-card-info {
  min-width: 0;
  flex: 1;
  overflow: hidden
}

.home-list-card-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3
}

.home-list-card-name:hover {
  color: var(--primary)
}

.home-list-card-price {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900)
}

/* --- DISCOVER BY PRICE ------------------------------------- */
.price-cards-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 4px 0 8px
}

.price-cards-row.has-overflow {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none
}

.price-cards-row.has-overflow::-webkit-scrollbar {
  display: none
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--gray-100);
  border-radius: 12px;
  text-decoration: none;
  scroll-snap-align: start;
  transition: background var(--transition), box-shadow var(--transition)
}

.price-cards-row.has-overflow .price-card {
  flex: 0 0 calc((100% - 60px) / 6);
  min-width: 120px
}

.price-card:hover {
  background: var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,.06)
}

.price-card-under {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 2px
}

.price-card-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  white-space: nowrap
}

@media(max-width:767px) {
  .price-cards-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding: 4px 0 8px
  }
  .price-cards-row::-webkit-scrollbar { display: none }
  .price-cards-row .price-card {
    flex: 0 0 calc((100% - 20px) / 3);
    min-width: 100px;
    scroll-snap-align: start
  }
  .price-cards-row.has-overflow {
    display: flex
  }
  .price-cards-row.has-overflow .price-card {
    flex: 0 0 calc((100% - 20px) / 3);
    min-width: 100px
  }
  .price-card { padding: 12px 10px }
  .price-card-amount { font-size: 18px }
}

/* --- HERO SECTION ------------------------------------------ */
.hero-section {
  padding: 16px 0
}

@media(min-width:768px) {
  .hero-section {
    padding: 20px 0
  }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px
}

@media(min-width:1024px) {
  .hero-layout {
    grid-template-columns: 220px 1fr 220px;
    gap: 20px
  }
}

/* Category sidebar */
.hero-categories {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100)
}

.hero-cat-title {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--gray-100)
}

.hero-cat-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  padding: 8px 0
}

@media(min-width:1024px) {
  .hero-cat-list {
    flex-direction: column
  }
}

.hero-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-radius: 0
}

.hero-cat-item:hover,
.hero-cat-item.active {
  background: var(--primary-light);
  color: var(--primary)
}

.hero-cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0
}

/* Slider */
.hero-slider-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--dark);
  width: 100%;
  min-width: 0;
  min-height: 340px;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none
}

.hero-slider-wrap:active {
  cursor: grabbing
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform .35s ease
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 14, 23, .85) 40%, transparent)
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-50%);
  color: #fff;
  max-width: 380px
}

.slide-content h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px
}

@media(min-width:768px) {
  .slide-content h2 {
    font-size: 32px
  }
}

.slide-content p {
  font-size: 15px;
  opacity: .85;
  margin-bottom: 20px
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background var(--transition), width var(--transition)
}

.slider-dot.active {
  background: #fff;
  width: 22px;
  border-radius: 999px
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  border: none
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, .45)
}

@media(max-width:767px) {
  .slider-arrow {
    display: none
  }
}

.slider-prev {
  left: 12px
}

.slider-next {
  right: 12px
}

/* Hero discount cards */
.hero-discounts {
  display: flex;
  flex-direction: column;
  gap: 10px
}

@media(max-width:1023px) {
  .hero-discounts {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px
  }
}

.hero-discount-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  flex-shrink: 0;
  border: 1px solid var(--gray-100)
}

.hero-discount-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(3px);
  border-color: var(--primary-light)
}

.hero-discount-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0
}

.hero-discount-info {
  flex: 1;
  min-width: 0
}

.hero-discount-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.hero-discount-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary)
}

.hero-discount-old {
  font-size: 11px;
  color: var(--gray-400);
  text-decoration: line-through
}

/* --- CATEGORY ICONS SECTION ------------------------------- */
.cat-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

@media(min-width:640px) {
  .cat-icons-grid {
    grid-template-columns: repeat(5, 1fr)
  }
}

@media(min-width:1024px) {
  .cat-icons-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 16px
  }
}

.cat-icon-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm)
}

.cat-icon-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  background: var(--primary-light)
}

.cat-icon-card:hover .cat-icon-label {
  color: var(--primary)
}

.cat-icon-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto 10px
}

.cat-icon-emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 8px
}

.cat-icon-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700)
}

/* --- PRODUCT TABS ----------------------------------------- */
.product-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 20px
}

.product-tabs-bar::-webkit-scrollbar {
  display: none
}

.tab-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: 50px;
  white-space: nowrap;
  transition: all var(--transition)
}

.tab-btn.active {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow)
}

.tab-btn:hover {
  color: var(--gray-900);
  background: var(--gray-200)
}

.tab-btn.active:hover {
  color: #fff;
  background: var(--primary)
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap
}

.filter-select {
  padding: 7px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--gray-700);
  background: #fff;
  cursor: pointer;
  outline: none
}

.filter-select:focus {
  border-color: var(--primary)
}

.load-more-wrap {
  text-align: center;
  margin-top: 24px
}

.load-more-btn {
  padding: 8px 20px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition)
}

.load-more-btn:hover {
  background: var(--primary);
  color: #fff
}

.load-more-btn.loading {
  opacity: .6;
  pointer-events: none
}

.filter-actions {
  position: sticky;
  display: flex;
  flex-direction: row;
  gap: 8px;
  bottom: 0;
  background: #fff;
  padding-top: 10px;
  padding-bottom: 4px;
  z-index: 5
}

/* Skeleton card placeholder (for load more / tab switch) */
.skeleton-card-ph {
  pointer-events: none
}

.skeleton-card-ph .product-card-img-wrap {
  position: relative
}

.skeleton-card-ph .product-card-img-wrap .skeleton {
  position: absolute;
  inset: 0;
  border-radius: 0
}

.skeleton-card-ph .product-card-body .skeleton {
  border-radius: 4px
}

/* Card reveal animation */
.card-reveal {
  animation: cardReveal .35s ease both
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ===== BRANDS / PARTNERS SECTION ===== */
.brands-section {
  background: #fff;
  padding-top: 48px;
  padding-bottom: 48px
}

.brands-section .section-title {
  color: #0f172a
}

.brands-track-wrap {
  overflow: hidden;
  position: relative
}

.brands-track {
  display: flex;
  gap: 16px;
  animation: brandsScroll 25s linear infinite;
  width: max-content
}

.brands-track:hover {
  animation-play-state: paused
}

@keyframes brandsScroll {
  0% { transform: translateX(0) }
  100% { transform: translateX(-50%) }
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 80px;
  padding: 16px 24px;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0
}

.brand-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px)
}

.brand-logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%
}

.brand-logo-item img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: filter .2s, opacity .2s
}

.brand-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1
}

.brand-logo-text {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap
}

@media (max-width: 767px) {
  .brands-track-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
  }
  .brands-track-wrap::-webkit-scrollbar {
    display: none
  }
  .brands-track {
    animation: none
  }
  .brand-logo-item {
    min-width: 120px;
    padding: 12px 16px;
    height: 60px
  }
  .brand-logo-item img {
    max-height: 30px
  }
}


/* ===== Homepage SEAGM-style redesign ===== */
.home-hero-showcase {
  background: #fff;
  padding: 16px 0 20px;
}

.hero-layout-showcase {
  display: block;
}

.hero-slider-stage {
  --hero-slide-w: min(78vw, 1000px);
  --hero-slide-h: clamp(210px, 25vw, 360px);
  background: #fff;
  border-radius: 0;
  min-height: var(--hero-slide-h);
  overflow: hidden;
  cursor: grab;
}

.hero-slider-stage .slider-track {
  height: var(--hero-slide-h);
  gap: 12px;
  padding: 0 calc((100% - var(--hero-slide-w)) / 2);
  align-items: stretch;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.hero-slider-stage .slide {
  min-width: var(--hero-slide-w);
  width: var(--hero-slide-w);
  height: var(--hero-slide-h);
  border-radius: 8px;
  background: #111;
  overflow: hidden;
  flex: 0 0 var(--hero-slide-w);
  opacity: .38;
  filter: grayscale(.15) brightness(.7);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.hero-slider-stage .slide.is-active {
  opacity: 1;
  filter: none;
}

.hero-slider-stage .slide-link,
.hero-slider-stage .slide-img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slider-stage .slide-img {
  object-fit: cover;
  object-position: center;
}

.hero-slider-stage .slider-dots {
  bottom: 18px;
  gap: 7px;
}

.hero-slider-stage .slider-dot {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  border: 0;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.24);
}

.hero-slider-stage .slider-dot.active {
  width: 78px;
  background: #ff6a00;
}

.hero-slider-stage .slider-arrow {
  width: 34px;
  height: 54px;
  border-radius: 10px;
  background: rgba(255,255,255,.86);
  color: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: 28px;
}

.hero-slider-stage .slider-prev { left: calc((100% - var(--hero-slide-w)) / 2 + 10px); }
.hero-slider-stage .slider-next { right: calc((100% - var(--hero-slide-w)) / 2 + 10px); }

.exclusive-offers-section,
.home-curated-section {
  background: #f4f4f2;
  padding: 24px 0;
}

.exclusive-offers-section {
  background: linear-gradient(180deg,#ecebe2 0,#f6f6f4 100%);
}

.seagm-section-head,
.curated-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.seagm-section-head h2,
.curated-section-head h2 {
  margin: 0;
  color: #2b2b2b;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
}

.seagm-section-head p {
  margin: 4px 0 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.35;
}

.seagm-view-more {
  min-width: 102px;
  min-height: 42px;
  padding: 12px 18px;
  border-radius: 6px;
  background: #050505;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exclusive-offers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.exclusive-offer-card {
  min-height: 96px;
  border-radius: 10px;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
  display: flex;
  align-items: stretch;
  padding-top: 12px;
}

.exclusive-offer-card::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(135deg,#cf63a7,#e8bddc);
  opacity: .95;
}

.exclusive-offer-card:nth-child(3n+2)::before { background: linear-gradient(135deg,#6a5148,#b09289); }
.exclusive-offer-card:nth-child(3n+3)::before { background: linear-gradient(135deg,#8645ff,#a276ff); }
.exclusive-offer-card:nth-child(4n)::before { background: linear-gradient(135deg,#2868c9,#6badce); }

.offer-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  min-width: 72px;
  height: 72px;
  margin: -12px 12px 0 12px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,.1);
}

.offer-icon img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.offer-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
  padding: 13px 10px 0 0;
  color: #fff;
}

.offer-main strong,
.offer-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-main strong { font-size: 13px; font-weight: 800; line-height: 1.2; }
.offer-main small { margin-top: 6px; font-size: 11px; opacity: .86; }

.offer-bottom {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}

.offer-bottom em {
  font-style: normal;
  background: #178017;
  color: #fff;
  height: 18px;
  min-width: 60px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.offer-bottom b { color: #333; font-size: 12px; font-weight: 500; }

.home-curated-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.curated-section-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  min-width: 0;
}

.curated-section-head {
  align-items: center;
  margin-bottom: 24px;
}

.curated-section-head a {
  color: #888;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.curated-section-head a span { color: #333; font-size: 24px; line-height: 1; }

.curated-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px 22px;
}

.curated-product-item {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.curated-product-img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid #ececec;
  overflow: hidden;
  background: #fff;
}

.curated-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curated-product-copy { min-width: 0; display: block; }
.curated-product-copy strong,
.curated-product-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.curated-product-copy strong {
  color: #333;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.curated-product-copy small {
  margin-top: 5px;
  color: #999;
  font-size: 11px;
  white-space: nowrap;
}

@media(max-width:1023px) {
  .exclusive-offers-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .home-curated-grid,
  .curated-items {
    grid-template-columns: 1fr;
  }
}

@media(max-width:767px) {
  .home-hero-showcase { padding: 10px 0 0; }
  .hero-slider-stage {
    --hero-slide-w: calc(100vw - 24px);
    --hero-slide-h: 238px;
    margin: 0 -4px;
  }
  .hero-slider-stage .slider-track {
    gap: 10px;
    padding: 0 calc((100% - var(--hero-slide-w)) / 2);
  }
  .hero-slider-stage .slide { border-radius: 8px; }
  .hero-slider-stage .slider-dot { width: 24px; height: 4px; }
  .hero-slider-stage .slider-dot.active { width: 56px; }
  .exclusive-offers-section { padding: 20px 0 16px; }
  .seagm-section-head { align-items: center; margin-bottom: 14px; }
  .seagm-section-head h2 { font-size: 18px; }
  .seagm-section-head p { max-width: 210px; font-size: 12px; }
  .seagm-view-more { min-width: 88px; min-height: 36px; padding: 9px 14px; }
  .exclusive-offers-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: minmax(250px, 68vw);
    grid-template-columns: none;
    overflow-x: auto;
    gap: 12px;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .exclusive-offers-grid::-webkit-scrollbar,
  .home-curated-grid::-webkit-scrollbar { display: none; }
  .exclusive-offer-card { scroll-snap-align: start; }
  .home-curated-section { padding: 14px 0 22px; }
  .home-curated-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .curated-section-card {
    flex: 0 0 min(74vw, 330px);
    padding: 22px 20px;
    scroll-snap-align: start;
  }
  .curated-section-head { margin-bottom: 18px; }
  .curated-section-head h2 { font-size: 14px; }
  .curated-items { gap: 14px; }
  .curated-product-item { grid-template-columns: 56px minmax(0,1fr); }
}

/* ===== Homepage refinement pass: SEAGM closer layout ===== */
.home-hero-showcase,
.exclusive-offers-section,
.home-curated-section {
  overflow-x: hidden;
}

.home-hero-showcase .container,
.exclusive-offers-section .container,
.home-curated-section .container {
  max-width: 1280px;
}

.home-hero-showcase {
  background: #fff;
  padding: 16px 0 20px;
}

.hero-slider-stage {
  --hero-slide-w: min(74vw, 960px);
  --hero-slide-h: clamp(230px, 26vw, 360px);
  background: #fff;
}

.hero-slider-stage .slider-track {
  gap: 14px;
}

.hero-slider-stage .slide {
  cursor: pointer;
  opacity: .34;
  filter: grayscale(.25) brightness(.88);
  background: #eef1f3;
}

.hero-slider-stage .slide.is-active {
  cursor: grab;
  opacity: 1;
  filter: none;
}

.hero-slider-stage .slider-arrow {
  display: none !important;
}

.hero-slider-stage .slider-dot {
  background: rgba(255,255,255,.42);
}

.hero-slider-stage .slider-dot.active {
  background: #ff6a00;
}

.exclusive-offers-section,
.home-curated-section {
  background-color: #f6f8f9;
  background-image:
    linear-gradient(180deg, rgba(246,248,249,.96) 0%, rgba(241,243,240,.97) 100%),
    repeating-linear-gradient(125deg, rgba(39,42,45,.045) 0 112px, transparent 112px 196px),
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.95) 0 190px, transparent 191px);
}

.exclusive-offers-section {
  padding: 24px 0 26px;
}

.home-curated-section {
  padding: 22px 0 28px;
}

.exclusive-offers-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.exclusive-offer-card {
  min-height: 72px;
  border-radius: 8px;
  padding: 8px 12px 8px 8px;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d887bd 0%, #cf79b2 48%, #b66fe8 100%);
  box-shadow: none;
  color: #fff;
}

.exclusive-offer-card::before,
.exclusive-offer-card::after {
  content: none;
}

.exclusive-offer-card.offer-tone-1 { background: linear-gradient(135deg, #7a665e 0%, #9e8176 54%, #b79d92 100%); }
.exclusive-offer-card.offer-tone-2 { background: linear-gradient(135deg, #7d45ff 0%, #935aff 50%, #ad7bff 100%); }
.exclusive-offer-card.offer-tone-3 { background: linear-gradient(135deg, #356dbf 0%, #528fce 52%, #77b6d8 100%); }
.exclusive-offer-card.offer-tone-4 { background: linear-gradient(135deg, #b553dd 0%, #d45be6 48%, #ef87ef 100%); }
.exclusive-offer-card.offer-tone-5 { background: linear-gradient(135deg, #8392c8 0%, #a9b5d8 52%, #c4cde8 100%); }

.exclusive-offer-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(28,34,42,.08);
}

.offer-icon {
  width: 58px;
  min-width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  overflow: hidden;
}

.offer-icon img {
  border-radius: 10px;
}

.offer-main {
  padding: 0;
  color: #fff;
}

.offer-main strong { font-size: 13px; }
.offer-main small { margin-top: 6px; font-size: 11px; opacity: .84; }
.offer-bottom { display: none; }

@media(max-width: 1023px) {
  .hero-slider-stage {
    --hero-slide-w: min(78vw, 820px);
  }
  .exclusive-offers-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media(max-width: 767px) {
  .home-hero-showcase {
    padding: 8px 0 0;
  }
  .home-hero-showcase .container {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-slider-stage {
    --hero-slide-w: 100vw;
    --hero-slide-h: auto;
    min-height: 0;
    margin: 0;
    border-radius: 0;
  }
  .hero-slider-stage .slider-track {
    height: auto;
    gap: 0;
    padding: 0;
    align-items: flex-start;
  }
  .hero-slider-stage .slide {
    width: 100vw;
    min-width: 100vw;
    flex-basis: 100vw;
    height: auto;
    min-height: 0;
    border-radius: 0;
    background: #fff;
    opacity: 1;
    filter: none;
  }
  .hero-slider-stage .slide-link,
  .hero-slider-stage .slide-img {
    height: auto;
  }
  .hero-slider-stage .slide-img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .hero-slider-stage .slider-dots {
    bottom: 10px;
  }
  .exclusive-offers-section {
    padding: 16px 0 18px;
  }
  .seagm-section-head {
    align-items: flex-start;
    gap: 10px;
  }
  .seagm-section-head p {
    max-width: none;
  }
  .exclusive-offers-grid {
    grid-auto-columns: minmax(220px, calc(100vw - 104px));
    gap: 10px;
    padding-bottom: 8px;
    margin-right: -16px;
  }
  .exclusive-offer-card {
    min-height: 72px;
    grid-template-columns: 56px minmax(0,1fr);
    gap: 10px;
    padding: 8px 10px 8px 8px;
  }
  .offer-icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
  }
  .home-curated-grid {
    max-width: 100vw;
  }
  .curated-section-card {
    flex: 0 0 min(78vw, 330px);
  }
}

/* ===== Mobile/product layout correction ===== */
.exclusive-offer-card,
.exclusive-offer-card[class*="offer-tone-"] {
  background-color: #7c6df1;
  background-image:
    url('/assets/images/gradient_bg-f5a8237834.svg'),
    linear-gradient(135deg, #7464ef 0%, #8d61f5 46%, #6bb7dc 100%);
  background-repeat: repeat-x, no-repeat;
  background-position: -90% center, center;
  background-size: 225% auto, cover;
}

.hero-slider-stage .slider-dots {
  bottom: 16px;
  z-index: 5;
}

@media(max-width: 767px) {
  .home-hero-showcase {
    padding: 0;
  }
  .hero-slider-stage {
    width: 100vw;
    overflow: hidden;
  }
  .hero-slider-stage .slider-dots {
    bottom: 8px;
  }
  .hero-slider-stage .slider-dot {
    width: 28px;
    height: 4px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 1px 5px rgba(0,0,0,.18);
  }
  .hero-slider-stage .slider-dot.active {
    width: 54px;
    background: #ff6a00;
  }

  .exclusive-offers-section .container,
  .home-curated-section .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .exclusive-offers-section {
    padding: 18px 0 20px;
  }
  .exclusive-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: initial;
    gap: 10px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }
  .exclusive-offer-card {
    min-width: 0;
    min-height: 66px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 8px;
    scroll-snap-align: unset;
  }
  .offer-icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
    border-radius: 9px;
  }
  .offer-icon img {
    border-radius: 9px;
  }
  .offer-main strong {
    font-size: 12px;
    line-height: 1.15;
  }
  .offer-main small {
    margin-top: 5px;
    font-size: 10px;
  }

  .home-curated-section {
    padding: 14px 0 22px;
  }
  .home-curated-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    margin: 0;
    padding: 0;
    max-width: none;
    scroll-snap-type: none;
  }
  .curated-section-card {
    width: 100%;
    flex: none;
    padding: 18px 14px;
    scroll-snap-align: unset;
  }
  .curated-section-head {
    margin-bottom: 16px;
  }
  .curated-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .curated-product-item {
    display: block;
    min-width: 0;
  }
  .curated-product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    margin-bottom: 7px;
  }
  .curated-product-copy strong {
    font-size: 11px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }
  .curated-product-copy small {
    display: none;
  }
}

/* ===== Homepage final requested corrections ===== */
.home-hero-showcase .container,
.exclusive-offers-section .container,
.home-curated-section .container {
  max-width: 1440px;
}

.hero-slider-stage picture,
.hero-slider-stage .slide-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.exclusive-offer-card,
.exclusive-offer-card[class*="offer-tone-"] {
  background-color: rgb(64 80 92);
  background-image:
    url('/assets/images/gradient_bg-f5a8237834.svg'),
    linear-gradient(135deg, rgb(64 80 92) 0%, rgb(64 80 92) 46%, #1c496c 100%);
  background-repeat: repeat-x, no-repeat;
  background-position: -90% center, center;
  background-size: 225% auto, cover;
}

.curated-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.curated-product-item {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.curated-product-copy b {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

@media(max-width: 767px) {
  .home-hero-showcase .container {
    max-width: none;
  }
  .hero-slider-stage {
    --mobile-banner-h: clamp(132px, 36vw, 178px);
    min-height: var(--mobile-banner-h) !important;
    height: var(--mobile-banner-h);
  }
  .hero-slider-stage .slider-track,
  .hero-slider-stage .slide,
  .hero-slider-stage .slide-link,
  .hero-slider-stage picture {
    height: var(--mobile-banner-h) !important;
  }
  .hero-slider-stage .slide-img {
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }
  .hero-slider-stage .slider-dots {
    bottom: 8px;
  }

  .exclusive-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .exclusive-offer-card {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 60px;
    padding: 7px;
  }
  .offer-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .curated-section-card {
    padding: 16px 12px;
  }
  .curated-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .curated-product-item {
    display: block;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }
  .curated-product-img {
    width: 100%;
    max-width: 96px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 7px;
    border-radius: 8px;
  }
  .curated-product-copy {
    text-align: left;
  }
  .curated-product-copy strong {
    display: -webkit-box;
    color: #1f2933;
    font-size: 11px;
    line-height: 1.25;
    min-height: 27px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .curated-product-copy small,
  .curated-product-copy b {
    display: none;
  }
}

/* ===== Mobile product thumbnail/title fix ===== */
@media(max-width: 767px) {
  .curated-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start;
    gap: 14px 8px;
  }
  .curated-product-item {
    display: block !important;
    min-width: 0;
    overflow: visible;
    text-align: left;
  }
  .curated-product-img {
    display: block !important;
    width: 68px !important;
    height: 68px !important;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    margin: 0 0 7px 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f6f8;
  }
  .curated-product-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
  }
  .curated-product-copy {
    display: block !important;
    min-width: 0;
    width: 100%;
    text-align: left;
  }
  .curated-product-copy strong {
    display: -webkit-box !important;
    min-height: 28px;
    color: #1f2933 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 600;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ===== Final mobile curated image sizing requested ===== */
@media(max-width: 767px) {
  .curated-product-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .curated-product-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* ===== New homepage dark mode ===== */
[data-theme="dark"] .home-hero-showcase {
  background: #0b0b16;
}
[data-theme="dark"] .hero-slider-stage {
  background: #0b0b16;
}
[data-theme="dark"] .exclusive-offers-section,
[data-theme="dark"] .home-curated-section {
  background-color: #0f1119;
  background-image:
    linear-gradient(180deg, rgba(15,17,25,.96) 0%, rgba(12,14,22,.98) 100%),
    url('/assets/images/gradient_bg-f5a8237834.svg');
}
[data-theme="dark"] .seagm-section-head h2,
[data-theme="dark"] .curated-section-head h2 {
  color: #f3f4f6;
}
[data-theme="dark"] .seagm-section-head p,
[data-theme="dark"] .curated-section-head a,
[data-theme="dark"] .curated-product-copy small {
  color: #9ca3af;
}
[data-theme="dark"] .curated-section-card,
[data-theme="dark"] .curated-product-item,
[data-theme="dark"] .home-blog-card {
  background: #141827;
  border-color: #242b3a;
}
[data-theme="dark"] .curated-product-img {
  background: #1c2231;
  border-color: #273246;
}
[data-theme="dark"] .curated-product-copy strong,
[data-theme="dark"] .home-blog-title,
[data-theme="dark"] .home-blog-title a {
  color: #f3f4f6 !important;
}
[data-theme="dark"] .curated-product-copy b,
[data-theme="dark"] .home-blog-link {
  color: #ffffff;
}
[data-theme="dark"] .home-blog-excerpt,
[data-theme="dark"] .home-blog-meta-top,
[data-theme="dark"] .home-blog-readtime {
  color: #a1a8b5;
}
[data-theme="dark"] .home-blog-footer {
  border-top-color: #242b3a;
}
[data-theme="dark"] .trust-bar {
  background: #141827;
  border-color: #242b3a;
}
[data-theme="dark"] .trust-item {
  color: #d1d5db;
}

/* ===== Homepage max width correction ===== */
.home-hero-showcase .container,
.exclusive-offers-section .container,
.home-curated-section .container {
  max-width: 1280px;
}

/* ===== Final offer limits, mobile shop grid, and draggable hero ===== */
.hero-slider-stage {
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.hero-slider-stage.is-dragging {
  cursor: grabbing;
}

.hero-slider-stage .slide-img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (min-width: 768px) {
  .exclusive-offers-grid > .exclusive-offer-card:nth-child(n + 6) {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .exclusive-offers-grid > .exclusive-offer-card:nth-child(n + 7) {
    display: none !important;
  }

  #productsGrid:not(.products-list-mode) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  #productsGrid:not(.products-list-mode) .product-card {
    min-width: 0;
    border-radius: 7px;
  }

  #productsGrid:not(.products-list-mode) .product-card-body {
    min-width: 0;
    padding: 7px 6px 8px;
  }

  #productsGrid:not(.products-list-mode) .product-card-name {
    display: -webkit-box;
    min-height: 27px;
    margin: 0 0 2px;
    overflow: hidden;
    color: #111827;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  #productsGrid:not(.products-list-mode) .product-price-wrap {
    gap: 3px;
  }

  #productsGrid:not(.products-list-mode) .product-price {
    font-size: 11px;
  }

  #productsGrid:not(.products-list-mode) .product-price-old {
    font-size: 9px;
  }
}

[data-theme="dark"] #productsGrid:not(.products-list-mode) .product-card-name {
  color: #f1f3fb;
}