/* =========================================================
   Purefit Storefront Components
   ========================================================= */

/* Announcement */
#announce-bar {
  height: var(--bar-h);
  background: var(--announce-bg, var(--ink));
  color: var(--announce-text, #fff);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 100;
  flex-shrink: 0;
  transition: height .3s var(--ease), opacity .3s var(--ease);
}

#announce-bar::before,
#announce-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

#announce-bar::before {
  left: 0;
  width: 28px;
  background: linear-gradient(90deg, var(--announce-bg-left, var(--ink)) 0%, var(--announce-bg-left-0, rgba(10, 9, 8, 0)) 100%);
}

#announce-bar::after {
  right: 34px;
  width: 54px;
  background: linear-gradient(270deg, var(--announce-bg-right, var(--ink)) 0%, var(--announce-bg-right-0, rgba(10, 9, 8, 0)) 100%);
}

#announce-bar.hidden {
  height: 0;
  opacity: 0;
}

.announce-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee var(--announce-speed, 32s) linear infinite;
  padding-left: 18px;
  padding-right: 70px;
}

.announce-track.can-pause:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.announce-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 60px;
  font-size: var(--announce-font-size, 11px);
  font-weight: var(--announce-font-weight, 500);
  letter-spacing: .06em;
  color: var(--announce-text-muted, rgba(255, 255, 255, .72));
  white-space: nowrap;
}

.announce-item strong {
  color: var(--announce-text, #fff);
  font-weight: 700;
}

.announce-item a {
  color: inherit;
  text-decoration: none;
}

.announce-item a:hover {
  color: var(--announce-text, #fff);
}

.announce-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ember3);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.announce-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .4);
  font-size: 11px;
  padding: 6px;
  line-height: 1;
  transition: color .25s var(--ease);
  z-index: 2;
}

.announce-close:hover {
  color: #fff;
}

/* Top nav */
#top-nav {
  height: var(--nav-h);
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  display: flex;
  align-items: center;
  z-index: 90;
  flex-shrink: 0;
  position: relative;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  transition: opacity .25s var(--ease);
  flex-shrink: 0;
}

.brand-mark-logo {
  align-items: center;
  letter-spacing: 0;
}

.brand-mark:hover {
  opacity: .7;
}

.brand-main {
  color: var(--ink);
}

.brand-accent {
  color: var(--ember);
  font-style: italic;
  margin-left: 1px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: none;
  align-items: center;
  margin-left: 40px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  height: var(--nav-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  position: relative;
  transition: color .25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link.active {
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .38s var(--spring);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-search {
  display: none;
  margin-left: auto;
  max-width: 340px;
  flex: 0 1 340px;
  position: relative;
}

@media (min-width: 768px) {
  .nav-search {
    display: block;
  }
}

.nav-search-input {
  width: 100%;
  height: 38px;
  background: var(--surf2);
  border: 1.5px solid transparent;
  border-radius: var(--rpill);
  padding: 0 110px 0 40px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: all .25s var(--ease);
}

.nav-search-input::placeholder {
  color: var(--subtle);
}

.nav-search-input:focus {
  background: var(--white);
  border-color: var(--line2);
  box-shadow: 0 0 0 3px rgba(200, 57, 10, .06);
}

.nav-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  pointer-events: none;
}

.nav-search-icon svg,
.nav-search-input-wrap svg,
.icon-stroke {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.nav-filter-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  height: 30px;
  padding: 0 10px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--rpill);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background .25s var(--ease);
}

.nav-filter-btn:hover {
  background: var(--ember);
}

.nav-filter-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.nav-filter-icon {
  width: 15px;
  height: 15px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

@media (max-width: 767px) {
  .nav-actions {
    margin-left: auto;
  }
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
  transition: background .15s var(--ease), color .15s var(--ease), transform .25s var(--spring);
  position: relative;
}

.nav-btn:hover {
  background: var(--surf2);
  color: var(--ink);
  transform: scale(1.05);
}

.nav-btn svg,
.nav-btn i {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.nav-btn-account.is-logged-in {
  color: var(--ink);
}

.nav-account-avatar,
.bot-account-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ember), var(--ember2));
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(200, 57, 10, .18);
}

.nav-account-avatar img,
.bot-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-account-avatar.has-image,
.bot-account-avatar.has-image {
  background: var(--surf2);
  color: transparent;
  box-shadow: 0 4px 10px rgba(10, 9, 8, .08);
}

.nav-badge,
.side-badge,
.bot-tab-badge {
  min-width: 16px;
  height: 16px;
  border-radius: var(--rpill);
  background: var(--ember);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-badge.show,
.side-badge.show,
.bot-tab-badge.show {
  display: inline-flex;
  animation: badge-pop .38s var(--spring);
}

@keyframes badge-pop {
  from {
    opacity: 0;
    transform: scale(.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.nav-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  padding: 0 3px;
  border: 2px solid var(--paper);
}

.mobile-search-btn {
  display: flex;
}

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

/* Sidebar */
#sidebar {
  width: var(--side-w);
  background: var(--white);
  border-right: 1px solid var(--line);
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
  gap: 4px;
  z-index: 80;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  #sidebar {
    display: flex;
  }
}

.side-item {
  width: 48px;
  height: 48px;
  border-radius: var(--r12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--subtle);
  position: relative;
  transition: background .25s var(--spring), transform .25s var(--spring), color .25s var(--ease);
}

.side-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  transition: transform .25s var(--spring);
}

.side-item:hover {
  background: var(--surf2);
  color: var(--ink3);
  transform: translateY(-1px);
}

.side-item.active {
  background: var(--ember-dim);
  color: var(--ember);
}

.side-label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.side-divider {
  width: 24px;
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}

.side-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 14px;
  height: 14px;
  font-size: 8px;
  padding: 0 2px;
}

/* Bottom nav */
#bot-nav {
  height: var(--bot-h);
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(250, 248, 245, .95);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 80;
  flex-shrink: 0;
  position: relative;
}

@media (min-width: 768px) {
  #bot-nav {
    display: none;
  }
}

.bot-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 2px;
  background: var(--ember);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 2px 12px rgba(200, 57, 10, .4);
  transition: transform .38s var(--spring);
}

.bot-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--subtle);
  position: relative;
  transition: color .25s var(--ease);
}

.bot-tab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  transition: transform .25s var(--spring);
}

.bot-account-avatar {
  width: 22px;
  height: 22px;
  font-size: 9px;
  transition: transform .25s var(--spring);
}

.bot-tab.active {
  color: var(--ember);
}

.bot-tab.active svg,
.bot-tab.active i,
.bot-tab.active .bot-account-avatar {
  transform: translateY(-2px) scale(1.1);
}

.bot-tab-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bot-tab-badge {
  position: absolute;
  top: 8px;
  right: calc(50% - 18px);
  min-width: 14px;
  height: 14px;
  font-size: 8px;
  padding: 0 2px;
  border: 2px solid var(--paper);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-pill,
.btn-inline {
  border-radius: var(--rpill);
  font-weight: 700;
  letter-spacing: .04em;
  transition: all .25s var(--spring);
}

.btn-primary,
.btn-secondary {
  height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: var(--sE);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-secondary:hover {
  background: var(--surf2);
}

#product-page-wishlist.active {
  border-color: var(--ember-border);
  color: var(--ember);
  background: rgba(200, 57, 10, .06);
}

#product-page-wishlist {
  width: 52px;
  padding: 0;
}

.btn-wish-icon {
  width: 18px;
  height: 18px;
  transition: transform .25s var(--spring), fill .25s var(--ease), stroke .25s var(--ease);
}

#product-page-wishlist.active .btn-wish-icon {
  stroke: var(--ember);
  fill: var(--ember);
  transform: scale(1.08);
}

.btn-bag-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.btn-inline:hover {
  color: var(--ember);
}

.btn-full {
  width: 100%;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink3);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r12);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.form-input,
.form-select {
  height: 46px;
  padding: 0 16px;
}

.form-textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(200, 57, 10, .06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-help {
  font-size: 11.5px;
  color: var(--subtle);
  margin-top: 6px;
}

.form-check,
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.form-check input,
.form-radio input {
  margin-top: 2px;
}

.form-error {
  display: none;
  margin-top: 5px;
  color: var(--danger-text);
  font-size: 11px;
}

.form-error.show {
  display: block;
}

/* Hero / homepage */
.hero-wrap {
  overflow: hidden;
  position: relative;
  background: var(--ink);
  flex-shrink: 0;
  height: 280px;
}

@media (min-width: 640px) {
  .hero-wrap {
    height: 360px;
  }
}

@media (min-width: 1024px) {
  .hero-wrap {
    height: 500px;
  }
}

.hero-rail {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-wrap:not(.is-enhanced) .hero-slide:not(:first-child) {
  display: none;
}

.hero-wrap.is-enhanced .hero-rail {
  display: block;
  position: relative;
}

.hero-wrap.is-enhanced .hero-slide {
  position: absolute;
  inset: 0;
  min-width: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
}

.hero-wrap.is-enhanced .hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .55s var(--ease);
}

.hero-slide.is-linkable {
  cursor: pointer;
}

.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.hero-slide.is-linkable .hero-content {
  pointer-events: none;
}

.hero-bg,
.hero-slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-media {
  background:
    radial-gradient(90% 120% at 82% 50%, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(120deg, #121821 0%, #1f2937 100%);
}

.hero-slide-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: var(--hero-image-fit, cover);
  object-position: var(--hero-image-position-desktop, center center);
}

@media (max-width: 767px) {
  .hero-slide-media img {
    object-position: var(--hero-image-position-mobile, var(--hero-image-position-desktop, center center));
  }
}

.hero-emoji-bg {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  font-size: clamp(120px, 22vw, 280px);
  opacity: .22;
  transition: transform 6s linear;
  line-height: 1;
  pointer-events: none;
}

.hero-slide:hover .hero-emoji-bg {
  transform: translateY(-50%) translateX(5%) rotate(-4deg) scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 9, 8, .88) 0%, rgba(10, 9, 8, .64) 36%, rgba(10, 9, 8, .2) 62%, rgba(10, 9, 8, 0) 100%);
}

@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 9, 8, .72) 0%, rgba(10, 9, 8, .48) 52%, rgba(10, 9, 8, .16) 100%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  max-width: 540px;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 40px 48px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 14px;
  background: var(--ember);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--rpill);
  animation: slide-up .6s var(--ease) .1s both;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  animation: slide-up .6s var(--ease) .2s both;
}

.hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
  margin-bottom: 22px;
  animation: slide-up .6s var(--ease) .3s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--rpill);
  align-self: flex-start;
  transition: all .25s var(--spring);
  animation: slide-up .6s var(--ease) .4s both;
}

.hero-cta:hover {
  background: var(--ember);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sE);
}

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

.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--rpill);
  border: 1.5px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .25s var(--ease);
  animation: slide-up .6s var(--ease) .45s both;
}

.hero-secondary-cta:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
}

.hero-counter {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 3;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, .4);
}

.hero-counter strong {
  color: rgba(255, 255, 255, .85);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-dot {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 7px !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  vertical-align: middle !important;
  background: rgba(255, 255, 255, .46) !important;
  background-clip: content-box !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  font-size: 0 !important;
  line-height: 0 !important;
  flex: 0 0 auto !important;
  transition: transform .28s var(--ease), opacity .28s var(--ease), background-color .28s var(--ease) !important;
}

.hero-dot::before {
  content: none !important;
}

.hero-dot.active {
  width: 20px !important;
  padding: 6px 1px !important;
  background: var(--white) !important;
  background-clip: content-box !important;
}

@media (max-width: 767px) {
  .hero-dots {
    gap: 8px;
  }

  .hero-dot {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    padding: 8px !important;
    background: rgba(255, 255, 255, .56) !important;
    background-clip: content-box !important;
  }

  .hero-dot.active {
    width: 24px !important;
    padding: 8px 4px !important;
    background: var(--white) !important;
    background-clip: content-box !important;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flash-banner {
  background: linear-gradient(135deg, #7c0f19 0%, #a51420 46%, #c61d2a 100%);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 40px rgba(124, 15, 25, .26);
  text-decoration: none;
}

.flash-banner::before {
  content: '';
  position: absolute;
  inset: auto auto -38px -26px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 188, .18) 0%, rgba(255, 224, 188, 0) 72%);
  pointer-events: none;
}

.flash-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .16) 46%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.flash-banner:hover {
  box-shadow: 0 18px 40px rgba(124, 15, 25, .26);
  border-color: rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, #7c0f19 0%, #a51420 46%, #c61d2a 100%);
}

.flash-bolt {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  color: #ffe4a8;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  animation: bolt-pulse .8s ease-in-out infinite alternate;
}

@keyframes bolt-pulse {
  from { transform: scale(.9) rotate(-5deg); }
  to { transform: scale(1.1) rotate(5deg); }
}

.flash-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flash-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 248, 242, .98);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.flash-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
}

.flash-timer {
  display: flex;
  gap: 6px;
  align-items: stretch;
  flex-shrink: 0;
  min-width: min(100%, 540px);
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 4px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.timer-unit.is-hidden {
  display: none;
}

.timer-num {
  display: block;
  min-width: 0;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.timer-lbl {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255, 243, 238, .78);
  white-space: nowrap;
}

.timer-colon {
  display: none;
}

.flash-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .88);
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}

.flash-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 980px) {
  .flash-banner {
    flex-wrap: wrap;
  }

  .flash-timer {
    min-width: 100%;
    order: 3;
    gap: 5px;
    flex-wrap: nowrap;
  }
}

@media (max-width: 560px) {
  .flash-banner {
    border-radius: 0;
    padding: 14px 14px 12px;
    gap: 10px;
  }

  .flash-bolt {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 21px;
  }

  .flash-label {
    min-height: 24px;
    padding: 4px 10px;
    font-size: 10px;
  }

  .flash-title {
    font-size: 18px;
  }

  .flash-timer {
    gap: 3px;
    flex-wrap: nowrap;
  }

  .timer-num {
    font-size: 18px;
  }

  .timer-lbl {
    font-size: 6px;
    letter-spacing: .03em;
  }

  .timer-unit {
    padding: 4px 2px;
    border-radius: 8px;
  }
}

.cat-strip,
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: none;
}

.cat-strip::-webkit-scrollbar,
.chip-row::-webkit-scrollbar {
  display: none;
}

.cat-pill,
.filter-chip,
.search-chip,
.sort-btn,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--rpill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  white-space: nowrap;
  transition: all .2s var(--ease);
}

.cat-pill:hover,
.filter-chip:hover,
.search-chip:hover,
.sort-btn:hover,
.chip:hover {
  border-color: var(--line2);
  color: var(--ink);
}

.cat-pill.active,
.filter-chip.active,
.search-chip.active,
.sort-btn.active,
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.pill-emoji {
  font-size: 15px;
  line-height: 1;
}

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

.product-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: start;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

@media (min-width: 1200px) {
  .product-grid--compact {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: start;
  }
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

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

@media (min-width: 1024px) {
  .product-grid:not(.product-grid--compact) {
    align-items: stretch;
  }

  .product-grid:not(.product-grid--compact) > * {
    min-width: 0;
    max-width: none;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .card-bottom {
    margin-top: auto;
  }
}

@media (min-width: 1760px) {
  .product-grid:not(.product-grid--compact) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--r16);
  overflow: hidden;
  border: 1.5px solid var(--line);
  transition: transform .38s var(--spring), box-shadow .38s var(--ease), border-color .25s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--s3);
  border-color: var(--line2);
}

.card-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.card-img:not(.has-image) {
  aspect-ratio: 1 / 1;
}

.card-img.has-image {
  background: var(--white);
}

.card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  box-sizing: border-box;
  padding: clamp(10px, 2.2vw, 14px);
  transition: transform .55s var(--ease);
}

.product-card:hover .card-emoji {
  transform: scale(1.04);
}

.card-emoji {
  font-size: clamp(44px, 10vw, 72px);
  transition: transform .55s var(--ease);
  line-height: 1;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--rpill);
}

.badge-sale { background: var(--ember); color: var(--white); }
.badge-new { background: var(--success-text); color: var(--white); }
.badge-hot { background: var(--gold); color: var(--white); }

.card-view {
  position: absolute;
  top: 50px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(250, 248, 245, .88);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}

.card-view:hover {
  transform: scale(1.12);
  background: var(--white);
  border-color: var(--line3);
}

.card-view svg {
  width: 15px;
  height: 15px;
  stroke: #3A3630;
  stroke-width: 1.8;
  fill: none;
  transition: all .25s var(--ease);
}

.card-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(250, 248, 245, .88);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}

.card-wish:hover {
  transform: scale(1.12);
  background: var(--white);
  border-color: var(--ember-border);
}

.card-wish.active {
  background: rgba(255, 255, 255, .53);
  border-color: var(--ember-border);
  color: var(--ember);
}

.card-wish svg {
  width: 15px;
  height: 15px;
  stroke: #3A3630;
  stroke-width: 1.8;
  fill: none;
  transition: all .25s var(--ease);
}

.card-wish.active svg {
  stroke: var(--ember);
  fill: var(--ember);
}

.card-body {
  padding: 12px 14px 14px;
}

