:root {
  /* حجرمون — extracted from brand logo */
  --store-primary: #04a490;
  --store-primary-hover: #038f7d;
  --store-primary-soft: #14a898;
  --store-primary-tint: #e6f7f4;
  --store-primary-mist: #f3fbf9;
  --store-navy: #042c48;
  --store-navy-deep: #031f34;
  --store-heading: #042c48;
  --store-accent: var(--store-primary);
  --store-accent-hover: var(--store-primary-soft);
  --store-accent-light: #35c8b8;
  --store-accent-dark: var(--store-primary-hover);
  --store-bg: #ffffff;
  --store-card: #ffffff;
  --store-text: #374151;
  --store-muted: #6b7280;
  --store-border: #e8ecef;
  --store-border-soft: #eef1f4;
  --store-radius: 14px;
  --store-shadow: 0 1px 2px rgba(4, 44, 72, 0.04), 0 4px 14px rgba(4, 44, 72, 0.04);
  --store-shadow-hover: 0 6px 18px rgba(4, 44, 72, 0.08);
  --store-pad: clamp(12px, 3vw, 48px);
  --store-gold: #f0a202;
  --store-gold-soft: #fff6e0;
  --store-cyan: #1aa6b7;
  --store-cyan-soft: #e6f7fa;
  --store-violet: #6c5ce7;
  --store-violet-soft: #f0edff;
  --store-red: #ef4056;
  --store-red-dark: #d92d45;
  --store-red-soft: #fff1f3;
  --store-danger: #e53935;
}

html {
  overflow-x: hidden;
}

body.store-body {
  margin: 0;
  background: #f7f8fa;
  color: var(--store-text);
  font-family: "Vazirmatn", iranyekan, Tahoma, sans-serif;
  min-height: 100vh;
  padding-bottom: 0;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--store-primary);
}

img {
  max-width: 100%;
  height: auto;
}

.store-main {
  min-height: 50vh;
}

/* Full-width layout — no narrow centered container */
.container-store {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--store-pad);
}

.container-store--readable {
  max-width: 52rem;
  margin-inline: auto;
}

/* ========== Store header (light, minimal) ========== */
.sh {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 var(--store-border), 0 6px 18px rgba(0, 63, 58, 0.04);
}

.sh-top {
  background: #f7f8fa;
  border-bottom: 1px solid var(--store-border);
  font-size: 12px;
  color: var(--store-muted);
}

.sh-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}

.sh-top__contact,
.sh-top__links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sh-top__contact i,
.sh-top__links a {
  margin-left: 4px;
}

.sh-top a {
  color: var(--store-muted);
}

.sh-top a:hover {
  color: var(--store-primary);
}

.sh-main {
  padding: 10px 0;
}

.sh-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "menu logo tools"
    "search search search";
  align-items: center;
  gap: 10px 12px;
}

.sh-icon {
  grid-area: menu;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--store-bg);
  color: var(--store-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.sh-icon:hover {
  background: var(--store-primary-tint);
  color: var(--store-primary);
}

.sh-logo {
  grid-area: logo;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--store-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-logo:hover {
  color: var(--store-primary);
}

.sh-logo img,
.sh-logo__img {
  height: 40px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  display: block;
}

.sh-logo__tag {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--store-muted);
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .sh-logo {
    align-items: center;
  }

  .sh-logo__tag {
    display: none;
  }

  .sh-tools .sh-tool:not(.sh-tool--cart) {
    display: none !important;
  }

  .sh-tools .dropdown {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .sh-logo img,
  .sh-logo__img {
    height: 46px;
    max-width: 170px;
  }
}

.sh-search {
  grid-area: search;
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--store-border);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sh-search:focus-within {
  border-color: var(--store-primary-soft);
  box-shadow: 0 0 0 3px rgba(4, 164, 144, 0.16);
}

.sh-search__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--store-muted);
  font-size: 20px;
  pointer-events: none;
  z-index: 1;
}

.sh-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.85rem 2.6rem 0.85rem 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--store-text);
  outline: none;
}

.sh-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 0;
  margin: 5px;
  padding: 0 1.1rem;
  min-height: 38px;
  border-radius: 999px;
  background: var(--store-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.sh-search__btn:hover,
.sh-search__btn:focus {
  background: var(--store-primary-hover);
  color: #fff;
}

.sh-search__btn i {
  font-size: 18px;
  line-height: 1;
}

.sh-search__btn-text {
  display: none;
}

.sh-tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.sh-tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: var(--store-bg);
  color: var(--store-text);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.sh-tool:hover {
  background: var(--store-primary-tint);
  color: var(--store-primary);
}

.sh-tool i {
  font-size: 20px;
  line-height: 1;
}

.sh-tool__label {
  display: none;
}

.sh-tool--cart {
  background: var(--store-primary);
  color: #fff;
}

.sh-tool--cart:hover {
  background: var(--store-primary-hover);
  color: #fff;
}

.sh-tools .dropdown-toggle::after {
  display: none;
}

.sh-dropdown {
  min-width: 220px;
  border-radius: 14px;
  padding: 8px;
  margin-top: 8px !important;
}

.sh-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
}

.sh-dropdown .dropdown-item i {
  font-size: 18px;
  color: var(--store-muted);
}

.sh-nav {
  border-top: 1px solid var(--store-border);
  background: #ffffff;
}

.sh-nav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
}

.sh-nav__cats {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: var(--store-primary);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 700;
}

.sh-nav__cats:hover {
  background: var(--store-primary-hover);
  color: #fff !important;
}

.sh-nav__scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 0;
  min-width: 0;
}

.sh-nav__scroll::-webkit-scrollbar {
  display: none;
}

.sh-nav__scroll a {
  flex: 0 0 auto;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--store-text);
  white-space: nowrap;
}

.sh-nav__scroll a:hover {
  background: var(--store-primary-mist);
  color: var(--store-primary);
}

.sh-nav__offer {
  color: var(--store-primary) !important;
  background: var(--store-primary-tint);
  font-weight: 700;
}

