/* *
=========================================================================
template css for emmsar-kloding front page.
Developed by: Hillside Business Consult
Author: Emmanuel Obeng
===========================================================================
*/

:root {
    --store-primary: #F71B1B;
    --store-dark: #0f172a;
    /* Slightly darker than footer (--store-dark) for mobile bottom bar */
    --store-bottom-nav-bg: #080c14;
    --discount-orange: #F0662B;
    --dense-border: #e8e8e8;
  }
  
  body.storefront-body {
    padding-top: 72px;
  }
  
  body.storefront-body.storefront-body--with-topbar {
    padding-top: 132px;
  }
  
  @media (max-width: 991.98px) {
    body.storefront-body.storefront-body--with-topbar {
      padding-top: 154px;
    }
  
    body.storefront-body--bottom-nav-mobile {
      padding-bottom: calc(3.85rem + env(safe-area-inset-bottom, 0px));
    }
  }

  .store-mobile-action-bar {
    position: relative;
  }

  .store-mobile-action-bar__surface {
    width: 100%;
  }

  @media (max-width: 991.98px) {
    .store-mobile-action-page {
      padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0px));
    }

    .store-mobile-action-bar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: calc(3.85rem + env(safe-area-inset-bottom, 0px));
      z-index: 1024;
      padding: 0.75rem 0.75rem 0.5rem;
      pointer-events: none;
    }

    .store-mobile-action-bar__surface {
      max-width: 100%;
      margin: 0 auto;
      padding: 0.75rem;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(14px);
      box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.12);
      pointer-events: auto;
    }

    .store-mobile-action-bar__row {
      flex-wrap: nowrap !important;
      align-items: center;
    }

    .store-mobile-action-bar--product .product-qty-control {
      flex: 0 0 auto;
    }

    .store-mobile-action-bar--product .product-dark-btn {
      flex: 1 1 auto;
      min-width: 0;
      margin-left: auto;
    }

    .store-mobile-action-bar--product label {
      display: none;
    }

    .store-mobile-action-bar--checkout #submitOrder {
      min-height: 3.25rem;
      margin: 0;
    }
  }

  a:hover{
    color: var(--store-primary);
  }
  
  .store-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }
  
  .store-topbar {
    background: var(--store-dark);
    color: #cbd5e1;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }
  
  /* Phone / small screens: delivery + social on one row, shared vertical alignment */
  @media (max-width: 991.98px) {
    .store-topbar__row {
      flex-wrap: nowrap;
      align-items: center;
      --bs-gutter-y: 0;
    }
  
    /* Bootstrap .g-* adds margin-top to columns after the first; social is 3rd in DOM so it was offset */
    .store-topbar__row > * {
      margin-top: 0 !important;
    }
  
    .store-topbar__row > .store-topbar__delivery,
    .store-topbar__row > .store-topbar__social-col {
      padding-top: 0;
      width: auto;
      max-width: none;
    }
  
    .store-topbar__row > .store-topbar__delivery {
      flex: 1 1 0%;
      min-width: 0;
    }
  
    .store-topbar__row > .store-topbar__social-col {
      flex: 0 0 auto;
    }
  }
  
  .store-topbar a {
    color: #e2e8f0;
    text-decoration: none;
  }
  
  .store-topbar a:hover {
    color: #fff;
  }
  
  .store-topbar .store-topbar__icon {
    flex-shrink: 0;
    color: #94a3b8;
  }
  
  .store-topbar .store-topbar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.25rem;
    color: #cbd5e1;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  
  .store-topbar .store-topbar__social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  
  .navbar.store-nav {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  }
  
  .store-header-fixed .navbar.store-nav {
    position: relative;
  }
  
  /* Emmsar main nav: left | full-width search | icons */
  .store-nav__grid {
    display: grid;
    width: 100%;
    align-items: center;
    gap: 0.65rem 0.75rem;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "left right"
      "search search";
  }
  
  @media (min-width: 992px) {
    .store-nav__grid {
      grid-template-columns: auto minmax(0, 1fr) auto;
      grid-template-areas: "left search right";
      gap: 0.75rem 1.25rem;
    }
  }
  
  .store-nav__left {
    grid-area: left;
    display: flex;
    align-items: center;
    min-width: 0;
  }
  
  .store-nav__brand {
    min-width: 0;
  }
  
  .store-nav__logo {
    display: block;
    object-fit: contain;
  }
  
  .store-nav__name {
    font-size: 1.125rem;
    letter-spacing: -0.02em;
  }
  
  .store-nav__link {
    color: var(--store-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
    border-radius: 0.35rem;
  }
  
  .store-nav__link:hover {
    color: var(--store-primary);
  }
  
  .store-nav__center {
    grid-area: search;
    min-width: 0;
    width: 100%;
    margin: 0;
  }
  
  .store-nav__search {
    position: relative;
    width: 100%;
  }
  
  .store-nav__search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #64748b;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .store-nav__search-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--dense-border);
    padding: 0.55rem 1rem 0.55rem 2.75rem;
    font-size: 0.9375rem;
    background-color: #f8fafc;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  }
  
  .store-nav__search-input:hover {
    background-color: #fff;
  }
  
  .store-nav__search-input:focus {
    background-color: #fff;
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
    outline: 0;
  }

  body.search-overlay-open {
    overflow: hidden;
  }

  .search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
  }

  .search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
  }

  .search-overlay__panel {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    margin: 1rem auto;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .search-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .search-overlay__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
  }

  .search-overlay__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--store-dark);
  }

  .search-overlay__close {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 1.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .search-overlay__close:hover {
    background: #e2e8f0;
    color: var(--store-primary);
  }

  .search-overlay__status {
    padding: 0.95rem 1.25rem 0;
    color: #64748b;
    font-size: 0.95rem;
  }

  .search-overlay__results {
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
  }

  .search-results__item {
    height: 100%;
    background: #fff;
  }

  .search-results__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.6rem 0.2rem 0.1rem;
  }

  .search-results__category {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .search-results__category:hover {
    background: rgba(247, 27, 27, 0.1);
    color: var(--store-primary);
  }

  @media (max-width: 767.98px) {
    .search-overlay__panel {
      width: calc(100% - 1rem);
      max-height: calc(100vh - 1rem);
      margin: 0.5rem auto;
      border-radius: 1rem;
    }

    .search-overlay__header {
      padding: 1rem 1rem 0.85rem;
    }

    .search-overlay__status {
      padding: 0.85rem 1rem 0;
    }

    .search-overlay__results {
      padding: 0.85rem 1rem 1rem;
    }
  }
  
  .store-nav__right {
    grid-area: right;
  }
  
  .store-nav__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    color: var(--store-dark);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  
.store-nav__icon-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--store-primary);
}

