/*
 * Makkah Medical pharmacy storefront — visual redesign.
 *
 * This layer is intentionally scoped to customer-storefront-v3. The legacy
 * customer DOM IDs and data attributes remain untouched because search,
 * authentication, cart, favorites, filters, and checkout bind to them.
 */

body.customer-storefront-v3 {
  --sf-navy-950: #071d38;
  --sf-navy-900: #0b2a4d;
  --sf-navy-800: #123c68;
  --sf-gold: #c5a15a;
  --sf-gold-soft: #f7f0df;
  --sf-green: #177b68;
  --sf-green-dark: #0d6857;
  --sf-green-soft: #eaf6f2;
  --sf-canvas: #f7f9fb;
  --sf-surface: #ffffff;
  --sf-line: #e2e8ef;
  --sf-muted: #617083;
  --sf-shadow-sm: 0 8px 24px rgba(7, 29, 56, 0.06);
  --sf-shadow-md: 0 22px 58px rgba(7, 29, 56, 0.1);
  background: var(--sf-canvas);
  color: var(--sf-navy-950);
}

body.customer-storefront-v3 .container {
  width: min(100% - 40px, 1280px);
}

body.customer-storefront-v3 :where(a, button, input, select):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sf-gold) 72%, white);
  outline-offset: 3px;
}

/*
 * Header + categories are one sticky unit. The existing measured offsets are
 * retained for anchors and the filter sidebar, while this containing block
 * prevents either row from drifting independently during responsive reflow.
 */
body.customer-storefront-v3 .storefront-sticky-stack {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  max-width: 100%;
  isolation: isolate;
  overflow: visible;
  background: #fff;
}

/* Header: brand, search, account, one cart entrance, prescription CTA. */
body.customer-storefront-v3 .header {
  position: sticky;
  top: 0;
  z-index: 110;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid var(--sf-line);
  box-shadow: 0 1px 0 rgba(7, 29, 56, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.customer-storefront-v3 .header-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(280px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

body.customer-storefront-v3 .brand-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sf-navy-950);
  text-decoration: none;
}

body.customer-storefront-v3 .brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 29, 56, 0.1);
}

body.customer-storefront-v3 .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.customer-storefront-v3 .brand-name {
  min-width: 0;
  line-height: 1.25;
}

body.customer-storefront-v3 .brand-name strong {
  display: block;
  color: var(--sf-navy-950);
  font-size: 1rem;
  font-weight: 850;
  white-space: nowrap;
}

body.customer-storefront-v3 .brand-name small {
  display: block;
  margin-top: 4px;
  color: var(--sf-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body.customer-storefront-v3 .header-search {
  position: relative;
  min-width: 0;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 17px;
  color: #788697;
  background: #f4f7f9;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.customer-storefront-v3 .header-search:focus-within {
  background: #fff;
  border-color: color-mix(in srgb, var(--sf-green) 42%, white);
  box-shadow: 0 0 0 4px rgba(23, 123, 104, 0.09);
}

body.customer-storefront-v3 .header-search > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

body.customer-storefront-v3 .header-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0;
  color: var(--sf-navy-950);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
}

body.customer-storefront-v3 .header-search input::placeholder {
  color: #8290a0;
}

body.customer-storefront-v3 .search-suggest {
  top: calc(100% + 10px);
  overflow: hidden;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  box-shadow: var(--sf-shadow-md);
}

body.customer-storefront-v3 .header-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

body.customer-storefront-v3 .header-actions > :where(.header-rx-cta, .cart-btn--shopping, .header-cta) {
  min-height: 46px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 800;
}

body.customer-storefront-v3 .header-rx-cta {
  order: 3;
  min-width: 132px;
  padding: 0 17px;
  color: #fff;
  background: var(--sf-green);
  border: 1px solid var(--sf-green);
  box-shadow: none;
}

body.customer-storefront-v3 .header-rx-cta:hover {
  color: #fff;
  background: var(--sf-green-dark);
  border-color: var(--sf-green-dark);
  box-shadow: 0 10px 24px rgba(23, 123, 104, 0.2);
  transform: translateY(-1px);
}

body.customer-storefront-v3 .cart-btn--shopping {
  order: 2;
  width: auto;
  min-width: 82px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--sf-navy-900);
  background: #fff;
  border: 1px solid var(--sf-line);
}