.sh-nav__offer:hover {
  background: var(--store-primary-mist);
  color: var(--store-primary-hover) !important;
}

/* Mobile drawer */
.sh-drawer {
  width: min(100vw - 48px, 340px);
}

.sh-drawer__search {
  position: relative;
  margin-bottom: 1rem;
}

.sh-drawer__search i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--store-muted);
}

.sh-drawer__search input {
  width: 100%;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: #f7f7f8;
  padding: 0.75rem 2.4rem 0.75rem 0.85rem;
  font-family: inherit;
  outline: none;
}

.sh-drawer__title {
  margin: 1rem 0 0.5rem;
  font-size: 0.75rem;
  color: var(--store-muted);
  font-weight: 700;
}

.sh-drawer__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sh-drawer__group a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  color: var(--store-text);
  font-size: 0.92rem;
}

.sh-drawer__group a i {
  font-size: 18px;
  color: var(--store-muted);
  width: 22px;
  text-align: center;
}

.sh-drawer__group a:hover,
.sh-drawer__group a:focus {
  background: #f5f5f6;
}

.sh-drawer__group a.is-offer {
  color: var(--store-accent-dark);
  background: rgba(0, 143, 130, 0.12);
  font-weight: 700;
}

/* Legacy aliases kept for older markup */
.store-header {
  background: #fff;
  box-shadow: var(--store-shadow);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.store-btn-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f7f7f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--store-text);
  border: 0;
}

.store-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #05261f;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}

@media (min-width: 576px) {
  .sh-logo img {
    height: 40px;
    max-width: 160px;
  }
}

@media (min-width: 768px) {
  .sh-tool__label {
    display: inline;
  }

  .sh-tool {
    min-width: auto;
    padding: 0 12px;
  }

  .sh-search__btn-text {
    display: inline;
  }
}

@media (min-width: 992px) {
  .sh-top {
    display: block;
  }

  .sh-main {
    padding: 14px 0 10px;
  }

  .sh-bar {
    grid-template-columns: auto minmax(320px, 1fr) auto;
    grid-template-areas: "logo search tools";
    gap: 16px 20px;
  }

  .sh-logo img,
  .sh-logo__img {
    height: 48px;
    max-width: 180px;
  }

  .sh-search {
    max-width: none;
    margin: 0;
  }

  .sh-search input {
    padding-block: 0.8rem;
  }
}

/* Cards */
.store-card {
  background: var(--store-card);
  border: 1px solid var(--store-border-soft);
  border-radius: var(--store-radius);
  box-shadow: var(--store-shadow);
  overflow: hidden;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.store-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--store-shadow-hover);
  border-color: #cfe8e3;
}

.product-card {
  --pc-font-num: iranyekan, "Vazirmatn", Tahoma, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: var(--store-card);
  border: 1px solid rgba(4, 44, 72, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(4, 44, 72, 0.03), 0 8px 20px rgba(4, 44, 72, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(4, 164, 144, 0.35);
  box-shadow: 0 10px 28px rgba(4, 44, 72, 0.1);
  transform: translateY(-2px);
}

.product-card__media {
  display: block;
  position: relative;
  background: linear-gradient(165deg, #f4faf8 0%, #fbfcfd 48%, #ffffff 100%);
}

.product-card__img {
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  width: 100%;
  padding: 16px;
  transition: transform 0.28s ease;
  display: block;
}

.product-card:hover .product-card__img {
  transform: scale(1.035);
}

.product-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-width: 0;
}

.product-card__title-link {
  color: inherit;
  text-decoration: none;
}

.product-card__title-link:hover {
  color: inherit;
}

.product-card__title {
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--store-navy);
  font-weight: 700;
}

.product-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--pc-font-num);
  font-size: 0.74rem;
  font-weight: 700;
  color: #c9920a;
  margin: 0;
}

.product-card__rating i {
  font-size: 0.86rem;
  line-height: 1;
}

.product-card__price {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(4, 44, 72, 0.06);
}

.product-card__price-stack {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--pc-font-num);
}

.product-card__price-row {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 5px;
  line-height: 1.1;
}

.product-card__amount {
  color: var(--store-navy);
  font-family: var(--pc-font-num);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0;
  unicode-bidi: isolate;
}

.product-card__price-row.is-sale .product-card__amount {
  color: var(--store-red);
}

.product-card__currency {
  font-family: var(--pc-font-num);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--store-muted);
}

.product-card__price-old {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #9ca3af;
  font-size: 0.74rem;
  line-height: 1.2;
}

.product-card__price-old-num {
  font-family: var(--pc-font-num);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  unicode-bidi: isolate;
  font-weight: 500;
}

.product-card__price-old-unit {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.85;
}

/* legacy class kept for any cached markup */
.product-card__price-now {
  font-family: var(--pc-font-num);
  color: var(--store-navy);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.product-card__price-now.is-sale {
  color: var(--store-red);
}

.product-card__price-now small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--store-muted);
  margin-inline-start: 3px;
}

.product-card__badges {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.product-card__discount {
  position: static;
  background: var(--store-red);
  color: #fff;
  border-radius: 999px;
  font-family: var(--pc-font-num);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  box-shadow: 0 2px 8px rgba(239, 64, 86, 0.28);
}

.product-card__chip {
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  line-height: 1.4;
}

.product-card__chip--wholesale {
  background: #e6f7f4;
  color: var(--store-primary-hover);
  border: 1px solid #c5ebe4;
}

.product-card__installment {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 100%;
}

.product-card__installment i {
  font-size: 0.86rem;
  color: #ea580c;
  flex-shrink: 0;
}

.product-card__installment span {
  white-space: nowrap;
}

.product-card__wholesale {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 5px;
  margin-top: 3px;
  max-width: 100%;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  background: var(--store-primary-mist);
  border: 1px solid #d4efe9;
  color: var(--store-primary-hover);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
}

.product-card__wholesale-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--store-primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.product-card__wholesale-num {
  font-family: var(--pc-font-num);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--store-navy);
  unicode-bidi: isolate;
}