.card-brand {
  display: block;
  min-height: 13px;
  line-height: 13px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-brand.is-empty {
  display: none;
  margin-bottom: 0;
  min-height: 0;
  line-height: 0;
}

.card-name {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.22;
  min-height: 2.44em;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 15px;
  margin-bottom: 8px;
}

.star-row {
  display: flex;
  gap: 1px;
  align-items: center;
}

.star-row svg {
  width: 12px;
  height: 12px;
  display: block;
}

.star-row .star-fill {
  fill: var(--gold);
}

.star-row .star-empty {
  fill: rgba(10, 9, 8, 0.18);
}

.star-row i {
  font-size: 10px;
  color: var(--gold);
}

.star-row i.is-empty {
  color: #E8E4DC;
}

.card-review-count {
  font-size: 10.5px;
  color: var(--subtle);
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.card-price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.card-compare {
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1.08px;
  text-decoration-color: rgba(122, 117, 110, 0.56);
  text-decoration-skip-ink: none;
}

.card-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--spring);
}

.card-add:hover {
  background: var(--ember);
  transform: scale(1.12) rotate(90deg);
  box-shadow: var(--sE);
}

.card-add svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}

.trend-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.trend-row::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .trend-row {
    gap: 16px;
  }
}

.mini-card {
  min-width: 140px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

@media (min-width: 768px) {
  .mini-card {
    min-width: 165px;
  }
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s2);
  border-color: var(--line2);
}

.mini-img {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s var(--ease);
}

.mini-img span {
  font-size: 42px;
  line-height: 1;
  transition: transform .38s var(--ease);
}

.mini-card:hover .mini-img span,
.mini-card:hover .mini-img img {
  transform: scale(1.06);
}

.mini-body {
  padding: 10px 12px 13px;
}

.mini-name {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 3px;
}

.mini-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ember);
}

.cat-grid,
.quick-grid,
.blog-grid,
.contact-grid,
.checkout-grid {
  display: grid;
  gap: 16px;
}

.contact-grid {
  align-items: start;
}

.shop-catalog-wrap {
  padding-top: 6px;
}

.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.shop-stage {
  padding-bottom: 6px;
}

.shop-stage .catalog-stage-bar {
  margin-top: 10px;
}

.catalog-stage {
  padding: 24px 20px 10px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .catalog-stage {
    padding: 28px 32px 12px;
  }
}

@media (min-width: 1200px) {
  .catalog-stage {
    padding-inline: 48px;
  }
}

.catalog-stage-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-stage-copy {
  display: grid;
  gap: 6px;
}

.catalog-stage-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
}

.catalog-stage-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.02;
  color: var(--ink);
}

.catalog-stage-sub {
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--subtle);
}

.catalog-stage-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
}

.catalog-stage-actions {
  display: none;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-stage-actions .chip,
.catalog-stage-actions .btn-inline {
  min-height: 34px;
}

.catalog-stage-bar {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-search-row {
  display: flex;
  position: relative;
  width: 100%;
  min-width: 0;
}

.shop-search-row > * {
  min-width: 0;
}

.shop-search-submit {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: transparent;
  color: var(--subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--spring);
}

.shop-search-submit svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.shop-search-submit:hover {
  color: var(--ink);
  background: var(--surf2);
}

.shop-search-submit:focus-visible {
  outline: 2px solid rgba(200, 57, 10, .28);
  outline-offset: 2px;
}

.shop-search-input {
  flex: 1;
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--rpill) 0 0 var(--rpill);
  background: var(--white);
  color: var(--ink);
  padding: 0 14px 0 46px;
  outline: none;
}

.shop-search-input:focus {
  border-color: var(--line2);
}

.shop-filter-btn {
  height: 46px;
  padding: 0 18px;
  border-radius: 0 var(--rpill) var(--rpill) 0;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .25s var(--ease);
}

.shop-filter-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.shop-filter-btn:hover {
  background: var(--ember);
}

.shop-count-sort {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  row-gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.shop-count {
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.5;
}

.shop-sort-form {
  margin-left: auto;
  margin-right: 6px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  justify-self: end;
  position: relative;
  z-index: 4;
}

body[data-page="shop"] .shop-sort-field {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

body[data-page="shop"] .shop-sort-label {
  font-size: 15px;
  font-weight: 800;
  color: #726c63;
  letter-spacing: -.01em;
  white-space: nowrap;
}

body[data-page="shop"] .shop-sort-select-wrap {
  position: relative;
  display: block;
  flex: 0 1 clamp(170px, 21vw, 212px);
  width: clamp(170px, 21vw, 212px);
  min-width: 170px;
  max-width: 212px;
  overflow: visible;
}

body[data-page="shop"] .shop-sort-trigger {
  display: none;
}

html.js body[data-page="shop"] .shop-sort-native {
  display: none;
}

html.js body[data-page="shop"] .shop-sort-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

body[data-page="shop"] .shop-sort-select,
body[data-page="shop"] .shop-sort-trigger {
  appearance: none;
  width: 100%;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1.5px solid rgba(10, 9, 8, .08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,240,235,.9));
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  box-shadow: 0 3px 8px rgba(10, 9, 8, .028), inset 0 1px 0 rgba(255,255,255,.75);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .24s var(--spring);
  cursor: pointer;
}

body[data-page="shop"] .shop-sort-trigger {
  border-style: solid;
}

body[data-page="shop"] .shop-sort-select:hover,
body[data-page="shop"] .shop-sort-trigger:hover {
  border-color: rgba(200, 57, 10, .2);
  box-shadow: 0 14px 28px rgba(10, 9, 8, .08), inset 0 1px 0 rgba(255,255,255,.84);
}

body[data-page="shop"] .shop-sort-select:focus,
body[data-page="shop"] .shop-sort-trigger:focus-visible,
body[data-page="shop"] .shop-sort-select-wrap.is-open .shop-sort-trigger {
  border-color: rgba(200, 57, 10, .28);
  box-shadow: 0 0 0 4px rgba(221, 90, 42, .08), 0 14px 30px rgba(10, 9, 8, .08);
}

body[data-page="shop"] .shop-sort-select-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 14px;
  height: 14px;
  color: var(--ink);
  transform: translateY(-50%);
  pointer-events: none;
  transition: color .22s var(--ease), transform .22s var(--spring);
}

body[data-page="shop"] .shop-sort-select-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

body[data-page="shop"] .shop-sort-select-wrap:hover .shop-sort-select-icon,
body[data-page="shop"] .shop-sort-select-wrap:focus-within .shop-sort-select-icon {
  color: var(--ember);
}

body[data-page="shop"] .shop-sort-select-wrap.is-open .shop-sort-select-icon {
  color: var(--ember);
  transform: translateY(-50%) rotate(180deg);
}

body[data-page="shop"] .shop-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: max-content;
  min-width: 100%;
  max-width: min(280px, calc(100vw - 24px));
  padding: 6px;
  border: 1px solid rgba(10, 9, 8, .08);
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 34px rgba(10, 9, 8, .12), 0 2px 10px rgba(10, 9, 8, .06);
  z-index: 30;
}

body[data-page="shop"] .shop-sort-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}

body[data-page="shop"] .shop-sort-option:hover,
body[data-page="shop"] .shop-sort-option:focus-visible {
  background: rgba(221, 90, 42, .08);
  color: var(--ember-deep);
  outline: none;
}

body[data-page="shop"] .shop-sort-option.is-selected {
  background: rgba(221, 90, 42, .12);
  color: var(--ember-deep);
}

body[data-page="shop"] .shop-sort-option-check {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

body[data-page="shop"] .shop-sort-option.is-selected .shop-sort-option-check {
  opacity: 1;
  transform: scale(1);
}

body[data-page="shop"] .shop-sort-option-check svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

body[data-page="shop"] .shop-sort-option-text {
  flex: 0 0 auto;
  min-width: auto;
  white-space: nowrap;
}

body[data-page="shop"] .shop-sort-submit {
  margin-left: 10px;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="shop"] .shop-sort-select,
  body[data-page="shop"] .shop-sort-trigger,
  body[data-page="shop"] .shop-sort-select-icon,
  body[data-page="shop"] .shop-sort-option,
  body[data-page="shop"] .shop-sort-option-check {
    transition: none;
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-grid > *,
.blog-grid > *,
.cat-grid > *,
.quick-grid > *,
.trend-row > * {
  opacity: 0;
  animation: card-in .5s var(--ease) both;
}

.product-grid > :nth-child(2),
.blog-grid > :nth-child(2),
.cat-grid > :nth-child(2),
.quick-grid > :nth-child(2),
.trend-row > :nth-child(2) {
  animation-delay: .05s;
}

.product-grid > :nth-child(3),
.blog-grid > :nth-child(3),
.cat-grid > :nth-child(3),
.quick-grid > :nth-child(3),
.trend-row > :nth-child(3) {
  animation-delay: .1s;
}

.product-grid > :nth-child(4),
.blog-grid > :nth-child(4),
.cat-grid > :nth-child(4),
.quick-grid > :nth-child(4),
.trend-row > :nth-child(4) {
  animation-delay: .15s;
}

.product-grid > :nth-child(5),
.blog-grid > :nth-child(5),
.cat-grid > :nth-child(5),
.quick-grid > :nth-child(5),
.trend-row > :nth-child(5) {
  animation-delay: .2s;
}

.product-grid > :nth-child(6),
.blog-grid > :nth-child(6),
.cat-grid > :nth-child(6),
.quick-grid > :nth-child(6),
.trend-row > :nth-child(6) {
  animation-delay: .25s;
}

.product-grid > :nth-child(7),
.blog-grid > :nth-child(7),
.cat-grid > :nth-child(7),
.quick-grid > :nth-child(7),
.trend-row > :nth-child(7) {
  animation-delay: .3s;
}

.product-grid > :nth-child(8),
.blog-grid > :nth-child(8),
.cat-grid > :nth-child(8),
.quick-grid > :nth-child(8),
.trend-row > :nth-child(8) {
  animation-delay: .35s;
}

.cat-grid {
  grid-template-columns: repeat(2, 1fr);
}

body[data-page="shop"] .shop-edge-grid {
  margin-inline: -20px;
  gap: 12px;
}

@media (min-width: 640px) {
  .cat-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .shop-catalog-wrap {
    padding-top: 12px;
  }

  .shop-stage {
    padding-bottom: 10px;
  }

  .contact-grid,
  .checkout-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  body[data-page="shop"] .shop-edge-grid {
    margin-inline: -32px;
    gap: 14px;
  }
}

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

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

@media (min-width: 1200px) {
  body[data-page="shop"] .shop-edge-grid {
    margin-inline: -48px;
    gap: 16px;
  }
}

.quick-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cat-card,
.blog-card,
.quick-tile,
.order-card,
.contact-form-card,
.contact-info-card,
.checkout-card,
.auth-card,
.mini-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r16);
}

.cat-card {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  transition: transform .38s var(--spring);
}

.mini-card {
  border-radius: var(--r12);
}

.cat-card:hover {
  transform: scale(1.02);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 0;
}

.cat-card-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cat-card-emoji {
  position: relative;
  z-index: 0;
  font-size: 60px;
  transition: transform .55s var(--ease), opacity .25s var(--ease);
}

.cat-card-bg.has-image .cat-card-emoji {
  opacity: 0;
}

.cat-card-bg.is-fallback .cat-card-emoji {
  opacity: 1;
}

.cat-card:hover .cat-card-emoji {
  transform: scale(1.06);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 8, .72) 0%, rgba(10, 9, 8, .1) 60%, transparent 100%);
  z-index: 2;
}

.cat-card-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 3;
}

.cat-card-name {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--white);
}

.cat-card-count {
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}

.blog-card {
  overflow: hidden;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--s3);
}

.blog-img,
.blog-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surf2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-img img,
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.blog-card:hover .blog-img img,
.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-img .cat-card-emoji,
.blog-card-img .cat-card-emoji {
  font-size: clamp(48px, 8vw, 82px);
}

.blog-body,
.blog-card-body {
  padding: 20px;
}

.blog-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}

.blog-title,
.blog-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-excerpt,
.blog-card-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-meta,
.blog-card-date {
  font-size: 11px;
  color: var(--subtle);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: 11px;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surf2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  font-size: 10px;
  font-weight: 700;
}

.auth-wrap,
.auth-stage {
  min-height: calc(100dvh - var(--nav-h) - var(--bar-h));
  padding: clamp(20px, 5vw, 44px) 14px;
  background:
    radial-gradient(circle at top left, rgba(200, 57, 10, .08), transparent 26%),
    radial-gradient(circle at bottom right, rgba(20, 24, 31, .06), transparent 28%),
    linear-gradient(180deg, #f5f2eb 0%, #ece8df 100%);
}

@media (min-width: 768px) {
  body[data-page="login"] #bot-nav,
  body[data-page="register"] #bot-nav,
  body[data-page="forgot-password"] #bot-nav,
  body[data-page="reset-password"] #bot-nav {
    display: none;
  }

  body[data-page="login"] .auth-stage,
  body[data-page="register"] .auth-stage,
  body[data-page="forgot-password"] .auth-stage,
  body[data-page="reset-password"] .auth-stage {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 8px;
  }
}

.auth-shell {
  width: min(100%, 940px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.auth-shell--compact {
  width: min(100%, 900px);
}

.auth-shell--single {
  width: min(100%, 620px);
  grid-template-columns: minmax(0, 1fr);
}

.auth-shell--wide {
  width: min(100%, 1020px);
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
}

.auth-story {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 24px 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .14), transparent 32%),
    linear-gradient(180deg, #171412 0%, #2b221b 100%);
  color: #f3ede5;
  box-shadow: 0 18px 42px rgba(10, 9, 8, .14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

.auth-story::before,
.auth-story::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.auth-story::before {
  width: 240px;
  height: 240px;
  right: -96px;
  top: -104px;
  background: rgba(200, 57, 10, .16);
}

.auth-story::after {
  width: 180px;
  height: 180px;
  left: -84px;
  bottom: -70px;
  background: rgba(255, 255, 255, .06);
}

.auth-story > * {
  position: relative;
  z-index: 1;
}

.auth-story-top {
  display: grid;
  gap: 10px;
}

.auth-story-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(243, 237, 229, .56);
}

.auth-story-brand {
  display: flex;
  align-items: center;
}

.auth-story-brand-type {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 54px);
  font-style: italic;
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.03em;
}

.auth-story-brand-logo {
  min-height: 52px;
}

.auth-story-brand-logo img {
  width: auto;
  max-width: 180px;
  max-height: 52px;
  object-fit: contain;
  opacity: .98;
}

.auth-story-copy {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
  max-width: 29ch;
}

.auth-story-points {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.auth-story-point {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.5;
}

.auth-story-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(200, 57, 10, .9);
  box-shadow: 0 0 0 4px rgba(200, 57, 10, .18);
}

.auth-story-grid {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.auth-story-chip {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 4px;
}

.auth-story-chip-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(243, 237, 229, .52);
}

.auth-story-chip-value {
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.auth-story-chip a.auth-story-chip-value:hover {
  color: rgba(255, 255, 255, .82);
}

.auth-card {
  width: auto;
  min-width: 0;
  padding: clamp(24px, 4vw, 30px);
  border-radius: 30px;
  border: 1px solid rgba(10, 9, 8, .08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(10, 9, 8, .08);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, rgba(200, 57, 10, .92), rgba(230, 140, 48, .82));
}

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

.auth-card--wide,
.auth-card--compact {
  width: auto;
}

.auth-card-header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  justify-items: center;
  text-align: center;
}

.auth-card-header--bare {
  gap: 0;
  margin-bottom: 14px;
}

.auth-card-header--center .auth-sub {
  max-width: 34ch;
}

.auth-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0;
}

.auth-sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 30ch;
}

.auth-form {
  gap: 14px;
}

.auth-card .alert,
.auth-note {
  margin-bottom: 12px;
}

.auth-note {
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8f4ee 0%, #f2ece4 100%);
  border: 1px solid rgba(10, 9, 8, .07);
  color: var(--ink3);
  font-size: 12.5px;
  line-height: 1.55;
}

.auth-note strong {
  color: var(--ink);
}

.auth-card .form-group {
  margin-bottom: 0;
}