body.customer-storefront-v3 .cart-btn--shopping:hover {
  color: var(--sf-navy-950);
  background: #f8fafc;
  border-color: #cbd5df;
}

body.customer-storefront-v3 .header-action-label {
  line-height: 1;
}

body.customer-storefront-v3 .header-cta {
  order: 1;
  max-width: 116px;
  min-width: 86px;
  padding: 0 13px;
  color: var(--sf-navy-900);
  background: #fff;
  border: 1px solid var(--sf-line);
}

/* Match the visible Arabic order to the logical DOM/focus order. */
html[dir="rtl"] body.customer-storefront-v3 .header-rx-cta {
  order: 1;
}

html[dir="rtl"] body.customer-storefront-v3 .cart-btn--shopping {
  order: 2;
}

html[dir="rtl"] body.customer-storefront-v3 .header-cta {
  order: 3;
}

body.customer-storefront-v3 #authCtaLabel {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.customer-storefront-v3 .cart-btn--rx,
body.customer-storefront-v3 #mobileSearchBtn {
  display: none !important;
}

body.customer-storefront-v3 .icon-btn-badge {
  min-width: 20px;
  height: 20px;
  top: -7px;
  inset-inline-end: -5px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  color: #fff;
  background: var(--sf-green);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 0.66rem;
}

body.customer-storefront-v3 .icon-btn-badge.empty {
  display: none;
}

body.customer-storefront-v3 .auth-menu {
  top: calc(100% + 12px);
  inset-inline-end: 0;
  width: min(310px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  box-shadow: var(--sf-shadow-md);
}

/* Concise sticky category navigation. */
body.customer-storefront-v3 .smart-nav-shell {
  top: var(--customer-header-height);
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--sf-line);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.customer-storefront-v3 .smart-nav-shell.is-stuck {
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 29, 56, 0.07);
}

body.customer-storefront-v3 .smart-nav-layout {
  min-height: 58px;
  display: block;
  padding: 7px 0;
}