.product-card__wholesale-unit {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--store-muted);
}

.product-card__wholesale strong {
  font-family: var(--pc-font-num);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--store-navy);
}

.product-card__wish {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 8px rgba(4, 44, 72, 0.1);
  color: var(--store-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  padding: 0;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.product-card__wish:hover,
.product-card__wish.is-on {
  color: #e53935;
  background: #fff;
}

.product-card__cart {
  margin: 0;
  flex-shrink: 0;
}

.product-card__cart-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--store-primary-tint);
  color: var(--store-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.product-card__cart-btn:hover {
  background: var(--store-primary);
  color: #fff;
  transform: scale(1.04);
}

@media (min-width: 1200px) {
  .product-card__img {
    padding: 18px;
  }

  .product-card__body {
    padding: 13px 15px 15px;
  }

  .product-card__title {
    font-size: 0.88rem;
  }

  .product-card__amount {
    font-size: 1.18rem;
  }

  .product-card__wholesale-num {
    font-size: 0.82rem;
  }
}

@media (max-width: 575.98px) {
  .product-card {
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(4, 44, 72, 0.03), 0 4px 12px rgba(4, 44, 72, 0.035);
  }

  .product-card:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(4, 44, 72, 0.03), 0 4px 12px rgba(4, 44, 72, 0.035);
  }

  .product-card:hover .product-card__img {
    transform: none;
  }

  .product-card__img {
    padding: 10px 10px 6px;
  }

  .product-card__body {
    padding: 8px 10px 10px;
    gap: 6px;
  }

  .product-card__title {
    font-size: 0.78rem;
    line-height: 1.5;
    min-height: 2.4em;
  }

  .product-card__meta {
    gap: 5px;
  }

  .product-card__rating {
    font-size: 0.68rem;
  }

  .product-card__installment {
    padding: 2px 7px;
    font-size: 0.62rem;
    gap: 3px;
  }

  .product-card__installment i {
    font-size: 0.78rem;
  }

  .product-card__price {
    padding-top: 8px;
    gap: 6px;
  }

  .product-card__amount {
    font-size: 1rem;
  }

  .product-card__currency {
    font-size: 0.62rem;
  }

  .product-card__price-old {
    font-size: 0.68rem;
  }

  .product-card__wholesale {
    padding: 2px 6px 2px 4px;
    gap: 3px 4px;
    font-size: 0.64rem;
  }

  .product-card__wholesale-num {
    font-size: 0.72rem;
  }

  .product-card__wholesale-tag {
    font-size: 0.58rem;
    padding: 1px 5px;
  }

  .product-card__wish {
    top: 6px;
    left: 6px;
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .product-card__badges {
    top: 6px;
    right: 6px;
  }

  .product-card__discount {
    font-size: 0.66rem;
    padding: 3px 7px;
  }

  .product-card__cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  border-radius: var(--store-radius);
  overflow: hidden;
  min-height: 130px;
  background: #ffffff;
  border: 1px solid #e2efed;
  color: var(--store-heading);
  padding: 16px;
  box-shadow: var(--store-shadow);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-card::before {
  display: none;
}

.category-card:hover {
  background: var(--store-primary-mist);
  border-color: #cfe8e3;
  color: var(--store-heading);
  box-shadow: var(--store-shadow-hover);
}

.category-card:hover .category-card__icon {
  color: var(--store-primary-soft);
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--store-primary-tint);
  color: var(--store-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.category-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--store-heading);
  font-weight: 700;
}

/* Sections */
.store-section {
  margin-bottom: 2.25rem;
}

.store-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.9rem;
}

.store-section__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--store-heading);
}

.store-section__head a {
  color: var(--store-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.store-section__head a:hover {
  color: var(--store-primary-hover);
}

.store-offer {
  background: #fff;
  border: 1px solid var(--store-border-soft);
  border-radius: var(--store-radius);
  padding: 1.15rem;
  color: var(--store-text);
}

.store-offer .store-section__head h2 {
  color: var(--store-navy);
}

.store-offer .store-section__head a {
  color: var(--store-primary);
}

.store-offer .store-section__head a:hover {
  color: var(--store-primary-hover);
}

.store-offer .store-card {
  box-shadow: var(--store-shadow);
  border-color: var(--store-border-soft);
}

/* Hero — desktop 960×600 ≈ 16∶10; mobile override below */
.hero-main {
  border-radius: 16px;
  overflow: hidden;
  background: var(--store-primary-tint);
  border: 1px solid var(--store-border);
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.hero-main .carousel,
.hero-main .carousel-inner,
.hero-main .carousel-item,
.hero-main .hero-fallback {
  height: 100%;
}

.hero-main .carousel-item {
  position: relative;
}

.hero-main .carousel-item a {
  display: block;
  height: 100%;
}

.hero-main .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-fallback {
  min-height: 0;
  background: linear-gradient(135deg, var(--store-primary-tint), var(--store-cyan-soft));
  color: var(--store-heading);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-card {
  flex: 1 1 0;
  min-height: 0;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: linear-gradient(160deg, #ffffff 0%, var(--store-primary-mist) 100%);
  border: 1px solid #e0efec;
  color: var(--store-heading);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--store-shadow);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hero-cta-card:hover {
  background: linear-gradient(160deg, var(--store-primary-mist) 0%, var(--store-gold-soft) 100%);
  border-color: #cfe8e3;
  color: var(--store-heading);
  box-shadow: var(--store-shadow-hover);
  transform: translateY(-1px);
}

.hero-cta-card span {
  color: var(--store-primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hero-cta-card strong {
  font-size: 1.1rem;
  color: var(--store-heading);
}

.hero-side {
  min-height: 0;
}

.hero-side > a {
  display: block;
  flex: 1 1 0;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--store-border);
  box-shadow: var(--store-shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  /* desktop side cards: 720×720 square */
  aspect-ratio: 1 / 1;
}

.hero-side > a:hover {
  box-shadow: var(--store-shadow-hover);
  transform: translateY(-1px);
}

.hero-side > a.hero-cta-card {
  display: flex;
  aspect-ratio: 1 / 1;
}

.hero-side img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 992px) {
  /* Side cards stretch to match hero column height */
  .hero-side {
    height: 100%;
  }
  .hero-side > a,
  .hero-side > a.hero-cta-card {
    aspect-ratio: 1 / 1;
  }
}

/* Shop */
.shop-sidebar {
  background: var(--store-card);
  border: 1px solid rgba(0, 63, 58, 0.06);
  border-radius: var(--store-radius);
  padding: 16px;
  box-shadow: var(--store-shadow);
  position: sticky;
  top: 96px;
}

.shop-sidebar h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--store-navy);
}

.shop-toolbar {
  background: var(--store-card);
  border: 1px solid rgba(0, 63, 58, 0.06);
  border-radius: var(--store-radius);
  padding: 14px 18px;
  box-shadow: var(--store-shadow);
}

.shop-search-hero {
  background: var(--store-card);
  border: 1px solid rgba(0, 63, 58, 0.06);
  border-radius: var(--store-radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--store-shadow);
}

.shop-search-hero__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--store-navy);
}

.shop-search-hero__meta {
  margin: 0 0 1rem;
  color: var(--store-muted);
  font-size: 0.875rem;
}

.shop-search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--store-bg);
  border: 1px solid var(--store-border);
  border-radius: 999px;
  overflow: hidden;
  max-width: 42rem;
}