.auth-card .form-label {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-card .form-input,
.auth-card .form-select {
  height: 52px;
  padding: 0 16px;
  border-radius: 17px;
  border-color: rgba(10, 9, 8, .08);
  background: #faf8f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74);
}

.auth-card .form-input::placeholder {
  color: var(--subtle);
}

.auth-card .form-input:focus,
.auth-card .form-select:focus,
.auth-card .form-textarea:focus {
  border-color: rgba(10, 9, 8, .16);
  box-shadow: 0 0 0 3px rgba(200, 57, 10, .08);
  background: var(--white);
}

.auth-card .form-check {
  padding-top: 2px;
  color: var(--muted);
}

.auth-card .form-check a {
  color: var(--ember);
  font-weight: 700;
}

.auth-card .btn-primary,
.auth-card .btn-secondary {
  height: 52px;
  border-radius: 18px;
}

.auth-primary-action {
  margin-top: 2px;
}

.auth-actions-stack {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.auth-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.auth-link {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.auth-link a {
  color: var(--ember);
  font-weight: 600;
}

.auth-link a:hover {
  color: var(--ember2);
}

.auth-assist {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  color: var(--subtle);
  line-height: 1.45;
}

.auth-assist a {
  color: var(--ink);
  font-weight: 600;
}

.auth-assist a:hover {
  color: var(--ember);
}

/* ── Social / OAuth login ── */
.auth-social-section {
  margin-bottom: 4px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid rgba(10, 9, 8, .12);
  background: #fff;
  color: var(--ink);
  transition: all .22s var(--spring);
  position: relative;
}

.btn-social:hover {
  border-color: rgba(10, 9, 8, .2);
  background: #faf8f4;
  box-shadow: 0 4px 14px rgba(10, 9, 8, .06);
}

.btn-social:active {
  transform: scale(.985);
}

.btn-social:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn-social-icon {
  flex-shrink: 0;
}

.btn-social--loading span {
  visibility: hidden;
}

.btn-social--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(10, 9, 8, .12);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: authSpin .7s linear infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

.btn-google:hover {
  border-color: rgba(66, 133, 244, .3);
  box-shadow: 0 4px 16px rgba(66, 133, 244, .1);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-divider-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
  white-space: nowrap;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px;
  gap: 12px;
}

.empty-icon,
.empty-state-icon {
  font-size: 48px;
  opacity: .3;
}

.empty-sub {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.6;
  max-width: 320px;
}

.empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--rpill);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: all .25s var(--spring);
}

.empty-panel {
  max-width: 640px;
  margin: 0 auto;
}

.empty-panel.empty-panel--wide {
  max-width: 760px;
}

.empty-panel .empty-state {
  min-height: 280px;
  padding: 42px 28px;
}

.empty-state.empty-state--compact {
  min-height: 0;
  padding: 28px 20px;
  gap: 10px;
}

.curated-shelf {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.empty-btn:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: var(--sE);
}

@media (min-width: 768px) {
  .auth-assist {
    display: none;
  }
}

@media (max-width: 767px) {
  .auth-wrap,
  .auth-stage {
    padding: 16px 10px 28px;
  }

  .auth-shell,
  .auth-shell--compact,
  .auth-shell--wide {
    width: min(100%, 520px);
    grid-template-columns: 1fr;
  }

  .auth-story {
    display: none;
  }

  .auth-card,
  .auth-card--wide,
  .auth-card--compact {
    width: 100%;
    padding: 22px 16px 18px;
    border-radius: 24px;
  }

  .auth-card::before {
    height: 6px;
  }

  .auth-title {
    font-size: 26px;
  }

  .auth-sub {
    font-size: 12.5px;
  }
}

/* Auth premium refresh */
@keyframes auth-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-glow-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-10px, 10px, 0) scale(1.05);
  }
}

@keyframes auth-sheen-pass {
  from {
    transform: translateX(-140%);
  }
  to {
    transform: translateX(140%);
  }
}

.auth-stage {
  padding: clamp(20px, 3vw, 34px) 14px;
  background:
    radial-gradient(circle at 10% 12%, rgba(200, 57, 10, .09), transparent 20%),
    radial-gradient(circle at 86% 14%, rgba(36, 46, 78, .08), transparent 22%),
    linear-gradient(180deg, #f7f3ec 0%, #eee7dd 100%);
}

.auth-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.auth-shell--compact {
  width: min(100%, 1000px);
}

.auth-shell--wide {
  width: min(100%, 1140px);
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
}

.auth-shell--single {
  width: min(100%, 760px);
  grid-template-columns: minmax(0, 1fr);
}

.auth-story {
  position: relative;
  min-height: 560px;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(160deg, #0f0d0c 0%, #181411 32%, #251912 68%, #341b10 100%);
  box-shadow: 0 30px 72px rgba(10, 9, 8, .2);
  color: #f4eee7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: auth-fade-up .6s var(--ease) both;
}

.auth-story::before,
.auth-story::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.auth-story::before {
  width: 260px;
  height: 260px;
  top: -110px;
  right: -90px;
  background: radial-gradient(circle, rgba(200, 57, 10, .38) 0%, rgba(200, 57, 10, .1) 48%, transparent 72%);
  animation: auth-glow-drift 9s ease-in-out infinite;
}

.auth-story::after {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .03) 48%, transparent 72%);
  animation: auth-glow-drift 11s ease-in-out infinite reverse;
}

.auth-story > * {
  position: relative;
  z-index: 1;
}

.auth-story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auth-story-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(244, 238, 231, .54);
}

.auth-story-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.auth-story-top {
  display: grid;
  gap: 16px;
  padding-top: 24px;
}

.auth-story-brand-block {
  display: grid;
  gap: 10px;
}

.auth-story-brand {
  display: flex;
  align-items: center;
}

.auth-story-brand-type {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  font-style: italic;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.03em;
}

.auth-story-brand-logo {
  min-height: 42px;
}

.auth-story-brand-logo img {
  width: auto;
  max-width: 190px;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .18));
}

.auth-story-tagline {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244, 238, 231, .42);
}

.auth-story-copy {
  margin: 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .84);
}

.auth-story-points {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.auth-story-point-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .78);
  font-size: 12.5px;
  line-height: 1.65;
}

.auth-story-point-dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(200, 57, 10, .16);
  flex: none;
}

.auth-story-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.auth-story-support-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
}

.auth-story-support-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  flex: none;
}

.auth-story-support-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
}

.auth-story-support-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.auth-story-support-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 238, 231, .44);
}

.auth-story-support-value {
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}

.auth-story-support a.auth-story-support-value:hover {
  color: rgba(255, 255, 255, .82);
}

.auth-card {
  width: auto;
  min-width: 0;
  min-height: 560px;
  padding: clamp(30px, 4vw, 38px);
  border-radius: 32px;
  border: 1px solid rgba(10, 9, 8, .08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .88) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 26px 60px rgba(10, 9, 8, .08);
  position: relative;
  overflow: hidden;
  animation: auth-fade-up .6s var(--ease) both;
  animation-delay: .05s;
}

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

.auth-card::after {
  content: '';
  position: absolute;
  inset: auto -15% 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 57, 10, .08) 0%, rgba(200, 57, 10, .03) 48%, transparent 74%);
  pointer-events: none;
}

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

.auth-card--wide,
.auth-card--compact {
  width: auto;
}

.auth-card-header,
.auth-card-header--bare {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(200, 57, 10, .08);
  border: 1px solid rgba(200, 57, 10, .12);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
}

.auth-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 54px);
  font-style: italic;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 0;
}

.auth-sub {
  margin: 0;
  max-width: 38ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.auth-form {
  gap: 14px;
}

.auth-card .alert,
.auth-note {
  margin-bottom: 12px;
}

.auth-note {
  padding: 14px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, #faf6ef 0%, #f3ece2 100%);
  border: 1px solid rgba(10, 9, 8, .08);
  color: var(--ink3);
  font-size: 12.5px;
  line-height: 1.6;
}

.auth-note strong {
  color: var(--ink);
}

.auth-card .form-group {
  margin-bottom: 0;
}

.auth-card .form-row {
  gap: 12px;
}

.auth-card .form-label {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-card .form-input,
.auth-card .form-select {
  height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(10, 9, 8, .09);
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.auth-card .form-input::placeholder,
.auth-card .form-select::placeholder {
  color: var(--subtle);
}

.auth-card .form-input:focus,
.auth-card .form-select:focus,
.auth-card .form-textarea:focus {
  border-color: rgba(200, 57, 10, .22);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 57, 10, .08);
}

.auth-card .form-check {
  padding-top: 4px;
  color: var(--muted);
}

.auth-card .form-check a {
  color: var(--ember);
  font-weight: 700;
}

.auth-card .btn-primary,
.auth-card .btn-secondary {
  height: 56px;
  border-radius: 18px;
}

.auth-card .btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #100f0e 0%, #221915 46%, #4a2817 100%);
  box-shadow: 0 16px 32px rgba(10, 9, 8, .14);
}

.auth-card .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -20%;
  width: 36%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .18) 50%, transparent 100%);
  opacity: 0;
}

.auth-card .btn-primary:hover {
  background: linear-gradient(135deg, #151311 0%, #4d2817 44%, #c8390a 100%);
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(200, 57, 10, .18);
}

.auth-card .btn-primary:hover::after {
  opacity: 1;
  animation: auth-sheen-pass .8s ease forwards;
}

.auth-card .btn-secondary {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(10, 9, 8, .09);
  color: var(--ink);
}

.auth-card .btn-secondary:hover {
  background: #fff8f3;
  border-color: rgba(200, 57, 10, .18);
  color: var(--ember);
}

.auth-primary-action {
  margin-top: 2px;
}

.auth-actions-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.auth-links {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 9, 8, .08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
}

.auth-link {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-link a {
  color: var(--ember);
  font-weight: 700;
}

.auth-link a:hover {
  color: var(--ember2);
}

.auth-assist {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--subtle);
  line-height: 1.5;
}

.auth-assist a {
  color: var(--ink);
  font-weight: 600;
}

.auth-assist a:hover {
  color: var(--ember);
}

@media (min-width: 768px) {
  .auth-shell:not(.auth-shell--single) .auth-assist {
    display: none;
  }

  .auth-shell--single .auth-assist {
    display: block;
  }
}

@media (max-width: 767px) {
  .auth-stage {
    padding: 12px 10px 24px;
  }

  .auth-shell,
  .auth-shell--compact,
  .auth-shell--wide,
  .auth-shell--single {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-story {
    display: none;
  }

  .auth-card,
  .auth-card--wide,
  .auth-card--compact {
    min-height: 0;
    padding: 22px 16px 18px;
    border-radius: 26px;
  }

  .auth-card-header,
  .auth-card-header--bare {
    justify-items: center;
    text-align: center;
    margin-bottom: 16px;
  }

  .auth-title {
    font-size: 34px;
  }

  .auth-sub {
    font-size: 12.5px;
    max-width: 28ch;
  }

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

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

  .auth-links,
  .auth-assist {
    justify-content: center;
    text-align: center;
  }
}

.faq-list {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r16);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s var(--ease);
}

.faq-a-inner {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 600px;
}

.faq-toggle {
  color: var(--muted);
  transition: transform .25s var(--ease), color .25s var(--ease);
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  color: var(--ember);
}

.contact-info,
.settings-group {
  display: grid;
  gap: 16px;
}

.contact-info-card,
.contact-form-card,
.checkout-card {
  padding: 24px;
}

.contact-info-icon,
.settings-icon,
.quick-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-info-icon svg,
.settings-icon svg,
.quick-icon svg,
.trust-icon svg,
.loyalty-lbl svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.contact-info-title,
.settings-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact-info-text,
.settings-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-story {
  display: grid;
  gap: 22px;
}

.feature-story-media,
.feature-story-copy {
  min-width: 0;
}

.feature-story-copy {
  display: grid;
  align-content: end;
  gap: 14px;
}

@media (min-width: 768px) {
  .feature-story {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: stretch;
  }
}

.checkout-grid {
  align-items: start;
}

.checkout-section-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 18px;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-summary-item:last-child {
  border-bottom: none;
}

.order-summary-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.order-summary-qty {
  font-size: 11.5px;
  color: var(--subtle);
  margin-top: 2px;
}

.order-summary-price {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
  color: var(--muted);
}

.summary-row .val {
  color: var(--ink);
  font-weight: 600;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.summary-total-row .total-v {
  font-family: var(--serif);
  font-size: 22px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r12);
  margin-bottom: 10px;
  transition: all .15s var(--ease);
  cursor: pointer;
}

.payment-option:hover {
  border-color: var(--line2);
  background: var(--surf2);
}

.payment-option.selected {
  border-color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, var(--surf2) 100%);
  box-shadow: inset 0 0 0 1px rgba(10, 9, 8, .04), 0 10px 22px rgba(10, 9, 8, .055);
}

.payment-option.is-disabled {
  opacity: .58;
  cursor: not-allowed;
}

.payment-option.is-disabled:hover,
.payment-option.is-disabled.selected {
  border-color: var(--line);
  background: var(--white);
}

.payment-option-brand {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(21, 28, 38, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.payment-option-brand img {
  max-width: 34px;
  max-height: 28px;
  width: auto;
  height: auto;
  display: block;
}

.payment-option-copy {
  display: block;
  min-width: 0;
}

.payment-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.account-hero {
  background: var(--ink);
  padding: 28px 24px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .account-hero {
    padding: 34px 36px 0;
  }
}

.account-blob-1,
.account-blob-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.account-blob-1 {
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 57, 10, .15) 0%, transparent 70%);
}

.account-blob-2 {
  left: -60px;
  bottom: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, .03) 0%, transparent 70%);
}

.account-avatar-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.account-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--ember3));
  color: var(--white);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, .12);
  box-shadow: 0 4px 24px rgba(200, 57, 10, .35);
  flex-shrink: 0;
}

.account-info {
  flex: 1;
  padding-bottom: 4px;
}

.account-name {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.account-email {
  margin-top: 3px;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  background: rgba(212, 160, 23, .15);
  border: 1px solid rgba(212, 160, 23, .30);
  color: var(--gold-t);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--rpill);
}

.account-edit-btn {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-edit-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.stats-bar {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.stat-tab {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  position: relative;
}

.stat-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .38s var(--spring);
}

.stat-tab.active::after {
  transform: scaleX(1);
}

.stat-val {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}

.stat-lbl {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.loyalty-card {
  margin: 0;
  padding: 18px 20px;
}

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

.loyalty-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.loyalty-pts {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.loyalty-bar-outer {
  height: 6px;
  background: var(--surf2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.loyalty-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  border-radius: 3px;
  transition: width 1.2s var(--ease);
}

.loyalty-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--subtle);
}

.loyalty-foot-right {
  color: var(--ink3);
  font-weight: 600;
}

.quick-tile {
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: all .25s var(--spring);
}

.quick-tile:hover {
  border-color: var(--line2);
  transform: translateY(-2px);
  box-shadow: var(--s1);
}

.quick-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink3);
  line-height: 1.3;
  letter-spacing: .03em;
}

.order-card {
  padding: 16px 18px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.order-card:hover {
  border-color: var(--line2);
  box-shadow: var(--s1);
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.order-id {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.order-thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.order-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--r8);
  border: 1.5px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-thumb-fallback {
  font-family: var(--ui), "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 20px;
  font-style: normal;
  line-height: 1;
  color: var(--ink);
}

.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-meta {
  font-size: 11.5px;
  color: var(--subtle);
}

.order-action {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ember);
}

.settings-group-lbl {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 4px 2px 8px;
}

.settings-list {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r16);
  overflow: hidden;
}

.settings-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  transition: background .15s var(--ease);
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row:hover {
  background: var(--surf2);
}

.settings-row.active {
  background: var(--ember-dim);
}

.settings-row-button {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.settings-arr {
  margin-left: auto;
  color: var(--ghost);
}

.settings-arr svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.9;
}

.live-chip {
  font-size: 10px;
  font-weight: 700;
  background: var(--ember-dim);
  color: var(--ember);
  padding: 2px 8px;
  border-radius: var(--rpill);
}

.toggle-sw {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #E0DDD8;
  position: relative;
  flex-shrink: 0;
}

.toggle-sw.on {
  background: var(--ember);
}

.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: transform .25s var(--spring);
}

.toggle-sw.on .toggle-knob {
  transform: translateX(18px);
}

.account-mobile-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.account-mobile-nav::-webkit-scrollbar {
  display: none;
}

.account-mobile-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: var(--rpill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.account-mobile-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.account-mobile-link.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.account-mobile-only {
  display: block;
}

.account-desktop-only {
  display: none;
}

.account-dashboard-grid,
.account-main,
.account-sidebar-stack {
  display: grid;
  gap: 18px;
}

.account-nav-link-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account-nav-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surf2);
  color: var(--muted);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--spring);
  flex: none;
}

.account-nav-link-svg,
.account-nav-link-arrow-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.account-nav-link-arrow {
  color: var(--ghost);
  transition: transform .2s var(--spring), color .2s var(--ease);
}

.account-nav-link:hover .account-nav-link-icon,
.account-nav-link.active .account-nav-link-icon {
  background: var(--ember-dim);
  color: var(--ember);
  transform: translateY(-1px);
}

.account-nav-link:hover .account-nav-link-arrow,
.account-nav-link.active .account-nav-link-arrow {
  color: var(--ember);
  transform: translateX(2px);
}

.account-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r16);
}

.account-content-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .account-mobile-only {
    display: none !important;
  }

  .account-desktop-only {
    display: block !important;
  }

  .account-dashboard-grid {
    grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
    align-items: start;
  }

  .account-sidebar {
    position: sticky;
    top: calc(var(--bar-h) + var(--nav-h) + 18px);
  }

  .account-main {
    min-width: 0;
  }
}

.account-dashboard-page {
  padding-top: 16px;
  padding-bottom: 24px;
}

.account-layout-new,
.account-rail,
.account-main-new {
  display: grid;
  gap: 16px;
}

.account-main-new {
  min-width: 0;
}

.account-rail-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
}

.content-card.account-profile-card,
.content-card.account-links-card,
.content-card.account-points-card,
.content-card.account-mobile-points-card,
.content-card.account-overview-card,
.content-card.account-quick-card,
.content-card.account-alert-card,
.content-card.account-orders-card,
.content-card.account-form-card,
.content-card.account-address-card,
.content-card.account-support-card {
  padding: 20px;
}

.content-card.account-profile-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(200, 57, 10, .18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, .08), transparent 28%),
    linear-gradient(145deg, #0c0a09 0%, #181513 58%, #241d18 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: var(--s3);
}

.account-profile-card::after {
  content: '';
  position: absolute;
  inset: auto -54px -64px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 68%);
  pointer-events: none;
}