body.customer-storefront-v3 .nav-strip,
body.customer-storefront-v3 [data-smart-nav-categories] {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

body.customer-storefront-v3 .nav-row {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.customer-storefront-v3 [data-smart-nav-category] {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #536476;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

body.customer-storefront-v3 [data-smart-nav-category]:hover {
  color: var(--sf-navy-900);
  background: #f3f6f8;
}

body.customer-storefront-v3 [data-smart-nav-category][aria-current="page"] {
  color: var(--sf-green-dark);
  background: var(--sf-green-soft);
  border-color: #cfe8df;
  box-shadow: none;
}

body.customer-storefront-v3 .smart-nav-actions,
body.customer-storefront-v3 .smart-nav-layout > .nav-link {
  display: none !important;
}

/* Reorder the retained functional sections without changing their contracts. */
body.customer-storefront-v3 main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.customer-storefront-v3 .rx-two-path,
body.customer-storefront-v3 #rx-fast-lane,
body.customer-storefront-v3 [data-pharm-banner-section] {
  display: none !important;
}

/*
 * Phase 1 still mounts its historical five-card trust block after the hero.
 * The storefront flex ordering would otherwise place that unnumbered runtime
 * node before the new hero, especially damaging the mobile first viewport.
 * Keep the legacy script contract intact, but expose only the concise four-item
 * trust strip that belongs directly below this redesign's hero.
 */
body.customer-storefront-v3 #pmTrustStrip {
  display: none !important;
}

body.customer-storefront-v3 .hero-v2[data-storefront-hero="canonical"] { order: 1; }
body.customer-storefront-v3 .hero-trust-shell { order: 2; }
body.customer-storefront-v3 [data-pharm-banner-section] { order: 3; }
body.customer-storefront-v3 .cats-room { display: none; }
body.customer-storefront-v3 #catalog { order: 4; }
body.customer-storefront-v3 #rx-fast-lane { order: 5; }
body.customer-storefront-v3 #rx-upload { order: 6; }
body.customer-storefront-v3 #checkoutSection { order: 7; }

/* Catalog and filters. */
body.customer-storefront-v3 #catalog {
  padding: clamp(62px, 8vw, 104px) 0 88px !important;
  background: var(--sf-canvas);
}

body.customer-storefront-v3 .plp {
  grid-template-columns: 252px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

body.customer-storefront-v3 .sidebar {
  top: var(--customer-sticky-offset);
  /* Sticky + taller-than-viewport: internal scroll instead of a
     permanently clipped bottom (hidden overflow cut the brand facet). */
  max-height: calc(100dvh - var(--customer-sticky-offset) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #fff !important;
  border: 1px solid var(--sf-line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(7, 29, 56, 0.045);
}

body.customer-storefront-v3 :where(#catalog, #catalog-results, main section[id]) {
  scroll-margin-top: calc(
    var(--customer-header-height)
    + var(--customer-nav-height)
    + var(--customer-sticky-gap)
  );
}

body.customer-storefront-v3 .filter-head {
  padding: 18px 20px;
  background: #fbfcfd;
  border-bottom: 1px solid var(--sf-line);
}

body.customer-storefront-v3 .filter-head h3 {
  color: var(--sf-navy-950);
  font-size: 0.98rem;
}

body.customer-storefront-v3 .filter-head button {
  color: var(--sf-green-dark);
}

body.customer-storefront-v3 .filter-group {
  border-color: var(--sf-line);
}

body.customer-storefront-v3 .toolbar {
  min-height: 68px;
  margin-bottom: 20px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(7, 29, 56, 0.04);
}

body.customer-storefront-v3 .toolbar h2 {
  color: var(--sf-navy-950);
  font-size: 1.08rem !important;
  font-weight: 900 !important;
}

body.customer-storefront-v3 .toolbar .count {
  color: var(--sf-muted);
}

body.customer-storefront-v3 .sort-select,
body.customer-storefront-v3 .view-toggle,
body.customer-storefront-v3 .mobile-filter-btn {
  min-height: 44px;
  border-color: var(--sf-line);
  border-radius: 12px;
}

body.customer-storefront-v3 .active-chips {
  gap: 8px;
}

body.customer-storefront-v3 .chip {
  color: var(--sf-green-dark);
  background: var(--sf-green-soft);
  border: 1px solid #d2e9e1;
}

body.customer-storefront-v3 .grid-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.customer-storefront-v3 .product,
body.customer-storefront-v3 .skel {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 22px !important;
  box-shadow: 0 10px 28px rgba(7, 29, 56, 0.045);
}

body.customer-storefront-v3 .product {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.customer-storefront-v3 .product:hover {
  border-color: #ccd7e1;
  box-shadow: 0 20px 44px rgba(7, 29, 56, 0.09);
  transform: translateY(-4px);
}

body.customer-storefront-v3 .product-media {
  aspect-ratio: 1 / 0.96;
  overflow: hidden;
  background: linear-gradient(145deg, #fbfcfd, #f1f5f7) !important;
  border-radius: 22px 22px 0 0 !important;
}

body.customer-storefront-v3 .product-media::after {
  content: "";
  position: absolute;
  inset: auto 18% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 29, 56, 0.11), transparent);
}

body.customer-storefront-v3 .product-media img {
  padding: clamp(18px, 9%, 30px);
  object-fit: contain;
}

body.customer-storefront-v3 .product-placeholder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--sf-navy-800);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.95), transparent 32%),
    linear-gradient(145deg, #fbfcfd, #eaf1f3) !important;
}

body.customer-storefront-v3 .product-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 52%;
  aspect-ratio: 1;
  inset-inline-end: -13%;
  bottom: -18%;
  opacity: 0.055;
  background: url("/v2/pharmacy/storefront/makkah-medical-logo.png") center / contain no-repeat;
  filter: grayscale(1);
}