.shop-search-form:focus-within {
  border-color: var(--store-accent);
  box-shadow: 0 0 0 3px rgba(0, 143, 130, 0.18);
}

.shop-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--store-text);
  outline: none;
}

.shop-search-form button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  margin: 5px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--store-accent);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.shop-search-form button:hover {
  background: var(--store-primary-hover);
  color: #fff;
}

/* Shop listing grid (beside filters — not 6-up) */
.shop-results .store-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .shop-results .store-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .shop-results .store-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* PDP */
.page-pdp .store-main {
  padding-bottom: 5.5rem;
}

@media (min-width: 768px) {
  .page-pdp .store-main {
    padding-bottom: 1.5rem;
  }
}

/* One unified white product surface (gallery + info + buybox) */
.pdp {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 63, 58, 0.06);
  overflow: hidden;
}

.pdp-gallery,
.pdp-info,
.pdp-buybox {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  height: 100%;
}

.pdp-gallery {
  position: relative;
  padding: 1rem 1rem 1.1rem;
}

.pdp-info {
  padding: 1.15rem 1.25rem 1.25rem;
}

.pdp-buybox {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767.98px) {
  .pdp-info,
  .pdp-buybox {
    border-top: 1px solid var(--store-border-soft);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .pdp {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .pdp-gallery {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--store-border-soft);
  }

  .pdp-info {
    border-inline-start: 1px solid var(--store-border-soft);
  }
}

@media (min-width: 992px) {
  .pdp {
    /* DOM RTL: gallery (right) | info | buybox (left) ≈ 32% / 43% / 25% */
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.55fr) minmax(250px, 0.9fr);
  }

  .pdp-info {
    border-inline-start: 1px solid var(--store-border-soft);
    border-inline-end: 1px solid var(--store-border-soft);
  }
}

.pdp-gallery__toolbar {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-gallery__action {
  width: 40px;
  height: 40px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--store-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pdp-gallery__action:hover,
.pdp-gallery__action:focus-visible {
  color: var(--store-primary);
  border-color: var(--store-primary);
  background: var(--store-primary-tint);
  outline: none;
}

.pdp-gallery__stage {
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-gallery__stage.is-zoomed {
  cursor: zoom-out;
}

.pdp-gallery__main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  padding: 1.25rem;
  transition: transform 0.25s ease;
  display: block;
}

.pdp-gallery__stage.is-zoomed .pdp-gallery__main {
  transform: scale(1.45);
}

.pdp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.pdp-thumbs button {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 1.5px solid var(--store-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdp-thumbs button:hover,
.pdp-thumbs button.is-active {
  border-color: var(--store-primary);
  box-shadow: 0 0 0 2px rgba(0, 143, 130, 0.18);
}

.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info__brand {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: var(--store-muted);
  font-weight: 600;
}

.pdp-info__brand:hover {
  color: var(--store-primary);
}

.pdp-info__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 800;
  color: var(--store-heading);
  line-height: 1.65;
}

.pdp-info__en {
  margin: 0 0 0.75rem;
  color: var(--store-muted);
  font-size: 0.85rem;
}

.pdp-info__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.9rem;
}

.pdp-info__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--store-text);
  font-size: 0.88rem;
}

.pdp-info__rating:hover {
  color: var(--store-primary);
}

.pdp-info__cat {
  font-size: 0.82rem;
  color: var(--store-muted);
}

.pdp-info__cat a {
  color: var(--store-primary);
  font-weight: 600;
}

.pdp-stars {
  display: inline-flex;
  gap: 1px;
  color: #e6a817;
  line-height: 1;
}

.pdp-stars--sm {
  font-size: 0.85rem;
  margin: 0.35rem 0 0.5rem;
}

.pdp-stars--lg {
  font-size: 1.15rem;
  margin-top: 0.35rem;
  justify-content: center;
}

.pdp-info__desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--store-text);
}

.pdp-info__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--store-heading);
  margin-bottom: 0.55rem;
}

.pdp-colors {
  margin-bottom: 1.15rem;
}

.pdp-colors__selected {
  color: var(--store-primary);
  font-weight: 700;
}

.pdp-colors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdp-swatch {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--store-border);
  background: #fff;
  padding: 3px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdp-swatch__dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--swatch, #ccc);
}