.account-profile-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-profile-card .account-avatar {
  width: 72px;
  height: 72px;
  font-size: 26px;
  box-shadow: 0 12px 30px rgba(200, 57, 10, .28);
}

.account-profile-card .account-edit-btn {
  margin-bottom: 0;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
}

.account-profile-card .account-edit-btn:hover {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(255, 255, 255, .96);
  color: var(--ink);
}

.account-profile-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.account-profile-card .account-rail-kicker {
  color: rgba(255, 255, 255, .56);
}

.account-profile-card .account-name {
  color: var(--white);
  line-height: 1;
}

.account-profile-card .account-email {
  color: rgba(255, 255, 255, .52);
}

.account-profile-card .tier-badge {
  margin-top: 2px;
}

.account-links-list {
  display: grid;
  gap: 10px;
}

.account-link-form {
  margin: 0;
}

.account-link-tile,
.account-link-tile-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surf2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: transform .25s var(--spring), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}

.account-link-tile-button {
  cursor: pointer;
  font: inherit;
}

.account-link-tile:hover,
.account-link-tile-button:hover {
  transform: translateY(-1px);
  background: var(--white);
  border-color: var(--line2);
  box-shadow: var(--s1);
}

.account-link-tile.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: var(--s2);
}

.account-link-tile-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.account-link-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s var(--spring), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.account-link-tile:hover .account-link-tile-icon,
.account-link-tile-button:hover .account-link-tile-icon {
  background: var(--ember-dim);
  border-color: rgba(200, 57, 10, .16);
  color: var(--ember);
  transform: translateY(-1px);
}

.account-link-tile.active .account-link-tile-icon {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .08);
  color: var(--white);
}

.account-link-tile-svg,
.account-link-tile-arrow-svg,
.account-metric-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.account-link-tile-arrow {
  color: var(--ghost);
  transition: transform .25s var(--spring), color .25s var(--ease);
}

.account-link-tile:hover .account-link-tile-arrow,
.account-link-tile-button:hover .account-link-tile-arrow {
  color: var(--ember);
  transform: translateX(2px);
}

.account-link-tile.active .account-link-tile-arrow {
  color: rgba(255, 255, 255, .7);
}

.account-link-tile-button .account-link-tile-icon {
  color: var(--ember);
  background: var(--ember-dim);
  border-color: rgba(200, 57, 10, .16);
}

.content-card.account-points-card,
.content-card.account-mobile-points-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, var(--surf2) 100%);
}

.account-points-card {
  display: none;
}

.account-points-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-points-tier-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 10px;
  font-size: 11.5px;
  color: var(--subtle);
}

.account-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.account-overview-title {
  font-size: clamp(28px, 4vw, 38px);
}

.account-overview-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.account-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.account-metric-card {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--white) 0%, var(--surf2) 100%);
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.account-metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--line2);
  box-shadow: var(--s1);
}

.account-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-metric-card:nth-child(2) .account-metric-icon {
  background: var(--ember-dim);
  color: var(--ember);
}

.account-metric-card:nth-child(3) .account-metric-icon {
  background: rgba(212, 160, 23, .16);
  color: var(--gold-t);
}

.account-metric-value {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.account-metric-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
}

.account-quick-grid,
.account-alert-stack,
.account-orders-stack,
.account-form-stack,
.account-address-list {
  margin-top: 18px;
}

.account-detail-grid {
  align-items: start;
}

.account-form-card,
.account-address-card {
  scroll-margin-top: calc(var(--bar-h) + var(--nav-h) + 24px);
}

.account-form-note {
  margin-top: 8px;
}

.account-orders-empty {
  margin-top: 18px;
}

.account-address-card .settings-list {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.account-address-card .settings-row {
  padding: 16px 0;
}

.account-address-card .settings-row:first-child {
  padding-top: 0;
}

.account-address-card .settings-row:last-child {
  padding-bottom: 0;
}

.account-support-card {
  display: grid;
  gap: 18px;
}

.account-support-list {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .account-dashboard-page {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .account-layout-new,
  .account-rail,
  .account-main-new {
    gap: 18px;
  }

  .account-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-support-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .account-layout-new {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    align-items: start;
  }

  .account-rail {
    position: sticky;
    top: calc(var(--bar-h) + var(--nav-h) + 18px);
    align-content: start;
  }

  .account-points-card {
    display: block;
  }

  .account-mobile-points-card {
    display: none;
  }
}

/* Drawers / overlays */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 9, 8, .4);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s var(--ease);
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#image-preview-overlay {
  z-index: 420;
  background: rgba(10, 9, 8, .72);
  backdrop-filter: blur(10px);
}

#image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 421;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), visibility 0s linear .22s;
}

#image-preview-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.image-preview-panel {
  width: min(980px, 100%);
  max-height: min(92dvh, 92vh);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.image-preview-panel img {
  max-width: 100%;
  max-height: min(92dvh, 92vh);
  object-fit: contain;
  border-radius: var(--r24);
  box-shadow: var(--s4);
  background: transparent;
  display: block;
}

.image-preview-close {
  position: fixed;
  top: calc(var(--bar-h) + 14px);
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .24);
  background: rgba(10, 9, 8, .6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

.image-preview-close:hover {
  filter: brightness(1.05);
}

#account-menu {
  position: fixed;
  top: 84px;
  right: 18px;
  width: min(340px, calc(100vw - 24px));
  max-height: min(78vh, 720px);
  z-index: 302;
  background: rgba(250, 248, 245, .98);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--s4);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(.98);
  transform-origin: top right;
  transition: opacity .24s var(--ease), transform .34s var(--spring), visibility 0s linear .34s;
}

#account-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.account-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.account-menu-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-menu-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ember), var(--ember2));
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(200, 57, 10, .18);
}

.account-menu-avatar.has-image {
  background: var(--surf2);
  color: transparent;
}

.account-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-menu-user-copy {
  min-width: 0;
}

.account-menu-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.account-menu-email {
  margin-top: 4px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
  background: var(--surf2);
  border: 1px solid var(--line2);
  flex-shrink: 0;
  transition: background .2s var(--ease), color .2s var(--ease), transform .25s var(--spring);
}

.account-menu-close:hover {
  background: var(--surf3);
  color: var(--ink);
  transform: scale(1.04);
}

.account-menu-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.account-menu-section {
  display: grid;
  gap: 8px;
}

.account-menu-label {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 4px;
}

.account-menu-list,
.account-menu-signout {
  display: grid;
  gap: 6px;
}

.account-menu-link {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .25s var(--spring), box-shadow .2s var(--ease), color .2s var(--ease);
}

.account-menu-link:hover {
  background: var(--surf2);
  border-color: var(--line2);
  transform: translateY(-1px);
  box-shadow: var(--s1);
}

.account-menu-link.is-danger {
  color: var(--ember);
}

.account-menu-link.is-danger:hover {
  background: rgba(200, 57, 10, .06);
  border-color: rgba(200, 57, 10, .18);
}

.account-menu-link-icon,
.account-menu-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}

.account-menu-link-icon {
  width: 20px;
  height: 20px;
}

.account-menu-link-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--subtle);
}

.account-menu-link svg,
.account-menu-link-icon svg,
.account-menu-link-arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}

.account-menu-link-copy {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
}

#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--white);
  border-left: 1px solid var(--line);
  z-index: 301;
  display: flex;
  flex-direction: column;
  box-shadow: var(--s4);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .38s var(--ease), visibility 0s linear .38s;
}

#cart-drawer.open {
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surf2);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}

.drawer-close:hover {
  background: var(--ink);
  color: var(--white);
}

.drawer-close svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 8px;
}

.cart-body.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(200, 57, 10, .08), transparent 38%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
}

.cart-empty {
  width: 100%;
  max-width: 320px;
  padding: 28px 24px;
  border: 1.5px solid var(--line);
  border-radius: var(--r24);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--s2);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-empty-visual {
  display: flex;
  justify-content: center;
}

.cart-empty-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(200, 57, 10, .10));
  border: 1.5px solid var(--ember-border);
  box-shadow: 0 14px 32px rgba(200, 57, 10, .12);
}

.cart-empty-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty-title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
}

.cart-empty-sub {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 260px;
  margin: 0 auto;
}

.cart-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty-actions .btn-primary,
.cart-empty-actions .btn-secondary {
  width: 100%;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-item-img {
  width: 72px;
  height: 72px;
  padding: 7px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(200, 57, 10, .12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 242, 237, .92));
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.cart-item-emoji {
  font-size: 28px;
  line-height: 1;
}

.cart-item-info,
.cart-item-copy {
  min-width: 0;
}

.cart-item-info {
  display: grid;
  gap: 10px;
  padding-top: 1px;
}

.cart-item-copy {
  display: grid;
  gap: 3px;
}

.cart-item-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.cart-item-brand {
  font-size: 12px;
  color: var(--subtle);
}

.cart-item-price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--rpill);
  border: 1.5px solid var(--line);
  background: var(--surf2);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
  transition: all .25s var(--ease);
}

.qty-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.qty-num {
  min-width: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.cart-remove-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
  flex: 0 0 auto;
}

.cart-remove-btn:hover {
  color: #b42318;
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  background: var(--paper);
}

.cart-footer.is-empty {
  display: none;
}

.cart-summary-row,
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-summary-row {
  padding: 4px 0;
  font-size: 13px;
  color: var(--muted);
}

.cart-summary-row .val {
  font-weight: 600;
  color: var(--ink);
}

.cart-total-row {
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.cart-total-row .total-val {
  font-family: var(--serif);
  font-size: 22px;
}

.checkout-btn {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border-radius: var(--rpill);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: all .25s var(--spring);
}

.checkout-btn:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: var(--sE);
}

.cart-footer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.cart-footer-actions .btn-inline,
.cart-clear-btn {
  min-height: 44px;
  padding: 0 14px;
  justify-content: center;
  border: 1.5px solid var(--line);
  background: var(--surf2);
  color: var(--ink3);
}

.cart-footer-actions .cart-clear-btn {
  cursor: pointer;
  color: #b42318;
  border-color: rgba(180, 35, 24, .24);
  background: rgba(180, 35, 24, .08);
}

.cart-footer-actions .cart-clear-btn:hover {
  color: #912018;
  border-color: rgba(145, 32, 24, .28);
  background: rgba(180, 35, 24, .12);
}

@media (max-width: 479px) {
  #cart-drawer {
    overflow: hidden;
  }

  .drawer-head {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
  }

  .cart-body {
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .cart-footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-footer {
    padding-top: 16px;
  }

  .cart-empty {
    padding: 24px 18px;
  }

  .cart-empty-title {
    font-size: 26px;
  }

  #account-menu {
    top: auto;
    right: 10px;
    left: 10px;
    bottom: calc(var(--bot-h) + 10px + env(safe-area-inset-bottom));
    width: auto;
    max-height: min(72vh, 620px);
    border-radius: 20px;
    padding: 12px;
    transform-origin: bottom center;
  }

  .account-menu-head {
    padding-bottom: 10px;
  }
}

/* Search overlay */
#search-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(245, 242, 237, .96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}

#search-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.search-top {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .search-top {
    padding: 24px 40px 16px;
  }
}

.search-input-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--line2);
  border-radius: var(--rpill);
  padding: 0 16px;
  box-shadow: 0 0 0 4px rgba(200, 57, 10, .06);
}

.search-input-box svg {
  width: 20px;
  height: 20px;
  color: var(--subtle);
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  height: 54px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--ink);
}

.search-cancel {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 4px;
  white-space: nowrap;
}

.search-cancel:hover {
  color: var(--ember);
}

.search-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
  scrollbar-width: none;
}

@media (max-width: 767px) {
  .search-chips {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 8px;
  }
}

.search-chips::-webkit-scrollbar {
  display: none;
}

.search-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

@media (min-width: 768px) {
  .search-body {
    padding: 24px 40px;
  }
}

.search-section-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

#search-live-results {
  transition: opacity .16s var(--ease);
}

#search-overlay.is-search-loading #search-live-results {
  opacity: .76;
}

.search-tag {
  padding: 7px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--rpill);
  font-size: 12.5px;
  color: var(--ink3);
  transition: all .15s var(--ease);
}

.search-tag:hover {
  border-color: var(--ember-border);
  background: var(--ember-dim);
  color: var(--ember);
}

.search-result-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r12);
  border: 1.5px solid transparent;
  transition: all .15s var(--ease);
}

.search-result-row:hover {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--s1);
}

.search-result-img {
  width: 52px;
  height: 52px;
  border-radius: var(--r8);
  border: 1.5px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surf2);
  flex-shrink: 0;
}

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

.search-result-emoji {
  font-size: 28px;
  line-height: 1;
}

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

.search-result-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.search-result-meta {
  font-size: 11.5px;
  color: var(--subtle);
  margin-top: 2px;
}

.search-result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  padding: 0 8px;
  margin-left: 10px;
  border-radius: var(--rpill);
  background: var(--ember);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-result-price {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ember);
  white-space: nowrap;
}

/* Filter drawer */
#filter-overlay {
  z-index: 350;
  background: rgba(10, 9, 8, .48);
  backdrop-filter: blur(12px);
}

#filter-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(92dvh, 92vh);
  background:
    radial-gradient(circle at top right, rgba(200, 57, 10, .08) 0%, transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #f7f2eb 100%);
  border-radius: 28px 28px 0 0;
  border: 1px solid rgba(255, 255, 255, .72);
  z-index: 351;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -24px 60px rgba(15, 23, 42, .18);
  visibility: hidden;
  transform: translateY(100%);
  transition: transform .38s var(--ease), visibility 0s linear .38s;
}

#filter-drawer.open {
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

@media (min-width: 768px) {
  #filter-drawer {
    left: 50%;
    right: auto;
    bottom: 16px;
    width: min(500px, calc(100vw - 40px));
    max-height: min(86vh, 840px);
    border-radius: 30px;
    transform: translateX(-50%) translateY(calc(100% + 16px));
  }

  #filter-drawer.open {
    transform: translateX(-50%) translateY(0);
  }
}

.filter-handle {
  width: 52px;
  height: 5px;
  background: rgba(184, 178, 170, .82);
  border-radius: 999px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.filter-head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(10, 9, 8, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.filter-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 30px);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.04;
}

.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(200, 57, 10, .08);
  border: 1px solid rgba(200, 57, 10, .12);
  font-size: 12px;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: .02em;
  flex-shrink: 0;
  transition: transform .22s var(--spring), background .22s var(--ease), color .22s var(--ease);
}

.filter-reset:hover {
  background: rgba(200, 57, 10, .12);
  transform: translateY(-1px);
}

.filter-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px 22px;
  display: grid;
  gap: 12px;
  scrollbar-width: thin;
}

.filter-section {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(10, 9, 8, .07);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .86) inset;
  animation: filterSectionRise .42s var(--spring) both;
}

#filter-drawer.open .filter-section:nth-child(1) { animation-delay: .02s; }
#filter-drawer.open .filter-section:nth-child(2) { animation-delay: .05s; }
#filter-drawer.open .filter-section:nth-child(3) { animation-delay: .08s; }
#filter-drawer.open .filter-section:nth-child(4) { animation-delay: .11s; }

.filter-section-lbl {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 10px;
  font-weight: 800;
}

.filter-price-note {
  font-size: 11px;
  color: var(--subtle);
  margin: 0 0 10px;
  line-height: 1.4;
}

.filter-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

#filter-drawer .filter-chip {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1.5px solid rgba(10, 9, 8, .08);
  background: rgba(255, 255, 255, .94);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.22;
  color: rgba(58, 54, 48, .56);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: transform .24s var(--spring), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

#filter-drawer .filter-chip[data-filter-name="sort"] {
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#filter-drawer .filter-chip:hover {
  border-color: rgba(200, 57, 10, .18);
  color: var(--ink);
  transform: translateY(-1px);
}

#filter-drawer .filter-chip.active {
  background: linear-gradient(135deg, #111111 0%, #272727 100%);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 20px rgba(10, 9, 8, .12);
  transform: translateY(-1px);
}

.filter-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.filter-price-field {
  position: relative;
}

.filter-price-field::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  pointer-events: none;
}

.filter-price-input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1.5px solid rgba(10, 9, 8, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  padding: 0 16px;
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--ink);
}

.filter-price-input::placeholder {
  color: rgba(58, 54, 48, .45);
}

.filter-price-input:focus {
  outline: none;
  border-color: rgba(10, 9, 8, .16);
  background: var(--white);
}

.filter-dash {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  opacity: .65;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  cursor: pointer;
}

.filter-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(10, 9, 8, .18);
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: all .2s var(--ease);
}

.filter-check-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(45deg) scale(0);
  transition: transform .18s var(--spring);
}

.filter-check input:checked + .filter-check-box {
  background: var(--ink);
  border-color: var(--ink);
}

.filter-check input:checked + .filter-check-box::after {
  transform: rotate(45deg) scale(1);
}

.filter-check-label {
  font-size: 13px;
  color: rgba(58, 54, 48, .76);
  line-height: 1.35;
}

.filter-foot {
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(10, 9, 8, .08);
  display: flex;
  gap: 10px;
  background: rgba(247, 242, 235, .96);
  backdrop-filter: blur(14px);
  flex-shrink: 0;
}