body.customer-storefront-v3 .product-placeholder__icon {
  color: var(--sf-green-dark);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(23, 123, 104, 0.16);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(7, 29, 56, 0.08);
}

body.customer-storefront-v3 .product-placeholder__eyebrow {
  color: var(--sf-green-dark);
}

body.customer-storefront-v3 .product-heart {
  width: 42px;
  height: 42px;
  color: #738294;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(7, 29, 56, 0.1);
  box-shadow: 0 7px 18px rgba(7, 29, 56, 0.07);
}

body.customer-storefront-v3 .product-heart:hover,
body.customer-storefront-v3 .product-heart.active {
  color: #a42c45;
  background: #fff4f6;
  border-color: #e5b7c1;
}

body.customer-storefront-v3 .product-body {
  padding: 18px !important;
}

body.customer-storefront-v3 .product-brand {
  margin-bottom: 6px;
  color: var(--sf-green-dark);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

body.customer-storefront-v3 .product-name {
  color: var(--sf-navy-950);
  font-size: 0.98rem !important;
  font-weight: 850;
  line-height: 1.55;
}

body.customer-storefront-v3 .product-meta {
  min-height: 52px;
  margin-bottom: 14px;
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--sf-muted);
  overflow: visible;
  -webkit-line-clamp: unset;
}

body.customer-storefront-v3 .product-detail {
  max-width: 100%;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  color: #526578;
  background: #f4f7f9;
  border: 1px solid #e3e9ee;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.customer-storefront-v3 .product-detail--muted {
  color: #788697;
  background: transparent;
  border-style: dashed;
  border-radius: 10px;
}

body.customer-storefront-v3 .product-price {
  color: var(--sf-navy-950);
  font-size: 1.12rem !important;
  font-weight: 900;
}

body.customer-storefront-v3 .product-add {
  min-height: 46px !important;
  height: 46px !important;
  color: #fff;
  background: var(--sf-navy-900);
  border-color: var(--sf-navy-900);
  border-radius: 13px;
  box-shadow: none;
}

body.customer-storefront-v3 .product-add:hover {
  color: #fff;
  background: var(--sf-green);
  border-color: var(--sf-green);
  box-shadow: 0 10px 22px rgba(23, 123, 104, 0.18);
}

body.customer-storefront-v3 .product-add:disabled,
body.customer-storefront-v3 .product-add:disabled:hover {
  color: #8793a0;
  background: #eef1f4;
  border-color: #e1e6eb;
  box-shadow: none;
}

body.customer-storefront-v3 .product-quantity {
  min-height: 46px;
  color: var(--sf-navy-900);
  background: #f8fafb;
  border-color: #d4dde5;
  border-radius: 13px;
}

body.customer-storefront-v3 .product-quantity__button,
body.customer-storefront-v3 .product-quantity__value {
  color: var(--sf-navy-900);
}

body.customer-storefront-v3 .product-quantity__button:hover {
  color: #fff;
  background: var(--sf-green);
}

/* Retained prescription tools now sit after the catalog. */
body.customer-storefront-v3 #rx-fast-lane {
  padding: 76px 0 !important;
  background: #edf4f2;
  border-block: 1px solid #dce9e5;
}

body.customer-storefront-v3 #rx-fast-lane .section-head {
  max-width: 680px;
  margin-bottom: 30px !important;
}

body.customer-storefront-v3 #rx-fast-lane .rx-paths-collage {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px;
}

body.customer-storefront-v3 #rx-fast-lane .rx-paths-collage > * {
  min-width: 0;
  margin: 0;
  padding: 22px !important;
  transform: none !important;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d7e4e0;
  border-radius: 18px;
  box-shadow: none;
}