.pdp-swatch__check {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.pdp-swatch.is-active {
  border-color: var(--store-primary);
  box-shadow: 0 0 0 3px rgba(0, 143, 130, 0.16);
}

.pdp-swatch.is-active .pdp-swatch__check {
  display: flex;
}

.pdp-features {
  margin-top: 0.25rem;
}

.pdp-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 575px) {
  .pdp-features__grid {
    grid-template-columns: 1fr;
  }
}

.pdp-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0.55rem 0.15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px dashed var(--store-border-soft);
}

.pdp-features__grid .pdp-feature:nth-last-child(-n + 2) {
  border-bottom: 0;
}

@media (max-width: 575px) {
  .pdp-features__grid .pdp-feature:nth-last-child(-n + 2) {
    border-bottom: 1px dashed var(--store-border-soft);
  }

  .pdp-features__grid .pdp-feature:last-child {
    border-bottom: 0;
  }
}

.pdp-feature__icon {
  color: var(--store-primary);
  font-size: 1.15rem;
  line-height: 1;
  margin-top: 2px;
}

.pdp-feature__key {
  font-size: 0.72rem;
  color: var(--store-muted);
  margin-bottom: 2px;
}

.pdp-feature__val {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--store-heading);
  line-height: 1.5;
}

.pdp-specs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdp-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--store-border-soft);
  font-size: 0.88rem;
  color: var(--store-muted);
}

.pdp-specs li:nth-child(odd) {
  background: var(--store-bg);
}

.pdp-specs li span:first-child {
  color: var(--store-text);
  font-weight: 600;
}

.pdp-specs--full {
  border: 1px solid var(--store-border);
  border-radius: 12px;
  overflow: hidden;
}

.pdp-buybox__seller {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--store-border-soft);
}

.pdp-buybox__seller-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--store-primary-tint);
  color: var(--store-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pdp-buybox__seller-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--store-heading);
}

.pdp-buybox__seller-meta {
  font-size: 0.75rem;
  color: var(--store-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.pdp-buybox__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--store-red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(239, 64, 86, 0.28);
}

.pdp-buybox__old {
  color: var(--store-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.price-lg.is-sale {
  color: var(--store-red);
}

.price-lg.is-wholesale {
  color: var(--store-primary-hover);
}

.pdp-installment {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fb923c;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.12);
}

.pdp-installment__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ea580c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pdp-installment__body {
  min-width: 0;
}

.pdp-installment__body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #9a3412;
  line-height: 1.4;
}

.pdp-installment__body span {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #c2410c;
  line-height: 1.5;
}

.pdp-wholesale {
  margin: 0 0 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: #f3fbf9;
  border: 1px solid #d7efe9;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pdp-wholesale__label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--store-navy);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdp-wholesale__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--store-muted);
  margin-bottom: 0.2rem;
}

.pdp-wholesale__row strong {
  color: var(--store-navy);
  font-weight: 800;
}

.pdp-wholesale__hint {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: var(--store-primary-hover);
  font-weight: 600;
}

.pdp-wholesale.is-on {
  border-color: var(--store-primary);
  background: #e6f7f4;
  box-shadow: 0 0 0 3px rgba(4, 164, 144, 0.12);
}

.pdp-buybox__stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.pdp-buybox__stock.is-ok {
  color: var(--store-primary-hover);
}

.pdp-buybox__stock.is-out {
  color: #b45309;
}

.pdp-buybox__row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--store-muted);
  margin-bottom: 0.35rem;
}

.pdp-buybox__row i {
  color: var(--store-primary);
}

.pdp-buybox__form {
  margin-top: 0.85rem;
}

.pdp-buybox__cta {
  min-height: 48px;
  font-size: 0.95rem;
}

.pdp-buybox__cta:disabled {
  background: #a8b5b3;
  border-color: #a8b5b3;
  cursor: not-allowed;
  opacity: 1;
}

.pdp-qty {
  display: inline-flex;
  flex-direction: row;
  direction: ltr;
  align-items: stretch;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  max-width: 148px;
}

.pdp-qty button {
  width: 40px;
  border: 0;
  background: var(--store-bg);
  color: var(--store-heading);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.pdp-qty button:hover {
  background: var(--store-primary-tint);
  color: var(--store-primary);
}

.pdp-qty input {
  width: 60px;
  border: 0;
  text-align: center;
  font-family: inherit;
  font-weight: 700;
  color: var(--store-text);
  background: #fff;
}

.pdp-perks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--store-border-soft);
  display: grid;
  gap: 0.55rem;
}

.pdp-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--store-text);
}

.pdp-perks i {
  color: var(--store-primary);
  font-size: 1.05rem;
}

.price-lg {
  color: var(--store-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn-store {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--store-primary);
  --bs-btn-border-color: var(--store-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--store-primary-hover);
  --bs-btn-hover-border-color: var(--store-primary-hover);
  --bs-btn-focus-shadow-rgb: 0, 143, 130;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--store-teal-400);
  --bs-btn-active-border-color: var(--store-teal-400);
  background: var(--store-primary);
  border: 1px solid var(--store-primary);
  color: #fff;
  border-radius: 0.75rem;
  font-family: inherit;
  font-weight: 700;
  padding: 0.65rem 1.15rem;
  line-height: 1.4;
  box-shadow: 0 2px 0 rgba(0, 63, 58, 0.08);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-store:hover,
.btn-store:focus {
  background: var(--store-primary-hover);
  border-color: var(--store-primary-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 143, 130, 0.28);
  transform: translateY(-1px);
}

.btn-store:focus-visible,
.btn-store-outline:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 143, 130, 0.3);
}

.btn-store-outline {
  background: #fff;
  border: 1px solid var(--store-primary-soft);
  color: var(--store-primary);
  border-radius: 0.75rem;
  font-family: inherit;
  font-weight: 700;
  padding: 0.65rem 1.15rem;
  line-height: 1.4;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-store-outline:hover {
  background: var(--store-primary-tint);
  border-color: var(--store-primary);
  color: var(--store-primary-hover);
  box-shadow: 0 2px 8px rgba(0, 143, 130, 0.12);
}

.btn-store-danger {
  background: var(--store-danger);
  border: 1px solid var(--store-danger);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 700;
  padding: 0.65rem 1.15rem;
}

.btn-store-danger:hover {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}

.pdp-panel {
  background: var(--store-card);
  border: 1px solid var(--store-border);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(0, 63, 58, 0.06);
}

.pdp-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--store-heading);
}

