:root {
  --brand: #3488fe;
  --brand-light: #e8f1ff;
  --brand-dark: #1a6fe8;
  --dark: #030d3f;
  --dark-2: #0d1f5c;
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #f0f4ff;
  --gray-200: #e2eaff;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --border: #e2eaf5;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

.related-bundle-offer {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.related-bundle-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #fff;
}

.related-bundle-main {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.related-bundle-copy {
  min-width: 0;
}

.related-bundle-image {
  width: 82px;
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ecfeff;
  color: #0e7490;
  font-size: 28px;
}

.related-bundle-image img,
.b-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.related-bundle-card h2 {
  margin: 4px 0;
  font-size: 18px;
}

.related-bundle-card p,
.bundle-price-stack span {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.bundle-price-stack {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.related-bundle-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--gray-50);
}

.related-bundle-action-bar .bundle-price-stack {
  justify-items: start;
}

.related-bundle-action-bar .product-action-btn {
  width: auto;
  min-width: 190px;
  min-height: 44px;
  padding: 10px 18px;
  white-space: nowrap;
}

.bundle-price-stack strong {
  color: #0f172a;
  font-size: 16px;
}

.cart-bundle-line .cart-line-image,
.checkout-bundle-line .checkout-order-image {
  background: #ecfeff;
  color: #0e7490;
}

@media (max-width: 720px) {
  .related-bundle-main {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 14px;
  }

  .related-bundle-action-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .related-bundle-action-bar .bundle-price-stack {
    justify-items: start;
  }

  .related-bundle-action-bar .product-action-btn {
    width: 100%;
    min-width: 0;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #f4f7ff;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.5;
}

html {
  scroll-padding-top: 148px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

/* ── TOP UTILITY BAR (scrolls away, non-sticky) ── */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  font-weight: 500;
}

.topbar-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-contact,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  transition: color .15s ease;
}

.topbar-link i { font-size: 15px; }
.topbar-link:hover { color: #fff; }

.topbar-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.32);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

.topbar-badge i { font-size: 14px; }
.topbar-external { font-weight: 600; }
.topbar-external i { font-size: 14px; }

@media (max-width: 900px) {
  .topbar-badge { display: none; }
}

@media (max-width: 640px) {
  .topbar-inner {
    padding: 0 14px;
    min-height: 34px;
    gap: 10px;
    justify-content: center;
  }

  .topbar-contact { gap: 10px; }
  .topbar-right { display: none; }
  .topbar-link span { font-size: 12px; }
}

@media (max-width: 380px) {
  .topbar-contact .topbar-link:last-child,
  .topbar-sep { display: none; }
}

/* ── HEADER ── */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eef3fb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  height: 72px;
  max-width: 1920px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.storefront-logo-img {
  display: block;
  width: clamp(180px, 14vw, 260px);
  min-width: 180px;
  max-width: 260px;
  height: 56px;
  max-height: 56px;
  object-fit: contain;
}

.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #6b8bff 0%, #8db5ff 100%);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: -10px -8px 0 -7px #74a7ff;
}

.logo-icon svg { width: 19px; height: 19px; fill: #fff; }

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.9px;
  line-height: 1;
}

.logo-text span { color: #111827; }

.catalog-shell {
  position: relative;
  flex-shrink: 0;
}

.catalog-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #4d9bf0;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 0 22px;
  height: 46px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.catalog-btn i { font-size: 20px; }
.catalog-btn:hover { background: #3488fe; transform: translateY(-1px); }

.catalog-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 190;
  width: min(340px, calc(100vw - 28px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transform-origin: top left;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.catalog-shell.is-open .catalog-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.catalog-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #e7edf6;
  border-top: 1px solid #e7edf6;
  transform: rotate(45deg);
}

.catalog-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 10px;
  border-bottom: 1px solid #eef2f7;
}

.catalog-dropdown-head strong {
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.catalog-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f6f9fd;
  color: #64748b;
  cursor: pointer;
  transition: color .18s, background .18s;
}

.catalog-close:hover {
  background: #eef6ff;
  color: var(--brand);
}

.catalog-category-nav {
  padding-top: 8px;
}

.catalog-category-list {
  display: grid;
  gap: 3px;
  list-style: none;
}

.catalog-category-item {
  min-width: 0;
}

.catalog-category-link {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  color: #172033;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  transition: background .18s, color .18s, transform .18s;
}

.catalog-category-link:hover,
.catalog-category-link:focus {
  background: #f5f9ff;
  color: var(--brand);
  outline: none;
  transform: translateX(2px);
}

.catalog-category-link i {
  color: #94a3b8;
  font-size: 16px;
  flex-shrink: 0;
}

.catalog-subcategories {
  margin: 0 0 4px 12px;
  padding-left: 10px;
  border-left: 1px solid #e8eef7;
}

.catalog-subcategories .catalog-category-link {
  min-height: 34px;
  padding: 8px 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 750;
}

.catalog-empty {
  padding: 15px 10px 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.search-bar {
  flex: 1;
  position: relative;
  max-width: 820px;
}

.search-bar > i {
  position: absolute;
  left: 17px; top: 50%;
  transform: translateY(-50%);
  color: #9aa8bd;
  font-size: 22px;
}

.search-bar input {
  width: 100%;
  height: 46px;
  background: #f6f9fd;
  border: 1px solid #f0f4fa;
  border-radius: 11px;
  padding: 0 18px 0 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search-bar input::placeholder { color: #8d9aaf; }
.search-bar input:focus {
  border-color: #cfe2ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52,136,254,0.09);
}

.search-loading {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #d9e5f7;
  border-top-color: var(--brand);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: live-search-spin .75s linear infinite;
}

.search-bar.is-loading .search-loading { opacity: 1; }

.live-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 80;
  display: none;
  overflow: visible;
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.search-bar.is-open .live-search-dropdown { display: block; }

.live-search-inner {
  max-height: min(68vh, 540px);
  overflow: auto;
  padding: 10px;
}

.live-search-heading {
  margin: 8px 8px 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.live-search-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: #111827;
  text-decoration: none;
  border-radius: 10px;
  transition: background .18s, transform .18s;
}

.live-search-item:hover,
.live-search-item:focus {
  background: #f5f8fe;
  outline: none;
  transform: translateY(-1px);
}

.live-search-media {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: #eef5ff;
  border-radius: 10px;
  color: var(--brand);
}

.live-search-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-search-media i,
.storefront-result-media i,
.storefront-head-media i {
  position: static;
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
  transform: none;
}

.live-search-title {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.live-search-desc {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.live-search-meta {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.live-search-empty,
.live-search-hint,
.live-search-error,
.live-search-view-all {
  padding: 15px 16px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.live-search-error { color: #b42318; }

.live-search-view-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--brand);
  text-decoration: none;
  border-top: 1px solid #eef2f7;
}

.live-search-view-all:hover { background: #f8fbff; }

@keyframes live-search-spin {
  to { transform: rotate(360deg); }
}

.search-page-main {
  padding-top: 28px;
  padding-bottom: 64px;
}

.storefront-page-head {
  margin: 0 0 28px;
  padding: 28px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
}

.storefront-page-head.has-media {
  display: grid;
  grid-template-columns: 78px 1fr;
  column-gap: 18px;
  align-items: center;
}

.storefront-head-media {
  grid-row: span 3;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef5ff;
  border-radius: 14px;
  color: var(--brand);
  font-size: 30px;
}

.storefront-head-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.storefront-page-head h1 {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.15;
}

.storefront-page-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.storefront-result-section {
  margin-top: 28px;
}

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

.storefront-result-grid.is-categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storefront-result-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  min-height: 112px;
  padding: 14px;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.storefront-result-card:hover,
.storefront-result-card:focus {
  border-color: #cfe2ff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.storefront-result-media {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef5ff;
  border-radius: 12px;
  color: var(--brand);
  font-size: 28px;
}

.storefront-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-category-card.level-1 { padding-left: 22px; }
.storefront-category-card.level-2 { padding-left: 30px; }
.storefront-category-card.level-3 { padding-left: 38px; }

.storefront-result-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.storefront-result-body strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.3;
}

.storefront-result-body span {
  display: -webkit-box;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.storefront-result-body em {
  color: #0f172a;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.storefront-empty {
  padding: 22px;
  color: #64748b;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.storefront-empty.is-compact {
  padding: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-link {
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.header-link:hover { color: var(--brand); background: transparent; }

.icon-btn {
  width: 46px; height: 46px;
  border: 0;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: #f8fbff;
  color: #111827;
  font-size: 21px;
  cursor: pointer;
  transition: color .2s, background .2s, transform .15s;
  position: relative;
}
.icon-btn:hover { color: var(--brand); background: #eef6ff; transform: translateY(-1px); }

.mini-cart-shell,
.wishlist-shell {
  position: relative;
}

.mini-cart-panel,
.wishlist-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 180;
  width: min(430px, calc(100vw - 28px));
  min-height: 246px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  will-change: opacity, transform;
}

.mini-cart-panel {
  overflow: visible;
}

.mini-cart-shell.is-open .mini-cart-panel,
.wishlist-shell.is-open .wishlist-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mini-cart-panel::before,
.wishlist-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #e7edf6;
  border-top: 1px solid #e7edf6;
  transform: rotate(45deg);
}

.mini-cart-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #edf3fb;
}

.mini-cart-head strong {
  color: #111827;
  font: 900 16px 'Plus Jakarta Sans', sans-serif;
}

.mini-cart-close,
.mini-cart-remove {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mini-cart-close {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f4f7fc;
  color: #475569;
  font-size: 18px;
}

.mini-cart-status,
.mini-cart-empty {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 22px 18px;
  color: #69788d;
  font-weight: 800;
  text-align: center;
}

.mini-cart-status[hidden],
.mini-cart-empty[hidden],
.mini-cart-footer[hidden] {
  display: none;
}

.mini-cart-list {
  min-height: 110px;
  max-height: min(390px, 54vh);
  overflow: auto;
  flex: 1 1 auto;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  gap: 13px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #edf3fb;
}

.mini-cart-bundle-item {
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: flex-start;
}

.mini-cart-image {
  width: 58px;
  aspect-ratio: 1;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f8fd;
  color: var(--brand);
  font-size: 23px;
}

.mini-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-cart-info {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.mini-cart-info strong {
  overflow: hidden;
  color: var(--brand);
  font: 900 15px/1.25 'Plus Jakarta Sans', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cart-info em,
.mini-cart-info span {
  color: #69788d;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.mini-cart-info .mini-cart-options {
  color: #3f4f66;
  white-space: normal;
}

.mini-cart-info .mini-cart-bundle-products {
  color: #3f4f66;
  line-height: 1.45;
  white-space: normal;
}

.mini-cart-info em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cart-remove {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font-size: 18px;
  transition: background .16s, color .16s, transform .16s;
}

.mini-cart-remove:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.mini-cart-remove:disabled {
  cursor: wait;
  opacity: .7;
}

.mini-cart-remove.is-loading i {
  animation: cart-spin .8s linear infinite;
}

.mini-cart-footer {
  padding: 16px 18px 18px;
  background: #fbfdff;
}

.mini-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #69788d;
  font-weight: 900;
}

.mini-cart-total strong {
  color: #111827;
  font-size: 17px;
}

.mini-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wishlist-actions {
  grid-template-columns: 1fr;
}

.mini-cart-btn {
  min-height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 900 14px 'Plus Jakarta Sans', sans-serif;
}

.mini-cart-view {
  border: 2px solid var(--brand);
  color: var(--brand);
  background: #fff;
}

.mini-cart-checkout {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 22px rgba(52, 136, 254, 0.22);
}

.account-menu {
  position: relative;
}

.account-trigger {
  border: 0;
  appearance: none;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  width: 268px;
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.account-menu.is-open .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #e7edf6;
  border-top: 1px solid #e7edf6;
  transform: rotate(45deg);
}

.account-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 10px;
  border-bottom: 1px solid #edf2f8;
  margin-bottom: 6px;
}

.account-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef6ff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.account-user-meta {
  min-width: 0;
}

.account-user-meta strong,
.account-user-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-user-meta strong {
  color: #111827;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.account-user-meta span {
  color: #7a8799;
  font-size: 12px;
  font-weight: 600;
}

.account-menu-list {
  display: grid;
  gap: 2px;
}

.account-menu-list a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.account-menu-list a i {
  width: 22px;
  color: #8b98aa;
  font-size: 21px;
  text-align: center;
  transition: color .15s ease;
}

.account-menu-list a:hover,
.account-menu-list a:focus {
  background: #f5f9ff;
  color: var(--brand);
  outline: none;
  transform: translateX(2px);
}

.account-menu-list a:hover i,
.account-menu-list a:focus i {
  color: var(--brand);
}

.account-menu-list .account-logout {
  color: #dc2626;
  margin-top: 5px;
  border-top: 1px solid #edf2f8;
  border-radius: 0 0 10px 10px;
}

.account-menu-list .account-logout i {
  color: #ef4444;
}

.guest-menu {
  gap: 4px;
}

.cart-count {
  position: absolute;
  top: 6px; right: 6px;
  width: 16px; height: 16px;
  background: var(--brand);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── SECONDARY NAV (below header, non-sticky) ── */
.secondary-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.secondary-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.secondary-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-height: 46px;
}

.secondary-nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.secondary-nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
  cursor: pointer;
}

.secondary-nav-link i:first-child { font-size: 17px; color: var(--gray-600); transition: color .16s ease; }
.secondary-nav-caret { font-size: 14px; color: var(--gray-400); transition: transform .2s ease, color .16s ease; }

.secondary-nav-item:hover > .secondary-nav-link,
.secondary-nav-link:focus-visible {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.secondary-nav-item:hover > .secondary-nav-link i:first-child { color: var(--brand); }
.secondary-nav-item:hover > .secondary-nav-link .secondary-nav-caret { color: var(--brand); transform: rotate(180deg); }

.secondary-nav-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  padding: 3px 6px;
  border-radius: var(--radius-xs);
}

/* Dropdowns */
.secondary-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 90;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.secondary-nav-item:hover > .secondary-nav-dropdown,
.secondary-nav-item.is-open > .secondary-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.secondary-nav-dropdown.is-mega {
  width: min(720px, calc(100vw - 60px));
  padding: 14px;
}

/* keep mega dropdown inside viewport for right-aligned items */
.secondary-nav-item:nth-last-child(-n+3) .secondary-nav-dropdown.is-mega { left: auto; right: 0; }

.secondary-nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.secondary-nav-mega-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, transform .15s ease;
}

.secondary-nav-mega-card:hover { background: var(--gray-50); transform: translateY(-1px); }

.secondary-nav-mega-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.secondary-nav-mega-icon.tone-blue { background: #e8f1ff; color: #2563eb; }
.secondary-nav-mega-icon.tone-rose { background: #ffe9f0; color: #e11d6b; }
.secondary-nav-mega-icon.tone-teal { background: #dcfaf5; color: #0d9488; }
.secondary-nav-mega-icon.tone-orange { background: #fff0e0; color: #ea7a17; }
.secondary-nav-mega-icon.tone-indigo { background: #e9e9ff; color: #4f46e5; }
.secondary-nav-mega-icon.tone-violet { background: #f2e9ff; color: #7c3aed; }
.secondary-nav-mega-icon.tone-emerald { background: #dcfce7; color: #059669; }
.secondary-nav-mega-icon.tone-amber { background: #fff4d6; color: #d97706; }

.secondary-nav-mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.secondary-nav-mega-text strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
}
.secondary-nav-mega-text span {
  font-size: 12px;
  color: var(--gray-600);
}

.secondary-nav-sublist { list-style: none; margin: 0; padding: 0; }
.secondary-nav-sublist a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
}
.secondary-nav-sublist a:hover { background: var(--gray-50); color: var(--brand); }
.secondary-nav-sublist a span { font-size: 13.5px; font-weight: 600; color: var(--dark); }
.secondary-nav-sublist a:hover span { color: var(--brand); }
.secondary-nav-sublist a small { font-size: 11.5px; color: var(--gray-600); }

/* ── SECONDARY NAV INSIDE MOBILE MENU (accordion) ── */
.mobile-nav-accordion { display: none; }
.mobile-nav-acc-item { border-bottom: 1px solid var(--gray-100); }
.mobile-nav-acc-trigger,
.mobile-nav-acc-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: transparent;
  border: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
}
.mobile-nav-acc-trigger i:first-child,
.mobile-nav-acc-link i:first-child { font-size: 19px; color: var(--gray-600); width: 22px; text-align: center; }
.mobile-nav-acc-trigger > span,
.mobile-nav-acc-link > span { flex: 1 1 auto; }
.mobile-nav-acc-caret { font-size: 16px; color: var(--gray-400); transition: transform .22s ease; }
.mobile-nav-acc-item.is-open .mobile-nav-acc-caret { transform: rotate(180deg); }
.mobile-nav-acc-item.is-open > .mobile-nav-acc-trigger { color: var(--brand); }
.mobile-nav-acc-item.is-open > .mobile-nav-acc-trigger i:first-child { color: var(--brand); }

.mobile-nav-acc-panel {
  display: grid;
  gap: 2px;
  padding: 0 0 10px 47px;
}
.mobile-nav-acc-panel[hidden] { display: none; }
.mobile-nav-acc-panel a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-600);
  transition: background .15s ease, color .15s ease;
}
.mobile-nav-acc-panel a:hover { background: var(--gray-50); color: var(--brand); }
.mobile-nav-acc-panel a i { font-size: 16px; }

/* Tablet spacing so items fit without breaking */
@media (max-width: 1024px) {
  .secondary-nav-inner { padding: 0 20px; }
  .secondary-nav-link { padding: 0 11px; font-size: 12.5px; gap: 6px; }
  .secondary-nav-link i:first-child { font-size: 16px; }
  .secondary-nav-dropdown.is-mega { width: min(560px, calc(100vw - 40px)); }
}

@media (max-width: 820px) {
  .secondary-nav-mega-grid { grid-template-columns: 1fr; }
  .secondary-nav-dropdown.is-mega { width: min(360px, calc(100vw - 40px)); }
}

/* MAIN */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 40px 60px;
}

/* ── HERO BANNER ── */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
}

.hero-slider-track {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition:
    opacity .85s ease-in-out,
    transform .85s ease-in-out,
    visibility .85s ease-in-out;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slider-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,18,38,0.72);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition: background .2s, border-color .2s, transform .2s;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
  border-color: rgba(96,165,250,0.72);
  background: var(--brand);
  outline: none;
}

.hero-slider-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
  cursor: pointer;
  transition: width .2s, background .2s;
}

.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
  background: rgba(255,255,255,0.7);
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 3px;
}

.hero-slider-dot.is-active {
  width: 24px;
  background: var(--brand);
}

.hero-banner {
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 36px;
  min-height: 280px;
  display: flex;
  align-items: stretch;
}

.hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(52,136,254,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52,136,254,0.12) 0%, transparent 40%);
  pointer-events: none;
}
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    margin-bottom: 24px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.auth-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border-radius: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-tab i {
    font-size: 18px;
}

.auth-tab:hover {
    color: #094692;
    background: #ffffff;
}

.auth-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, #094692, #0c5eeb);
    box-shadow: 0 10px 22px rgba(9, 70, 146, 0.22);
}

.register-login-text {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.register-login-text a {
    color: #094692;
    font-weight: 700;
    text-decoration: none;
}

.register-login-text a:hover {
    text-decoration: underline;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52,136,254,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,136,254,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 44px 36px 44px 48px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(100% - 250px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52,136,254,0.15);
  border: 1px solid rgba(52,136,254,0.35);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  width: fit-content;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}

.hero-content h1 span { color: var(--brand); }

.hero-content p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  border: none;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-stat {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.hero-stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}

.hero-stat .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.hero-visual {
  width: 250px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 52px 64px 0;
}

@media (max-width: 900px) {
  .hero-content {
    max-width: none;
    padding-right: 64px;
    padding-left: 64px;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 38px 44px 48px;
  }

  .hero-content h1 {
    font-size: 20px;
  }

  .hero-content p {
    margin-bottom: 22px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .hero-stat,
  .hero-stat:last-child {
    margin: 0;
    padding: 0;
    border-right: 0;
  }

  .hero-slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .hero-slider-prev { left: 7px; }
  .hero-slider-next { right: 7px; }
  .hero-slider-dots { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slider-arrow,
  .hero-slider-dot {
    transition: none;
  }
}

.floating-cards {
  position: relative;
  width: 230px;
  height: 210px;
}

.fc {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 10px 11px;
  backdrop-filter: blur(4px);
}

.fc-main {
  width: 200px;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.09);
  border-color: rgba(52,136,254,0.4);
}

.fc-mini {
  width: 130px;
  bottom: 0;
  right: 0;
  font-size: 11px;
}

.fc .fc-icon {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.fc .fc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.fc .fc-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
}

.fc .fc-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  margin-top: 8px;
}

.fc-badge {
  background: rgba(52,136,254,0.2);
  color: #60a5fa;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── PROMO STRIP ── */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.promo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.promo-card .promo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.promo-card .promo-sub {
  font-size: 11px;
  color: var(--gray-400);
}

/* ── SECTION ── */
.section { margin-bottom: 36px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.3px;
}

.see-all {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: gap .15s;
  text-decoration: none;
}
.see-all:hover { gap: 7px; }

/* ── PRODUCT GRID (marketplace list style) ── */
.product-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.prod-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
  position: relative;
  text-decoration: none;
}
.prod-item:hover { background: var(--gray-50); }
.prod-item:nth-child(3n) { border-right: none; }
.prod-item:nth-child(n+7) { border-bottom: none; }

.prod-thumb {
  width: 60px; height: 60px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.prod-thumb-image {
  background: var(--gray-50);
  border: 1px solid var(--border);
  overflow: hidden;
}

.prod-thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-info { flex: 1; min-width: 0; }

.prod-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 5px;
}

.prod-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.stars { color: #f59e0b; font-size: 11px; letter-spacing: -.5px; }
.rating-count { font-size: 11px; color: var(--gray-400); }
.no-review { font-size: 11px; color: var(--gray-400); }

.prod-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.prod-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
}

.old-price {
  font-size: 11px;
  color: var(--gray-400);
  text-decoration: line-through;
}

.save-badge {
  font-size: 10px;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 7px;
  border-radius: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.free-badge {
  font-size: 10px;
  font-weight: 700;
  background: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.prod-desc {
  font-size: 11px;
  color: var(--gray-600);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── BUNDLES ── */
.bundle-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.bundle-promo {
  background: var(--dark);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bundle-promo::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(52,136,254,0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.bundle-promo h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  line-height: 1.2;
}

.bundle-promo p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
}

.bundle-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  width: fit-content;
  position: relative;
  transition: background .2s;
  text-decoration: none;
}
.bundle-cta:hover { background: var(--brand-dark); color: #fff; }

.bundle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bundle-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-top: 0;
  border-left: 0;
  background: #fff;
  cursor: pointer;
  transition: background .15s;
  text-align: left;
}
.bundle-item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bundle-item:hover { background: var(--gray-50); }
.bundle-item:nth-child(2n) { border-right: none; }
.bundle-item:nth-child(3), .bundle-item:nth-child(4) { border-bottom: none; }

.b-thumb {
  width: 76px; height: 76px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  overflow: hidden;
}

.bundle-card-copy {
  min-width: 0;
}

.bundle-product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 7px 0 8px;
}

.bundle-product-list span {
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 11px;
  line-height: 1.35;
}

.bundle-add-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  border: 0;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.bundle-add-btn:disabled {
  opacity: .7;
  cursor: wait;
}

.b-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.b-price-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.b-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
}

/* ── PROMO BANNER ── */
.promo-banner {
  background: var(--brand);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.promo-banner::after {
  content: '';
  position: absolute;
  right: 60px; bottom: -80px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.pb-content { position: relative; z-index: 2; }

.pb-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pb-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -.3px;
}

.pb-content p {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  max-width: 400px;
}

.pb-action { position: relative; z-index: 2; }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--brand);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9px;
  cursor: pointer;
  transition: transform .15s;
  border: none;
}
.btn-white:hover { transform: translateY(-2px); }

/* ── CATEGORIES STRIP ── */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}

.cat-strip.is-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 14px;
  margin-right: -8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.cat-strip.is-slider::-webkit-scrollbar { height: 8px; }
.cat-strip.is-slider::-webkit-scrollbar-track { background: transparent; }
.cat-strip.is-slider::-webkit-scrollbar-thumb {
  background: #d8e4f5;
  border-radius: 999px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, transform .15s;
  color: inherit;
  text-decoration: none;
}
.cat-card:hover { border-color: var(--brand); transform: translateY(-2px); }

.cat-strip.is-slider .cat-card {
  flex: 0 0 188px;
  scroll-snap-align: start;
}

.cat-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
  overflow: hidden;
}

.cat-icon-image {
  background: #eef5ff;
  border: 1px solid #dce8f7;
}

.cat-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-name {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.cat-count {
  display: block;
  font-size: 10px;
  color: var(--gray-400);
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  margin-top: 0;
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand .logo {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.footer-brand .storefront-logo-img {
  width: clamp(210px, 16vw, 300px);
  min-width: 210px;
  max-width: 300px;
  height: 58px;
  max-height: 58px;
}

.footer-brand p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 220px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.social-btn:hover { border-color: var(--brand); color: var(--brand); background: rgba(52,136,254,0.08); }

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color .15s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* NEWSLETTER BAND */
.newsletter-band {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nl-text h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.nl-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.nl-form {
  display: grid;
  grid-template-columns: 260px auto;
  gap: 8px;
  flex-shrink: 0;
}

.nl-form input {
  width: 260px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #fff;
  outline: none;
}
.nl-form input::placeholder { color: rgba(255,255,255,0.3); }
.nl-form input:focus { border-color: var(--brand); }

.btn-newsletter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 118px;
}

.newsletter-button-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.newsletter-button-loader {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.42);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease;
  animation: newsletter-spin 0.75s linear infinite;
  pointer-events: none;
}

.btn-newsletter.is-loading {
  cursor: wait;
}

.btn-newsletter.is-loading .newsletter-button-content {
  opacity: 0;
  transform: translateY(2px);
}

.btn-newsletter.is-loading .newsletter-button-loader {
  opacity: 1;
  transform: scale(1);
}

@keyframes newsletter-spin {
  to {
    transform: rotate(360deg);
  }
}

.newsletter-message {
  grid-column: 1 / -1;
  min-height: 16px;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.newsletter-message.is-success {
  color: #34d399;
}

.newsletter-message.is-error {
  color: #f87171;
}

/* Customer storefront utility variants */
.icon-xs { font-size: 10px; }
.icon-sm { font-size: 13px; }
.icon-md { font-size: 20px; }
.icon-lg { font-size: 22px; }
.icon-xl { font-size: 28px; }

.fc-title-compact {
  font-size: 11px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.badge-success {
  background: rgba(16,185,129,0.2);
  color: #34d399;
}

.bg-brand-soft { background: #e8f1ff; }
.bg-success-soft { background: #d1fae5; }
.bg-warning-soft { background: #fef3c7; }
.bg-purple-soft { background: #ede9fe; }
.bg-danger-soft { background: #fee2e2; }
.bg-pink-soft { background: #fce7f3; }

.text-brand { color: #3488fe; }
.text-success { color: #059669; }
.text-warning { color: #d97706; }
.text-purple { color: #7c3aed; }
.text-danger { color: #dc2626; }
.text-pink { color: #db2777; }

.btn-newsletter {
  white-space: nowrap;
  height: 40px;
  padding: 0 18px;
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Contact page */
.contact-page {
  min-height: 100vh;
  background: #f4f7ff;
}

.contact-main {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 56px 0 84px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.contact-eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── Contact left column ── */
.contact-aside {
  position: sticky;
  top: 96px;
}

.contact-aside-title {
  margin: 0;
  color: #07164b;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.contact-aside-sub {
  margin: 14px 0 26px;
  color: #687895;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 40ch;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #e3ebf6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(42, 66, 111, 0.05);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.contact-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(42, 66, 111, 0.11);
}

.contact-card-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-size: 21px;
}

.contact-card-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-card-label {
  color: #8794ab;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-card-value {
  color: #0f1c3f;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-card-hint {
  color: #8794ab;
  font-size: 13px;
}

.contact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #e0e8f4;
}

.contact-stat strong {
  display: block;
  color: var(--brand);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.contact-stat span {
  display: block;
  margin-top: 6px;
  color: #687895;
  font-size: 13px;
}

.contact-form-panel {
  padding: 32px;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(42, 66, 111, 0.09);
}

.contact-form-title {
  margin: 0 0 22px;
  color: #07164b;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* ── Contact chips ── */
.contact-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  background: #fff;
  color: #33415c;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.contact-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-chip:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.contact-chip:has(input:checked),
.contact-chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(52, 136, 254, 0.28);
}

.contact-chip:has(input:focus-visible) {
  box-shadow: 0 0 0 4px rgba(52, 136, 254, 0.18);
}

/* ── Rent POS coming soon page ── */
.rentpos-page {
  min-height: 100vh;
  background: #f4f7ff;
}

.rentpos-main {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  padding: 48px 0 80px;
}

.rentpos-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 64px 40px 60px;
  text-align: center;
  color: #eaf1ff;
  background: linear-gradient(150deg, var(--dark) 0%, #0a1f6b 55%, var(--brand-dark) 120%);
  box-shadow: 0 30px 70px rgba(6, 18, 60, 0.28);
}

.rentpos-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.rentpos-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.rentpos-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(52, 136, 254, 0.22);
  border: 1px solid rgba(120, 170, 255, 0.4);
  color: #cfe0ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rentpos-hero h1 {
  margin: 22px 0 0;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.rentpos-hero p {
  margin: 18px auto 0;
  max-width: 560px;
  color: #b9c8ec;
  font-size: 16.5px;
  line-height: 1.6;
}

.rentpos-soon {
  margin-top: 28px;
}

.rentpos-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, #7db1ff 100%);
  color: #06123c;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 12px 30px rgba(52, 136, 254, 0.4);
}

.rentpos-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 36px;
  text-align: left;
}

.rentpos-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rentpos-feature-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(52, 136, 254, 0.24);
  color: #cfe0ff;
  font-size: 22px;
}

.rentpos-feature strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.rentpos-feature span {
  color: #a9bce4;
  font-size: 13px;
}

.rentpos-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 760px) {
  .rentpos-hero {
    padding: 46px 22px 44px;
    border-radius: 20px;
  }

  .rentpos-hero h1 { font-size: 32px; }

  .rentpos-features {
    grid-template-columns: 1fr;
  }
}

/* ── Floating WhatsApp chat widget (all pages) ── */
.wa-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 6px 6px 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0f2740;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 40, 60, 0.16);
  transition: transform .16s ease, box-shadow .16s ease;
}

.wa-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 40, 60, 0.22);
}

.wa-toggle-icon {
  position: relative;
  isolation: isolate;
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #56bd6a;
  color: #fff;
  font-size: 22px;
}

.wa-toggle-icon::before,
.wa-toggle-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(86, 189, 106, 0.45);
  animation: waPulse 2.4s ease-out infinite;
}

.wa-toggle-icon::after { animation-delay: 1.2s; }

@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  70% { opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-toggle-icon::before,
  .wa-toggle-icon::after { animation: none; }
}

.wa-toggle-icon i {
  position: absolute;
  transition: opacity .16s ease, transform .16s ease;
}

.wa-icon-close { opacity: 0; transform: scale(.5) rotate(-90deg); }

.wa-widget.is-open .wa-icon-open { opacity: 0; transform: scale(.5) rotate(90deg); }
.wa-widget.is-open .wa-icon-close { opacity: 1; transform: scale(1) rotate(0); }

/* Panel */
.wa-panel {
  width: min(92vw, 380px);
  border-radius: 20px;
  overflow: hidden;
  background: #eef3ef;
  box-shadow: 0 26px 60px rgba(16, 40, 60, 0.28);
  transform-origin: bottom right;
  animation: waPanelIn .18s ease;
}

.wa-panel[hidden] { display: none; }

@keyframes waPanelIn {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: linear-gradient(120deg, #123c39 0%, #1f6b52 100%);
  color: #fff;
}

.wa-avatar {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  font-size: 26px;
  color: var(--brand);
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.wa-head-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wa-head-text strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.wa-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.28);
}

.wa-close {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background .15s ease;
}

.wa-close:hover { background: rgba(255, 255, 255, 0.15); }

.wa-panel-body {
  padding: 22px 18px;
  min-height: 150px;
  background-color: #eef3ef;
  background-image: radial-gradient(rgba(18, 60, 57, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.wa-bubble {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 40, 60, 0.08);
}

.wa-bubble-name {
  display: block;
  margin-bottom: 6px;
  color: #1f6b52;
  font-size: 13.5px;
  font-weight: 700;
}

.wa-bubble p {
  margin: 0;
  color: #17213b;
  font-size: 16px;
  line-height: 1.4;
}

.wa-panel-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
}

.wa-panel-foot input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #dfe6e2;
  border-radius: 999px;
  outline: 0;
  background: #f6f8f7;
  color: #17213b;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.wa-panel-foot input:focus {
  border-color: #22a758;
  box-shadow: 0 0 0 4px rgba(34, 167, 88, 0.14);
}

.wa-send {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #56bd6a;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.wa-send:hover { background: #45ab59; transform: translateY(-1px); }

@media (max-width: 560px) {
  .wa-widget {
    right: 14px;
    bottom: 82px;
  }

  .wa-toggle {
    padding: 8px;
    font-size: 0;
    gap: 0;
  }

  .wa-toggle-label { display: none; }

  .wa-panel { width: min(92vw, 340px); }
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field > span {
  color: #17213b;
  font-size: 14px;
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #17213b;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.contact-field input {
  min-height: 52px;
  padding: 0 15px;
}

.contact-field textarea {
  min-height: 160px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #3488fe;
  box-shadow: 0 0 0 4px rgba(52, 136, 254, 0.1);
}

.contact-field.has-error input,
.contact-field.has-error textarea {
  border-color: #e5484d;
}

.contact-field small {
  min-height: 16px;
  color: #c9363e;
  font-size: 12px;
  font-weight: 700;
}

.contact-field small:empty {
  display: none;
}

.contact-submit {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #3488fe;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.contact-submit:hover {
  background: #2377e8;
  transform: translateY(-1px);
}

.contact-alert {
  margin-bottom: 20px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}

.contact-alert.is-success {
  border-color: #9bd9c2;
  background: #ecfbf5;
  color: #087653;
}

.contact-alert.is-error {
  border-color: #f2b6b8;
  background: #fff3f3;
  color: #b4232a;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-aside {
    position: static;
    top: auto;
  }

  .contact-aside-sub {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .contact-main {
    width: min(100% - 28px, 920px);
    padding: 34px 0 64px;
  }

  .contact-aside-title {
    font-size: 30px;
  }

  .contact-form-title {
    font-size: 26px;
  }

  .contact-form-panel {
    padding: 22px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-fab span { display: none; }

  .contact-fab {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }
}

/* Customer register page */
.register-page {
  background: #f4f7ff;
  min-height: 100vh;
}

.register-page::before {
  display: none;
}

.register-shell {
  padding: 34px 22px 56px;
  display: flex;
  justify-content: center;
}

.register-panel {
  width: min(100%, 780px);
}

.register-panel h1 {
  margin-bottom: 24px;
  color: #171c31;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.5px;
}

.register-alert {
  margin: 0 auto 18px;
  padding: 14px 18px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff5f5;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
}

.register-alert p + p {
  margin-top: 5px;
}

.register-form {
  display: grid;
  gap: 14px;
}

.register-name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.register-field-wrap {
  display: grid;
  gap: 6px;
}

.register-field {
  min-height: 58px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.register-field:focus-within {
  border-color: #9ecaff;
  box-shadow: 0 0 0 5px rgba(52,136,254,0.09);
}

.register-field-wrap.has-error .register-field {
  border-color: #ff6269;
  box-shadow: 0 0 0 4px rgba(255,98,105,0.08);
}

.phone-combo-field {
  position: relative;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 10px;
}

.phone-country-trigger {
  min-height: 58px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #fff;
  color: #171c31;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.phone-country-trigger:hover,
.phone-country-trigger:focus-visible,
.phone-combo-field.is-open .phone-country-trigger {
  border-color: #9ecaff;
  box-shadow: 0 0 0 5px rgba(52,136,254,0.09);
  outline: 0;
}

.phone-country-trigger i {
  color: #7a879a;
  font-size: 17px;
  transition: transform .16s ease;
}

.phone-combo-field.is-open .phone-country-trigger i {
  transform: rotate(180deg);
}

.phone-country-flag {
  font-size: 22px;
  line-height: 1;
}

.phone-country-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: min(430px, 100%);
  max-height: 342px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(23, 28, 49, 0.16);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.phone-combo-field.is-open .phone-country-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.phone-country-search-wrap {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-bottom: 1px solid #edf2f8;
  background: #fff;
}

.phone-country-search-wrap i {
  color: #8a94a6;
  font-size: 18px;
}

.phone-country-search-wrap input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  outline: 0;
  color: #171c31;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.phone-country-search-wrap input:focus {
  border-color: #9ecaff;
  box-shadow: 0 0 0 4px rgba(52,136,254,0.09);
}

.phone-country-list {
  max-height: 276px;
  overflow-y: auto;
  padding: 6px;
}

.phone-country-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #171c31;
  cursor: pointer;
  text-align: left;
  transition: background .14s ease, color .14s ease;
}

.phone-country-option:hover,
.phone-country-option:focus-visible,
.phone-country-option.is-selected {
  background: #f2f8ff;
  outline: 0;
}

.phone-country-option-flag {
  font-size: 22px;
  line-height: 1;
}

.phone-country-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.phone-country-option-code {
  color: #269ff2;
  font-size: 13px;
  font-weight: 800;
}

.phone-country-empty {
  padding: 18px;
  color: #8a94a6;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.register-field-wrap.has-error .phone-country-trigger,
.register-field-wrap.has-error .phone-number-field {
  border-color: #ff6269;
  box-shadow: 0 0 0 4px rgba(255,98,105,0.08);
}

.country-state-select {
  display: contents;
}

.country-state-field {
  position: relative;
}

.country-state-trigger {
  width: 100%;
  min-height: 58px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #fff;
  color: #171c31;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.country-state-trigger:hover,
.country-state-trigger:focus-visible,
.country-state-field.is-open .country-state-trigger {
  border-color: #9ecaff;
  box-shadow: 0 0 0 5px rgba(52,136,254,0.09);
  outline: 0;
}

.country-state-trigger i {
  color: #7a879a;
  font-size: 17px;
  transition: transform .16s ease;
}

.country-state-field.is-open .country-state-trigger i {
  transform: rotate(180deg);
}

.country-state-trigger-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.country-state-floating-label {
  color: #8a94a6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.country-state-floating-label em {
  color: #ff6464;
  font-style: normal;
  margin-left: 4px;
}

.country-state-selected {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #171c31;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.country-state-selected span:last-child,
.country-state-selected[data-state-select-label] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-state-flag {
  font-size: 22px;
  line-height: 1;
}

.country-state-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 35;
  width: min(430px, 100%);
  max-height: 342px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(23, 28, 49, 0.16);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.country-state-field.is-open .country-state-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.country-state-search-wrap {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-bottom: 1px solid #edf2f8;
  background: #fff;
}

.country-state-search-wrap i {
  color: #8a94a6;
  font-size: 18px;
}

.country-state-search-wrap input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  outline: 0;
  color: #171c31;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.country-state-search-wrap input:focus {
  border-color: #9ecaff;
  box-shadow: 0 0 0 4px rgba(52,136,254,0.09);
}

.country-state-list {
  max-height: 276px;
  overflow-y: auto;
  padding: 6px;
}

.country-state-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #171c31;
  cursor: pointer;
  text-align: left;
  transition: background .14s ease, color .14s ease;
}

.country-state-option.is-state-option {
  grid-template-columns: minmax(0, 1fr) auto;
}

.country-state-option:hover,
.country-state-option:focus-visible,
.country-state-option.is-selected {
  background: #f2f8ff;
  outline: 0;
}

.country-state-option-flag {
  font-size: 22px;
  line-height: 1;
}

.country-state-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.country-state-option-code {
  color: #269ff2;
  font-size: 13px;
  font-weight: 800;
}

.country-state-empty {
  padding: 18px;
  color: #8a94a6;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.register-field-wrap.has-error .country-state-trigger {
  border-color: #ff6269;
  box-shadow: 0 0 0 4px rgba(255,98,105,0.08);
}

.register-field input {
  width: 100%;
  height: 100%;
  min-height: 56px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #171c31;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 18px 0;
}

.register-field.has-icon input {
  padding-left: 48px;
}

.register-field.has-password-toggle input {
  padding-right: 56px;
}

.register-field span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #747474;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transition: transform .16s ease, top .16s ease, font-size .16s ease, color .16s ease;
}

.register-field.has-icon span {
  left: 48px;
}

.register-field:focus-within span,
.register-field input:not(:placeholder-shown) + span,
.register-field input:-webkit-autofill + span {
  top: 10px;
  transform: translateY(0);
  color: #8a94a6;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.register-field em {
  color: #ff6464;
  font-style: normal;
  margin-left: 4px;
}

.register-field > i {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff6269;
  font-size: 20px;
  pointer-events: none;
}

.password-toggle-button {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7a879a;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.password-toggle-button:hover,
.password-toggle-button:focus-visible {
  background: #f2f8ff;
  color: #269ff2;
  outline: 0;
}

.password-toggle-button:active {
  transform: translateY(-50%) scale(.96);
}

.password-toggle-button i {
  font-size: 20px;
  pointer-events: none;
}

.field-error {
  min-height: 16px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.field-error:empty {
  display: none;
}

.register-field:focus-within > i,
.register-field:has(input:not(:placeholder-shown)) > i {
  top: 58%;
}

.register-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #171c31;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.register-consent input {
  width: 24px;
  height: 24px;
  appearance: none;
  border: 2px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.register-consent input:checked {
  background: #269ff2;
  border-color: #269ff2;
}

.register-consent input:checked::after {
  content: "";
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  margin-top: -3px;
}

.register-consent a {
  color: #171c31;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.register-consent i {
  color: #737373;
  font-size: 22px;
  margin-left: 0;
}

.register-license {
  display: grid;
  gap: 10px;
}

.register-license p {
  color: #171c31;
  font-size: 18px;
  font-weight: 700;
}

.helpdesk-button {
  min-height: 58px;
  border: 2px solid #dfe7f2;
  border-radius: 12px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #0078ff;
  font-size: 17px;
  font-weight: 600;
  transition: border-color .16s ease, background .16s ease;
}

.helpdesk-button:hover {
  border-color: #aad3ff;
  background: #f2f8ff;
}

.helpdesk-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #6b8bff 0%, #8db5ff 100%);
  box-shadow: -10px -9px 0 -8px #75a8ff;
  flex-shrink: 0;
}

.register-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
}

.register-submit,
.register-secondary {
  min-height: 52px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-submit {
  border: 0;
  background: #269ff2;
  color: #fff;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.register-submit:hover {
  background: #168de0;
  transform: translateY(-1px);
}

.register-secondary {
  border: 2px solid #269ff2;
  color: #269ff2;
  background: #fff;
  transition: background .16s ease;
}

.register-secondary:hover {
  background: #f1f8ff;
}

@media (max-width: 900px) {
  .register-shell {
    padding: 24px 16px 38px;
  }

  .register-panel h1 {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .register-form {
    gap: 12px;
  }

  .register-name-row {
    gap: 12px;
  }

  .register-field {
    min-height: 54px;
  }

  .register-field input {
    min-height: 52px;
    padding: 17px 16px 0;
    font-size: 15px;
  }

  .register-field.has-icon input {
    padding-left: 48px;
  }

  .register-field.has-password-toggle input {
    padding-right: 54px;
  }

  .register-field span {
    left: 16px;
    font-size: 15px;
  }

  .register-field.has-icon span {
    left: 48px;
  }

  .register-field > i {
    left: 16px;
    font-size: 20px;
  }

  .register-field:focus-within span,
  .register-field input:not(:placeholder-shown) + span,
  .register-field input:-webkit-autofill + span {
    top: 9px;
    font-size: 10px;
  }

  .register-consent {
    align-items: flex-start;
    font-size: 14px;
  }

  .register-consent input {
    width: 22px;
    height: 22px;
    border-width: 2px;
  }

  .register-consent i {
    font-size: 21px;
  }

  .register-license p {
    font-size: 16px;
  }

  .helpdesk-button {
    min-height: 54px;
    font-size: 15px;
    padding: 0 14px;
  }

  .helpdesk-mark {
    width: 30px;
    height: 30px;
  }

  .register-actions {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .register-submit,
  .register-secondary {
    min-height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .register-shell {
    padding: 20px 14px 30px;
  }

  .register-panel h1 {
    font-size: 24px;
  }

  .register-name-row {
    grid-template-columns: 1fr;
  }

  .phone-combo-field {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 8px;
  }

  .phone-country-trigger {
    min-height: 54px;
    font-size: 15px;
    gap: 7px;
  }

  .phone-country-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: auto;
    max-height: min(62vh, 430px);
    border-radius: 18px;
    transform: translateY(12px) scale(.98);
  }

  .phone-country-list {
    max-height: min(46vh, 334px);
  }

  .country-state-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: auto;
    max-height: min(62vh, 430px);
    border-radius: 18px;
    transform: translateY(12px) scale(.98);
  }

  .country-state-list {
    max-height: min(46vh, 334px);
  }

  .register-consent {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  .helpdesk-button {
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 1380px) {
  .header-top {
    height: auto;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 24px;
  }

  .search-bar {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }

  .logo-text {
    font-size: 23px;
  }

  .catalog-btn,
  .search-bar input,
  .icon-btn {
    height: 42px;
  }

  .catalog-btn {
    padding: 0 18px;
    font-size: 14px;
  }

  .search-bar > i {
    left: 15px;
    font-size: 20px;
  }

  .search-bar input {
    padding-left: 46px;
    font-size: 15px;
  }

  .icon-btn {
    width: 42px;
    font-size: 19px;
  }
}

@media (max-width: 720px) {
  .header-top {
    padding: 10px 14px;
    gap: 9px;
  }

  .logo {
    gap: 8px;
  }

  .storefront-logo-img {
    width: clamp(140px, 42vw, 190px);
    min-width: 140px;
    max-width: 190px;
    height: 44px;
    max-height: 44px;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 20px;
    letter-spacing: -0.6px;
  }

  .catalog-btn {
    justify-content: center;
    height: 40px;
    width: 100%;
  }

  .catalog-shell {
    order: 4;
    flex: 1 1 120px;
    min-width: 0;
  }

  .catalog-dropdown {
    position: fixed;
    top: 106px;
    left: 14px;
    right: 14px;
    width: auto;
    max-height: 64vh;
    transform-origin: top center;
  }

  .catalog-dropdown::before {
    left: 42px;
  }

  .header-right {
    gap: 6px;
  }

  .header-link {
    display: none;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 9px;
  }

  .account-dropdown {
    position: fixed;
    top: 58px;
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
  }

  .account-dropdown::before {
    right: 92px;
  }

  .cart-count {
    top: 4px;
    right: 4px;
  }

  .search-bar input {
    height: 40px;
    font-size: 14px;
  }

  .live-search-dropdown {
    position: fixed;
    top: 106px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }

  .live-search-inner {
    max-height: 62vh;
  }

  .live-search-item {
    grid-template-columns: 42px 1fr;
  }

  .live-search-media {
    width: 42px;
    height: 42px;
  }

  .live-search-meta {
    grid-column: 2;
    justify-self: start;
  }

  .storefront-page-head {
    padding: 20px;
  }

  .storefront-page-head.has-media {
    grid-template-columns: 56px 1fr;
    column-gap: 12px;
  }

  .storefront-head-media {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-size: 24px;
  }

  .storefront-page-head h1 {
    font-size: 25px;
  }

  .storefront-result-grid,
  .storefront-result-grid.is-categories {
    grid-template-columns: 1fr;
  }

  .storefront-result-card {
    grid-template-columns: 58px 1fr;
    min-height: 92px;
    padding: 12px;
  }

  .storefront-result-media {
    width: 58px;
    height: 58px;
  }
}

/* PRODUCT DETAILS */
.product-detail-main {
  padding-top: 24px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7b8aa0;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-breadcrumb a {
  color: var(--brand);
}

.product-breadcrumb i {
  font-size: 15px;
  color: #a7b4c6;
}

.product-notice {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #155cb2;
  font-weight: 800;
}

.product-notice-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #be123c;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 28px;
  align-items: start;
}

.product-gallery,
.product-info-panel,
.product-description-section,
.product-tabs-section,
.product-not-found {
  background: #fff;
  border: 1px solid #e7eef8;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.product-gallery {
  padding: 18px;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e9eff8;
  border-radius: 12px;
  background: #f8fbff;
  cursor: zoom-in;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-image-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef6ff;
  color: var(--brand);
  font-size: 42px;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.product-thumb-button {
  aspect-ratio: 1;
  border: 2px solid #e6edf7;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  padding: 4px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.product-thumb-button:hover,
.product-thumb-button.is-active {
  border-color: var(--brand);
  box-shadow: 0 10px 22px rgba(52, 136, 254, 0.16);
  transform: translateY(-1px);
}

.product-thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}

.product-info-panel {
  padding: 26px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.product-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-sku {
  color: #7a8799;
  font-size: 12px;
  font-weight: 800;
}

.product-info-panel h1 {
  color: #111827;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.product-short-description {
  color: #5d6b80;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.product-price-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0 20px;
  border-top: 1px solid #eef3fb;
  border-bottom: 1px solid #eef3fb;
  margin-bottom: 22px;
}

.product-detail-price {
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.product-support-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
}

.product-action-form {
  display: grid;
  gap: 18px;
}

.product-options-panel {
  display: grid;
  gap: 14px;
}

.product-option-field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid #dde8f6;
  border-radius: 10px;
  background: #f9fbff;
}

.product-option-field legend {
  padding: 0 4px;
  color: #1f2937;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.product-option-field select,
.product-option-field > input[type="text"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dde8f6;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  color: #111827;
  font: 700 15px 'DM Sans', sans-serif;
  outline: none;
}

.option-choice-grid {
  display: grid;
  gap: 8px;
}

.option-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.option-choice input {
  width: 16px;
  height: 16px;
}

.product-option-field.has-error {
  border-color: #fb7185;
  background: #fff7f7;
}

.product-option-error {
  min-height: 18px;
  color: #be123c;
  font-size: 12px;
  font-weight: 800;
}

.domain-field label {
  display: block;
  margin-bottom: 8px;
  color: #1f2937;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.domain-input-wrap {
  position: relative;
}

.domain-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8ca0ba;
  font-size: 21px;
}

.domain-input-wrap input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dde8f6;
  border-radius: 10px;
  background: #f9fbff;
  padding: 0 14px 0 44px;
  color: #111827;
  font: 700 15px 'DM Sans', sans-serif;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.domain-input-wrap input:focus {
  border-color: #9ac6ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52, 136, 254, 0.1);
}

.domain-field.has-error .domain-input-wrap input {
  border-color: #fb7185;
  background: #fff7f7;
}

.domain-error {
  min-height: 20px;
  margin-top: 6px;
  color: #be123c;
  font-size: 12px;
  font-weight: 800;
}

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

.product-action-btn {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}

.product-action-btn:hover {
  transform: translateY(-1px);
}

.product-action-btn:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.product-buy-btn {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 26px rgba(52, 136, 254, 0.22);
}

.product-buy-btn:hover {
  background: var(--brand-dark);
}

.product-cart-btn {
  background: #0f172a;
  color: #fff;
}

.product-fav-btn,
.product-question-btn {
  background: #f4f7fc;
  color: #1f2937;
  border: 1px solid #e3ebf6;
}

.product-fav-btn:hover,
.product-question-btn:hover {
  color: var(--brand);
  background: #eef6ff;
}

.product-description-section {
  padding: 24px 26px;
  margin-top: 24px;
}

.product-tabs-section {
  margin-top: 24px;
  overflow: hidden;
}

.product-tabs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid #e8eff8;
  background: #f8fbff;
}

.product-tab-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  background: transparent;
  color: #5d6b80;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: background .16s, border-color .16s, color .16s, box-shadow .16s, transform .16s;
}

.product-tab-button i {
  font-size: 19px;
}

.product-tab-button:hover,
.product-tab-button:focus {
  color: var(--brand);
  background: #eef6ff;
  outline: none;
}

.product-tab-button.is-active {
  background: #fff;
  border-color: #dbe8f8;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.product-tab-panel {
  padding: 24px 26px 28px;
}

.product-tab-panel[hidden] {
  display: none;
}

.product-description-section h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-description-copy {
  color: #536275;
  font-size: 15px;
  line-height: 1.8;
}

.product-coming-soon {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed #cad7e8;
  border-radius: 12px;
  background: #f8fbff;
  color: #64748b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.product-coming-soon i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f1ff;
  color: var(--brand);
  font-size: 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-rating-link {
  width: fit-content;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: #5d6b80;
  cursor: pointer;
  font: 700 13px 'Plus Jakarta Sans', sans-serif;
}

.product-rating-link:hover,
.product-rating-link:focus {
  color: var(--brand);
  outline: none;
}

.product-rating-stars {
  display: inline-flex;
  gap: 2px;
  font-size: 17px;
}

.review-display-star {
  color: #c9d3df;
  line-height: 1;
}

.review-display-star.is-filled {
  color: #f5a623;
}

.product-reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 24px;
  align-items: start;
}

.product-review-content,
.product-review-list,
.product-review-sidebar {
  display: grid;
  gap: 16px;
}

.product-review-summary {
  border: 1px solid #dce8f7;
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(135deg, #f8fbff, #fff);
}

.product-review-average {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-review-average > strong {
  color: #102a43;
  font: 800 42px/1 'Plus Jakarta Sans', sans-serif;
}

.product-review-average > div {
  display: grid;
  gap: 5px;
  color: #64748b;
  font-size: 13px;
}

.product-review-card {
  border: 1px solid #e1eaf5;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.product-review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-review-card-head > div {
  display: grid;
  gap: 5px;
}

.product-review-card-head strong,
.product-review-card h3 {
  color: #102a43;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.product-review-card-head time {
  color: #8795a8;
  font-size: 12px;
  white-space: nowrap;
}

.product-review-card h3 {
  margin: 14px 0 7px;
  font-size: 15px;
}

.product-review-card p {
  margin: 10px 0 0;
  color: #526174;
  line-height: 1.7;
}

.product-review-load-more {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  padding: 10px 22px;
  background: #fff;
  color: var(--brand);
  font: 800 14px 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.product-review-load-more:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.product-review-load-more:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.product-review-load-more[hidden] {
  display: none;
}

.product-review-load-more-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: product-review-load-more-spin .7s linear infinite;
}

.product-review-load-more-spinner[hidden] {
  display: none;
}

@keyframes product-review-load-more-spin {
  to { transform: rotate(360deg); }
}

.product-review-empty,
.product-review-gate {
  min-height: 150px;
  border: 1px dashed #cbd9e9;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: #f8fbff;
  color: #64748b;
  font-weight: 700;
}

.product-review-empty i,
.product-review-gate > i {
  color: var(--brand);
  font-size: 30px;
}

.product-review-gate p {
  margin: 0;
}

.product-review-gate a {
  border-radius: 9px;
  padding: 9px 16px;
  background: var(--brand);
  color: #fff;
}

.customer-review-status,
.product-review-pending-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  background: #f5f8fc;
  color: #526174;
  font-size: 13px;
  font-weight: 700;
}

.product-review-pending-note {
  justify-content: flex-start;
  background: #fff8e8;
  color: #8a5b00;
}

.review-status {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  text-transform: uppercase;
}

.review-status-a { background: #e7f8ed; color: #18794e; }
.review-status-p { background: #fff3d6; color: #966400; }
.review-status-d { background: #feecec; color: #b42318; }

.product-review-form {
  border: 1px solid #dce8f7;
  border-radius: 16px;
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.product-review-form label,
.review-rating-field legend {
  display: grid;
  gap: 7px;
  color: #27364a;
  font: 700 13px 'Plus Jakarta Sans', sans-serif;
}

.product-review-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  width: fit-content;
}

.product-review-label-text > span {
  color: #d92d20;
}

.product-review-form input[type="text"],
.product-review-form textarea {
  width: 100%;
  border: 1px solid #cad7e8;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: #172b4d;
  font: 400 14px 'DM Sans', sans-serif;
}

.product-review-form input:focus,
.product-review-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 110, 190, .12);
  outline: none;
}

.product-review-form .has-error input,
.product-review-form .has-error textarea {
  border-color: #d92d20;
}

.review-rating-field {
  border: 0;
  padding: 0;
  margin: 0;
}

.review-star-input {
  display: flex;
  gap: 5px;
}

.review-star-input label {
  position: relative;
  display: block;
  color: #c9d3df;
  cursor: pointer;
  font-size: 28px;
}

.review-star-input label.is-selected,
.review-star-input label:hover {
  color: #f5a623;
}

.product-review-form .review-star-input .review-star-visual {
  color: inherit;
  font-size: 28px;
  line-height: 1;
}

.review-star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-star-input label:focus-within {
  border-radius: 5px;
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.product-review-error {
  min-height: 16px;
  color: #d92d20 !important;
  font-size: 12px;
  font-weight: 700;
}

.product-review-form > button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: 800 14px 'Plus Jakarta Sans', sans-serif;
}

.product-review-form > button:disabled {
  cursor: wait;
  opacity: .78;
}

.product-review-submit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: product-review-load-more-spin .7s linear infinite;
}

.product-review-submit-spinner[hidden],
[data-review-submit-icon][hidden] {
  display: none;
}

.product-not-found {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 42px 20px;
}

.product-not-found-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #eef6ff;
  color: var(--brand);
  font-size: 36px;
}

.product-not-found h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.product-not-found p {
  color: #68778c;
  margin-bottom: 18px;
}

.product-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
}

.product-lightbox,
.question-modal,
.cart-loader,
.cart-added-modal,
.wishlist-added-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.product-lightbox.is-open,
.question-modal.is-open,
.cart-loader.is-open,
.cart-added-modal.is-open,
.wishlist-added-modal.is-open {
  display: flex;
}

.product-lightbox-backdrop,
.question-backdrop,
.cart-added-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 63, 0.72);
  backdrop-filter: blur(6px);
}

.product-lightbox-dialog,
.question-dialog,
.cart-loader-box,
.cart-added-dialog {
  position: relative;
  z-index: 1;
}

.product-lightbox-dialog {
  width: min(980px, 100%);
  min-height: min(72vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox-dialog img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow,
.question-close {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 22px;
  z-index: 2;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 25px;
  z-index: 2;
}

.lightbox-prev {
  left: 8px;
}

.lightbox-next {
  right: 8px;
}

.question-dialog {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.question-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f4f7fc;
  color: #172033;
  font-size: 20px;
}

.question-dialog h2 {
  font-size: 22px;
  margin-bottom: 6px;
  padding-right: 36px;
}

.question-dialog p {
  color: #69788d;
  margin-bottom: 18px;
}

.question-dialog label {
  display: grid;
  gap: 7px;
  color: #1f2937;
  font-weight: 800;
  margin-bottom: 12px;
}

.question-dialog input,
.question-dialog textarea {
  width: 100%;
  border: 1px solid #dde8f6;
  border-radius: 10px;
  background: #f9fbff;
  color: #111827;
  font: 700 14px 'DM Sans', sans-serif;
  padding: 12px 13px;
  outline: none;
}

.question-dialog textarea {
  resize: vertical;
}

.question-dialog input:focus,
.question-dialog textarea:focus {
  border-color: #9ac6ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52, 136, 254, 0.1);
}

.question-error {
  margin: 0 0 12px;
}

.cart-loader {
  z-index: 260;
}

.checkout-paypal-loader {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 22px;
}

.checkout-paypal-loader[hidden] {
  display: none;
}

.checkout-paypal-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 63, 0.46);
  backdrop-filter: blur(5px);
}

.checkout-paypal-loader-box {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  min-height: 164px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  color: #0a1445;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.checkout-paypal-loader-box strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.checkout-paypal-loader-box p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.checkout-paypal-is-loading {
  overflow: hidden;
}

.cart-loader-box {
  min-width: 190px;
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 12px;
  border-radius: 14px;
  background: #fff;
  color: #172033;
  font: 800 14px 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.cart-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 63, 0.42);
  backdrop-filter: blur(4px);
}

.cart-loader-spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 4px solid #d8e9ff;
  border-top-color: var(--brand);
  animation: cart-spin .8s linear infinite;
}

.cart-added-dialog {
  width: min(460px, 100%);
  border-radius: 14px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  text-align: center;
}

.cart-added-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fc;
  color: #172033;
  font-size: 20px;
  cursor: pointer;
}

.cart-added-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #eaf6ef;
  color: #138a45;
  font-size: 31px;
}

.cart-added-copy span {
  display: block;
  color: #138a45;
  font: 800 12px 'Plus Jakarta Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.cart-added-copy h2 {
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 8px;
  padding: 0 28px;
}

.cart-added-copy p {
  color: var(--brand-dark);
  font: 900 20px 'Plus Jakarta Sans', sans-serif;
  margin: 0;
}

.wishlist-added-product {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  text-align: left;
}

.cart-added-copy .wishlist-added-image {
  width: 66px;
  display: grid;
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
}

.wishlist-added-icon {
  background: #fff1f2;
  color: #e11d48;
}

.cart-added-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

@keyframes cart-spin {
  to {
    transform: rotate(360deg);
  }
}

.checkout-summary {
  max-width: 720px;
  margin: 0 auto;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #edf3fb;
  color: #69788d;
  font-weight: 800;
}

.checkout-summary-row[hidden] {
  display: none;
}

.checkout-summary-row strong {
  color: #111827;
  text-align: right;
}

.checkout-discount-row strong {
  color: #0f9f6e;
}

.checkout-promotion-field {
  gap: 8px;
}

.checkout-promotion-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
  align-items: stretch;
}

.checkout-promotion-input {
  min-width: 0;
}

.checkout-promotion-apply {
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(52,136,254,0.22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.checkout-promotion-apply:hover {
  background: var(--brand-dark);
  box-shadow: 0 14px 28px rgba(52,136,254,0.28);
  transform: translateY(-1px);
}

.checkout-applied-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 12px 12px 14px;
  border: 1px solid #bdebd4;
  border-radius: 14px;
  background: linear-gradient(180deg, #f0fdf6 0%, #ecfdf5 100%);
  box-shadow: 0 10px 24px rgba(15,159,110,0.08);
}

.checkout-applied-coupon-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.checkout-applied-coupon-copy span {
  color: #14805a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.checkout-applied-coupon-copy strong {
  color: #064e3b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.checkout-applied-coupon-copy small {
  color: #0f9f6e;
  font-size: 12px;
  font-weight: 800;
}

.checkout-applied-coupon-remove {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #d9fbe8;
  color: #047857;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  font-size: 22px;
  line-height: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.checkout-applied-coupon-remove:hover {
  background: #bbf7d0;
  color: #065f46;
  transform: translateY(-1px);
}

.checkout-promotion-loader {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  display: none;
  flex: 0 0 14px;
  animation: checkout-promotion-spin .65s linear infinite;
}

[data-promotion-submit].is-loading {
  pointer-events: none;
  opacity: .78;
}

[data-promotion-submit].is-loading .checkout-promotion-loader {
  display: inline-block;
}

.checkout-applied-coupon-remove.is-loading .checkout-applied-coupon-x {
  display: none;
}

@keyframes checkout-promotion-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
  .checkout-promotion-entry {
    grid-template-columns: 1fr;
  }

  .checkout-promotion-apply {
    min-height: 48px;
  }
}

.checkout-pay-btn {
  width: 100%;
  margin-top: 22px;
}

.checkout-pay-btn[hidden] {
  display: none;
}

.cart-page-main {
  padding-top: 28px;
}

.cart-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.cart-page-kicker {
  display: block;
  color: var(--brand);
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.cart-page-head h1 {
  font-size: clamp(30px, 5vw, 44px);
}

.cart-empty {
  max-width: 720px;
  margin: 0 auto;
}

.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.cart-items-list,
.cart-summary-panel {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.cart-items-list {
  overflow: hidden;
}

.cart-line-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto 36px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid #edf3fb;
}

.cart-line-item:last-child {
  border-bottom: 0;
}

.cart-line-image {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f8fd;
  color: var(--brand);
  font-size: 30px;
}

.cart-line-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line-copy h2 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.cart-line-copy p,
.cart-line-meta span {
  color: #69788d;
  font-weight: 800;
}

.cart-line-options {
  display: grid;
  gap: 3px;
  margin-top: 7px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.cart-line-meta {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.cart-line-meta strong {
  color: #111827;
  font-size: 18px;
}

.cart-line-remove {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  background: #eef2f7;
  color: #64748b;
  cursor: pointer;
  font-size: 18px;
  transition: background .16s, color .16s, transform .16s;
}

.cart-line-remove:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.cart-line-remove:disabled {
  cursor: wait;
  opacity: .7;
}

.cart-line-remove.is-loading i {
  animation: cart-spin .8s linear infinite;
}

.cart-summary-panel {
  padding: 22px;
  position: sticky;
  top: 18px;
}

.cart-summary-panel h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.wishlist-page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.wishlist-page-list {
  display: grid;
  gap: 14px;
}

.wishlist-page-list[hidden],
.wishlist-empty[hidden] {
  display: none;
}

.wishlist-line-item {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.wishlist-line-copy p {
  max-width: 640px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wishlist-line-meta {
  min-width: 160px;
}

.wishlist-detail-btn {
  min-height: 40px;
  padding: 0 14px;
}

.checkout-page-main {
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.checkout-page-head {
  align-items: center;
}

.checkout-alert {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  color: #be123c;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}

.checkout-form-panel {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  padding: 24px;
}

.checkout-section-head {
  margin-bottom: 18px;
}

.checkout-section-head h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.checkout-section-head p {
  color: #64748b;
  font-weight: 700;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 14px;
}

.checkout-form-panel > .register-field-wrap {
  margin-bottom: 14px;
}

.checkout-textarea-field {
  min-height: 132px;
}

.checkout-textarea-field textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font: 700 15px 'DM Sans', sans-serif;
  padding: 26px 16px 12px;
}

.checkout-textarea-field span {
  left: 16px;
}

.checkout-textarea-field:focus-within span,
.checkout-textarea-field textarea:not(:placeholder-shown) + span {
  top: 8px;
  transform: none;
  font-size: 11px;
  color: #1d74d8;
}

.checkout-payment-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f6f9ff;
  border: 1px solid #dbe8f8;
  border-radius: 12px;
  color: #475569;
  font-weight: 800;
  margin-top: 6px;
  padding: 13px 14px;
}

.checkout-payment-note i {
  color: var(--brand);
  font-size: 21px;
  margin-top: 1px;
}

.checkout-payment-section {
  position: relative;
  z-index: 1;
  border-top: 1px solid #e5edf7;
  margin-top: 8px;
  padding-top: 20px;
  scroll-margin-top: 156px;
}

.checkout-payment-head {
  margin-bottom: 12px;
}

.checkout-form-panel .checkout-payment-section {
  margin-top: 22px;
}

.checkout-payment-actions {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e5edf7;
}

.checkout-payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dbe8f8;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 14px;
}

.checkout-payment-option input {
  accent-color: var(--brand);
}

.checkout-payment-option span {
  display: grid;
  gap: 3px;
}

.checkout-payment-option strong {
  color: #0f172a;
}

.checkout-payment-option small {
  color: #64748b;
  font-weight: 800;
}

.checkout-paypal-box {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  gap: 10px;
  scroll-margin-top: 156px;
}

.checkout-paypal-box [data-paypal-buttons] {
  position: relative;
  z-index: 1;
  min-height: 52px;
  min-width: 0;
  scroll-margin-top: 156px;
}

.checkout-paypal-status {
  display: none;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-weight: 800;
  min-height: 42px;
  margin-top: 2px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f6f9ff;
  border: 1px solid #dbe8f8;
}

.checkout-paypal-status:not(:empty) {
  display: inline-flex;
}

.checkout-paypal-status[data-status-type="loading"] {
  color: var(--brand);
}

.checkout-paypal-status[data-status-type="loading"]::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(52, 136, 254, 0.22);
  border-top-color: var(--brand);
  border-radius: 999px;
  animation: cart-spin .8s linear infinite;
}

.checkout-paypal-status[data-status-type="success"] {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #15803d;
}

.checkout-paypal-status[data-status-type="error"] {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.checkout-order-panel {
  top: 96px;
}

.checkout-order-items {
  display: grid;
  gap: 14px;
  margin: 12px 0 8px;
  max-height: min(470px, calc(100vh - 360px));
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.checkout-order-items::-webkit-scrollbar {
  width: 8px;
}

.checkout-order-items::-webkit-scrollbar-track {
  background: #f3f7fd;
  border-radius: 999px;
}

.checkout-order-items::-webkit-scrollbar-thumb {
  background: #c7d5e8;
  border-radius: 999px;
}

.checkout-order-items::-webkit-scrollbar-thumb:hover {
  background: #9fb3cf;
}

.checkout-order-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 30px;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf3fb;
}

.checkout-order-remove {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  background: #eef2f7;
  color: #64748b;
  cursor: pointer;
  font-size: 17px;
  transition: background .16s, color .16s, transform .16s;
}

.checkout-order-remove:hover {
  background: #fee2e2;
  color: #b91c1c;
  transform: translateY(-1px);
}

.checkout-order-remove:disabled {
  cursor: wait;
  opacity: .7;
}

.checkout-order-remove.is-loading i {
  animation: cart-spin .8s linear infinite;
}

.checkout-order-image {
  width: 68px;
  font-size: 24px;
}

.checkout-order-copy h3 {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.checkout-order-copy p {
  color: #69788d;
  font-weight: 800;
}

.checkout-line-pricing {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: #64748b;
  font-weight: 800;
}

.checkout-line-pricing strong {
  color: #111827;
}

.order-complete-card {
  max-width: 680px;
  margin: 32px auto 0;
  text-align: center;
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  padding: 34px;
}

.order-complete-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  border-radius: 18px;
  color: #15803d;
  font-size: 40px;
}

.order-complete-card h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.order-complete-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 430px;
  margin: 0 auto 10px;
  padding: 13px 0;
  border-bottom: 1px solid #edf3fb;
  color: #64748b;
  font-weight: 800;
}

.order-complete-meta strong {
  color: #111827;
}

.order-complete-card .product-action-btn {
  margin: 22px auto 0;
  max-width: 260px;
}

.customer-orders-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 28px 22px 64px;
}

.customer-orders-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.customer-orders-head h1 {
  color: #0f172a;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
}

.customer-orders-empty {
  margin-top: 18px;
}

.customer-orders-filter {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(150px, .9fr) minmax(170px, 1fr) minmax(145px, .85fr) minmax(145px, .85fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.customer-orders-filter label {
  display: grid;
  gap: 7px;
}

.customer-orders-filter label > span {
  color: #64748b;
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.customer-orders-filter input,
.customer-orders-filter select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dfe8f4;
  border-radius: 10px;
  background: #f8fbff;
  color: #0f172a;
  font: 800 14px 'DM Sans', sans-serif;
  outline: 0;
  padding: 0 12px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.customer-orders-filter input:focus,
.customer-orders-filter select:focus {
  border-color: #9ecaff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52,136,254,0.09);
}

.customer-orders-filter-actions {
  display: flex;
  gap: 9px;
}

.customer-filter-apply,
.customer-filter-reset {
  min-height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  font: 900 13px 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
}

.customer-filter-apply {
  border: 0;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(52, 136, 254, 0.2);
}

.customer-filter-reset {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--brand);
}

.customer-orders-panel,
.customer-detail-panel {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.customer-orders-panel {
  overflow: hidden;
}

.account-update-main {
  max-width: 1120px;
}

.account-update-head {
  align-items: center;
}

.account-update-kicker {
  color: var(--brand);
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.account-update-back {
  min-height: 42px;
}

.account-update-shell {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 52%, #f6fbf8 100%);
  border: 1px solid #e5edf7;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  padding: 22px;
}

.account-update-form {
  display: grid;
  gap: 18px;
}

.account-update-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 4px;
}

.account-update-card-head h2 {
  color: #0f172a;
  font-size: 24px;
  line-height: 1.2;
}

.account-update-card-head p {
  color: #64748b;
  font: 700 14px 'DM Sans', sans-serif;
  margin-top: 4px;
}

.account-update-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--brand);
  display: grid;
  flex-shrink: 0;
  font-size: 32px;
  place-items: center;
}

.account-update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.account-phone-field {
  grid-template-columns: 146px minmax(0, 1fr);
}

.account-update-message {
  border-radius: 12px;
  font: 800 14px 'DM Sans', sans-serif;
  padding: 13px 15px;
}

.account-update-message p + p {
  margin-top: 4px;
}

.account-update-message.is-success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
}

.account-update-message.is-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.account-update-actions {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 160px);
  gap: 14px;
}

.account-update-actions .register-submit,
.account-update-actions .register-secondary {
  min-height: 50px;
}

.account-menu-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  display: inline-grid;
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  margin-left: auto;
  padding: 0 7px;
  place-items: center;
}

.customer-messages-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 22px 64px;
}

.customer-messages-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.customer-messages-manage {
  display: grid;
  gap: 18px;
}

.customer-thread-filter-bar {
  margin: 0;
}

.customer-message-sidebar,
.customer-chat-panel {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.customer-message-sidebar {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.customer-new-thread-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
}

.customer-new-thread-form[hidden] {
  display: none;
}

.customer-new-thread-form h2 {
  color: #0f172a;
  font-size: 18px;
}

.customer-new-thread-form label,
.customer-chat-reply label {
  display: grid;
  gap: 7px;
}

.customer-new-thread-form label > span,
.customer-chat-reply label > span {
  color: #64748b;
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.customer-new-thread-form input,
.customer-new-thread-form textarea,
.customer-chat-reply textarea {
  width: 100%;
  border: 1px solid #dfe8f4;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: 800 14px 'DM Sans', sans-serif;
  outline: 0;
  padding: 13px 14px;
  resize: vertical;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.customer-new-thread-form input:focus,
.customer-new-thread-form textarea:focus,
.customer-chat-reply textarea:focus {
  border-color: #9ecaff;
  box-shadow: 0 0 0 4px rgba(52,136,254,0.09);
}

.customer-thread-list {
  display: grid;
  gap: 10px;
}

.customer-thread-manage-list {
  display: block;
  overflow: hidden;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  background: #fff;
}

.customer-thread-card {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(180px, 1.4fr) minmax(150px, .9fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid #e5edf7;
  border-radius: 0;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.customer-thread-card:last-child {
  border-bottom: 0;
}

.customer-thread-card:hover,
.customer-thread-card.is-active {
  border-color: #e5edf7;
  background: #f8fbff;
  box-shadow: none;
  transform: none;
}

.customer-thread-top,
.customer-thread-meta {
  display: grid;
  align-items: center;
  gap: 10px;
}

.customer-thread-top {
  grid-template-columns: minmax(0, 1fr) auto;
}

.customer-thread-meta {
  justify-items: start;
  gap: 4px;
}

.customer-thread-top strong,
.customer-thread-last {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-thread-last,
.customer-thread-meta small {
  color: #64748b;
  font-weight: 800;
}

.customer-thread-meta b {
  color: var(--brand);
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
}

.customer-thread-view {
  justify-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 16px;
  border: 1px solid rgba(52, 136, 254, 0.22);
  border-radius: 10px;
  background: rgba(52, 136, 254, 0.08);
  color: var(--brand);
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.customer-thread-view:hover,
.customer-thread-view:focus {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.customer-thread-empty,
.customer-chat-empty {
  color: #64748b;
  font-weight: 800;
  padding: 18px;
  text-align: center;
}

.customer-chat-panel {
  height: min(720px, calc(100vh - 220px));
  min-height: 540px;
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto;
  overflow: hidden;
}

.customer-chat-panel-full {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.customer-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid #edf3fb;
}

.customer-chat-head h2 {
  color: #0f172a;
  font-size: 22px;
}

.customer-chat-head p {
  color: #64748b;
  font-weight: 800;
  margin-top: 4px;
}

.customer-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  background: #f8fbff;
  scroll-behavior: smooth;
}

.chat-bubble {
  display: flex;
}

.chat-bubble.is-customer {
  justify-content: flex-end;
}

.chat-bubble > div {
  max-width: min(78%, 560px);
  border: 1px solid #dbe8f8;
  border-radius: 16px;
  background: #fff;
  padding: 12px 14px;
}

.chat-bubble.is-customer > div {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.chat-bubble strong {
  color: #0f172a;
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.chat-bubble p {
  color: #1f2937;
  font-weight: 700;
  line-height: 1.45;
}

.chat-bubble time {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-top: 8px;
}

.customer-chat-reply {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 150px;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-top: 1px solid #edf3fb;
  background: #fff;
}

.customer-chat-refresh {
  min-height: 52px;
  padding: 0 14px;
}

.customer-orders-table-wrap {
  overflow-x: auto;
}

.customer-orders-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.customer-orders-table th {
  padding: 16px 18px;
  background: #f7faff;
  border-bottom: 1px solid #e7eef8;
  color: #65748a;
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.customer-orders-table td {
  padding: 18px;
  border-bottom: 1px solid #edf3fb;
  color: #334155;
  font-weight: 800;
  vertical-align: middle;
}

.customer-orders-table tr:last-child td {
  border-bottom: 0;
}

.customer-orders-table td small {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-weight: 800;
}

.customer-orders-table td strong,
.customer-order-card strong {
  color: #111827;
}

.customer-status-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 11px;
  font: 900 12px 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  white-space: nowrap;
}

.customer-status-badge.status-o {
  background: #e8f1ff;
  color: #1d74d8;
}

.customer-status-badge.status-c {
  background: #e2e8f0;
  color: #475569;
}

.customer-status-badge.status-i {
  background: #fff7ed;
  color: #c2410c;
}

.customer-status-badge.status-p {
  background: #dcfce7;
  color: #15803d;
}

.customer-order-link,
.customer-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brand);
  font: 900 13px 'Plus Jakarta Sans', sans-serif;
  transition: color .16s, transform .16s;
}

.customer-order-link {
  min-height: 38px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  padding: 0 13px;
  white-space: nowrap;
}

.customer-order-link:hover,
.customer-back-link:hover {
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.customer-orders-cards {
  display: none;
  gap: 14px;
  padding: 14px;
}

.customer-order-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e5edf7;
  border-radius: 12px;
  background: #fff;
}

.customer-order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.customer-order-card-head span,
.customer-order-card dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.customer-order-card-head strong {
  display: block;
  margin-top: 2px;
  font: 900 16px 'Plus Jakarta Sans', sans-serif;
}

.customer-order-card-head small {
  color: #94a3b8;
  font-weight: 800;
}

.customer-order-card dl {
  display: grid;
  gap: 10px;
}

.customer-orders-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.customer-orders-pagination a,
.customer-orders-pagination span {
  min-height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #dbe8f8;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font: 900 13px 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.customer-orders-pagination a:hover {
  border-color: #bfdbfe;
  color: var(--brand);
}

.customer-orders-pagination .is-current {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.customer-orders-pagination .is-disabled {
  color: #94a3b8;
  background: #f8fafc;
  box-shadow: none;
}

.customer-page-numbers {
  display: flex;
  gap: 8px;
}

.customer-order-card dl div,
.customer-detail-list div,
.customer-product-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.customer-order-card dd,
.customer-detail-list dd,
.customer-product-meta dd {
  color: #111827;
  font-weight: 900;
  text-align: right;
}

.customer-order-detail-head {
  align-items: center;
}

.customer-order-detail-head p {
  margin-top: 7px;
  color: #64748b;
  font-weight: 800;
}

.customer-order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.customer-order-detail-stack {
  display: grid;
  gap: 22px;
}

.customer-order-side-stack {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 96px;
}

.customer-detail-panel {
  padding: 22px;
}

.customer-detail-panel-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.customer-detail-panel-head i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef6ff;
  color: var(--brand);
  font-size: 22px;
}

.customer-detail-panel-head h2 {
  color: #0f172a;
  font-size: 21px;
}

.customer-detail-panel-head span {
  margin-left: auto;
  color: #64748b;
  font-weight: 900;
}

.customer-detail-list {
  display: grid;
  gap: 14px;
}

.customer-detail-list div,
.customer-product-meta div {
  padding-bottom: 13px;
  border-bottom: 1px solid #edf3fb;
}

.customer-detail-list div:last-child,
.customer-product-meta div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.customer-detail-list dt,
.customer-product-meta dt {
  color: #64748b;
  font-weight: 900;
}

.customer-notes-box {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f6f9ff;
}

.customer-notes-box span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-notes-box p,
.customer-muted,
.customer-option-block p {
  color: #475569;
  font-weight: 800;
}

.customer-products-panel {
  margin-bottom: 10px;
}

.customer-products-list {
  display: grid;
  gap: 16px;
}

.customer-product-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid #e5edf7;
  border-radius: 12px;
  background: #fbfdff;
}

.customer-product-image {
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #eef6ff;
  color: var(--brand);
  font-size: 32px;
}

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

.customer-product-copy {
  min-width: 0;
}

.customer-product-title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.customer-product-title-row h3 {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.3;
}

.customer-product-title-row p {
  margin-top: 4px;
  color: #64748b;
  font-weight: 800;
}

.customer-product-title-row > strong {
  color: #111827;
  font-size: 18px;
  white-space: nowrap;
}

.customer-product-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 18px;
  margin-bottom: 16px;
}

.customer-product-meta div {
  display: grid;
  gap: 4px;
}

.customer-product-meta dd {
  text-align: left;
  overflow-wrap: anywhere;
}

.customer-option-block {
  display: grid;
  gap: 9px;
}

.customer-download-block {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5edf7;
}

.customer-option-block h4 {
  color: #0f172a;
  font-size: 14px;
}

.customer-download-block h4 {
  color: #0f172a;
  font-size: 14px;
}

.customer-download-block p {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.customer-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.customer-download-button:hover {
  background: #0f172a;
}

.customer-downloads-list {
  display: grid;
  gap: 12px;
}

.customer-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #fbfdff;
}

.customer-download-item h2 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
}

.customer-download-item p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.customer-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-option-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid #dbe8f8;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.customer-option-chip strong {
  color: #0f172a;
}

.customer-option-chip em {
  color: #15803d;
  font-style: normal;
}

@media (max-width: 900px) {
  .newsletter-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nl-form {
    width: 100%;
  }

  .nl-form input {
    width: 100%;
    min-width: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .storefront-logo-img {
    width: clamp(190px, 34vw, 260px);
    min-width: 190px;
    max-width: 260px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .product-detail-shell {
    grid-template-columns: 1fr;
  }

  .product-info-panel h1 {
    font-size: 28px;
  }

  .cart-page-head,
  .cart-page-grid,
  .checkout-grid,
  .customer-orders-head,
  .customer-order-detail-grid,
  .account-update-grid,
  .customer-messages-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cart-summary-panel,
  .checkout-order-panel,
  .customer-order-side-stack {
    position: static;
  }

  .customer-orders-table-wrap {
    display: none;
  }

  .customer-orders-cards {
    display: grid;
  }

  .customer-product-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-orders-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-orders-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .newsletter-inner,
  .footer-main,
  .footer-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nl-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand .logo {
    padding: 7px 10px;
  }

  .footer-brand .storefront-logo-img {
    width: clamp(170px, 58vw, 230px);
    min-width: 170px;
    max-width: 230px;
    height: 50px;
    max-height: 50px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .product-detail-main {
    padding: 18px 14px 46px;
  }

  .checkout-page-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .customer-orders-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .customer-orders-filter {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .customer-orders-filter-actions,
  .customer-page-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .customer-filter-apply,
  .customer-filter-reset,
  .customer-orders-pagination a,
  .customer-orders-pagination span {
    width: 100%;
  }

  .checkout-form-panel,
  .cart-summary-panel,
  .order-complete-card,
  .customer-detail-panel,
  .account-update-shell {
    padding: 18px;
  }

  .account-update-card-head {
    align-items: flex-start;
  }

  .account-update-actions {
    grid-template-columns: 1fr;
  }

  .account-update-actions .register-submit,
  .account-update-actions .register-secondary {
    width: 100%;
  }

  .account-phone-field {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .customer-messages-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .customer-chat-panel {
    min-height: 520px;
  }

  .customer-thread-manage-list {
    display: grid;
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .customer-thread-card {
    grid-template-columns: 1fr;
    gap: 9px;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    padding: 14px;
  }

  .customer-thread-card:last-child {
    border-bottom: 1px solid #e5edf7;
  }

  .customer-chat-head,
  .customer-chat-reply,
  .customer-thread-top,
  .customer-thread-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .customer-chat-reply {
    align-items: stretch;
  }

  .chat-bubble > div {
    max-width: 100%;
  }

  .checkout-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .checkout-order-item {
    grid-template-columns: 58px minmax(0, 1fr) 30px;
  }

  .checkout-order-items {
    max-height: 420px;
  }

  .checkout-order-image {
    width: 58px;
  }

  .customer-product-line {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .customer-product-image {
    width: 72px;
  }

  .customer-product-title-row {
    display: grid;
    gap: 8px;
  }

  .customer-product-meta {
    grid-template-columns: 1fr;
  }

  .customer-order-card dl div,
  .customer-detail-list div {
    display: grid;
    gap: 4px;
  }

  .customer-order-card dd,
  .customer-detail-list dd {
    text-align: left;
  }

  .product-gallery,
  .product-info-panel,
  .product-description-section,
  .product-tabs-section {
    border-radius: 12px;
  }

  .product-gallery,
  .product-info-panel {
    padding: 14px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-tabs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }

  .product-tab-button {
    min-width: 0;
    padding: 0 10px;
  }

  .product-tab-panel {
    padding: 18px 16px 20px;
  }

  .product-reviews-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .product-review-summary,
  .product-review-card,
  .product-review-form {
    padding: 16px;
  }

  .product-review-card-head {
    display: grid;
    gap: 8px;
  }

  .product-review-card-head time {
    white-space: normal;
  }

  .product-review-average > strong {
    font-size: 34px;
  }

  .product-action-btn {
    min-height: 50px;
    font-size: 14px;
  }

  .cart-added-actions,
  .wishlist-added-actions,
  .cart-line-item {
    grid-template-columns: 86px minmax(0, 1fr) 36px;
  }

  .cart-line-item {
    row-gap: 6px;
    align-items: start;
  }

  .cart-line-image {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .cart-line-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .cart-line-meta {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-items: start;
  }

  .cart-line-remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .mini-cart-panel,
  .wishlist-panel {
    position: fixed;
    top: 82px;
    left: 14px;
    right: 14px;
    width: auto;
  }

  .mini-cart-panel::before,
  .wishlist-panel::before {
    display: block;
    right: 48px;
  }

  body.mobile-sheet-open[data-mobile-sheet="cart"] .mini-cart-panel,
  body.mobile-sheet-open[data-mobile-sheet="wishlist"] .wishlist-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  body.mobile-sheet-open[data-mobile-sheet="cart"] .mini-cart-panel::before,
  body.mobile-sheet-open[data-mobile-sheet="wishlist"] .wishlist-panel::before {
    display: none;
  }

  .wishlist-added-product {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .cart-added-copy .wishlist-added-image {
    width: 56px;
  }

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

  .lightbox-arrow {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 0;
  }

  .lightbox-next {
    right: 0;
  }
}

/* ── STOREFRONT RESPONSIVE SYSTEM ── */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.mobile-nav-trigger,
.mobile-nav-panel,
.mobile-nav-backdrop,
.mobile-sheet-backdrop,
.mobile-bottom-tabs {
  display: none;
}

.mobile-sheet-head {
  display: none;
}

.mobile-nav-open {
  overflow: hidden;
}

/* Applied to <body> to lock background scrolling while a drawer or modal is open. */
.no-scroll {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
}

.mobile-bottom-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(226, 234, 245, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.mobile-bottom-tab {
  position: relative;
  min-width: 0;
  min-height: 56px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #64748b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.mobile-bottom-tab-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 26px;
  font-size: 22px;
}

.mobile-bottom-tab-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bottom-tab-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.mobile-bottom-tab-badge[hidden] {
  display: none;
}

.mobile-bottom-tab.is-active {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.mobile-bottom-tab:focus-visible {
  outline: 2px solid rgba(52, 136, 254, 0.45);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .main {
    padding: 22px 24px 52px;
  }

  .promo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .prod-item {
    min-width: 0;
  }

  .bundle-wrap {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .hero-content {
    padding: 38px 42px;
  }

  .hero-visual {
    width: 230px;
    padding: 0 40px 48px 0;
  }

  .footer-main {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .mobile-nav-open .mobile-bottom-tabs,
  .mobile-sheet-open .mobile-bottom-tabs {
    display: none;
  }

  .mobile-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 218;
    display: block;
    background: rgba(3, 13, 63, 0.46);
    backdrop-filter: blur(3px);
    opacity: 1;
    transition: opacity .24s ease;
  }

  .mobile-sheet-backdrop[hidden] {
    display: none;
  }

  .mobile-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #edf3fb;
  }

  .mobile-sheet-head strong {
    color: #111827;
    font: 900 16px 'Plus Jakarta Sans', sans-serif;
  }

  .account-dropdown,
  .mini-cart-panel,
  .wishlist-panel {
    transform: translateY(100%);
  }

  body.mobile-sheet-open[data-mobile-sheet="account"] .account-dropdown,
  body.mobile-sheet-open[data-mobile-sheet="cart"] .mini-cart-panel,
  body.mobile-sheet-open[data-mobile-sheet="wishlist"] .wishlist-panel {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 220;
    width: 100%;
    max-width: none;
    max-height: min(82vh, 680px);
    min-height: 248px;
    border: 0;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 -24px 56px rgba(15, 23, 42, 0.24);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transform-origin: bottom center;
    transition: transform .26s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility .22s ease;
  }

  body.mobile-sheet-open[data-mobile-sheet="account"] .account-dropdown::before,
  body.mobile-sheet-open[data-mobile-sheet="cart"] .mini-cart-panel::before,
  body.mobile-sheet-open[data-mobile-sheet="wishlist"] .wishlist-panel::before {
    display: none;
  }

  body.mobile-sheet-open[data-mobile-sheet="account"] .account-dropdown {
    padding: 0;
  }

  body.mobile-sheet-open[data-mobile-sheet="account"] .account-user {
    margin: 14px 16px 8px;
  }

  body.mobile-sheet-open[data-mobile-sheet="account"] .account-menu-list {
    padding: 0 14px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-sheet-open[data-mobile-sheet="cart"] .mini-cart-list,
  body.mobile-sheet-open[data-mobile-sheet="wishlist"] .mini-cart-list {
    max-height: none;
    min-height: 136px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-sheet-open[data-mobile-sheet="cart"] .mini-cart-status,
  body.mobile-sheet-open[data-mobile-sheet="cart"] .mini-cart-empty,
  body.mobile-sheet-open[data-mobile-sheet="wishlist"] .mini-cart-status,
  body.mobile-sheet-open[data-mobile-sheet="wishlist"] .mini-cart-empty {
    flex: 1 1 auto;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 172px;
  }

  .header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 10px;
    padding: 10px 14px 12px;
  }

  .header .logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .header .storefront-logo-img {
    width: min(46vw, 172px);
    min-width: 0;
    max-width: 172px;
    height: 42px;
  }

  .header-right {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .search-bar {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    width: 100%;
    max-width: none;
  }

  .search-bar input {
    min-width: 0;
    height: 44px;
  }

  .catalog-shell,
  .secondary-nav,
  .header-link,
  .account-menu,
  .wishlist-shell {
    display: none;
  }

  .mobile-nav-accordion {
    display: block;
  }

  .catalog-shell.is-open,
  .account-menu.is-open,
  .wishlist-shell.is-open {
    position: static;
    display: block;
    width: 0;
    height: 0;
    overflow: visible;
  }

  .catalog-shell.is-open .catalog-btn,
  .account-menu.is-open .account-trigger {
    display: none;
  }

  .mobile-nav-trigger {
    display: grid;
    min-height: 44px;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 195;
    display: block;
    background: rgba(3, 13, 63, 0.48);
    backdrop-filter: blur(2px);
  }

  .mobile-nav-backdrop[hidden] {
    display: none;
  }

  .mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 196;
    display: flex;
    width: min(86vw, 340px);
    padding: 18px;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    background: #fff;
    box-shadow: -20px 0 54px rgba(15, 23, 42, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
  }

  .mobile-nav-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav-head strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 800;
  }

  .mobile-nav-head button {
    width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--gray-100);
    color: var(--dark);
    font-size: 21px;
    cursor: pointer;
  }

  .mobile-nav-links {
    display: grid;
    gap: 4px;
    padding-top: 12px;
  }

  .mobile-nav-account-section {
    padding-top: 10px;
  }

  .mobile-nav-divider {
    height: 1px;
    margin: 14px 0;
    flex: 0 0 auto;
    background: var(--border);
  }

  .mobile-nav-section-title {
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 800;
  }

  .mobile-nav-links a {
    min-height: 48px;
    padding: 0 13px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #172033;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a:focus-visible {
    background: var(--brand-light);
    color: var(--brand-dark);
    outline: none;
  }

  .mobile-nav-links i {
    width: 22px;
    font-size: 20px;
    text-align: center;
  }

  .main {
    padding: 14px 14px 38px;
  }

  .hero-slider,
  .hero-banner,
  .promo-strip,
  .section,
  .promo-banner,
  .cat-strip {
    margin-bottom: 24px;
  }

  .hero-banner {
    min-height: 0;
    margin-bottom: 0;
    border-radius: 14px;
  }

  .hero-content {
    max-width: none;
    padding: 16px 18px 28px;
    align-items: flex-start;
    text-align: left;
  }

  .hero-badge {
    margin-bottom: 14px;
    font-size: 9px;
    text-align: left;
  }

  .hero-content h1 {
    max-width: none;
    font-size: 20px;
    line-height: 1.25;
  }

  .hero-content p {
    max-width: none;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
  }

  .hero-btns {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-ghost {
    min-height: 42px;
    justify-content: center;
    padding-inline: 10px;
    white-space: nowrap;
    font-size: 12px;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    text-align: left;
    justify-items: start;
  }

  .hero-stat {
    width: 100%;
  }

  .hero-stat .num {
    font-size: 19px;
  }

  .hero-slider-arrow {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .hero-slider-arrow:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .hero-slider-dots {
    bottom: 10px;
  }

  .promo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .promo-card {
    min-width: 0;
    padding: 12px;
    align-items: flex-start;
  }

  .promo-card .promo-sub {
    line-height: 1.35;
  }

  .section-head {
    margin-bottom: 12px;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .cat-strip.is-slider {
    gap: 10px;
    margin-right: -14px;
    padding-right: 14px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .cat-strip.is-slider::-webkit-scrollbar {
    display: none;
  }

  .cat-strip.is-slider .cat-card {
    flex-basis: 152px;
    padding: 14px 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prod-item,
  .prod-item:nth-child(3n) {
    min-width: 0;
    padding: 10px;
    flex-direction: column;
    gap: 9px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .prod-item:nth-child(2n) {
    border-right: 0;
  }

  .prod-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .prod-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1.35;
    border-radius: 9px;
  }

  .prod-name {
    min-height: 2.6em;
    font-size: 12.5px;
  }

  .prod-price-row {
    margin-bottom: 0;
  }

  .prod-desc {
    display: none;
  }

  .bundle-wrap,
  .bundle-grid {
    grid-template-columns: 1fr;
  }

  .bundle-promo {
    padding: 24px 20px;
  }

  .bundle-promo h3 br {
    display: none;
  }

  .bundle-item,
  .bundle-item:nth-child(2n),
  .bundle-item:nth-child(3),
  .bundle-item:nth-child(4) {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .bundle-item:last-child {
    border-bottom: 0;
  }

  .promo-banner {
    padding: 24px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .pb-content h3 {
    font-size: 20px;
  }

  .btn-white {
    min-height: 44px;
  }

  .newsletter-inner,
  .footer-main,
  .footer-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-main {
    gap: 22px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-col a {
    padding-block: 4px;
  }
}

@media (max-width: 420px) {
  .header .storefront-logo-img {
    width: min(42vw, 150px);
  }

  .promo-strip {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 12px;
  }

  .section-head h2 {
    font-size: 18px;
  }

  .prod-name {
    font-size: 12px;
  }

  .prod-price {
    font-size: 13px;
  }

  .promo-icon {
    width: 38px;
    height: 38px;
  }
}

.blog-list-main,
.blog-detail-main {
  background: #f8faff;
  min-height: 60vh;
}

.blog-list-heading,
.blog-grid-section,
.blog-detail-article,
.blog-detail-empty {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.blog-list-heading {
  padding: 56px 0 28px;
}

.blog-list-heading p,
.blog-detail-header time {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.blog-list-heading h1,
.blog-detail-header h1 {
  margin: 0;
  color: var(--dark);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.blog-list-heading h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.blog-list-heading span {
  display: block;
  max-width: 680px;
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
}

.blog-grid-section {
  padding: 0 0 64px;
}

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

.blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(3, 13, 63, 0.06);
}

.blog-card-image {
  display: grid;
  width: 100%;
  aspect-ratio: 1.55;
  place-items: center;
  overflow: hidden;
  background: #e8f1ff;
  color: var(--brand);
  text-decoration: none;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-card-image span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  font-size: 30px;
}

.blog-card-body {
  display: flex;
  min-height: 250px;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.blog-card time {
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 700;
}

.blog-card h2 {
  margin: 10px 0;
  color: var(--dark);
  font-size: 21px;
  line-height: 1.28;
}

.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-card p {
  margin: 0 0 18px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.65;
}

.blog-read-more {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.blog-empty {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 44px;
  text-align: center;
}

.blog-empty h1,
.blog-empty h2 {
  margin: 0 0 10px;
  color: var(--dark);
}

.blog-empty p {
  margin: 0;
  color: var(--gray-600);
}

.blog-detail-main {
  padding: 0 0 70px;
}

.blog-detail-article {
  max-width: 920px;
  padding-top: 42px;
}

.blog-detail-header {
  padding: 8px 0 24px;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--gray-600);
  font-weight: 700;
  text-decoration: none;
}

.blog-detail-header h1 {
  max-width: 860px;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.08;
}

.blog-detail-header p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.7;
}

.blog-detail-image {
  margin: 8px 0 34px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-100);
}

.blog-detail-image img {
  width: 100%;
  max-height: 540px;
  display: block;
  object-fit: cover;
}

.blog-detail-content {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 42px;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.82;
  box-shadow: 0 18px 46px rgba(3, 13, 63, 0.05);
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
  margin: 1.2em 0 0.5em;
  color: var(--dark);
  line-height: 1.2;
}

.blog-detail-content p,
.blog-detail-content ul,
.blog-detail-content ol,
.blog-detail-content blockquote,
.blog-detail-content figure,
.blog-detail-content table {
  margin: 0 0 1.15em;
}

.blog-detail-content figure {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8faff;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.blog-detail-content figure img {
  width: 100%;
  border-radius: 0;
}

.blog-detail-content figcaption {
  padding: 12px 16px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.5;
}

.blog-detail-content a {
  color: var(--brand-dark);
  font-weight: 700;
}

.blog-detail-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  font-size: 15px;
}

.blog-detail-content th,
.blog-detail-content td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
}

.blog-detail-content th {
  background: var(--gray-100);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .blog-list-heading,
  .blog-grid-section,
  .blog-detail-article,
  .blog-detail-empty {
    width: min(100% - 28px, 1180px);
  }

  .blog-list-heading {
    padding-top: 34px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card-body {
    min-height: 0;
    padding: 18px;
  }

  .blog-card h2 {
    font-size: 19px;
  }

  .blog-detail-article {
    padding-top: 28px;
  }

  .blog-detail-header h1 {
    font-size: 32px;
  }

  .blog-detail-header p {
    font-size: 16px;
  }

  .blog-detail-content {
    padding: 22px;
    font-size: 16px;
  }

  .blog-detail-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Product Bundles listing + detail pages */
.bundles-list-main,
.bundle-details-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.bundle-listing-toolbar-wrap {
  margin-bottom: 24px;
}

.product-listing-head {
  gap: 16px;
}

.product-listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.product-listing-sort-form {
  margin: 0;
}

.product-listing-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12.5px 'Plus Jakarta Sans', sans-serif;
  color: #64748b;
}

.product-listing-sort-label select {
  min-width: 160px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: 600 13px 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
}

.product-listing-sort-label select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

[data-product-listing] {
  position: relative;
}

[data-product-listing].is-loading [data-product-listing-results] {
  opacity: .55;
  pointer-events: none;
}

[data-product-listing].is-loading [data-product-listing-pagination] {
  opacity: .55;
  pointer-events: none;
}

[data-product-listing].is-loading .product-listing-sort-label select {
  opacity: .7;
}

.bundle-listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.bundle-listing-count {
  font: 800 14px 'Plus Jakarta Sans', sans-serif;
  color: #334155;
}

.bundle-view-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #f8fafc;
}

.bundle-view-toggle button {
  min-width: 40px;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background .16s, color .16s;
}

.bundle-view-toggle button.is-active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.bundle-listing-grid {
  display: grid;
  gap: 18px;
}

.bundle-listing-grid.is-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bundle-listing-grid.is-list {
  grid-template-columns: 1fr;
}

.bundle-listing-card {
  position: relative;
  display: grid;
  gap: 0;
  border: 1px solid #e5edf7;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}

.bundle-listing-grid.is-grid .bundle-listing-card {
  grid-template-rows: auto 1fr;
}

.bundle-listing-grid.is-list .bundle-listing-card {
  grid-template-columns: 220px minmax(0, 1fr);
}

.bundle-listing-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}

.bundle-listing-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bundle-listing-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.bundle-listing-grid.is-list .bundle-listing-media {
  min-height: 100%;
}

.bundle-listing-media img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.bundle-listing-media i {
  font-size: 42px;
  color: var(--brand);
}

.bundle-listing-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.bundle-listing-head {
  display: grid;
  gap: 8px;
}

.bundle-listing-head h2 {
  margin: 0;
  font: 800 20px/1.25 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
}

.bundle-listing-rating,
.bundle-details-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 13px 'Plus Jakarta Sans', sans-serif;
  color: #475569;
}

.bundle-listing-description,
.bundle-details-description {
  margin: 0;
  color: #64748b;
  font: 500 14px/1.6 'DM Sans', sans-serif;
}

.bundle-listing-meta-row,
.bundle-details-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font: 700 13px 'Plus Jakarta Sans', sans-serif;
  color: #475569;
}

.bundle-listing-meta-row span,
.bundle-details-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bundle-listing-savings {
  color: #15803d;
}

.bundle-listing-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bundle-listing-price {
  font: 800 24px 'Plus Jakarta Sans', sans-serif;
  color: var(--brand);
}

.bundle-listing-old-price {
  font: 700 15px 'Plus Jakarta Sans', sans-serif;
  color: #94a3b8;
  text-decoration: line-through;
}

.bundle-listing-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bundle-listing-view-btn,
.bundle-listing-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font: 800 13px 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: transform .16s, background .16s, color .16s;
}

.bundle-listing-view-btn {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--brand);
}

.bundle-listing-cart-btn {
  border: 0;
  background: var(--brand);
  color: #fff;
}

.bundle-listing-view-btn:hover,
.bundle-listing-cart-btn:hover {
  transform: translateY(-1px);
}

.bundle-listing-cart-btn:disabled {
  opacity: .65;
  cursor: wait;
}

.bundle-listing-pagination {
  margin-top: 28px;
}

.bundle-details-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font: 700 13px 'Plus Jakarta Sans', sans-serif;
  color: #64748b;
}

.bundle-details-breadcrumb a {
  color: var(--brand);
}

.bundle-details-hero {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  border: 1px solid #e5edf7;
  border-radius: 20px;
  background: #fff;
}

.bundle-details-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.bundle-details-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.bundle-details-media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 320px;
  font-size: 64px;
  color: var(--brand);
}

.bundle-details-summary {
  display: grid;
  gap: 16px;
  align-content: start;
}

.bundle-details-summary h1 {
  margin: 0;
  font: 800 clamp(28px, 4vw, 40px)/1.15 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
}

.bundle-details-price-stack {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
}

.bundle-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bundle-details-products {
  margin-top: 32px;
}

.bundle-details-error {
  margin: 0;
}

@media (max-width: 1080px) {
  .bundle-listing-grid.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bundles-list-main,
  .bundle-details-main {
    padding-inline: 14px;
  }

  .bundle-listing-grid.is-grid,
  .bundle-listing-grid.is-list .bundle-listing-card {
    grid-template-columns: 1fr;
  }

  .bundle-listing-grid.is-list .bundle-listing-media {
    min-height: 190px;
  }

  .bundle-details-hero {
    grid-template-columns: 1fr;
  }
}

/* Refund / legal policy page */
.policy-page {
  min-height: 100vh;
  background: #f4f7ff;
}

.policy-main {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
  padding: 56px 0 84px;
}

.policy-hero {
  margin-bottom: 36px;
}

.policy-eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.policy-hero h1 {
  margin: 0;
  color: #07164b;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.policy-intro {
  margin: 14px 0 0;
  color: #687895;
  font-size: 16px;
  line-height: 1.65;
  max-width: 58ch;
}

.policy-sections {
  display: grid;
  gap: 14px;
}

.policy-section {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 22px 22px 18px;
  border: 1px solid #e3ebf6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(42, 66, 111, 0.04);
}

.policy-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.policy-section-body h2 {
  margin: 2px 0 8px;
  color: #07164b;
  font-size: 17px;
  line-height: 1.3;
}

.policy-section-body p {
  margin: 0;
  color: #5b6b86;
  font-size: 14.5px;
  line-height: 1.65;
}

.policy-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid #d7e5ff;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 55%, #ffffff 100%);
}

.policy-cta-copy h2 {
  margin: 0 0 6px;
  color: #07164b;
  font-size: 20px;
  line-height: 1.25;
}

.policy-cta-copy p {
  margin: 0;
  color: #687895;
  font-size: 14.5px;
}

.policy-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-cta-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid #d5e2f5;
  border-radius: 10px;
  background: #fff;
  color: #1e3a6e;
  font-weight: 600;
  text-decoration: none;
}

.policy-cta-actions .btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

@media (max-width: 760px) {
  .policy-main {
    width: min(100% - 28px, 820px);
    padding: 36px 0 64px;
  }

  .policy-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .policy-cta {
    padding: 20px;
  }
}