body.customer-storefront-v3 #rx-fast-lane .rx-paths-collage > *:hover {
  transform: translateY(-3px) !important;
  border-color: #bdd6ce;
  box-shadow: var(--sf-shadow-sm);
}

body.customer-storefront-v3 #rx-upload {
  padding: 72px 0 !important;
  background: #fff;
}

body.customer-storefront-v3 .footer {
  background: var(--sf-navy-950);
}

body.customer-storefront-v3 .footer .brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 14px;
  box-shadow: none;
}

/* Tablet. */
@media (max-width: 1100px) {
  body.customer-storefront-v3 .header-row {
    grid-template-columns: minmax(190px, auto) minmax(220px, 1fr) auto;
    gap: 16px;
  }

  body.customer-storefront-v3 .header-rx-cta {
    min-width: 118px;
    padding-inline: 13px;
  }

  body.customer-storefront-v3 .cart-btn--shopping,
  body.customer-storefront-v3 .header-cta {
    min-width: 48px;
  }

  body.customer-storefront-v3 .header-action-label,
  body.customer-storefront-v3 #authCtaLabel {
    display: none;
  }

  body.customer-storefront-v3 #rx-fast-lane .rx-paths-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.customer-storefront-v3 .header-row {
    grid-template-columns: auto 1fr;
    height: auto;
    min-height: 0;
    gap: 12px 18px;
    padding: 14px 0;
  }

  body.customer-storefront-v3 .brand-link { grid-column: 1; grid-row: 1; }
  body.customer-storefront-v3 .header-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  body.customer-storefront-v3 .header-search { grid-column: 1 / -1; grid-row: 2; }

  body.customer-storefront-v3 .plp {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.customer-storefront-v3 .container {
    width: min(100% - 28px, 1280px);
  }

  body.customer-storefront-v3 .nav-row {
    justify-content: flex-start;
  }

  body.customer-storefront-v3 #catalog {
    padding: 66px 0 72px !important;
  }

  body.customer-storefront-v3 .toolbar {
    align-items: flex-start;
  }

  body.customer-storefront-v3 .grid-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.customer-storefront-v3 .product-body {
    padding: 14px !important;
  }
}

@media (max-width: 560px) {
  body.customer-storefront-v3 .header-row {
    gap: 10px;
  }

  body.customer-storefront-v3 .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 15px;
  }

  body.customer-storefront-v3 .brand-name {
    display: none;
  }

  body.customer-storefront-v3 .header-actions {
    gap: 6px;
  }

  body.customer-storefront-v3 .header-actions > :where(.header-rx-cta, .cart-btn--shopping, .header-cta) {
    min-height: 44px;
    border-radius: 13px;
  }

  body.customer-storefront-v3 .header-rx-cta {
    min-width: 108px;
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  body.customer-storefront-v3 .cart-btn--shopping,
  body.customer-storefront-v3 .header-cta {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  body.customer-storefront-v3 .header-search {
    height: 48px;
  }

  body.customer-storefront-v3 .toolbar {
    gap: 10px;
  }

  body.customer-storefront-v3 .toolbar .actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  body.customer-storefront-v3 .sort-select {
    min-width: 0;
    width: 100%;
  }

  body.customer-storefront-v3 #rx-fast-lane .rx-paths-collage {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 380px) {
  body.customer-storefront-v3 .container {
    width: min(100% - 24px, 1280px);
  }

  body.customer-storefront-v3 .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  body.customer-storefront-v3 .header-rx-cta {
    min-width: 96px;
    font-size: 0.74rem;
  }

  body.customer-storefront-v3 .header-actions > :where(.header-rx-cta, .cart-btn--shopping, .header-cta) {
    min-height: 44px;
  }

  body.customer-storefront-v3 .cart-btn--shopping,
  body.customer-storefront-v3 .header-cta {
    width: 44px;
    min-width: 44px;
  }

  body.customer-storefront-v3 .grid-products {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.customer-storefront-v3 *,
  body.customer-storefront-v3 *::before,
  body.customer-storefront-v3 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