.filter-cancel-btn,
.filter-apply-btn {
  height: 48px;
  border-radius: var(--rpill);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-cancel-btn {
  flex: 1;
  background: rgba(255, 255, 255, .82);
  border: 1.5px solid rgba(10, 9, 8, .08);
  color: rgba(58, 54, 48, .9);
  transition: transform .2s var(--spring), background .2s var(--ease), border-color .2s var(--ease);
}

.filter-cancel-btn:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.filter-apply-btn {
  flex: 1.8;
  background: linear-gradient(135deg, var(--ember) 0%, var(--ember2) 100%);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(200, 57, 10, .18);
}

.filter-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(200, 57, 10, .22);
}

@media (min-width: 768px) {
  .filter-body {
    padding: 16px 18px 22px;
  }

  .filter-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #filter-drawer {
    max-height: min(94dvh, 94vh);
    border-radius: 28px 28px 0 0;
  }

  .filter-head {
    padding: 12px 14px 10px;
  }

  .filter-body {
    padding: 10px 14px 16px;
    gap: 10px;
  }

  .filter-section {
    padding: 11px;
    border-radius: 18px;
  }

  #filter-drawer .filter-chip {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12.5px;
  }

  .filter-price {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-dash {
    display: none;
  }

  .filter-price-input {
    height: 44px;
    padding: 0 14px;
    font-size: 13.5px;
  }

  .filter-foot {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  #filter-drawer {
    max-height: min(96dvh, 96vh);
  }

  .filter-head {
    gap: 8px;
    padding: 11px 12px 9px;
  }

  .filter-title {
    font-size: 19px;
    line-height: 1;
  }

  .filter-reset {
    min-width: 66px;
    height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .filter-body {
    padding: 10px 12px 14px;
    gap: 9px;
  }

  .filter-section {
    padding: 10px;
    border-radius: 16px;
  }

  .filter-section-lbl {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: .18em;
  }

  .filter-price-note {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .filter-chips {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  #filter-drawer .filter-chip {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 12px;
    line-height: 1.16;
  }

  .filter-price {
    gap: 7px;
  }

  .filter-price-input {
    height: 42px;
    border-radius: 13px;
    padding: 0 13px;
    font-size: 13px;
  }

  .filter-check {
    gap: 9px;
  }

  .filter-check-box {
    width: 18px;
    height: 18px;
  }

  .filter-check-box::after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 9px;
  }

  .filter-check-label {
    font-size: 12px;
  }

  .filter-foot {
    gap: 8px;
    padding: 9px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .filter-cancel-btn,
  .filter-apply-btn {
    height: 44px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .filter-title {
    font-size: 18px;
  }

  .filter-reset {
    min-width: 60px;
    padding: 0 10px;
  }

  #filter-drawer .filter-chip {
    font-size: 11.5px;
  }

  .filter-cancel-btn,
  .filter-apply-btn {
    height: 42px;
    font-size: 12.5px;
  }
}

@keyframes filterSectionRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product modal */
#modal-overlay {
  z-index: 320;
  background: rgba(10, 9, 8, .5);
  backdrop-filter: blur(8px);
}

#product-modal {
  position: fixed;
  inset: 0;
  z-index: 321;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .55s;
}

@media (min-width: 640px) {
  #product-modal {
    align-items: center;
  }
}

#product-modal.open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.modal-card {
  width: 100%;
  max-height: 92vh;
  background: var(--white);
  border-radius: var(--r24) var(--r24) 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--s4);
  transform: translateY(100%);
  transition: transform .55s var(--ease);
  pointer-events: none;
}

@media (min-width: 640px) {
  .modal-card {
    max-width: 540px;
    max-height: 86vh;
    border-radius: var(--r24);
    transform: scale(.92);
    opacity: 0;
    transition: transform .38s var(--spring), opacity .38s var(--spring);
  }
}

#product-modal.open .modal-card {
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 640px) {
  #product-modal.open .modal-card {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
}

.modal-drag {
  width: 40px;
  height: 4px;
  background: var(--ghost);
  border-radius: 2px;
  margin: 12px auto;
}

@media (min-width: 640px) {
  .modal-drag {
    display: none;
  }
}

.modal-scroll {
  flex: 1;
  overflow-y: auto;
}

.modal-hero {
  aspect-ratio: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.modal-hero.has-image {
  background: var(--white);
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.modal-visual-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .24) 0%, transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(10, 9, 8, .08));
}

.modal-visual-fallback[hidden] {
  display: none !important;
}

.modal-visual-emoji {
  font-size: clamp(72px, 16vw, 112px);
  line-height: 1;
  transform: rotate(-6deg);
  text-shadow: 0 24px 40px rgba(10, 9, 8, .12);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(250, 248, 245, .9);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--white);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.modal-info {
  padding: 20px 24px;
}

.modal-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 6px;
}

.modal-name {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 10px;
}

.modal-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-rating-text {
  font-size: 12px;
  color: var(--subtle);
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--ember);
}

.modal-compare {
  font-size: 16px;
  color: var(--ghost);
  text-decoration: line-through;
}

.modal-discount {
  font-size: 11px;
  font-weight: 800;
  background: var(--ember);
  color: var(--white);
  padding: 3px 9px;
  border-radius: var(--rpill);
}

.modal-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.modal-foot {
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  gap: 10px;
}

.modal-wish {
  width: 52px;
  height: 52px;
  border-radius: var(--r12);
  background: var(--surf2);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s var(--spring);
}

.modal-wish:hover {
  border-color: var(--ember-border);
  transform: scale(1.04);
}

.modal-wish.active {
  background: var(--ember-dim);
  border-color: var(--ember-border);
  color: var(--ember);
}

.modal-wish svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.modal-wish.active svg {
  fill: currentColor;
}

.modal-view {
  flex: 1;
  height: 52px;
  border-radius: var(--r12);
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: all .25s var(--spring);
}

.modal-view:hover {
  background: var(--surf2);
  border-color: var(--ink3);
  transform: translateY(-1px);
}

.modal-view-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.modal-add-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.modal-add {
  flex: 1;
  height: 52px;
  border-radius: var(--r12);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: all .25s var(--spring);
}

.modal-add:hover {
  background: var(--ember);
  transform: translateY(-1px);
  box-shadow: var(--sE);
}

.modal-add:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* Popup */
#popup-overlay {
  z-index: 500;
  background: rgba(10, 9, 8, .65);
  backdrop-filter: blur(12px);
}

#popup-container {
  position: fixed;
  inset: 0;
  z-index: 501;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

#popup-container.open {
  pointer-events: auto;
}

.popup-card {
  width: min(100%, 420px);
  background: var(--white);
  border-radius: var(--r24);
  overflow: hidden;
  box-shadow: var(--s4);
  transform: scale(.88) translateY(24px);
  opacity: 0;
  transition: all .55s var(--spring);
}

#popup-container.open .popup-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.popup-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #1C1A3C 40%, var(--ember) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.popup-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200, 57, 10, .4) 0%, transparent 60%);
}

.popup-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close-btn:hover {
  background: rgba(255, 255, 255, .25);
}

.popup-close-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.popup-gift {
  font-size: 56px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  animation: float-bob 2.8s ease-in-out infinite;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.popup-visual-title {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.popup-visual-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

.popup-body {
  padding: 24px 28px;
}

.popup-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.coupon-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ember-dim);
  border: 1.5px dashed var(--ember-border);
  border-radius: var(--r12);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.coupon-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 4px;
}

.coupon-code {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: .08em;
}

.coupon-copy {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ember);
}

.popup-btns {
  display: flex;
  gap: 10px;
}

.popup-later,
.popup-shop {
  height: 46px;
  border-radius: var(--rpill);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-later {
  flex: 1;
  background: var(--surf2);
  border: 1.5px solid var(--line);
  color: var(--muted);
}

.popup-shop {
  flex: 2;
  background: var(--ink);
  color: var(--white);
}

.popup-shop:hover {
  background: var(--ember);
  transform: translateY(-1px);
  box-shadow: var(--sE);
}

.popup-no-show {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--subtle);
  text-align: center;
}

/* Footer */
.newsletter-band {
  margin-top: 26px;
  background: var(--surf);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-band .pad {
  padding-top: 34px;
  padding-bottom: 18px;
}

.newsletter-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .newsletter-band {
    margin-top: 34px;
  }
}

.newsletter-band + .main-footer {
  margin-top: 18px;
}

.newsletter-form {
  display: flex;
  column-gap: 10px;
  row-gap: 4px;
  flex-wrap: wrap;
  width: min(100%, 480px);
}

.newsletter-form .form-input {
  flex: 1;
  min-width: 220px;
}

.newsletter-feedback {
  width: 100%;
  margin-top: 0;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.newsletter-feedback[hidden] {
  display: none;
}

.newsletter-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-feedback.is-hiding {
  opacity: 0;
  transform: translateY(-4px);
}

.newsletter-feedback[data-state="success"] {
  color: #1A7A45;
}

.newsletter-feedback[data-state="error"] {
  color: #C82828;
}

.newsletter-feedback[data-state="info"] {
  color: #2856C8;
}

.main-footer {
  margin-top: 28px;
  padding: 0;
}

.main-footer .w {
  max-width: 100%;
}

@media (min-width: 1024px) {
  .main-footer .pad {
    padding-inline: 0;
  }
}

.footer-surface {
  position: relative;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(245,242,237,.94) 100%);
  box-shadow: var(--s2);
  padding: 18px 20px 12px;
  overflow: hidden;
}

.footer-surface::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(560px 240px at 10% 0%, rgba(200, 57, 10, 0.12) 0%, rgba(200, 57, 10, 0) 60%),
    radial-gradient(440px 220px at 92% 12%, rgba(212, 160, 23, 0.14) 0%, rgba(212, 160, 23, 0) 60%);
  pointer-events: none;
}

.footer-surface > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 12px 30px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(150px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(320px, 1.25fr);
    justify-content: stretch;
    gap: 12px 34px;
  }
}

.footer-grid > * {
  animation: slide-up .6s var(--ease) both;
}

.footer-grid > :nth-child(2) { animation-delay: .04s; }
.footer-grid > :nth-child(3) { animation-delay: .08s; }
.footer-grid > :nth-child(4) { animation-delay: .12s; }

.footer-copy {
  animation: slide-up .6s var(--ease) both;
  animation-delay: .16s;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 6px;
}

.footer-title-icon {
  width: 16px;
  height: 16px;
  color: rgba(200, 57, 10, 0.66);
  flex-shrink: 0;
}

.footer-list {
  display: grid;
  gap: 6px;
}

.footer-list a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 10px;
  color: var(--ink2);
  font-size: 13px;
  font-weight: 600;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}

.footer-link-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .22s var(--ease), transform .22s var(--spring);
}

.footer-list a:hover {
  color: var(--ember);
  background: rgba(200, 57, 10, 0.08);
  transform: translateX(2px);
}

.footer-list a:hover .footer-link-icon {
  color: var(--ember);
  transform: translateX(1px);
}

.footer-list a:focus-visible {
  outline: 2px solid rgba(200, 57, 10, 0.28);
  outline-offset: 3px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.footer-contact-panel {
  display: grid;
  gap: 6px;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  padding: 0;
  border: none;
  background: transparent;
}

@media (min-width: 1024px) {
  .footer-contact-panel {
    padding-left: 0;
    border-left: none;
  }
}

.footer-brand-lockup {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-logo-wrap {
  width: 112px;
  height: 44px;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  overflow: hidden;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  transform: none;
}

.footer-brand-stack {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.footer-tagline {
  margin: 0;
}

.footer-contact-list {
  display: grid;
  gap: 4px;
  padding-top: 0;
}

.footer-hours {
  display: grid;
  gap: 2px;
  color: var(--ink2);
  line-height: 1.45;
  padding: 0;
  border: none;
  background: transparent;
}

.footer-hours-line {
  font-size: 12.5px;
}

.footer-contact-item {
  display: grid;
  gap: 2px;
  color: var(--ink2);
  line-height: 1.45;
  padding: 2px 0;
  border: none;
  background: transparent;
  transition: transform .22s var(--ease), color .22s var(--ease);
}

.footer-contact-item:hover {
  color: var(--ember);
  transform: translateX(2px);
}

.footer-contact-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink3);
}

.footer-contact-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .22s var(--ease);
}

.footer-contact-fa {
  font-size: 14px;
  line-height: 1;
  color: #25d366;
  flex-shrink: 0;
}

.footer-contact-item:hover .footer-contact-icon {
  color: var(--ember);
}

.footer-contact-value {
  color: var(--ink2);
}

.footer-address {
  margin: 0;
  padding-top: 0;
  color: var(--ink3);
  line-height: 1.45;
}

.footer-address-block {
  display: grid;
  gap: 2px;
  padding-top: 0;
}

.footer-copy {
  padding-top: 6px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-credit-link {
  color: var(--ink2);
  font-weight: 800;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.footer-credit-link:hover {
  color: var(--ember);
  border-color: rgba(200, 57, 10, 0.35);
}

.footer-credit-link:focus-visible {
  outline: 2px solid rgba(200, 57, 10, 0.28);
  outline-offset: 3px;
}

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

.footer-social-block {
  display: grid;
  gap: 4px;
  padding-top: 0;
}

.footer-social {
  --social: var(--ink3);
  --social-bg: var(--social);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid rgba(10, 9, 8, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--social);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  transition: all .25s var(--spring);
  position: relative;
  overflow: hidden;
}

.footer-social::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.footer-social[data-social="facebook"] { --social: #1877f2; }
.footer-social[data-social="instagram"] {
  --social: #e1306c;
  --social-bg: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 70%, #515bd4 100%);
}
.footer-social[data-social="youtube"] { --social: #ff0000; }
.footer-social[data-social="twitter"] { --social: #0a0908; }
.footer-social[data-social="linkedin"] { --social: #0a66c2; }
.footer-social[data-social="tiktok"] {
  --social: #00f2ea;
  --social-bg: linear-gradient(135deg, #00f2ea 0%, #ff004f 100%);
}
.footer-social[data-social="pinterest"] { --social: #e60023; }
.footer-social[data-social="telegram"] { --social: #2ca5e0; }
.footer-social[data-social="whatsapp"] { --social: #25d366; }

.footer-social:hover {
  background: var(--social-bg);
  border-color: var(--social);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 9, 8, 0.14);
}

@media (hover: none) {
  .footer-social {
    background: var(--social-bg);
    border-color: var(--social);
    color: var(--white);
  }
}

.footer-social:hover::after {
  opacity: 0.85;
  animation: sheen 1.1s linear;
}

.footer-social-icon {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 767px) {
  .footer-surface {
    padding: 18px 16px 12px;
    border-radius: 10px;
  }

  .footer-contact-panel {
    width: 100%;
    max-width: none;
    padding-left: 0;
    border-left: none;
  }

  .footer-brand-lockup {
    align-items: flex-start;
  }

  .footer-logo-wrap {
    width: 112px;
    height: 44px;
  }

  .footer-logo {
    width: 100%;
    transform: none;
  }
}

.brand-grid,
.why-grid,
.testimonial-grid,
.trust-grid {
  display: grid;
  gap: 16px;
}

.brand-rail-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--r16);
}

.brand-rail-shell::before,
.brand-rail-shell::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.brand-rail-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(245, 242, 237, 0) 100%);
}

.brand-rail-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper) 0%, rgba(245, 242, 237, 0) 100%);
}

.brand-rail-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding-right: 12px;
}

.brand-rail-track.can-pause:hover {
  animation-play-state: paused;
}

.brand-rail-item {
  min-width: clamp(180px, 20vw, 240px);
  min-height: 88px;
  padding: 16px 18px;
  border-radius: var(--r16);
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .25s var(--spring), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.brand-rail-item:hover {
  transform: translateY(-2px);
  border-color: var(--line2);
  box-shadow: var(--s2);
}

.brand-rail-logo {
  width: 72px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  border: 1.5px solid rgba(10, 9, 8, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-rail-logo.has-image {
  background: rgba(255, 255, 255, .92);
}

.brand-rail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.brand-rail-emoji {
  font-size: 26px;
  line-height: 1;
}

.brand-rail-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.brand-rail-name {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
}

.brand-rail-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
}

.brand-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.brand-card,
.why-card,
.testimonial-card,
.trust-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r16);
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.brand-card:hover,
.why-card:hover,
.testimonial-card:hover,
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s2);
  border-color: var(--line2);
}

.brand-card {
  min-height: 132px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.brand-card img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.brand-mark-sm {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surf2);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--ink);
}

.brand-card-name,
.why-title,
.testimonial-name,
.trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.why-grid,
.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.why-card,
.trust-card {
  padding: 20px;
}

.why-icon,
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ember-dim);
  color: var(--ember);
  font-size: 18px;
  margin-bottom: 14px;
}

.why-copy,
.testimonial-copy {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.trust-card {
  --trust-accent: 200, 57, 10;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-card--install { --trust-accent: 40, 86, 200; }
.trust-card--delivery { --trust-accent: 26, 122, 69; }
.trust-card--payment { --trust-accent: 154, 102, 0; }
.trust-card--support { --trust-accent: 200, 57, 10; }
.trust-card--warranty { --trust-accent: 20, 122, 66; }

.trust-card .trust-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
  background: rgba(var(--trust-accent), .10);
  border: 1.5px solid rgba(var(--trust-accent), .22);
  color: rgb(var(--trust-accent));
  box-shadow: 0 12px 26px rgba(var(--trust-accent), .10);
  transition: transform .25s var(--spring), box-shadow .25s var(--ease);
}

.trust-card:hover .trust-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 18px 44px rgba(var(--trust-accent), .18);
}