.store-nav__profile-toggle {
  gap: 0.35rem;
  width: auto;
  min-width: 2.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: #15803d;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.14), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.store-nav__profile-toggle::after {
  margin-left: 0.1rem;
}

.store-nav__profile-toggle:hover,
.store-nav__profile-toggle:focus,
.show > .store-nav__profile-toggle {
  color: #166534;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.18), rgba(34, 197, 94, 0.08));
  border-color: rgba(34, 197, 94, 0.28) !important;
}

.store-nav__profile-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.12);
}

.store-nav__profile-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.store-nav__dropdown-menu {
  min-width: 15rem;
  margin-top: 0.85rem;
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.store-nav__dropdown-user,
.store-nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 0.8rem;
}

.store-nav__dropdown-user {
  padding: 0.75rem 0.9rem;
  color: var(--store-dark);
  font-weight: 600;
}

.store-nav__dropdown-user i {
  color: #16a34a;
  font-size: 1.05rem;
}

.store-nav__dropdown-item {
  padding: 0.75rem 0.9rem;
  font-weight: 500;
  color: #334155;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.store-nav__dropdown-item i {
  color: #16a34a;
  font-size: 0.95rem;
}

.store-nav__dropdown-item:hover,
.store-nav__dropdown-item:focus {
  color: #166534;
  background: rgba(22, 163, 74, 0.1);
  transform: translateX(1px);
}

.store-nav__dropdown-menu .dropdown-divider {
  margin: 0.35rem 0;
  border-top-color: rgba(148, 163, 184, 0.22);
}