.pdp-panel__body {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--store-text);
}

/* Tabs */
.pdp-tabs {
  margin-top: 1.25rem;
  background: var(--store-card);
  border: 1px solid var(--store-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 63, 58, 0.06);
  overflow: hidden;
}

.pdp-tabs__nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--store-border);
  background: var(--store-bg);
  -webkit-overflow-scrolling: touch;
}

.pdp-tabs__btn {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0.9rem 1.15rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--store-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.pdp-tabs__btn:hover {
  color: var(--store-primary);
}

.pdp-tabs__btn.is-active {
  color: var(--store-primary);
  border-bottom-color: var(--store-primary);
  background: #fff;
}

.pdp-tabs__panel {
  display: none;
  padding: 1.25rem 1.35rem;
}

.pdp-tabs__panel.is-active {
  display: block;
}

.pdp-tabs__jump {
  color: var(--store-primary);
  font-weight: 600;
}

/* Q&A */
.pdp-qa {
  display: grid;
  gap: 1rem;
}

.pdp-qa__item {
  padding: 1rem;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-bg);
}

.pdp-qa__q {
  font-weight: 700;
  color: var(--store-heading);
  line-height: 1.8;
}

.pdp-qa__a {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--store-border);
  line-height: 1.8;
  color: var(--store-text);
}

.pdp-qa__meta {
  font-size: 0.75rem;
  color: var(--store-muted);
  margin-top: 0.35rem;
}

.pdp-qa__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--store-primary-tint);
  color: var(--store-primary-hover);
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
}

.pdp-qa__badge--a {
  background: #eef2ff;
  color: #4338ca;
}

/* Reviews */
.pdp-reviews {
  margin-top: 1.25rem;
  background: var(--store-card);
  border: 1px solid var(--store-border);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 20px rgba(0, 63, 58, 0.06);
}

.pdp-reviews__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.15rem;
}

.pdp-reviews__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--store-heading);
}

.pdp-reviews__count {
  font-size: 0.85rem;
  color: var(--store-muted);
}

.pdp-reviews__layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .pdp-reviews__layout {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.5fr);
    gap: 1.75rem;
    align-items: start;
  }
}

.pdp-reviews__summary {
  background: var(--store-bg);
  border: 1px solid var(--store-border-soft);
  border-radius: 14px;
  padding: 1.15rem;
}

.pdp-reviews__score {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--store-border-soft);
}

.pdp-reviews__score-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--store-heading);
  line-height: 1;
}

.pdp-reviews__score-label {
  font-size: 0.85rem;
  color: var(--store-muted);
}

.pdp-reviews__bars {
  display: grid;
  gap: 0.45rem;
}

.pdp-reviews__bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--store-muted);
}

.pdp-reviews__bar {
  height: 8px;
  background: #e8f0ee;
  border-radius: 999px;
  overflow: hidden;
}

.pdp-reviews__bar span {
  display: block;
  height: 100%;
  background: var(--store-primary);
  border-radius: 999px;
}

.pdp-reviews__bar-count {
  text-align: left;
}

.pdp-reviews__list {
  display: grid;
  gap: 0.85rem;
}

.pdp-reviews__empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--store-muted);
  background: var(--store-bg);
  border-radius: 12px;
  border: 1px dashed var(--store-border);
}

.pdp-review-card {
  background: #fff;
  border: 1px solid #e5efed;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 63, 58, 0.04);
}

.pdp-review-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.pdp-review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 8px;
  font-size: 0.72rem;
  color: var(--store-primary);
  font-weight: 600;
}

.pdp-review-card__body {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--store-text);
}

.pdp-review-card__pros,
.pdp-review-card__cons,
.pdp-review-card__rec {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.7;
}

.pdp-review-card__pros {
  color: var(--store-primary-hover);
}

.pdp-review-card__cons {
  color: #b45309;
}

.pdp-review-card__rec {
  color: var(--store-muted);
}

.pdp-comment-form {
  margin-top: 0.5rem;
  padding: 1.15rem;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  background: var(--store-bg);
}

.pdp-comment-form h3 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--store-heading);
}

.pdp-comment-form__field {
  display: block;
  margin-bottom: 0.85rem;
}

.pdp-comment-form__field span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--store-heading);
  margin-bottom: 0.35rem;
}

.pdp-comment-form__field textarea,
.pdp-comment-form__field input[type="text"] {
  width: 100%;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--store-text);
  resize: vertical;
}

.pdp-comment-form__field textarea:focus,
.pdp-comment-form__field input[type="text"]:focus {
  outline: none;
  border-color: var(--store-primary);
  box-shadow: 0 0 0 3px rgba(0, 143, 130, 0.15);
}

.pdp-comment-form__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .pdp-comment-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pdp-comment-form__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
  cursor: pointer;
}

.pdp-comment-form__rating {
  margin-bottom: 0.9rem;
}

.pdp-rate-input {
  display: inline-flex;
  gap: 2px;
}

.pdp-rate-input label {
  cursor: pointer;
  color: #d1d5db;
  font-size: 1.45rem;
  line-height: 1;
}

.pdp-rate-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pdp-sticky-cta {
  position: fixed;
  bottom: 64px;
  inset-inline: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.75rem var(--store-pad);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--store-border);
  box-shadow: 0 -6px 20px rgba(0, 63, 58, 0.08);
  backdrop-filter: blur(8px);
}

.pdp-sticky-cta__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdp-sticky-cta__price strong {
  color: var(--store-heading);
  font-size: 1rem;
}

.pdp-sticky-cta .btn-store {
  flex: 0 0 auto;
  min-width: 140px;
}