.trust-card .trust-icon-svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.trust-card .surface-sub {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .trust-card,
  .trust-card::before,
  .trust-card::after,
  .trust-card .trust-icon {
    animation: none !important;
    transition: none !important;
  }
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card {
  padding: 20px;
}

.testimonial-card .star-row {
  display: inline-flex;
}

.testimonial-meta {
  margin-top: 14px;
}

.testimonial-sub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--subtle);
}

/* Pagination / timeline / misc */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--rpill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.track-steps {
  display: grid;
  gap: 16px;
}

.track-step {
  display: flex;
  gap: 16px;
}

.track-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.track-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 2px;
}

.track-dot.done {
  background: var(--ember);
}

.track-dot.pending {
  background: var(--line2);
}

.track-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: var(--line);
  margin-top: 4px;
}

.track-step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.track-step-sub {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 2px;
}

.product-shell-wrap {
  padding-top: 6px;
}

.product-header {
  display: grid;
  gap: 14px;
  padding-bottom: 4px;
}

.product-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.product-header-copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.product-header-kicker,
.product-detail-tabs-kicker,
.product-detail-block-kicker,
.product-detail-card-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.product-header-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 52px);
  font-style: italic;
  font-weight: 600;
  line-height: .98;
  color: var(--ink);
  letter-spacing: -.02em;
}

.product-header-sub {
  margin: 0;
  max-width: 62ch;
  color: var(--subtle);
  line-height: 1.7;
}

.product-header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.product-header-review-link,
.product-review-jump {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.product-header-review-link:hover,
.product-review-jump:hover {
  color: var(--ink);
  border-color: rgba(10, 9, 8, .18);
}

.product-header-bar {
  padding-top: 12px;
  border-top: 1px solid rgba(10, 9, 8, .08);
}

.product-page-grid.product-page-grid--refined {
  gap: 20px;
  align-items: start;
}

.product-visual-card,
.product-summary-card {
  min-height: 0;
}

.product-visual-inner {
  display: grid;
  gap: 16px;
}

.product-visual-frame {
  aspect-ratio: 1 / 1;
  border-radius: var(--r16);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, rgba(245, 242, 237, .94));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.product-visual-media {
  width: 100%;
  border-radius: var(--r16);
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual-empty {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--r16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 5vw, 42px);
  box-sizing: border-box;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(200, 57, 10, .12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 243, 238, .98));
}

.product-visual-empty-initial {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui), "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: clamp(62px, 10vw, 92px);
  line-height: 1;
}

.product-visual-empty-copy {
  max-width: 28ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}

.product-visual-empty-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: var(--rpill);
  border: 1px solid rgba(10, 9, 8, .08);
  background: rgba(255, 255, 255, .82);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-visual-empty-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.product-thumb-list {
  display: grid;
  gap: 10px;
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r12);
  border: 1.5px solid var(--line);
  overflow: hidden;
  background: var(--surf2);
  transition: border-color .2s var(--ease), transform .2s var(--spring);
}

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

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--ember);
  transform: translateY(-1px);
}

.product-summary-inner {
  gap: 18px;
}

.product-summary-top {
  display: grid;
  gap: 12px;
}

.product-summary-chips {
  justify-content: flex-start;
}

.product-stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--rpill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-stock-badge.is-in-stock {
  background: rgba(18, 140, 126, .1);
  color: var(--success-text);
}

.product-stock-badge.is-out-of-stock {
  background: rgba(194, 57, 57, .08);
  color: var(--danger-text);
}

.product-summary-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.price-cluster {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.product-summary-price-row {
  display: grid;
  gap: 8px;
}

.product-price-main {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(28px, 3.2vw, 34px);
  font-weight: 600;
  color: var(--ember);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-price-compare {
  font-size: 18px;
  color: var(--ghost);
  text-decoration: line-through;
}

.product-price-savings {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ember);
}

.product-summary-purchase {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(10, 9, 8, .08);
  border-bottom: 1px solid rgba(10, 9, 8, .08);
}

.product-summary-purchase-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-summary-purchase-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.product-summary-buy-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.product-stock-note {
  font-size: 12px;
  color: var(--muted);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  background: var(--surf2);
  border: 1.5px solid var(--line);
  border-radius: var(--rpill);
}

.qty-stepper .qty-value {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.qty-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.qty-step:hover {
  background: var(--ink);
  color: var(--white);
}

.product-summary-buy-row #product-page-add {
  flex: 1 1 auto;
  min-width: 0;
}

.product-summary-buy-row #product-page-wishlist {
  flex: 0 0 52px;
}

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

.product-summary-spec {
  padding: 14px 16px;
  border: 1px solid rgba(10, 9, 8, .08);
  border-radius: var(--r16);
  background: var(--white);
}

.product-summary-spec dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
}

.product-summary-spec dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.review-list,
.address-list,
.summary-list,
.detail-list,
.account-menu,
.line-list {
  display: grid;
  gap: 14px;
}

.review-card,
.address-card,
.summary-card,
.content-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r16);
  padding: 18px;
  box-shadow: var(--s1);
}

.product-detail-tabs {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  background: var(--surf);
  box-shadow: var(--s1);
}

.product-detail-tabs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(10, 9, 8, .08);
}

.product-detail-tabs-copy {
  display: grid;
  gap: 6px;
  max-width: none;
  flex: 1 1 auto;
  min-width: 0;
}

.product-detail-tabs-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
}

.product-detail-tabs-sub {
  display: none;
}

.product-detail-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(10, 9, 8, .08);
  border-radius: 18px;
  background: var(--surf2);
}

.product-detail-tab {
  min-width: 164px;
  display: grid;
  gap: 3px;
  padding: 12px 16px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--subtle);
  text-align: left;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}

.product-detail-tab:hover {
  color: var(--ink);
}

.product-detail-tab.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(10, 9, 8, .06);
}

.product-detail-tab:focus-visible {
  outline: 2px solid rgba(200, 57, 10, .24);
  outline-offset: 2px;
}

.product-detail-tab-label {
  font-size: 15px;
  font-weight: 700;
}

.product-detail-tab-meta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .82;
}

.product-detail-panel[hidden] {
  display: none !important;
}

.product-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .92fr);
  gap: 20px;
  align-items: start;
}

.product-detail-overview--summary-only {
  grid-template-columns: minmax(0, 1fr);
}

.product-detail-overview--summary-only .product-detail-side {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-detail-main,
.product-detail-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.product-detail-block,
.product-detail-card,
.product-detail-support-note,
.product-review-summary {
  background: var(--white);
  border: 1.5px solid rgba(10, 9, 8, .08);
  border-radius: 18px;
  padding: 20px;
}

.product-detail-block-title,
.product-detail-card-title,
.product-review-summary-title {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.product-detail-rich {
  margin-top: 14px;
}

.product-detail-rich > :first-child {
  margin-top: 0;
}

.product-detail-rich > :last-child {
  margin-bottom: 0;
}

.product-detail-support-note {
  box-shadow: inset 3px 0 0 rgba(200, 57, 10, .16);
}

.product-detail-support-copy {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.product-spec-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.product-spec-item {
  display: grid;
  grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10, 9, 8, .08);
}

.product-spec-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.product-spec-item dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
}

.product-spec-item dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.product-detail-trust-grid {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 16px;
}

.product-detail-trust-grid .trust-card {
  background: rgba(255, 255, 255, .94);
}

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

.product-review-summary-score {
  min-width: 84px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 54px);
  font-style: italic;
  line-height: 1;
  color: var(--ink);
}

.product-review-summary-body {
  display: grid;
  gap: 8px;
}

.product-detail-panel .product-reviews-layout {
  gap: 16px;
}

@media (min-width: 768px) {
  .product-page-grid.product-page-grid--refined {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 28px;
  }
}

@media (max-width: 960px) {
  .product-detail-tabs-head,
  .product-detail-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-overview--summary-only .product-detail-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-tablist {
    width: 100%;
  }

  .product-detail-tab {
    flex: 1 1 220px;
  }
}

@media (max-width: 640px) {
  .product-shell-wrap {
    padding-top: 0;
  }

  .product-header {
    gap: 12px;
  }

  .product-header-title {
    font-size: 36px;
  }

  .product-header-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .product-visual-inner {
    gap: 12px;
  }

  .product-visual-empty {
    min-height: 300px;
    padding: 22px;
  }

  .product-summary-purchase-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .product-summary-buy-row {
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .product-summary-buy-row .qty-stepper {
    gap: 6px;
    padding: 4px 5px;
  }

  .product-summary-buy-row .qty-step {
    width: 30px;
    height: 30px;
  }

  .product-summary-buy-row .qty-value {
    min-width: 20px;
    font-size: 13px;
  }

  .product-summary-buy-row #product-page-add {
    height: 48px;
    padding: 0 12px;
    gap: 6px;
    font-size: 13px;
    letter-spacing: .02em;
  }

  .product-summary-buy-row #product-page-add .btn-bag-icon {
    width: 16px;
    height: 16px;
  }

  .product-summary-buy-row #product-page-wishlist {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .product-summary-specs {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-tabs {
    padding: 18px;
    border-radius: 20px;
  }

  .product-detail-tabs-head {
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .product-detail-tabs-title {
    font-size: 18px;
    white-space: nowrap;
  }

  .product-detail-tablist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    border-radius: 16px;
  }

  .product-detail-tab {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
  }

  .product-detail-block,
  .product-detail-card,
  .product-detail-support-note,
  .product-review-summary {
    padding: 18px;
    border-radius: 16px;
  }

  .product-review-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-review-summary-score {
    min-width: 0;
  }

  .product-spec-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

.product-reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  justify-items: stretch;
}

.product-reviews-layout .product-reviews-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  width: 100%;
  justify-items: stretch;
}

.product-reviews-layout .review-list {
  grid-template-columns: minmax(0, 1fr);
}

.product-reviews-layout .review-list,
.product-reviews-layout .review-compose-card,
.product-reviews-layout .review-card {
  width: 100%;
}

.product-reviews-layout .review-compose-card,
.product-reviews-layout .review-card {
  max-width: none;
  justify-self: stretch;
}

.product-reviews-layout .review-compose-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r16);
  padding: 18px;
  box-shadow: var(--s1);
}

.product-reviews-layout .review-compose-form {
  margin-top: 12px;
}

.product-reviews-layout .review-compose-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.product-reviews-layout .review-compose-feedback {
  flex: 1;
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
}

.product-reviews-layout .review-compose-feedback.error {
  color: var(--danger-text);
}

.product-reviews-layout .review-compose-feedback.success {
  color: var(--success-text);
}

.review-star-picker {
  display: flex;
  gap: 6px;
  align-items: center;
}

.review-star-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: rgba(10, 9, 8, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.review-star-btn.is-on {
  color: var(--gold);
  border-color: rgba(200, 57, 10, 0.18);
}

.review-star-btn:hover {
  transform: translateY(-1px);
  background: var(--surf2);
  color: var(--gold);
}

.product-reviews-layout .review-star-picker {
  gap: 3px;
  margin-top: 10px;
}

.product-reviews-layout .review-star-btn {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 22px;
  color: var(--ghost);
  border-radius: 0;
  transition: color .15s ease;
}

.product-reviews-layout .review-star-btn.is-on {
  color: var(--gold);
}

.product-reviews-layout .review-star-btn:hover {
  transform: none;
  background: transparent;
  color: var(--gold);
}

.product-reviews-layout .review-compose-actions .btn-primary {
  margin-left: auto;
}

.product-reviews-layout .review-compose-actions .btn-full {
  width: auto;
}

.product-reviews-layout .review-photo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-reviews-layout .review-photo-input {
  display: none;
}

.product-reviews-layout .review-photo-btn {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--r12);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.product-reviews-layout .review-photo-btn:hover {
  background: var(--surf2);
  border-color: var(--line2);
}

.review-image-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.review-image-preview-item {
  position: relative;
  display: inline-block;
}

.review-image-preview-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--r12);
  border: 1.5px solid var(--line);
  background: var(--white);
  display: block;
}

.review-image-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger-text);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.review-image-remove:hover {
  filter: brightness(0.95);
}

.product-reviews-layout .review-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.product-reviews-layout .review-user-meta {
  min-width: 0;
  flex: 1;
}

.product-reviews-layout .review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.product-reviews-layout .review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-reviews-layout .review-avatar.is-sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.product-reviews-layout .review-avatar.tone-blue {
  background: var(--info-text);
}

.product-reviews-layout .review-avatar.tone-green {
  background: var(--success-text);
}

.product-reviews-layout .review-avatar.tone-orange {
  background: var(--ember);
}

.product-reviews-layout .review-avatar.tone-purple {
  background: #8e44ad;
}

.product-reviews-layout .review-card-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.product-reviews-layout .review-card-title {
  font-weight: 800;
  color: var(--ink);
}

.product-reviews-layout .review-card-headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
}

.product-reviews-layout .review-card-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
  margin-top: 6px;
  white-space: pre-wrap;
}

.product-reviews-layout .review-card-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.product-reviews-layout .review-card-photos .review-card-photo {
  margin-top: 0;
}

.product-reviews-layout .review-card-photo {
  display: inline-block;
  margin-top: 10px;
  border-radius: var(--r12);
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--white);
}

.product-reviews-layout .review-card-photo img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  display: block;
  transition: transform .15s ease;
  cursor: zoom-in;
}

.product-reviews-layout .review-card-photo:hover img {
  transform: none;
}

.product-reviews-layout .review-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
}

.product-reviews-layout .review-react {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink3);
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease, color .15s ease, transform .25s var(--spring);
}

.product-reviews-layout .review-react:hover {
  background: var(--surf2);
  color: var(--ink);
}

.product-reviews-layout .review-react:active {
  transform: translateY(1px) scale(0.985);
}

.product-reviews-layout .review-react:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.product-reviews-layout .react-btn {
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.product-reviews-layout .react-btn .react-icon {
  line-height: 1;
}

.product-reviews-layout .react-btn.is-reacted {
  font-weight: 700;
}

.product-reviews-layout .react-btn.is-reacted.reaction-like {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.14);
}

.product-reviews-layout .react-btn.is-reacted.reaction-love {
  color: #e0245e;
  background: rgba(224, 36, 94, 0.14);
}

.product-reviews-layout .react-btn.is-reacted.reaction-haha,
.product-reviews-layout .react-btn.is-reacted.reaction-wow {
  color: #b45309;
  background: rgba(245, 158, 11, 0.18);
}

.product-reviews-layout .react-btn.is-reacted.reaction-sad {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
}

.product-reviews-layout .react-btn.is-reacted.reaction-angry {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.12);
}

.product-reviews-layout .review-react-count {
  background: none;
  color: inherit;
  border-radius: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
}

.product-reviews-layout .review-react-count:empty {
  display: none;
}

.product-reviews-layout .review-comment-btn.is-open {
  color: var(--ember);
}

.product-reviews-layout .review-card-reply {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--r16);
  border: 1.5px solid var(--line);
  background: var(--surf2);
}

.product-reviews-layout .review-card-reply-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.product-reviews-layout .review-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rpill);
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-reviews-layout .review-badge-admin {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  background: var(--info-text);
  color: var(--white);
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
  position: relative;
  border: 1px solid rgba(24, 119, 242, 0.25);
  box-shadow: 0 1px 0 rgba(10, 9, 8, 0.06);
}

.product-reviews-layout .review-badge-admin::before {
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  display: block;
  transform: translateY(-0.5px);
}

.product-reviews-layout .review-comment-date {
  font-size: 11px;
  color: var(--muted);
}

.product-reviews-layout .review-thread {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--spring);
  will-change: opacity, transform;
}

.product-reviews-layout .review-thread.is-open {
  opacity: 1;
  transform: translateY(0);
}

.product-reviews-layout .review-comment-list {
  display: grid;
  gap: 10px;
  position: relative;
}

.product-reviews-layout .review-comment {
  display: grid;
  gap: 6px;
  position: relative;
  padding-left: calc(var(--depth, 0) * 18px);
}

.product-reviews-layout .review-comment.is-new {
  animation: pf-review-node-in .34s var(--spring) both;
}

@keyframes pf-review-node-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-reviews-layout .review-comment.is-new .review-avatar.is-sm {
  animation: pf-node-pulse .7s ease-out both;
}

@keyframes pf-node-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.22);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(24, 119, 242, 0.06);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(24, 119, 242, 0);
  }
}

.product-reviews-layout .review-comment-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  --pf-thread-line: rgba(10, 9, 8, 0.14);
  --pf-thread-node: rgba(24, 119, 242, 0.45);
  background-image:
    radial-gradient(circle, var(--white) 0 4px, var(--pf-thread-node) 4px 6px, transparent 6px),
    linear-gradient(to bottom, transparent 0, var(--pf-thread-line) 12px, var(--pf-thread-line) calc(100% - 12px), transparent 100%),
    linear-gradient(to right, var(--pf-thread-line), var(--pf-thread-line));
  background-repeat: no-repeat;
  background-size: 12px 12px, 2px 100%, 12px 1px;
  background-position: 10px 10px, 16px 0, 32px 16px;
}

.product-reviews-layout .review-comment-row::before {
  content: none;
}