.store-nav__cart {
  margin-right: 0.15rem;
}
  
  @media (max-width: 991.98px) {
    .store-nav__cart {
      margin-right: 0;
    }
  }
  
  .store-nav__cart-badge {
    position: absolute;
    top: 0.1rem;
    right: 0.05rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.28rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.125rem;
    color: #fff;
    background: #dc2626;
    border-radius: 999px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px #fff;
  }
  
  /* Fixed bottom nav (mobile / tablet below lg) */
  .store-bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0.125rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1025;
    background: var(--store-bottom-nav-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
    padding: 0.35rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  }
  
  .store-bottom-nav__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    min-width: 0;
    padding: 0.2rem 0.1rem;
    text-align: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.01em;
    border-radius: 0.35rem;
    transition: color 0.15s ease, background-color 0.15s ease;
  }
  
  .store-bottom-nav__item:hover,
  .store-bottom-nav__item:focus-visible {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.07);
    outline: 0;
  }
  
  .store-bottom-nav__item--active {
    color: #f8fafc;
  }
  
  .store-bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }
  
  .store-bottom-nav__label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /* Swiper store banners */
  .swiper-store-promo,
  .swiper-store-hero-banner {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
    --swiper-theme-color: #0d6efd;
  }
  
  .swiper-store-promo .swiper-button-next,
  .swiper-store-promo .swiper-button-prev {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }
  
  /* Home split hero: large Swiper (left) + static promo grid (right) */
  .hero-split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
    min-height: 280px;
    height: 100%;
  }
  
  @media (min-width: 992px) {
    .hero-split__grid {
      min-height: 380px;
    }
  }
  
  .swiper-hero-main {
    --swiper-navigation-color: #ffffff;
    --swiper-navigation-size: 16px;
    --swiper-pagination-color: #111;
    --swiper-pagination-bullet-inactive-color: rgba(0, 0, 0, 0.25);
    --swiper-pagination-bullet-inactive-opacity: 1;
    min-height: 280px;
  }
  
  @media (min-width: 992px) {
    .swiper-hero-main {
      min-height: 380px;
    }
  }
  
  .swiper-hero-main .swiper-wrapper {
    align-items: stretch;
  }
  
  .swiper-hero-main .swiper-slide {
    height: auto;
    display: flex;
  }
  
  .swiper-hero-main .swiper-slide > .hero-main-slide {
    flex: 1;
    width: 100%;
  }
  
  .swiper-hero-main .swiper-button-prev,
  .swiper-hero-main .swiper-button-next {
    width: 2rem;
    height: 2rem;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  }
  
  .swiper-hero-main .swiper-button-prev::after,
  .swiper-hero-main .swiper-button-next::after {
    font-size: 1rem;
    font-weight: 700;
  }
  
  .swiper-hero-main .swiper-button-prev {
    left: 6px;
  }
  
  .swiper-hero-main .swiper-button-next {
    right: 6px;
  }
  
  .swiper-hero-main .swiper-pagination {
    left: 1rem !important;
    right: auto !important;
    bottom: 0.75rem !important;
    width: auto !important;
  }
  
  .hero-main-slide {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 280px;
    height: 100%;
    overflow: hidden;
  }
  
  @media (min-width: 576px) {
    .hero-main-slide {
      min-height: 300px;
    }
  }
  
  @media (min-width: 992px) {
    .hero-main-slide {
      min-height: 380px;
    }
  }
  
  .hero-main-slide--peach {
    background: #fcd8c8;
  }
  
  .hero-main-slide--lavender {
    background: #e9deff;
  }
  
  .hero-main-slide--mint {
    background: #d5f5ec;
  }
  
  .hero-main-slide__copy {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    max-width: min(32rem, 100%);
    padding: 1.35rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0.85rem;
  }
  
  @media (min-width: 576px) {
    .hero-main-slide__copy {
      top: 1.5rem;
      left: 1.5rem;
      right: auto;
      bottom: 1.5rem;
      width: min(28rem, calc(100% - 3rem));
      padding: 1.75rem 1.5rem;
    }
  }

  .slider-text {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
  }
  
  .hero-main-slide__heading {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  
  .hero-main-slide__sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0;
    max-width: 20rem;
  }
  
  .hero-main-slide__brand {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.72);
  }
  
  .hero-main-slide__media {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }
  
  .hero-main-slide__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
  }
  
  @media (min-width: 576px) {
    .hero-main-slide__media img {
      min-height: 100%;
    }
  }
  
  .hero-promo-card {
    position: relative;
    display: block;
    border-radius: 0.85rem;
    overflow: hidden;
    min-height: 0;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .hero-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  }
  
  .hero-promo-card--mint {
    background: #d8f3dc;
  }
  
  .hero-promo-card--lavender {
    background: #ede7ff;
  }
  
  .hero-promo-card--sky {
    background: #dceafc;
  }
  
  .hero-promo-card--sand {
    background: #fde8e0;
  }
  
  .hero-promo-card__badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
  }
  
  .hero-promo-card__badge--green {
    background: #22c55e;
    color: #fff;
  }
  
  .hero-promo-card__badge--purple {
    background: #7c3aed;
    color: #fff;
  }
  
  .hero-promo-card__badge--blue {
    background: #2563eb;
    color: #fff;
  }
  
  .hero-promo-card__badge--orange {
    background: #ea580c;
    color: #fff;
  }
  
  .hero-promo-card__content {
    position: relative;
    z-index: 1;
  }
  
  .hero-promo-card__title {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    line-height: 1.25;
    color: #111;
  }
  
  @media (min-width: 1200px) {
    .hero-promo-card__title {
      font-size: 0.92rem;
    }
  }
  
  .hero-promo-card__sub {
    font-size: 0.68rem;
    color: rgba(17, 17, 17, 0.55);
    margin: 0 0 0.35rem;
  }
  
  .hero-promo-card__price {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
  }
  
  .hero-promo-card__price--green {
    color: #16a34a;
  }
  
  .hero-promo-card__price--purple {
    color: #7c3aed;
  }
  
  .hero-promo-card__price--blue {
    color: #2563eb;
  }
  
  .hero-promo-card__price--orange {
    color: #ea580c;
  }
  
  .hero-promo-card__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-promo-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
  }
  
  .swiper-store-promo .swiper-slide img,
  .swiper-store-hero-banner .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 200px;
    object-fit: cover;
  }
  
  @media (min-width: 768px) {
    .swiper-store-hero-banner .swiper-slide img {
      min-height: 140px;
      max-height: 160px;
    }
  }
  
  .swiper-featured .swiper-slide,
  .swiper-related .swiper-slide {
    height: auto;
  }
  
  .swiper-product-gallery {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--dense-border);
    background: #f8fafc;
    --swiper-navigation-color: #111827;
    --swiper-navigation-size: 22px;
  }
  
  .swiper-product-gallery .swiper-button-prev,
  .swiper-product-gallery .swiper-button-next {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  }
  
  .swiper-product-gallery .swiper-button-prev::after,
  .swiper-product-gallery .swiper-button-next::after {
    font-size: 0.75rem;
    font-weight: 700;
  }
  
  .swiper-product-gallery .swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  .swiper-product-thumbs {
    margin-top: 0.75rem;
  }
  
  .swiper-product-thumbs .swiper-slide {
    opacity: 0.55;
    cursor: pointer;
    border-radius: 0.35rem;
    overflow: hidden;
    border: 2px solid transparent;
  }
  
  .swiper-product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #0d6efd;
  }
  
  .swiper-product-thumbs .swiper-slide img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
  }
  
  .store-footer {
    background: var(--store-dark);
    color: #cbd5e1;
  }
  
  .section-title {
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  
  /* Cart page (matches storefront tone: white cards, soft borders, rounded-4) */
  .cart-page-hero {
    background: linear-gradient(135deg, #fff8f5 0%, #fff 48%, #f5f8ff 100%);
    border-color: var(--dense-border) !important;
  }
  
  .cart-line {
    background: #fff;
    border: 1px solid var(--dense-border);
    border-radius: 1rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  
  .cart-line:hover {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
  }
  
  .cart-line__thumb {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: 0.75rem;
    flex-shrink: 0;
  }
  
  @media (min-width: 576px) {
    .cart-line__thumb {
      width: 6.25rem;
      height: 6.25rem;
    }
  }
  
  .cart-line__title {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--store-dark);
  }
  
  .cart-line__title:hover {
    color: var(--store-primary);
  }
  
  .cart-summary-card {
    background: #fff;
    border: 1px solid var(--dense-border);
    border-radius: 1rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  }
  
  @media (min-width: 992px) {
    .cart-summary-card--sticky {
      position: sticky;
      top: 7.75rem;
    }
  }
  
  .store-nav__cart[aria-current="page"] {
    background: rgba(13, 110, 253, 0.08);
    color: var(--store-primary);
  }
  
  .store-nav__icon-btn[aria-current="page"] {
    background: rgba(13, 110, 253, 0.08);
    color: var(--store-primary);
  }
  
  /* Customer account dashboard */
  .dashboard-sidebar {
    background: #fff;
    border: 1px solid var(--dense-border);
    border-radius: 1rem;
    overflow: hidden;
  }
  
  @media (min-width: 992px) {
    .dashboard-sidebar--sticky {
      position: sticky;
      top: 7.75rem;
    }
  }
  
  .dashboard-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--store-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--dense-border);
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  
  .dashboard-sidebar__link:last-child {
    border-bottom: 0;
  }
  
  .dashboard-sidebar__link:hover {
    background: #f8fafc;
    color: var(--store-primary);
  }
  
  .dashboard-sidebar__link--active {
    background: rgba(13, 110, 253, 0.08);
    color: var(--store-primary);
    border-left: 3px solid var(--store-primary);
    padding-left: calc(1rem - 3px);
  }
  
  .dashboard-sidebar__icon {
    flex-shrink: 0;
    opacity: 0.75;
  }
  
  .dashboard-stat {
    background: #fff;
    border: 1px solid var(--dense-border);
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
    height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  
  .dashboard-stat:hover {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  }
  
  .dashboard-stat__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.35rem;
  }
  
  .dashboard-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--store-dark);
    line-height: 1.2;
  }
  
  .dashboard-stat__hint {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.25rem;
  }
  
  .dashboard-table {
    font-size: 0.9375rem;
  }
  
  .dashboard-table thead th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom-color: var(--dense-border);
  }
  
  .dashboard-address-card {
    border: 1px solid var(--dense-border);
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
    height: 100%;
    background: #fff;
  }
  
  .dashboard-anchor {
    scroll-margin-top: 7.5rem;
  }
  
  /* Checkout — same visual language as cart (cards, borders, soft radius) */
  .checkout-section {
    background: #fff;
    border: 1px solid var(--dense-border);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  
  .checkout-section:hover {
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  }
  
  .checkout-section__heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    color: #64748b;
    margin-bottom: 1rem;
  }
  
  .checkout-summary-line__thumb {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    border-radius: 0.4rem;
    flex-shrink: 0;
  }

  .checkout-summary-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.65rem;
  }

  .checkout-summary-line__content {
    min-width: 0;
  }

  .checkout-summary-line__name {
    color: var(--store-dark);
    line-height: 1.35;
    word-break: break-word;
  }

  .checkout-summary-line__meta {
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checkout-summary-line__price {
    text-align: right;
    white-space: nowrap;
    align-self: start;
    padding-left: 0.35rem;
  }

  @media (max-width: 575.98px) {
    .checkout-summary-line {
      grid-template-columns: auto minmax(0, 1fr);
    }

    .checkout-summary-line__price {
      grid-column: 2;
      justify-self: end;
      padding-left: 0;
    }
  }
  
  .filters-offcanvas .form-label {
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  /* Dense marketplace product card (reference layout) */
  .product-card-dense {
    position: relative;
    isolation: isolate;
    background: #fff;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }
  
  .product-card-dense:hover {
    transform: translateY(-3px);
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  }

  .product-card-dense__link,
  .product-card-dense__row,
  .product-card-dense__rating {
    position: relative;
  }

  .product-card-dense__link {
    z-index: 1;
    display: flex;
    flex-direction: column;
  }
  
  .product-card-dense__media {
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
      radial-gradient(circle at top, rgba(255, 255, 255, 0.78), transparent 45%),
      linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  }
  
  .product-card-dense__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }

  .product-card-dense:hover .product-card-dense__media img {
    transform: scale(1.04);
  }
  
  .product-card-dense__main {
    padding: 0.45rem 0.85rem 0.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .product-card-dense__main:hover .product-card-dense__title {
    color: var(--store-primary);
  }
  
  .product-card-dense__title {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  
  @media (min-width: 576px) {
    .product-card-dense__title {
      font-size: 0.82rem;
    }
  }
  
  .product-card-dense__prices {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.25rem 0.35rem;
    line-height: 1;
  }
  
  .product-card-dense__price {
    font-weight: 700;
    font-size: 0.82rem;
    color: #0f172a;
  }
  
  @media (max-width: 576px) {
    .product-card-dense__price {
      font-size: 0.80rem;
    }

    .product-card-dense__prices{
      display: inline-block !important;
    }
  }
  
  .product-card-dense__was {
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: line-through;
    white-space: nowrap;
  }
  
  .product-card-dense__badge {
    font-size: 0.60rem;
    font-weight: 500;
    color: #fff;
    background: var(--discount-orange);
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.2);
  }
  
  .product-card-dense__row {
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 0.85rem 0.45rem;
  }
  
  .product-card-dense__sold {
    font-size: 0.7rem;
    color: #64748b;
  }
  
  .product-card-dense__cart {
    position: relative;
    z-index: 4;
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }
  
  .product-card-dense__cart:hover,
  .product-card-dense__cart:focus-visible {
    transform: translateY(-1px);
    background: #0f172a;
    border-color: #0f172a;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.2);
    color: #fff;
    outline: 0;
  }

  .product-card-dense__cart:disabled {
    cursor: wait;
    opacity: 0.8;
  }
  
  .product-card-dense__cart svg {
    width: 0.95rem;
    height: 0.95rem;
    pointer-events: none;
  }
  
  .product-card-dense__rating {
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.85rem 0.65rem;
    margin-top: auto;
    text-decoration: none;
    color: inherit;
  }
  
  .product-card-dense__rating:hover .product-card-dense__stars {
    color: #f59e0b;
  }
  
  .product-card-dense__stars {
    font-size: 0.68rem;
    letter-spacing: -0.05em;
    color: #f59e0b;
    line-height: 1;
  }
  
  .product-card-dense__stars .empty {
    color: #d1d5db;
  }
  
.product-card-dense__reviews {
  font-size: 0.68rem;
  color: #94a3b8;
}

.product-selection-card .attribute-btn,
.product-quick-view-modal .attribute-btn {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.product-selection-card .attribute-btn:hover,
.product-selection-card .attribute-btn:focus-visible,
.product-quick-view-modal .attribute-btn:hover,
.product-quick-view-modal .attribute-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  outline: 0;
}

.product-selection-card .attribute-btn.active,
.product-quick-view-modal .attribute-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.product-selection-card .color-attr-btn,
.product-quick-view-modal .color-attr-btn {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.product-selection-card .product-dark-btn,
.product-selection-card .product-checkout-btn,
.product-quick-view-modal .product-dark-btn {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.product-selection-card .product-dark-btn:hover,
.product-selection-card .product-checkout-btn:hover,
.product-quick-view-modal .product-dark-btn:hover {
  transform: translateY(-1px);
}

.product-quick-view-modal .modal-dialog {
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.product-quick-view-modal.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.product-quick-view-modal .modal-content {
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.2);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
}

.product-quick-view-header {
  padding: 1.1rem 1.1rem 0;
}

.product-quick-view-loading,
.product-quick-view-state {
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: #475569;
  text-align: center;
}

.product-quick-view-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 1.5rem;
  align-items: start;
}

.product-quick-view-gallery {
  display: grid;
  grid-template-columns: 3.125rem minmax(0, 1fr);
  gap: 0.85rem;
}

.product-quick-view-modal .swiper-product-thumbs-quick {
  margin-top: 0;
  height: 100%;
  max-width: 50px;
}

.product-quick-view-modal .swiper-product-thumbs-quick .swiper-wrapper {
  flex-direction: column;
}

.product-quick-view-modal .swiper-product-thumbs-quick .swiper-slide {
  width: 50px !important;
  max-width: 50px;
  height: auto !important;
  border: 1px solid #dbe2ea;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.product-quick-view-modal .swiper-product-thumbs-quick .swiper-slide-thumb-active {
  border-color: #0f172a;
  box-shadow: inset 0 0 0 1px #0f172a, 0 10px 20px rgba(15, 23, 42, 0.12);
  transform: translateX(1px);
}

.product-quick-view-modal .swiper-product-thumbs-quick .swiper-slide img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  display: block;
}

.product-quick-view-gallery-main {
  min-width: 0;
  width: min(100%, 500px);
}

.product-quick-view-modal .swiper-product-gallery-quick {
  border: 1px solid #dbe2ea;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  width: 100%;
  max-width: 500px;
}

.product-quick-view-modal .swiper-product-gallery-quick .swiper-slide {
  width: 100%;
  max-width: 500px;
}

.product-quick-view-modal .swiper-product-gallery-quick .swiper-slide img {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-quick-view-modal .swiper-button-prev,
.product-quick-view-modal .swiper-button-next {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  border-radius: 50%;
}

.product-quick-view-modal .swiper-button-prev::after,
.product-quick-view-modal .swiper-button-next::after {
  font-size: 0.8rem;
}

.product-quick-view-modal .swiper-pagination-fraction {
  left: 0.75rem;
  right: auto;
  bottom: 0.75rem;
  width: auto;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.product-quick-view-summary {
  padding-top: 0.1rem;
}

.product-quick-view-title {
  font-size: 1.45rem;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.product-quick-view-modal .product-price-stack {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem;
}

.product-quick-view-modal .product-price-old {
  color: #0f172a;
  font-size: 1rem;
  text-decoration: line-through;
}

.product-quick-view-modal .product-price-now {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.product-quick-view-modal .product-discount-chip {
  border: 1px solid #fb923c;
  color: #f97316;
  border-radius: 0.35rem;
  padding: 0.12rem 0.35rem;
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 700;
}

.product-quick-view-modal .product-selection-card {
  border: 1px solid #dbe2ea;
  border-radius: 0.85rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.product-quick-view-attribute-group {
  display: grid;
  gap: 0.75rem;
}

.product-quick-view-attribute-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-quick-view-attribute-label {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.product-quick-view-attribute-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-quick-view-attribute-pill {
  min-width: 4rem;
  min-height: 2.15rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px !important;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.product-quick-view-modal .color-attr-btn.product-quick-view-attribute-pill {
  min-width: 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
}

.product-quick-view-attribute-description {
  display: block;
  width: 100%;
  min-height: 0;
  margin-top: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: left;
}

.product-quick-view-attribute-description:empty {
  display: none;
}

.product-quick-view-error {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 700;
}

.product-quick-view-error i {
  flex-shrink: 0;
}

.quick-view-close-shield {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: transparent;
  pointer-events: none;
}

.quick-view-close-shield.active {
  pointer-events: auto;
}

.product-quick-view-modal .product-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.product-quick-view-modal .product-qty-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.product-quick-view-modal .product-qty-input {
  width: 3rem;
  text-align: center;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.product-quick-view-modal .product-qty-input::-webkit-outer-spin-button,
.product-quick-view-modal .product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-quick-view-modal .product-dark-btn {
  min-width: 9.5rem;
  border-radius: 999px;
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
}

.product-quick-view-modal .product-dark-btn:hover,
.product-quick-view-modal .product-dark-btn:focus {
  background: #020617;
  border-color: #020617;
  color: #fff;
}

@media (max-width: 991.98px) {
  .product-quick-view-layout {
    grid-template-columns: 1fr;
  }

  .product-quick-view-gallery {
    grid-template-columns: 1fr;
  }

  .product-quick-view-gallery-main {
    width: 100%;
    margin-inline: auto;
  }

  .product-quick-view-modal .swiper-product-thumbs-quick {
    max-width: none;
    width: 100%;
    order: 2;
  }

  .product-quick-view-modal .swiper-product-thumbs-quick .swiper-wrapper {
    flex-direction: row;
  }

  .product-quick-view-modal .swiper-product-thumbs-quick .swiper-slide {
    width: 50px !important;
  }
}

@media (max-width: 575.98px) {
  .product-quick-view-modal .modal-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .product-quick-view-modal .swiper-product-thumbs-quick {
    display: none;
  }

  .product-quick-view-gallery-main {
    width: min(100%, 300px);
  }

  .product-quick-view-modal .swiper-product-gallery-quick,
  .product-quick-view-modal .swiper-product-gallery-quick .swiper-slide,
  .product-quick-view-modal .swiper-product-gallery-quick .swiper-slide img {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

.featured-products-header {
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 992px) {
  .featured-products-header {
    grid-template-columns: minmax(0, 1.65fr) auto auto;
    gap: 1.25rem;
  }
}

.featured-products-header__intro {
  min-width: 0;
}

.featured-products-header .section-title {
  color: #0f172a;
}

.featured-products-header__description {
  max-width: 40rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.65;
  color: #7f1d1d;
}

.featured-products-header__timer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.featured-products-header__timer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.featured-products-header__timer-values {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.featured-products-header__time-box {
  min-width: 4rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.05);
  text-align: center;
}

.featured-products-header__time-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
}

.featured-products-header__time-box small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #475569;
}

.featured-products-header__time-separator {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
}

.featured-products-header__action {
  justify-self: start;
}

@media (min-width: 992px) {
  .featured-products-header__action {
    justify-self: end;
  }
}

.featured-products-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.featured-products-header__link::after {
  content: "\2192";
  transition: transform 0.18s ease;
}

.featured-products-header__link:hover {
  color: #ea580c;
}

.featured-products-header__link:hover::after {
  transform: translateX(0.18rem);
}

.featured-products-carousel {
  position: relative;
}

.featured-products-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.featured-products-carousel:hover .featured-products-carousel__nav,
.featured-products-carousel:focus-within .featured-products-carousel__nav {
  opacity: 1;
  visibility: visible;
}

.featured-products-carousel__nav:hover {
  background: #0f172a;
  color: #fff;
}

.featured-products-carousel__nav--prev {
  left: 0.35rem;
}

.featured-products-carousel__nav--next {
  right: 0.35rem;
}

.featured-products-carousel .swiper-pagination {
  z-index: 1;
}

@media (max-width: 575.98px) {
  .featured-products-carousel {
    margin-left: 0;
    margin-right: 0;
  }

  .all-products-section > .container,
  .all-products-section .container {
    padding-left: 0;
    padding-right: 0;
  }

  #all-products-grid {
    --bs-gutter-x: 0.6px;
    --bs-gutter-y: 0.6px;
  }

  #all-products-grid > .col {
    padding: 0.3px;
  }

  .swiper-featured {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .swiper-featured .swiper-slide,
  .swiper-related .swiper-slide {
    padding-left: 0.3px;
    padding-right: 0.3px;
  }

  .featured-products-header__timer {
    align-items: stretch;
  }

  .featured-products-header__timer-values {
    justify-content: center;
  }

  .featured-products-header__time-box {
    min-width: 3.5rem;
    padding: 0.55rem 0.45rem;
  }

  .featured-products-carousel__nav {
    display: none;
  }
  .phone-featured{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .featured-products-header,.section-title{
    padding-left: 10px;
  }
}
  
/* Legacy simple cards (categories, etc.) */
.product-card {
  border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
  }
  
  .product-card:hover {
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
  }
  
  .product-card img {
    object-fit: cover;
    height: 200px;
    width: 100%;
  }
  
  /* Category icon strip (horizontal Swiper) */
.category-strip {
  overflow: hidden;
}

.swiper-categories {
  position: relative;
}

.swiper-categories .swiper-wrapper {
  align-items: flex-start;
}

.category-strip__slide {
  width: 4.65rem;
}
  
  @media (min-width: 400px) {
    .category-strip__slide {
      width: 5rem;
    }
  }
  
  @media (min-width: 576px) {
    .category-strip__slide {
      width: 5.35rem;
    }
  }
  
.category-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
    gap: 0.45rem;
    width: 100%;
  }
  
  .category-pill:hover .category-pill__circle {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  }
  
  .category-pill__circle {
    width: 4.15rem;
    height: 4.15rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    flex-shrink: 0;
  }
  
  @media (min-width: 400px) {
    .category-pill__circle {
      width: 4.35rem;
      height: 4.35rem;
    }
  }
  
  .category-pill__circle img {
    width: 82%;
    height: 82%;
    object-fit: contain;
  }
  
  .category-pill__circle--neutral {
    background: #e5e7eb;
  }
  
  .category-pill__circle--lime {
    background: #d9f99d;
  }
  
  .category-pill__circle--peach {
    background: #fdba74;
  }
  
  .category-pill__circle--yellow {
    background: #fde047;
  }
  
  .category-pill__circle--pink {
    background: #fbcfe8;
  }
  
  .category-pill__circle--red {
    background: #ef4444;
  }
  
  .category-pill__circle--blue {
    background: #93c5fd;
  }
  
  .category-pill__circle-text {
    font-size: 0.48rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    line-height: 1.12;
    letter-spacing: 0.03em;
    padding: 0.15rem;
  }
  
  @media (min-width: 400px) {
    .category-pill__circle-text {
      font-size: 0.52rem;
    }
  }
  
  .category-pill__label {
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  color: #111827;
}

.category-strip__nav {
  position: absolute;
  top: 36%;
  z-index: 3;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.swiper-categories:hover .category-strip__nav,
.swiper-categories:focus-within .category-strip__nav {
  opacity: 1;
  visibility: visible;
}

.category-strip__nav:hover {
  background: #0f172a;
  color: #fff;
}

.category-strip__nav--prev {
  left: 0.2rem;
}

.category-strip__nav--next {
  right: 0.2rem;
}

@media (max-width: 575.98px) {
  .category-strip__nav {
    display: none;
  }

  .category-strip__slide {
    width: auto;
  }
}

.order-detail-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(13, 110, 253, 0.14);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.order-detail-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.order-detail-hero__title {
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.order-detail-hero__meta {
  margin-top: 0.7rem;
  color: #475569;
  font-size: 0.95rem;
}

.order-detail-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.order-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.order-status-badge--pending,
.order-status-badge--unpaid {
  color: #854d0e;
  background: #fef3c7;
  border-color: #fcd34d;
}

.order-status-badge--paid {
  color: #0f766e;
  background: #ccfbf1;
  border-color: #5eead4;
}

.order-status-badge--confirmed,
.order-status-badge--dispatched {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #93c5fd;
}

.order-status-badge--delivered,
.order-status-badge--delivery {
  color: #166534;
  background: #dcfce7;
  border-color: #86efac;
}

.order-status-badge--cancelled {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fca5a5;
}

.order-detail-alert {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.order-detail-alert--danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.order-timeline {
  display: grid;
  gap: 1rem;
}

.order-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
}

.order-timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1.55rem;
  bottom: -1rem;
  width: 2px;
  background: #e2e8f0;
}

.order-timeline__marker {
  position: relative;
  z-index: 1;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cbd5e1;
  box-shadow: 0 0 0 0.35rem #fff;
}

.order-timeline__body {
  padding-bottom: 0.1rem;
}

.order-timeline__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.order-timeline__text {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.order-timeline__item--complete .order-timeline__marker,
.order-timeline__item--current .order-timeline__marker {
  border-color: #0d6efd;
  background: #0d6efd;
}

.order-timeline__item--complete:not(:last-child)::after,
.order-timeline__item--current:not(:last-child)::after {
  background: linear-gradient(180deg, #0d6efd, #bfdbfe);
}

.order-timeline__item--current .order-timeline__title {
  color: #0d6efd;
}

.order-detail-items {
  display: grid;
  gap: 1rem;
}

.order-detail-items-total {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.order-detail-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.order-detail-item__image {

  border-radius: 0.95rem;
  background: #f8fafc;
  width: 96px !important;
  height: 96px !important;
}

.order-detail-item__content {
  min-width: 0;
}

.order-detail-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.order-detail-item__name {
  margin: 0 0 0.3rem;
  font-weight: 700;
  color: #0f172a;
}

.order-detail-item__meta {
  color: #64748b;
  font-size: 0.9rem;
}

.order-detail-item__price {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.order-detail-item__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.order-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 600;
}

.order-detail-summary {
  display: grid;
  gap: 0.9rem;
}

.order-detail-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #475569;
  font-size: 0.95rem;
}

.order-detail-summary__row strong {
  color: #0f172a;
  font-weight: 700;
}

.order-detail-summary__row--total {
  padding-top: 0.95rem;
  border-top: 1px solid #e2e8f0;
  font-size: 1rem;
}

.order-detail-summary__row--total strong {
  font-size: 1.18rem;
}

.order-detail-block {
  display: grid;
  gap: 0.75rem;
}

.order-detail-block__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.order-detail-block__text {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  font-size: 0.93rem;
}

.order-detail-block__link {
  color: var(--store-primary);
  text-decoration: none;
  font-weight: 600;
}

.order-detail-block__link:hover {
  text-decoration: underline;
}

.order-detail-block__list {
  display: grid;
  gap: 0.85rem;
}

.order-detail-block__list-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.92rem;
  color: #475569;
}

.order-detail-block__list-row strong {
  text-align: right;
  color: #0f172a;
}

@media (max-width: 767.98px) {
  .order-detail-hero {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .order-detail-item {
    grid-template-columns: 1fr;
  }

  .order-detail-item__image {
    width: 100%;
    height: 13rem;
  }

  .order-detail-item__top,
  .order-detail-block__list-row,
  .order-detail-summary__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-detail-item__price,
  .order-detail-block__list-row strong,
  .order-detail-summary__row strong {
    text-align: left;
  }
}
  