/* Auth */
.auth-card {
  max-width: 420px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 18px;
  padding: 1.85rem 1.5rem 1.6rem;
  box-shadow: 0 10px 36px rgba(4, 44, 72, 0.08);
  border: 1px solid var(--store-border-soft);
  text-align: center;
}

.auth-card__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  background: var(--store-primary-tint);
  color: var(--store-primary);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.auth-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--store-navy);
  margin: 0 0 0.35rem;
}

.auth-card__sub {
  font-size: 0.85rem;
  color: var(--store-muted);
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.auth-card .form-label {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--store-navy);
}

.auth-input {
  text-align: center;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.auth-input--otp {
  letter-spacing: 0.45em;
  font-weight: 800;
  font-size: 1.35rem;
}

.auth-phone-chip {
  font-size: 0.85rem;
  color: var(--store-muted);
  background: var(--store-primary-mist);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.auth-timers {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--store-muted);
}

.auth-msg {
  min-height: 1.4em;
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
}

.auth-msg.is-ok { color: var(--store-primary-hover); }
.auth-msg.is-err { color: #c0392b; }

/* Footer */
.store-footer {
  background: var(--store-navy);
  border-top: 0;
  margin-top: 2.5rem;
  padding: 2.75rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.store-footer h5 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  color: #fff;
}

.store-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.45rem;
}

.store-footer a:hover {
  color: var(--store-primary-soft);
}

.store-footer .text-muted,
.store-footer__about {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.85rem;
  line-height: 1.9;
  margin: 0;
}

.store-footer__news {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.store-footer__news input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.store-footer__news input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.store-footer__news button {
  border: 0;
  border-radius: 999px;
  background: var(--store-primary);
  color: #fff;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.25s ease-out;
}

.store-footer__news button:hover {
  background: var(--store-primary-hover);
}

.store-footer__social {
  align-items: center;
}

.store-footer__social .store-btn-icon,
.store-footer .store-btn-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  vertical-align: middle;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.store-footer__social .store-btn-icon:hover,
.store-footer .store-btn-icon:hover {
  background: var(--store-primary);
  color: #fff;
  transform: translateY(-1px);
}

.store-footer__social .store-btn-icon i,
.store-footer .store-btn-icon i {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  margin: 0;
}

.store-copyright {
  background: var(--store-navy-deep);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  padding: 0.85rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile bottom nav */
.store-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--store-border-soft);
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(4, 44, 72, 0.08);
}

.store-mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 4px 2px 2px;
  color: #8a93a0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

.store-mobile-nav__item:hover,
.store-mobile-nav__item:focus {
  color: var(--store-primary);
}

.store-mobile-nav__icon {
  width: 40px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.store-mobile-nav__label {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-mobile-nav__item.is-active {
  color: var(--store-primary);
}

.store-mobile-nav__item.is-active .store-mobile-nav__icon {
  background: var(--store-primary-tint);
  color: var(--store-primary);
}

.store-mobile-nav__item--cart .store-mobile-nav__icon--cart {
  position: relative;
  width: 48px;
  height: 48px;
  margin-top: -16px;
  border-radius: 16px;
  background: var(--store-primary);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(4, 164, 144, 0.35);
}

.store-mobile-nav__item--cart.is-active .store-mobile-nav__icon--cart,
.store-mobile-nav__item--cart:hover .store-mobile-nav__icon--cart {
  background: var(--store-primary-hover);
  color: #fff;
}

.store-mobile-nav__icon--cart .store-badge {
  top: 4px;
  left: 4px;
  right: auto;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
  background: #041c17;
  border: 2px solid #fff;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  body.store-body {
    padding-bottom: 78px;
  }

  .container-store {
    --store-pad: 12px;
  }

  .store-section {
    margin-bottom: 1.75rem;
  }

  .store-section__head {
    margin-bottom: 1rem;
    gap: 0.5rem;
  }

  .store-section__head h2 {
    font-size: 1.05rem;
  }

  /* Amazing offers: readable gap from products */
  .store-offer {
    padding: 1rem 0.85rem 1.15rem;
    margin-bottom: 0.5rem;
  }

  .store-offer .store-section__head {
    margin-bottom: 1.1rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(4, 164, 144, 0.18);
  }

  .store-offer .store-product-grid {
    gap: 0.85rem;
  }

  /* Hide side hero cards on phone — main slider only */
  .hero-side {
    display: none !important;
  }

  .hero-main {
    /* mobile: design 1920×560 ≈ 24∶7 */
    aspect-ratio: 24 / 7;
  }

  .hero-main .carousel-item img {
    height: auto;
  }

  .store-cat-grid,
  .store-product-grid {
    gap: 0.75rem;
  }

  .store-features {
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .store-footer {
    margin-top: 1.5rem;
    padding: 1.5rem 0 1rem;
  }

  .store-footer .row {
    --bs-gutter-y: 1.25rem;
  }

  .store-btn-account span {
    display: none;
  }

  .store-actions .store-btn-account {
    padding: 0.45rem;
    width: 42px;
    height: 42px;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .store-mobile-nav {
    display: none !important;
  }
}

/* Checkout steps */
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0 1.5rem;
  position: relative;
}

.checkout-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: #e5e5e5;
  z-index: 0;
}

.checkout-steps__item {
  text-align: center;
  font-size: 0.8rem;
  color: var(--store-muted);
  z-index: 1;
  background: var(--store-bg);
  padding: 0 8px;
}

.checkout-steps__item.active {
  color: var(--store-primary);
}

.checkout-steps__item i {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.breadcrumb-store {
  font-size: 0.8rem;
  color: var(--store-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.breadcrumb-store a {
  color: var(--store-muted);
}

.breadcrumb-store a:hover {
  color: var(--store-primary);
}

.breadcrumb-store > span:last-of-type {
  color: var(--store-primary);
  font-weight: 600;
}

.empty-state {
  background: #fff;
  border-radius: var(--store-radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--store-muted);
  box-shadow: var(--store-shadow);
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 575.98px) {
  .store-product-grid {
    gap: 8px;
  }
}

.store-product-grid__banner {
  grid-column: 1 / -1;
}

.store-product-grid__banner--after {
  margin-top: 12px;
}

.store-product-grid__empty {
  grid-column: 1 / -1;
}

/* Full-width thin banner strips — desktop only */
.store-section--banner {
  margin-block: 1.75rem;
}

.store-banners,
.store-banners--stack {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 1rem;
  width: 100%;
}

.store-banners__item {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--store-primary-tint);
  box-shadow: var(--store-shadow);
  min-height: 0;
}

.store-banners__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.store-banners__item:hover img {
  transform: none;
}

/* Hide row banners on tablet/mobile — they fight the layout */
@media (max-width: 991.98px) {
  .store-section--banner {
    display: none !important;
  }
}

.store-promo {
  border-radius: 16px;
  min-height: 148px;
  padding: 22px 24px;
  color: var(--store-heading);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  box-shadow: var(--store-shadow);
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border: 1px solid #e0efec;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-promo:hover {
  background: var(--store-primary-mist);
  border-color: #cfe8e3;
  box-shadow: var(--store-shadow-hover);
  color: var(--store-heading);
}

.store-promo::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--store-primary-tint);
  box-shadow: inset 0 0 0 8px transparent;
}

.store-promo::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--store-primary);
  z-index: 1;
}