.product-reviews-layout .review-comment:hover .review-comment-row {
  --pf-thread-line: rgba(24, 119, 242, 0.26);
  --pf-thread-node: rgba(24, 119, 242, 0.7);
}

.product-reviews-layout .review-comment.is-admin .review-comment-row {
  --pf-thread-line: rgba(24, 119, 242, 0.32);
  --pf-thread-node: rgba(24, 119, 242, 0.85);
}

.product-reviews-layout .review-comment-stack {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
  position: relative;
}

.product-reviews-layout .review-comment-bubble {
  border-radius: var(--r16);
  border: 1px solid var(--line);
  background: var(--surf2);
  padding: 10px 12px;
  box-shadow: 0 1px 0 rgba(10, 9, 8, 0.06);
  transition: transform .25s var(--spring), background .2s var(--ease), border-color .2s var(--ease);
}

.product-reviews-layout .review-comment-bubble:hover {
  transform: translateY(-0.5px);
  border-color: var(--line2);
  background: var(--white);
}

.product-reviews-layout .review-comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.product-reviews-layout .review-comment-author {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
}

.product-reviews-layout .review-comment-text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

.product-reviews-layout .review-comment-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.product-reviews-layout .review-comment-photo {
  width: 104px;
  height: 104px;
  border-radius: var(--r12);
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-reviews-layout .review-comment-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .15s ease;
  cursor: zoom-in;
}

.product-reviews-layout .review-comment-photo:hover img {
  transform: none;
}

.product-reviews-layout .review-comment-context {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--rpill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink3);
  font-size: 11.5px;
  font-weight: 700;
}

.product-reviews-layout .review-comment-mention {
  color: var(--ember);
  font-weight: 900;
}

.product-reviews-layout .review-comment.is-admin .review-comment-bubble {
  border-color: rgba(24, 119, 242, 0.28);
  background: rgba(24, 119, 242, 0.06);
}

.product-reviews-layout .review-comment-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.product-reviews-layout .comment-react,
.product-reviews-layout .comment-reply {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease, color .15s ease, transform .25s var(--spring);
}

.product-reviews-layout .comment-react:hover,
.product-reviews-layout .comment-reply:hover {
  background: var(--surf2);
  color: var(--ink);
}

.product-reviews-layout .comment-react:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.product-reviews-layout .comment-react:active,
.product-reviews-layout .comment-reply:active {
  transform: translateY(1px) scale(0.985);
}

.product-reviews-layout .comment-react-count {
  font-weight: 700;
  color: inherit;
}

.product-reviews-layout .comment-react-count:empty {
  display: none;
}

.product-reviews-layout .review-comment-children {
  margin-top: 10px;
  padding-left: 18px;
  border-left: 2px solid rgba(24, 119, 242, 0.18);
  display: grid;
  gap: 10px;
  position: relative;
}

.product-reviews-layout .review-comment-children::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(24, 119, 242, 0.25);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.08);
}

.product-reviews-layout .review-comment-form {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 10px;
}

.product-reviews-layout .review-comment-form.is-reply {
  margin-top: 10px;
}

.product-reviews-layout .review-reply-context {
  width: 100%;
  margin: 0 0 8px 0;
  color: var(--ink3);
  font-size: 11.5px;
  font-weight: 700;
}

.product-reviews-layout .review-card-reply.is-admin {
  border-color: var(--ember-border);
  background: rgba(200, 57, 10, 0.06);
}

.product-reviews-layout .review-card-reply-context {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink3);
}

.product-reviews-layout .review-comment-input {
  width: 100%;
  flex: 1;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--rpill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color .2s ease, background .2s ease;
}

.product-reviews-layout .review-comment-input:focus {
  border-color: var(--ember);
  background: var(--white);
}

.product-reviews-layout .review-comment-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .25s var(--spring), box-shadow .25s var(--spring);
}

.product-reviews-layout .review-comment-attach {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease), transform .25s var(--spring), border-color .2s var(--ease), color .2s var(--ease);
}

.product-reviews-layout .review-comment-attach:hover {
  background: var(--surf2);
  border-color: var(--line2);
  color: var(--ink);
  transform: translateY(-1px);
}

.product-reviews-layout .review-comment-attach:active {
  transform: translateY(1px) scale(0.985);
}

.product-reviews-layout .comment-photo-input {
  display: none;
}

.product-reviews-layout .comment-photo-preview {
  flex-basis: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 40px;
  margin-top: 6px;
}

.product-reviews-layout .comment-photo-chip {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: var(--r12);
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--white);
}

.product-reviews-layout .comment-photo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-reviews-layout .comment-photo-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger-text);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.product-reviews-layout .comment-photo-remove:hover {
  filter: brightness(0.95);
}

.product-reviews-layout .review-comment-send:hover {
  background: var(--ember);
  transform: translateY(-1px);
  box-shadow: var(--sE);
}

.product-reviews-layout .review-comment-cancel {
  background: none;
  border: none;
  color: var(--muted);
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.product-reviews-layout .review-comment-cancel:hover {
  background: var(--surf2);
  color: var(--ink);
}

.product-reviews-layout .review-card-note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.product-reviews-layout .review-card-note a {
  color: var(--ember);
  font-weight: 700;
}

.product-reviews-layout .review-card {
  transition: transform .25s var(--spring), box-shadow .25s var(--spring), border-color .2s var(--ease);
}

.product-reviews-layout .review-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--sE);
  border-color: var(--line2);
}

.product-reviews-layout .review-card-pending {
  border-color: var(--ember-border);
  background: var(--white);
}

.pf-reaction-popover {
  position: fixed;
  z-index: 10000;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(10, 9, 8, 0.22);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity .16s var(--ease), transform .18s var(--spring);
  will-change: transform, opacity;
}

.pf-reaction-popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pf-reaction-option {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s var(--spring), background .16s var(--ease);
}

.pf-reaction-option:hover {
  background: var(--surf2);
  transform: translateY(-2px) scale(1.14);
}

.pf-reaction-option:active {
  transform: translateY(0) scale(1.06);
}

@media (max-width: 480px) {
  .product-reviews-layout .review-card-photo img {
    width: 88px;
    height: 88px;
  }

  .product-reviews-layout .review-react {
    padding: 5px 7px;
    font-size: 12px;
  }

  .product-reviews-layout .review-compose-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-reviews-layout .review-compose-actions .btn-primary {
    margin-left: 0;
  }

  .product-reviews-layout .review-compose-actions .btn-full {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .product-reviews-layout .review-card-actions,
  .product-reviews-layout .review-comment-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .product-reviews-layout .review-react,
  .product-reviews-layout .comment-react,
  .product-reviews-layout .comment-reply {
    flex: 1 1 0;
    justify-content: center;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track,
  .flash-banner::after,
  .flash-bolt,
  .popup-gift,
  .hero-eyebrow,
  .hero-headline,
  .hero-sub,
  .hero-cta,
  .hero-secondary-cta,
  .product-grid > *,
  .blog-grid > *,
  .cat-grid > *,
  .quick-grid > *,
  .footer-grid > *,
  .footer-copy {
    animation: none !important;
  }

  .product-reviews-layout .review-thread,
  .product-reviews-layout .review-card,
  .product-reviews-layout .review-comment-bubble,
  .product-reviews-layout .review-react,
  .product-reviews-layout .comment-react,
  .product-reviews-layout .comment-reply,
  .pf-reaction-popover,
  .pf-reaction-option {
    transition: none !important;
  }

  .product-reviews-layout .review-comment.is-new {
    animation: none !important;
  }

  .product-reviews-layout .review-comment.is-new .review-avatar.is-sm {
    animation: none !important;
  }
}

.account-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r12);
  color: var(--muted);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.account-nav-link:hover,
.account-nav-link.active {
  background: var(--surf2);
  color: var(--ink);
}

.line-list {
  gap: 0;
}

.line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-line {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-line-media {
  width: 82px;
  height: 82px;
  border-radius: var(--r12);
  overflow: hidden;
  background: var(--surf2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

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

.cart-line-fallback {
  font-family: var(--ui), "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 28px;
  font-style: normal;
  line-height: 1;
  color: var(--ink);
}

.cart-line-main {
  display: grid;
  gap: 10px;
}

.cart-line-top,
.summary-row-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.summary-stack {
  display: grid;
  gap: 10px;
}

.summary-amount {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.kpi-tile {
  padding: 18px;
  border-radius: var(--r16);
  background: var(--white);
  border: 1.5px solid var(--line);
  box-shadow: var(--s1);
}

.confirmation-card {
  max-width: 820px;
  margin: 0 auto;
}

.confirmation-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.confirmation-mark {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(200, 57, 10, .08);
  border: 1px solid rgba(200, 57, 10, .16);
  color: var(--ember);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.confirmation-mark svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.confirmation-mark.is-neutral {
  background: var(--surf2);
  border-color: var(--line);
  color: var(--ink3);
}

.confirmation-copy {
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.65;
}

.confirmation-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.kpi-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
}

.kpi-value {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  margin-top: 8px;
}

/* Purefit Systems page */
@keyframes systems-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes systems-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes systems-flow {
  to {
    stroke-dashoffset: -560;
  }
}

@keyframes systems-blink {
  0%, 100% {
    opacity: .35;
    transform: scale(.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes systems-pulse {
  0%, 100% {
    opacity: .32;
    transform: scale(.95);
  }
  50% {
    opacity: .92;
    transform: scale(1.18);
  }
}

@keyframes systems-glow {
  0%, 100% {
    opacity: .55;
    transform: scale(.98);
  }
  50% {
    opacity: .88;
    transform: scale(1.02);
  }
}

.purefit-systems-shell {
  display: grid;
  gap: 16px;
}

.systems-hero-card {
  border-color: transparent;
  box-shadow: none;
  padding: clamp(18px, 2.2vw, 28px);
  background:
    radial-gradient(circle at 12% 16%, rgba(40, 86, 200, .10), transparent 44%),
    radial-gradient(circle at 74% 20%, rgba(200, 57, 10, .08), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, var(--surf2) 100%);
  animation: systems-fade-up .6s var(--ease) both;
}

.systems-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
}

.systems-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.systems-brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.systems-brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}

.systems-brand-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--subtle);
  white-space: nowrap;
}

.systems-hero-title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 38px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.systems-hero-sub {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 12.75px;
  line-height: 1.75;
  color: var(--muted);
}

.systems-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.systems-hero-actions .btn-primary,
.systems-hero-actions .btn-secondary {
  height: 46px;
  padding: 0 20px;
}

.systems-service-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.systems-service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink3);
}

.systems-service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: rgba(40, 86, 200, .10);
  border: 1px solid rgba(40, 86, 200, .18);
}

.systems-service-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 4px;
  border-left: 2px solid rgba(40, 86, 200, .9);
  border-bottom: 2px solid rgba(40, 86, 200, .9);
  transform: rotate(-45deg);
}

.systems-hero-art {
  position: relative;
  min-height: 240px;
  border-radius: 20px;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.systems-hero-svg {
  width: min(100%, 540px);
  height: auto;
  opacity: .94;
}

.systems-hero-svg .pf-grid {
  opacity: .85;
}

.systems-hero-svg .pf-hero-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: systems-float 8.5s ease-in-out infinite;
}

.systems-hero-svg .pf-ring {
  stroke-dasharray: 7 18;
  stroke-dashoffset: 0;
  animation: systems-flow 18s linear infinite;
}

.systems-hero-svg .pf-ring--2 {
  stroke-dasharray: 5 20;
  animation-duration: 26s;
  animation-direction: reverse;
}

.systems-hero-svg .pf-guide {
  stroke-dasharray: 10 24;
  animation: systems-flow 22s linear infinite;
}

.systems-hero-svg .pf-guide--2 {
  stroke-dasharray: 8 26;
  animation-duration: 28s;
  animation-direction: reverse;
}

.systems-hero-svg .pf-trace {
  stroke-dasharray: 26 22;
  stroke-dashoffset: 0;
  animation: systems-flow 9.5s linear infinite;
}

.systems-hero-svg .pf-drop {
  filter: drop-shadow(0 18px 38px rgba(10, 9, 8, 0.14));
}

.systems-hero-svg .pf-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: systems-glow 7.2s ease-in-out infinite;
}

.systems-hero-svg .pf-wave {
  stroke-dasharray: 36 20;
  stroke-dashoffset: 0;
  animation: systems-flow 14s linear infinite;
}

.systems-hero-svg .pf-wave--2 {
  stroke-dasharray: 28 22;
  animation-duration: 18s;
  animation-direction: reverse;
}

.systems-hero-svg .pf-wave--3 {
  stroke-dasharray: 18 28;
  animation-duration: 22s;
}

.systems-hero-svg .pf-devnet-line {
  stroke-dasharray: 6 14;
  stroke-dashoffset: 0;
  animation: systems-flow 14s linear infinite;
}

.systems-hero-svg .pf-devnet-line--2 {
  stroke-dasharray: 5 16;
  animation-duration: 18s;
  animation-direction: reverse;
}

.systems-hero-svg .pf-devnet-line--3 {
  stroke-dasharray: 4 18;
  animation-duration: 22s;
}

.systems-hero-svg .pf-devnet-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: systems-pulse 3.9s ease-in-out infinite;
}

.systems-hero-svg .pf-devnet-node--2 { animation-delay: .25s; }
.systems-hero-svg .pf-devnet-node--3 { animation-delay: .5s; }
.systems-hero-svg .pf-devnet-node--4 { animation-delay: .75s; }
.systems-hero-svg .pf-devnet-node--5 { animation-delay: 1s; }
.systems-hero-svg .pf-devnet-node--6 { animation-delay: 1.25s; }

.systems-hero-svg .pf-devnet-code {
  stroke-dasharray: 18 14;
  stroke-dashoffset: 0;
  animation: systems-flow 12s linear infinite;
}

.systems-hero-svg .pf-contour {
  stroke-dasharray: 3 16;
  stroke-dashoffset: 0;
  animation: systems-flow 16s linear infinite;
}

.systems-hero-svg .pf-contour--2 {
  stroke-dasharray: 2 18;
  animation-duration: 20s;
  animation-direction: reverse;
}

.systems-hero-svg .pf-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: systems-blink 3.6s ease-in-out infinite;
}

.systems-hero-svg .pf-dot--2 {
  animation-delay: .35s;
}

.systems-hero-svg .pf-dot--3 {
  animation-delay: .7s;
}

.systems-hero-svg .pf-dot--4 {
  animation-delay: 1.05s;
}

.systems-contact-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.systems-contact-svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex-shrink: 0;
}

.systems-contact-fa {
  font-size: 16px;
  color: #25D366;
  flex-shrink: 0;
}

.systems-contact-card .line-item > * {
  min-width: 0;
}

.systems-contact-card .line-item strong {
  max-width: 62%;
  text-align: right;
  word-break: break-word;
}

.systems-contact-card .line-item a {
  color: inherit;
  transition: color .2s var(--ease);
}

.systems-contact-card .line-item a:hover {
  color: var(--ember);
}

@media (max-width: 980px) {
  .systems-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .systems-hero-art {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .systems-contact-card .line-item strong {
    max-width: 68%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .systems-hero-card {
    animation: none;
  }

  .systems-hero-svg .pf-anim {
    animation: none !important;
  }

  .systems-contact-card .line-item a,
  .systems-hero-actions .btn-primary,
  .systems-hero-actions .btn-secondary {
    transition: none;
  }
}

#toast {
  --toast-accent: #2856C8;
  --toast-accent-soft: rgba(40, 86, 200, 0.14);
  --toast-accent-mid: rgba(40, 86, 200, 0.38);
  position: fixed;
  top: var(--toast-top, auto);
  right: auto;
  bottom: var(--toast-bottom, calc(80px + env(safe-area-inset-bottom)));
  left: var(--toast-left, 50%);
  width: max-content;
  transform: translateX(-50%) translateY(var(--toast-hidden-offset, 12px));
  background-color: rgba(255, 255, 255, 0.72);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 242, 237, 0.76)),
    linear-gradient(120deg, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0.68) 36%, rgba(255, 255, 255, 0.16) 52%, rgba(255, 255, 255, 0) 72%);
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, 130% 0;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px 8px 18px 8px;
  padding: 0;
  box-shadow:
    0 18px 40px rgba(10, 9, 8, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: all .25s var(--spring);
  max-width: var(--toast-max-width, min(360px, calc(100vw - 24px)));
  min-width: min(280px, calc(100vw - 24px));
  line-height: 1.35;
  text-align: left;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  animation: toast-glass-sheen 3.8s ease-in-out infinite;
}

#toast[data-placement="anchor"] {
  --toast-hidden-offset: -8px;
}

#toast[data-type="success"] {
  --toast-accent: #1A7A45;
  --toast-accent-soft: rgba(26, 122, 69, 0.14);
  --toast-accent-mid: rgba(26, 122, 69, 0.42);
}

#toast[data-type="error"] {
  --toast-accent: #C82828;
  --toast-accent-soft: rgba(200, 40, 40, 0.14);
  --toast-accent-mid: rgba(200, 40, 40, 0.42);
}

#toast[data-type="info"] {
  --toast-accent: #2856C8;
  --toast-accent-soft: rgba(40, 86, 200, 0.14);
  --toast-accent-mid: rgba(40, 86, 200, 0.42);
}

#toast .toast-shell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 16px 13px 14px;
}

#toast .toast-icon-frame {
  width: 42px;
  height: 42px;
  border-radius: 14px 6px 14px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 58%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), var(--toast-accent-soft));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 24px rgba(10, 9, 8, 0.08);
}

#toast .toast-icon-frame svg {
  width: 18px;
  height: 18px;
  stroke: var(--toast-accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

#toast .toast-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#toast .toast-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--toast-accent-mid);
}

#toast .toast-message {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

@keyframes toast-glass-sheen {
  0% {
    background-position: 0 0, 140% 0;
  }

  55% {
    background-position: 0 0, -30% 0;
  }

  100% {
    background-position: 0 0, -30% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #toast {
    animation: none;
  }
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Product gallery guardrails: keep tall source images from making the buy area fall below the fold. */
@media (min-width: 768px) {
  body[data-page="product"] .product-visual-inner.product-gallery-stack {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
  }

  body[data-page="product"] .product-visual-frame.product-visual-media {
    aspect-ratio: auto !important;
    height: clamp(520px, 42vw, 680px) !important;
    max-height: calc(100vh - 180px);
  }

  body[data-page="product"] .product-visual-frame.product-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body[data-page="product"] .product-thumb-list {
    display: grid;
    grid-template-columns: 84px;
    grid-auto-rows: 84px;
    gap: 10px;
    align-content: start;
    max-height: min(680px, calc(100vh - 180px));
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    scrollbar-width: thin;
  }

  body[data-page="product"] .product-thumb {
    display: flex !important;
    width: 84px !important;
    height: 84px !important;
    aspect-ratio: 1 / 1 !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  body[data-page="product"] .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
  }
}

/* Thank-you page polish */
.confirmation-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ember);
}

.confirmation-title {
  max-width: 760px;
}

.confirmation-snapshot {
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.confirmation-snapshot-item {
  min-width: 0;
  padding: 14px;
  border-radius: var(--r16);
  background: var(--surf2);
  border: 1.5px solid var(--line);
  text-align: left;
}

.confirmation-snapshot-item span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 8px;
}

.confirmation-snapshot-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.confirmation-payment-note,
.confirmation-next {
  margin-top: 20px;
  border-radius: var(--r16);
  border: 1.5px solid var(--line);
  background: var(--surf2);
}

.confirmation-payment-note {
  padding: 16px 18px;
  border-color: rgba(200, 57, 10, .24);
  background: rgba(200, 57, 10, .07);
}

.confirmation-payment-note strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.confirmation-payment-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.confirmation-next {
  padding: 18px;
}

.confirmation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.confirmation-step {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px;
  border-radius: var(--r16);
  background: var(--white);
  border: 1.5px solid var(--line);
}

.confirmation-step-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.confirmation-step-title {
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.confirmation-step-copy {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.confirmation-detail-grid {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .confirmation-snapshot,
  .confirmation-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .confirmation-snapshot,
  .confirmation-steps {
    grid-template-columns: 1fr;
  }

  .confirmation-snapshot-item,
  .confirmation-step {
    padding: 12px;
  }
}
.confirmation-actions--focused {
  gap: 12px;
}

.confirmation-support-link {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.confirmation-support-link a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.confirmation-support-link a:hover {
  color: var(--ember);
}
/* Order preview compact wide layout */
body[data-page="order-success"] .section-wrap {
  padding-top: 18px;
}

body[data-page="order-success"] .section-wrap > .w {
  max-width: none;
}

body[data-page="order-success"] .confirmation-card {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

@media (min-width: 1024px) {
  body[data-page="order-success"] .catalog-stage {
    padding-bottom: 8px;
  }

  body[data-page="order-success"] .section-wrap > .w {
    padding-inline: clamp(12px, 1.4vw, 28px);
  }

  body[data-page="order-success"] .confirmation-card {
    padding: 20px 26px 22px;
  }

  body[data-page="order-success"] .confirmation-head {
    grid-template-columns: 54px minmax(240px, .8fr) minmax(460px, 1.5fr);
    align-items: center;
    justify-items: stretch;
    text-align: left;
    gap: 6px 18px;
    padding-bottom: 16px;
  }

  body[data-page="order-success"] .confirmation-mark {
    grid-row: 1 / 4;
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  body[data-page="order-success"] .confirmation-mark svg {
    width: 21px;
    height: 21px;
  }

  body[data-page="order-success"] .confirmation-kicker,
  body[data-page="order-success"] .confirmation-title,
  body[data-page="order-success"] .confirmation-copy {
    grid-column: 2;
  }

  body[data-page="order-success"] .confirmation-title {
    max-width: none;
    font-size: 30px;
    line-height: 1;
  }

  body[data-page="order-success"] .confirmation-copy {
    max-width: none;
    line-height: 1.45;
  }

  body[data-page="order-success"] .confirmation-snapshot {
    grid-column: 3;
    grid-row: 1 / 4;
    align-self: stretch;
    max-width: none;
    margin-top: 0;
  }

  body[data-page="order-success"] .confirmation-snapshot-item {
    display: grid;
    align-content: center;
    padding: 12px 14px;
  }

  body[data-page="order-success"] .confirmation-payment-note {
    margin-top: 14px;
    padding: 14px 16px;
  }

  body[data-page="order-success"] .confirmation-detail-grid {
    margin-top: 14px;
  }

  body[data-page="order-success"] .summary-card {
    padding: 16px;
  }

  body[data-page="order-success"] .summary-list {
    margin-top: 12px !important;
  }

  body[data-page="order-success"] .confirmation-actions {
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  body[data-page="order-success"] .section-wrap {
    padding-top: 14px;
  }

  body[data-page="order-success"] .section-wrap > .w {
    padding-inline: 10px;
  }

  body[data-page="order-success"] .confirmation-card {
    padding: 14px;
    border-radius: 12px;
  }

  body[data-page="order-success"] .confirmation-head {
    gap: 10px;
    padding-bottom: 16px;
  }

  body[data-page="order-success"] .confirmation-mark {
    width: 58px;
    height: 58px;
  }

  body[data-page="order-success"] .confirmation-payment-note,
  body[data-page="order-success"] .confirmation-detail-grid,
  body[data-page="order-success"] .summary-card[style*="margin-top"] {
    margin-top: 14px !important;
  }
}
/* Order preview compact item and shipping cards */
body[data-page="order-success"] .order-preview-extra-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

body[data-page="order-success"] .order-preview-extra-grid .summary-list,
body[data-page="order-success"] .order-preview-extra-grid .line-list {
  margin-top: 12px;
}

body[data-page="order-success"] .order-preview-items-card .cart-line {
  padding: 10px 0;
}

body[data-page="order-success"] .order-preview-items-card .cart-line:last-child {
  border-bottom: none;
}

@media (min-width: 900px) {
  body[data-page="order-success"] .order-preview-extra-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    align-items: start;
  }

  body[data-page="order-success"] .order-preview-extra-grid .summary-card {
    min-height: 0;
  }

  body[data-page="order-success"] .order-preview-items-card .cart-line {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  body[data-page="order-success"] .order-preview-items-card .cart-line-media {
    width: 64px;
    height: 64px;
  }

  body[data-page="order-success"] .order-preview-items-card .cart-line-fallback {
    font-size: 22px;
  }
}
/* Order preview compact detail cards */
@media (min-width: 900px) {
  body[data-page="order-success"] .confirmation-detail-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: start;
  }

  body[data-page="order-success"] .confirmation-detail-grid .summary-card {
    min-height: 0;
  }

  body[data-page="order-success"] .confirmation-detail-grid .line-list {
    gap: 0;
    margin-top: 10px !important;
  }

  body[data-page="order-success"] .confirmation-detail-grid .line-item {
    padding: 10px 0;
  }

  body[data-page="order-success"] .confirmation-delivery-card {
    align-self: start;
  }

  body[data-page="order-success"] .confirmation-delivery-copy {
    margin-top: 10px !important;
    max-width: 48ch;
    line-height: 1.55;
  }
}
/* Final thank-you compact success card */
body[data-page="thank-you"] .section-wrap {
  padding-top: clamp(22px, 4vh, 40px);
}

body[data-page="thank-you"] .confirmation-card {
  width: 100%;
  max-width: 960px;
  box-sizing: border-box;
  padding: 26px 28px 28px;
}

body[data-page="thank-you"] .confirmation-head {
  gap: 12px;
  padding-bottom: 20px;
}

body[data-page="thank-you"] .confirmation-mark {
  width: 64px;
  height: 64px;
}

body[data-page="thank-you"] .confirmation-mark svg {
  width: 24px;
  height: 24px;
}

body[data-page="thank-you"] .confirmation-title {
  max-width: 760px;
  line-height: 1.05;
}

body[data-page="thank-you"] .confirmation-copy {
  max-width: 58ch;
  line-height: 1.55;
}

body[data-page="thank-you"] .confirmation-snapshot {
  max-width: 860px;
  gap: 12px;
  margin-top: 8px;
}

body[data-page="thank-you"] .confirmation-snapshot-item {
  padding: 14px 16px;
}

body[data-page="thank-you"] .confirmation-actions {
  margin-top: 22px;
}

@media (max-width: 560px) {
  body[data-page="thank-you"] .section-wrap {
    padding-top: 16px;
  }

  body[data-page="thank-you"] .section-wrap > .w {
    padding-inline: 12px;
  }

  body[data-page="thank-you"] .confirmation-card {
    padding: 16px;
    border-radius: 14px;
  }

  body[data-page="thank-you"] .confirmation-mark {
    width: 58px;
    height: 58px;
  }
}
/* Final thank-you refined snapshot strip */
body[data-page="thank-you"] .confirmation-snapshot {
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--surf2);
  gap: 0;
}

body[data-page="thank-you"] .confirmation-snapshot-item {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 16px 18px;
}

body[data-page="thank-you"] .confirmation-snapshot-item + .confirmation-snapshot-item {
  border-left: 1px solid var(--line);
}

body[data-page="thank-you"] .confirmation-snapshot-item span {
  margin-bottom: 7px;
  font-size: 9.5px;
  letter-spacing: .14em;
}

body[data-page="thank-you"] .confirmation-snapshot-item strong {
  font-size: 15px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  body[data-page="thank-you"] .confirmation-snapshot-item + .confirmation-snapshot-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
/* Final thank-you softer receipt tiles */
body[data-page="thank-you"] .confirmation-snapshot {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="thank-you"] .confirmation-snapshot-item {
  position: relative;
  overflow: hidden;
  min-height: 76px;
  display: grid;
  align-content: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, var(--surf2) 100%);
  box-shadow: 0 10px 26px rgba(10, 9, 8, .045);
  padding: 15px 16px;
}

body[data-page="thank-you"] .confirmation-snapshot-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(200, 57, 10, .42);
}

body[data-page="thank-you"] .confirmation-snapshot-item + .confirmation-snapshot-item {
  border-left: 1.5px solid var(--line);
}

body[data-page="thank-you"] .confirmation-snapshot-item span {
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 9.5px;
  letter-spacing: .14em;
}

body[data-page="thank-you"] .confirmation-snapshot-item strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

@media (max-width: 900px) {
  body[data-page="thank-you"] .confirmation-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(3),
  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(4) {
    border-top: 1.5px solid var(--line);
  }
}

@media (max-width: 560px) {
  body[data-page="thank-you"] .confirmation-snapshot {
    grid-template-columns: 1fr;
  }

  body[data-page="thank-you"] .confirmation-snapshot-item + .confirmation-snapshot-item {
    border-top: 1.5px solid var(--line);
  }
}
/* Final thank-you quiet receipt row */
body[data-page="thank-you"] .confirmation-snapshot {
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: none;
}

body[data-page="thank-you"] .confirmation-snapshot-item {
  min-height: 68px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="thank-you"] .confirmation-snapshot-item::before {
  display: none;
}

body[data-page="thank-you"] .confirmation-snapshot-item + .confirmation-snapshot-item {
  border-left: 1px solid var(--line);
}

body[data-page="thank-you"] .confirmation-snapshot-item span {
  margin-bottom: 7px;
  color: var(--subtle);
  font-size: 9.5px;
  letter-spacing: .13em;
}

body[data-page="thank-you"] .confirmation-snapshot-item strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

@media (max-width: 900px) {
  body[data-page="thank-you"] .confirmation-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  body[data-page="thank-you"] .confirmation-snapshot {
    grid-template-columns: 1fr;
  }

  body[data-page="thank-you"] .confirmation-snapshot-item + .confirmation-snapshot-item,
  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(3),
  body[data-page="thank-you"] .confirmation-snapshot-item:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
/* Final thank-you trust note */
body[data-page="thank-you"] .confirmation-trust-note {
  max-width: 680px;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1px solid rgba(10, 9, 8, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

body[data-page="thank-you"] .confirmation-trust-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--ember);
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  body[data-page="thank-you"] .confirmation-trust-note {
    font-size: 12.5px;
    padding: 11px 12px;
  }
}
/* Final thank-you trust note one-line refinement */
@media (min-width: 900px) {
  body[data-page="thank-you"] .confirmation-trust-note {
    max-width: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 12.5px;
  }

  body[data-page="thank-you"] .confirmation-trust-icon {
    margin-top: 0;
  }
}
/* Final thank-you title size polish */
body[data-page="thank-you"] .confirmation-title {
  font-size: clamp(34px, 3.2vw, 42px);
}

@media (max-width: 560px) {
  body[data-page="thank-you"] .confirmation-title {
    font-size: 31px;
  }
}
/* Final thank-you help link */
body[data-page="thank-you"] .confirmation-help-link {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

body[data-page="thank-you"] .confirmation-help-link a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body[data-page="thank-you"] .confirmation-help-link a:hover {
  color: var(--ember);
}
/* Checkout payment fallback icons */
.payment-option-brand--fallback {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.payment-option.selected .payment-option-brand--fallback {
  background: var(--ink);
  color: var(--white);
}

.payment-option-brand-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}


/* Cart empty page polish */
body[data-page="cart"] .empty-panel {
  max-width: 560px;
}

body[data-page="cart"] .empty-panel .empty-state {
  min-height: 250px;
  padding: 38px 30px;
  gap: 14px;
}

body[data-page="cart"] .empty-icon--cart {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), var(--surf2));
  border: 1.5px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(10, 9, 8, .06);
  color: var(--ink3);
  opacity: 1;
}

body[data-page="cart"] .empty-icon-svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

body[data-page="cart"] .empty-title {
  font-family: var(--serif);
  font-size: 27px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
}

body[data-page="cart"] .empty-sub {
  max-width: 380px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 560px) {
  body[data-page="cart"] .empty-panel .empty-state {
    min-height: 220px;
    padding: 32px 22px;
  }

  body[data-page="cart"] .empty-title {
    font-size: 24px;
  }
}


/* Final thank-you solo layout */
body[data-page="thank-you"] .confirmation-section--solo {
  padding-top: clamp(20px, 4vw, 52px);
}

body[data-page="thank-you"] .confirmation-section--solo .w.pad {
  padding-top: 0;
}

@media (max-width: 560px) {
  body[data-page="thank-you"] .confirmation-section--solo {
    padding-top: 18px;
  }
}


/* Order preview solo layout */
body[data-page="order-success"] .confirmation-section--solo {
  padding-top: clamp(20px, 4vw, 52px);
}

body[data-page="order-success"] .confirmation-section--solo .w.pad {
  padding-top: 0;
}

@media (max-width: 560px) {
  body[data-page="order-success"] .confirmation-section--solo {
    padding-top: 18px;
  }
}


/* Order preview action buttons */
body[data-page="order-success"] .confirmation-actions--focused {
  gap: 10px;
  margin-top: 18px;
}

body[data-page="order-success"] .confirmation-actions--focused .btn-primary,
body[data-page="order-success"] .confirmation-actions--focused .btn-secondary {
  min-width: min(260px, 100%);
  height: 48px;
  padding-inline: 22px;
  font-size: 14px;
  letter-spacing: .01em;
}

@media (max-width: 560px) {
  body[data-page="order-success"] .confirmation-actions--focused {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  body[data-page="order-success"] .confirmation-actions--focused .btn-primary,
  body[data-page="order-success"] .confirmation-actions--focused .btn-secondary {
    width: 100%;
    min-width: 0;
    height: 48px;
    border-radius: 22px;
    font-size: 14px;
    letter-spacing: 0;
  }
}


/* Primary button disabled/loading state */
.btn-primary:disabled,
.btn-primary:disabled:hover,
.btn-primary[disabled],
.btn-primary[disabled]:hover {
  background: var(--ink);
  color: var(--white);
  opacity: .78;
  cursor: wait;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* Product stock copy polish: make healthy availability feel like a confidence cue. */
.product-stock-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--rpill);
  background: rgba(18, 140, 126, .08);
  color: var(--success-text);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.product-stock-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(18, 140, 126, .12);
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .product-stock-note {
    justify-self: flex-start;
  }
}

/* codex-mobile-card-price-fix */
@media (max-width: 767px) {
  .card-bottom > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: flex-start;
    row-gap: 2px;
    min-height: 40px;
  }

  .card-bottom > div:first-child .card-price,
  .card-bottom > div:first-child .card-compare {
    display: block;
    white-space: nowrap;
  }

  .card-bottom > div:first-child .card-compare {
    flex-basis: 100%;
    margin-left: 0;
  }
}

/* codex-card-bottom-align-fix */
.product-card {
  display: flex;
  flex-direction: column;
}

.card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.card-bottom {
  margin-top: auto;
}