.store-promo__kicker {
  font-size: 0.78rem;
  color: var(--store-primary);
  font-weight: 600;
}

.store-promo strong {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--store-heading);
}

.store-promo__cta {
  font-size: 0.82rem;
  margin-top: 6px;
  color: var(--store-primary);
  font-weight: 600;
}

.store-promo--red {
  background: linear-gradient(145deg, #fff 0%, var(--store-red-soft) 100%);
  color: var(--store-heading);
  border: 1px solid #ffcdd2;
}

.store-promo--red .store-promo__kicker,
.store-promo--red .store-promo__cta {
  color: var(--store-red);
}

.store-promo--navy {
  background: linear-gradient(145deg, #fff 0%, var(--store-primary-mist) 100%);
  color: var(--store-heading);
  border: 1px solid #e0efec;
}

.store-promo--cyan {
  background: linear-gradient(145deg, #fff 0%, var(--store-cyan-soft) 100%);
  color: var(--store-heading);
  border: 1px solid #b2ebf2;
}

.store-promo--cyan .store-promo__kicker,
.store-promo--cyan .store-promo__cta {
  color: var(--store-cyan);
}

.store-promo--gold {
  background: linear-gradient(145deg, #fff 0%, var(--store-gold-soft) 100%);
  color: var(--store-heading);
  border: 1px solid #ffe0a3;
}

.store-promo--gold .store-promo__kicker,
.store-promo--gold .store-promo__cta {
  color: #c47d00;
}

.store-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 1.75rem;
}

.store-features__item {
  background: #fff;
  border: 1px solid var(--store-border-soft);
  border-radius: var(--store-radius);
  box-shadow: var(--store-shadow);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-features__item i {
  font-size: 1.6rem;
  color: var(--store-primary);
}

.store-features__item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--store-heading);
}

.store-features__item span {
  display: block;
  font-size: 0.75rem;
  color: var(--store-muted);
}

@media (min-width: 768px) {
  .store-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .store-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .store-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Home category boxes: always full rows (2 / 3 / 6) */
.store-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .store-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .store-cat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Product card quick actions */
.product-card {
  position: relative;
}
.product-card__actions {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.product-card:hover .product-card__actions,
.product-card:focus-within .product-card__actions {
  opacity: 1;
}
.product-card__actions .store-btn-icon {
  background: #fff;
  box-shadow: var(--store-shadow);
}

.cart-qty {
  margin-bottom: 0;
}

.store-notice__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.store-notice__icon.is-success {
  background: #e7f7ee;
  color: #14804a;
}
.store-notice__icon.is-error {
  background: #fde8e8;
  color: #c0392b;
}
.store-notice__icon.is-info {
  background: #e8f4fc;
  color: #1a6fa8;
}
.store-notice__title {
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.store-notice__body {
  color: var(--store-muted);
  margin-bottom: 1rem;
}
}
@media (max-width: 767.98px) {
  .product-card__actions {
    opacity: 1;
  }
}

/* Compare toggle on product cards */
.product-card__compare {
  top: 48px;
}
.product-card__compare:hover,
.product-card__compare.is-on {
  color: var(--store-primary);
  background: #fff;
}
.js-busy {
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 767.98px) {
  .product-card__compare {
    top: 42px;
  }

  /* Cart table → stacked rows on phones */
  .store-cart-table thead {
    display: none;
  }
  .store-cart-table,
  .store-cart-table tbody {
    display: block;
    width: 100%;
  }
  .store-cart-table tr.js-cart-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    grid-template-areas:
      "img title remove"
      "img unit unit"
      "qty qty line";
    gap: 6px 10px;
    padding: 12px;
    border-bottom: 1px solid var(--store-border-soft);
  }
  .store-cart-table tr.js-cart-row > td {
    border: 0;
    padding: 0;
    width: auto !important;
  }
  .store-cart-table tr.js-cart-row > td:nth-child(1) { grid-area: img; }
  .store-cart-table tr.js-cart-row > td:nth-child(2) { grid-area: title; }
  .store-cart-table tr.js-cart-row > td:nth-child(3) { grid-area: unit; }
  .store-cart-table tr.js-cart-row > td:nth-child(4) { grid-area: qty; }
  .store-cart-table tr.js-cart-row > td:nth-child(5) { grid-area: line; align-self: center; }
  .store-cart-table tr.js-cart-row > td:nth-child(6) { grid-area: remove; }

  body.page-pdp.store-body {
    padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
  }
  .pdp-sticky-cta {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

button.store-mobile-nav__item {
  border: 0;
  background: transparent;
  font: inherit;
  width: 100%;
}
