:root {
  --bg: #f4f1ea;
  --surface: rgba(255,255,255,.82);
  --surface-strong: #fff;
  --text: #121212;
  --muted: #666460;
  --line: rgba(18,18,18,.07);
  --accent: #111111;
  --accent-2: #d4b483;
  --danger: #c65f53;
  --success: #4f7d63;
  --shadow: 0 18px 60px rgba(0,0,0,.07);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; color: var(--text); background: radial-gradient(circle at top left, rgba(212,180,131,.18), transparent 32%), linear-gradient(180deg, rgba(255,255,255,.72), rgba(244,241,234,.98)), var(--bg); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-height: 0; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); }
.section { padding: 40px 0 72px; }
.section.soft { background: rgba(255,255,255,.32); }
.page-head { padding: 44px 0 8px; }
.page-head h1, .hero-copy h1 { font-size: clamp(2rem, 5vw, 4.2rem); line-height: .96; margin: 10px 0 14px; letter-spacing: -.05em; }
.page-head p, .hero-copy p, .lead, .muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 8px 12px; border-radius: 999px; background: rgba(17,17,17,.06); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.card { background: var(--surface); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.glassy { background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.65)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 20px; border: 1px solid transparent; font-weight: 600; cursor: pointer; transition: .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,17,17,.08); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.7); }
.btn-block { width: 100%; }
.link-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,241,234,.82); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.03); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; }
.brand span { display: grid; gap: 4px; }
.brand small { max-width: 240px; line-height: 1.35; }
.search-mini { width: 214px; flex: 0 0 214px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { object-fit: contain; }
.brand strong { display: block; font-size: 1rem; letter-spacing: -.02em; }
.brand small { color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: center; }
.main-nav a, .site-footer a { color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; margin-left: auto; }
.icon-btn { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.cart-badge span { display: inline-flex; min-width: 22px; justify-content: center; padding: 3px 7px; background: var(--accent); color: #fff; border-radius: 999px; margin-left: 8px; }
.search-mini input, .form-input, textarea, select { width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,.82); border-radius: 16px; padding: 14px 16px; outline: none; font: inherit; }
.search-mini input:focus, .form-input:focus, textarea:focus, select:focus { border-color: rgba(17,17,17,.22); box-shadow: 0 0 0 4px rgba(17,17,17,.04); }
.menu-btn { display: none; border: 1px solid var(--line); background: rgba(255,255,255,.72); border-radius: 16px; padding: 10px 12px; }
.flash-wrap { padding-top: 18px; display: grid; gap: 8px; }
.flash { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.flash-success { border-color: rgba(79,125,99,.2); }
.flash-warning, .flash-danger, .flash-error { border-color: rgba(198,95,83,.2); }
.hero-section { padding: 56px 0 44px; }
.hero-grid, .two-col, .checkout-layout, .article-layout, .chat-layout, .layout-sidebar, .product-layout, .hero-solo { display: grid; gap: 24px; }
.hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .88fr); align-items: stretch; }
.hero-solo { gap: 28px; }
.hero-solo-copy { max-width: 780px; }
.hero-copy { padding: 36px 0; }
.hero-actions, .cta-actions, .badge-row, .chip-list, .gallery-strip, .quantity-row, .price-line, .toolbar, .footer-bottom, .summary-line, .nav-actions, .empty-state-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.hero-points div, .mini-note { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.hero-points strong, .mini-note strong, .product-title { display: block; font-size: 1rem; }
.hero-points span, .mini-note span { display: block; margin-top: 6px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.section-subnote { margin: 10px 0 0; max-width: 60ch; }
.grid { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card, .folder-card { min-height: 220px; }
.product-card { padding: 14px; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; min-height: 100%; }
.product-image { display: block; flex-shrink: 0; aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, rgba(212,180,131,.22), rgba(17,17,17,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; margin-top: 14px; }
.product-meta > .cart-stepper { margin-top: auto; }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 20px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.72); border: 1px dashed rgba(17,17,17,.12); border-radius: 18px; }
.image-placeholder span { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: rgba(17,17,17,.05); }
.image-placeholder.large { min-height: 420px; }
.product-meta p { color: var(--muted); min-height: 42px; }
.product-title { margin-top: 8px; font-size: 1.08rem; }
.product-topline { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(17,17,17,.07); font-size: .78rem; }
.badge.danger { background: rgba(198,95,83,.12); color: #9e4137; }
.price-line strong, .summary-line strong { font-size: 1.1rem; }
.price-line span { color: var(--muted); text-decoration: line-through; }
.price-line-lg strong { font-size: 2rem; }
.layout-sidebar { grid-template-columns: 300px 1fr; }
.filter-panel { position: sticky; top: 104px; align-self: start; }
.split-fields, .form-grid, .spec-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.check-row { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.empty-state { text-align: center; padding: 42px; }
.product-grid > .empty-state { grid-column: 1 / -1; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 26px 0 8px; }
.pagination a { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.product-layout { grid-template-columns: 1.05fr .95fr; align-items: start; }
.product-gallery img { border-radius: 18px; width: 100%; }
.gallery-strip img { width: 80px; height: 80px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.product-panel h1 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; }
.buy-box { margin: 22px 0 18px; }
.qty-input { width: 90px; }
.spec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.spec-grid div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.65); border: 1px solid var(--line); }
.spec-grid span { display: block; color: var(--muted); margin-bottom: 6px; }
.prose { line-height: 1.78; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.checkout-layout { grid-template-columns: 1.25fr .75fr; }
.sticky-box { position: sticky; top: 104px; align-self: start; }
.summary-line { justify-content: space-between; }
.summary-line.total { font-size: 1.1rem; padding-top: 10px; }
.cart-row { display: grid; grid-template-columns: 1.3fr auto auto; align-items: center; gap: 18px; }
.stack-sm, .stack-md, .stack-lg { display: grid; }
.stack-sm { gap: 10px; }
.stack-md { gap: 18px; }
.stack-lg { gap: 24px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.success-box { text-align: center; padding: 38px; }
.auth-card, .checkout-form { padding: 28px; }
.article-layout, .chat-layout, .two-col { grid-template-columns: 1fr 1fr; }
.chat-box { max-height: none; min-height: clamp(680px, calc(100vh - 164px), 980px); height: auto; align-self: stretch; display: flex; flex-direction: column; overflow: hidden; }
.chat-messages { display: grid; gap: 14px; flex: 1 1 auto; min-height: 0; overflow: auto; align-content: start; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(17,17,17,.32) rgba(17,17,17,.06); }
.chat-box { scrollbar-width: thin; scrollbar-color: rgba(17,17,17,.32) rgba(17,17,17,.06); }
.chat-messages::-webkit-scrollbar, .chat-box::-webkit-scrollbar { width: 10px; height: 10px; }
.chat-messages::-webkit-scrollbar-track, .chat-box::-webkit-scrollbar-track { background: rgba(17,17,17,.06); border-radius: 999px; }
.chat-messages::-webkit-scrollbar-thumb, .chat-box::-webkit-scrollbar-thumb { background: rgba(17,17,17,.32); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
.chat-messages::-webkit-scrollbar-thumb:hover, .chat-box::-webkit-scrollbar-thumb:hover { background: rgba(17,17,17,.46); background-clip: content-box; }
:root[data-theme="dark"] .chat-messages, :root[data-theme="dark"] .chat-box { scrollbar-color: rgba(117,135,165,.52) rgba(12,16,23,.72); }
:root[data-theme="dark"] .chat-messages::-webkit-scrollbar-track, :root[data-theme="dark"] .chat-box::-webkit-scrollbar-track { background: rgba(12,16,23,.72); }
:root[data-theme="dark"] .chat-messages::-webkit-scrollbar-thumb, :root[data-theme="dark"] .chat-box::-webkit-scrollbar-thumb { background: rgba(117,135,165,.52); background-clip: content-box; }
:root[data-theme="dark"] .chat-messages::-webkit-scrollbar-thumb:hover, :root[data-theme="dark"] .chat-box::-webkit-scrollbar-thumb:hover { background: rgba(147,164,194,.68); background-clip: content-box; }
.chat-message { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.chat-message.admin, .chat-message.founder { border-color: rgba(17,17,17,.2); background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(212,180,131,.18)); }
.chat-author { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.chat-reply, .chat-time { color: var(--muted); font-size: .9rem; }
.breadcrumbs { display: flex; gap: 10px; color: var(--muted); flex-wrap: wrap; font-size: .92rem; }
.cta-box { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 34px; border-radius: 30px; background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(212,180,131,.18)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.site-footer { padding: 32px 0 20px; border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; }
.footer-grid h4, .footer-grid h5 { margin: 0 0 12px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.contact-handle { display: inline-flex; align-items: center; width: fit-content; padding: 10px 14px; border-radius: 999px; background: rgba(17,17,17,.05); border: 1px solid var(--line); font-weight: 600; }
.footer-bottom { justify-content: space-between; padding-top: 20px; color: var(--muted); }
.catalog-results { display: grid; gap: 20px; }
.toolbar { justify-content: space-between; gap: 16px; margin-bottom: 0; }
.results-count { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.74); border: 1px solid var(--line); font-weight: 700; }
.catalog-empty-state { min-height: 360px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: center; text-align: left; padding: 36px 40px; }
.empty-state-mark { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(212,180,131,.28), rgba(17,17,17,.05)); border: 1px solid rgba(17,17,17,.08); font-size: 2.4rem; font-weight: 700; }
.empty-state-copy h3 { margin: 12px 0 10px; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: .98; letter-spacing: -.04em; }
.empty-state-copy p { margin: 0; max-width: 52ch; color: var(--muted); }
.empty-state-chips { margin-top: 18px; }
.empty-state-actions { margin-top: 24px; }
.form-errors ul { margin: 0; padding-left: 18px; color: #9e4137; }
hr { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
@media (max-width: 1180px) {
  .hero-grid, .checkout-layout, .product-layout, .layout-sidebar, .article-layout, .chat-layout, .two-col { grid-template-columns: 1fr; }
  .filter-panel, .sticky-box { position: static; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-points { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-grid, .footer-grid, .form-grid, .split-fields, .spec-grid, .shipment-summary-grid, .stats-grid, .account-stats, .workspace-grid, .account-grid, .table-row { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: stretch; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1200px); }
  .catalog-empty-state { grid-template-columns: 1fr; padding: 28px; }
  .empty-state-mark { width: 72px; height: 72px; border-radius: 22px; }
  .section { padding: 32px 0 56px; }
  .site-header { top: 0; }
  .brand img.brand-logo { height: 44px; max-width: 250px; }
  .brand small { display: none; }
  .nav-actions { width: 100%; justify-content: space-between; }
  .icon-btn { padding: 10px 12px; }
  .page-head { padding-top: 30px; }
  .hero-section { padding-top: 32px; }
  .hero-actions, .cta-actions, .quantity-row { flex-direction: column; align-items: stretch; }
  .cards-3, .cards-2, .product-grid, .compact-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 1fr; }
  .gallery-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .summary-line { gap: 12px; }
}

body.modal-open { overflow: hidden; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.product-card, .category-card, .folder-card, .card, .icon-btn, .gallery-thumb, .shipment-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.product-card:hover, .category-card:hover, .folder-card:hover, .shipment-card:hover, .icon-btn:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(0,0,0,.10); }
.inner-surface, .muted-surface { background: rgba(255,255,255,.55); }
.shipment-summary-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.progress-note { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(17,17,17,.04); border: 1px solid var(--line); }
.progress-note.success { border-color: rgba(79,125,99,.24); background: rgba(79,125,99,.08); }
.progress-note.danger { border-color: rgba(198,95,83,.2); background: rgba(198,95,83,.07); }
.compact-head { margin-bottom: 12px; }
.mb-lg { margin-bottom: 24px; }
.mt-sm { margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(17,17,17,.05); border: 1px solid var(--line); }
.cart-actions { display: grid; gap: 8px; justify-items: end; }
.hero-warehouse-list { display: grid; gap: 12px; margin-top: 18px; }
.folder-cover, .article-cover { width: 100%; border-radius: 18px; object-fit: cover; margin-bottom: 14px; }
.folder-cover { aspect-ratio: 16 / 9; }
.article-cover { aspect-ratio: 16 / 8; }
.article-body-gallery { display: grid; gap: 16px; }
.article-body-gallery img { border-radius: 18px; }
.article-inline-image { margin: 1.25rem 0; }
.article-inline-image img { border-radius: 18px; width: 100%; }
.zoom-stage { position: relative; overflow: hidden; border-radius: 20px; }
.zoomable-image { transition: transform .25s ease; }
.zoomable-image.is-zoomed { transform: scale(1.85); cursor: zoom-in; }
.zoom-trigger { position: absolute; right: 14px; bottom: 14px; z-index: 2; border: 1px solid var(--line); background: rgba(255,255,255,.86); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.gallery-thumb { border: 1px solid var(--line); background: rgba(255,255,255,.75); border-radius: 16px; padding: 0; overflow: hidden; cursor: pointer; }
.gallery-thumb.is-active { border-color: rgba(17,17,17,.3); transform: translateY(-2px); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(14,14,14,.6); display: grid; place-items: center; padding: 24px; z-index: 200; }
.modal-card { background: #fff; border-radius: 28px; padding: 16px; width: min(980px, 100%); box-shadow: 0 20px 70px rgba(0,0,0,.3); position: relative; }
.zoom-modal-card img { width: 100%; max-height: 85vh; object-fit: contain; border-radius: 18px; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.9); font-size: 1.4rem; cursor: pointer; }
.notification-grid, .workspace-grid, .stats-grid { display: grid; gap: 18px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card strong { font-size: 2rem; display: block; margin-top: 8px; letter-spacing: -.04em; }
.workspace-grid { grid-template-columns: 1.2fr .8fr; }
.table-like { display: grid; gap: 10px; }
.table-row { display: grid; grid-template-columns: 1.1fr .8fr .6fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.reply-preview { padding: 12px 14px; border-radius: 16px; background: rgba(17,17,17,.04); border: 1px dashed rgba(17,17,17,.12); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chat-time-row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.account-grid { display: grid; gap: 24px; grid-template-columns: 1.1fr .9fr; }
.account-stats { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.address-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.62); border: 1px solid var(--line); }
.timeline-note { padding-left: 14px; border-left: 2px solid rgba(17,17,17,.12); }
.admin-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.empty-soft { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px dashed var(--line); }
@media (max-width: 1100px) {
  .shipment-summary-grid, .stats-grid, .account-stats, .workspace-grid, .account-grid, .table-row { grid-template-columns: 1fr; }
}

.mobile-search { display: none; }
.hero-card::after, .testimonial-card::after, .category-card::after, .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 45%);
  pointer-events: none;
}
.product-card:hover .product-image img { transform: scale(1.04); }
.product-card .btn { margin-top: 10px; }
.hero-card { padding: 28px; }
.hero-copy p { max-width: 60ch; font-size: 1.02rem; }
.hero-warehouse-list .mini-note { transition: transform .28s ease, border-color .28s ease; }
.hero-warehouse-list .mini-note:hover { transform: translateY(-2px); border-color: rgba(17,17,17,.16); }
.testimonials-grid { align-items: stretch; }
.testimonial-card { display: grid; gap: 18px; min-height: 100%; }
.testimonial-text { font-size: 1.05rem; line-height: 1.7; margin: 0; letter-spacing: -.01em; }
.testimonial-meta { align-items: end; }
.rating-inline { font-weight: 700; letter-spacing: .18em; color: var(--accent-2); }
.article-preview-card h3 { margin-bottom: 8px; }
.summary-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.main-nav-panel { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: nowrap; }
.main-nav-panel a { white-space: nowrap; }
.main-nav-panel .mobile-search { margin-right: auto; max-width: 320px; }
.nav-actions { flex-wrap: nowrap; }
.menu-btn { transition: background .25s ease, transform .25s ease; }
.menu-btn:hover { transform: translateY(-1px); }
.menu-btn[aria-expanded="true"] { background: rgba(17,17,17,.08); }
body { background: linear-gradient(180deg, #faf6ef 0%, #f4eee4 62%, #ede3d4 100%); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; color: var(--text); cursor: pointer; }
.nav-inline-form { margin: 0; }
.nav-register-btn { padding-inline: 18px; }
.main-nav-panel { align-items: start; }
.nav-panel-auth { display: none; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav-panel-btn { width: 100%; }
.site-footer { margin-top: 0; padding: 44px 0 24px; background: linear-gradient(180deg, rgba(237,228,216,.96), rgba(232,221,207,.99)); border-top: 1px solid rgba(18,18,18,.08); }
.footer-section p { margin: 0; color: var(--muted); }
.footer-grid { gap: 28px; }
.footer-grid a { margin-bottom: 10px; }
.footer-bottom { padding-top: 18px; margin-top: 18px; border-top: 1px solid rgba(18,18,18,.08); }
.flash-wrap { padding-top: 20px; }
.flash { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 14px; padding: 16px 18px; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 16px 36px rgba(0,0,0,.06); }
.flash-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; background: rgba(17,17,17,.07); }
.flash-copy { display: grid; gap: 4px; }
.flash-copy strong { font-size: .98rem; }
.flash-copy span { color: var(--muted); }
.flash-success { border-color: rgba(79,125,99,.32); background: rgba(244,251,247,.94); }
.flash-success .flash-mark { background: rgba(79,125,99,.14); color: var(--success); }
.flash-warning { border-color: rgba(212,180,131,.45); background: rgba(255,249,240,.96); }
.flash-warning .flash-mark { background: rgba(212,180,131,.18); color: #9f6d1f; }
.flash-danger, .flash-error { border-color: rgba(198,95,83,.28); background: rgba(255,244,242,.96); }
.flash-danger .flash-mark, .flash-error .flash-mark { background: rgba(198,95,83,.12); color: var(--danger); }
.auth-section { padding-top: 48px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 24px; align-items: stretch; }
.auth-panel, .auth-side { min-height: 100%; }
.auth-toggle { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(17,17,17,.05); margin-bottom: 18px; }
.auth-toggle-link { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: .2s ease; }
.auth-toggle-link.is-active { background: #fff; color: var(--text); box-shadow: 0 10px 22px rgba(0,0,0,.06); }
.auth-card h1, .auth-side h2 { margin: 10px 0 10px; font-size: clamp(2rem, 4vw, 3.1rem); line-height: .95; letter-spacing: -.05em; }
.auth-form { margin-top: 18px; }
.auth-actions { display: grid; gap: 12px; }
.auth-benefits { display: grid; gap: 12px; margin: 22px 0; }
.text-link { color: var(--muted); font-weight: 600; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 700; }
.form-field.is-invalid .form-input { border-color: rgba(198,95,83,.45); box-shadow: 0 0 0 4px rgba(198,95,83,.08); }
.form-help { color: var(--muted); font-size: .92rem; }
.field-error { color: #9e4137; font-size: .92rem; font-weight: 600; }
.form-alert { display: grid; gap: 6px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); }
.form-alert-error { background: rgba(255,244,242,.95); border-color: rgba(198,95,83,.26); }
.coupon-summary-box { display: grid; gap: 18px; }
.coupon-box { display: grid; gap: 12px; padding-bottom: 4px; }
.coupon-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.coupon-feedback { display: grid; gap: 4px; padding: 13px 14px; border-radius: 16px; border: 1px solid var(--line); font-size: .95rem; }
.coupon-feedback span { color: var(--muted); }
.coupon-feedback-success { background: rgba(244,251,247,.92); border-color: rgba(79,125,99,.24); }
.coupon-feedback-warning { background: rgba(255,249,240,.94); border-color: rgba(212,180,131,.34); }
.coupon-feedback-danger { background: rgba(255,244,242,.94); border-color: rgba(198,95,83,.26); }
.coupon-feedback-info { background: rgba(255,255,255,.92); }
button[disabled], .btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.contact-card-grid { align-items: stretch; }
.contact-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
.contact-card-center { text-align: center; }
.contact-card-stack { margin-top: auto; align-items: center; }
.contact-button { text-align: center; }
.static-page-prose h2 { margin-top: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 1.06rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: rgba(17,17,17,.06); font-size: 1.2rem; flex: 0 0 32px; }
.faq-item[open] summary::after { content: '–'; }
.faq-answer { padding: 0 24px 24px; color: var(--muted); }
@media (max-width: 980px) {
  .nav-panel-auth { display: grid; }
  .auth-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .coupon-actions { grid-template-columns: 1fr; }
  .auth-toggle { width: 100%; }
  .auth-toggle-link { flex: 1; }
}

/* Final visual cleanup */
html, body {
  min-height: 100%;
  background: #efe7db;
}

body {
  background: linear-gradient(180deg, #faf6ef 0%, #f3ede3 58%, #efe7db 100%);
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  background: rgba(244, 241, 234, 0.94);
}

.nav-row {
  min-height: 88px;
  gap: 20px;
}

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

.main-nav-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.main-nav-panel > a {
  font-weight: 500;
}

.main-nav-mobile-auth {
  display: none;
}

.nav-search-desktop {
  width: 215px;
  flex: 0 0 215px;
}

.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions {
  gap: 10px;
  flex-shrink: 0;
}

.nav-register-btn,
.header-auth-actions .icon-btn,
.header-auth-actions .btn {
  min-height: 46px;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.flash-wrap {
  padding-top: 16px;
}

.flash {
  border-radius: 20px;
}

.auth-section {
  padding-top: 42px;
}

.auth-single-wrap {
  width: min(620px, 100%);
  margin: 0 auto;
}

.auth-card-single {
  padding: 32px;
}

.auth-card-single h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.auth-intro {
  margin-bottom: 4px;
}

.auth-toggle {
  margin-bottom: 22px;
}

.auth-footer-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.auth-footer-links-center {
  justify-content: center;
}

.form-alert-prominent {
  margin-top: 20px;
  padding: 18px 20px;
  border-width: 1px;
  border-color: rgba(198, 95, 83, 0.34);
  background: linear-gradient(180deg, rgba(255, 240, 236, 0.98), rgba(255, 246, 244, 0.96));
  box-shadow: 0 18px 34px rgba(198, 95, 83, 0.12);
}

.form-alert-prominent strong {
  font-size: 1rem;
}

.form-input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: rgba(198, 95, 83, 0.44);
  box-shadow: 0 0 0 4px rgba(198, 95, 83, 0.08);
}

.coupon-box {
  gap: 10px;
}

.coupon-feedback-inline {
  gap: 6px;
  border-radius: 18px;
  padding: 14px 15px;
}

.coupon-feedback-inline strong {
  font-size: 0.96rem;
}

.coupon-feedback-danger,
.coupon-feedback-warning {
  background: rgba(255, 241, 239, 0.97);
  border-color: rgba(198, 95, 83, 0.28);
}

.coupon-feedback-danger span,
.coupon-feedback-warning span {
  color: #5d3a35;
}

.coupon-feedback-success {
  background: rgba(244, 251, 247, 0.96);
}

button[disabled],
.btn[disabled] {
  opacity: 0.42;
}

.contact-card-grid {
  align-items: stretch;
}

.contact-card {
  min-height: 100%;
}

.contact-info-list {
  align-content: start;
}

.contact-button {
  min-height: 48px;
}

.faq-intro-card {
  padding-bottom: 18px;
}

.faq-list {
  gap: 12px;
}

.faq-item summary {
  padding: 20px 22px;
}

.faq-answer {
  padding: 0 22px 22px;
}

.success-actions {
  justify-content: center;
}

.success-actions .btn {
  min-width: 220px;
}

.site-footer {
  margin-top: 0;
  padding: 36px 0 18px;
  background: linear-gradient(180deg, rgba(237, 228, 216, 0.98), rgba(233, 223, 210, 1));
}

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

.footer-bottom {
  padding-top: 16px;
  margin-top: 14px;
}
.footer-powered-link {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(102, 100, 96, 0.5);
  line-height: 1.2;
  transition: color .2s ease, border-bottom-color .2s ease;
}

.footer-powered-link:hover,
.footer-powered-link:focus-visible {
  color: var(--text);
  border-bottom-color: currentColor;
}

.footer-bottom,
.footer-grid {
  position: relative;
  z-index: 1;
}

.footer-section h5,
.footer-brand-section h4 {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .brand small {
    max-width: 180px;
  }

  .nav-search-desktop {
    width: 190px;
    flex-basis: 190px;
  }

  .main-nav-panel {
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .nav-row {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 0;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  }

  .main-nav-panel a {
    white-space: normal;
    color: var(--text);
  }

  .main-nav-panel .btn-primary {
    color: #fff;
  }

  .mobile-search {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .main-nav-mobile-auth {
    display: grid;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .nav-panel-btn {
    width: 100%;
  }

  .nav-search-desktop,
  .header-auth-actions {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .brand small {
    max-width: 150px;
  }

  .auth-card-single {
    padding: 24px 20px;
  }

  .auth-footer-links {
    display: grid;
    justify-content: stretch;
  }

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

  .success-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .checkout-layout,
  .article-layout,
  .chat-layout,
  .layout-sidebar,
  .product-layout,
  .cards-3,
  .cards-2,
  .product-grid,
  .compact-grid,
  .footer-grid,
  .hero-points,
  .split-fields,
  .form-grid,
  .spec-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .sticky-box,
  .filter-panel {
    position: static;
    top: auto;
  }

  .cart-row,
  .table-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-head {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100%, calc(100% - 24px));
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand img.brand-logo {
    height: 44px;
    max-width: 250px;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .nav-actions {
    width: auto;
    gap: 8px;
  }

  .cart-badge {
    padding-inline: 12px;
  }

  .page-head {
    padding-top: 34px;
  }

  .page-head h1,
  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .empty-state,
  .card,
  .auth-card,
  .checkout-form {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* Header stability pass */
.nav-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.brand,
.main-nav,
.nav-actions {
  min-width: 0;
}

.main-nav {
  justify-self: stretch;
}

.main-nav-panel {
  width: 100%;
  justify-content: center;
  gap: 16px;
}

.main-nav-panel > a,
.header-auth-actions .icon-btn,
.header-auth-actions .btn,
.cart-badge {
  white-space: nowrap;
}

.nav-actions {
  justify-self: end;
}

.nav-search-desktop {
  width: min(220px, 18vw);
  flex: 0 1 220px;
}

@media (max-width: 1360px) {
  .brand small {
    max-width: 170px;
  }

  .main-nav-panel {
    gap: 14px;
    font-size: 0.96rem;
  }

  .nav-search-desktop {
    width: 188px;
    flex-basis: 188px;
  }

  .header-auth-actions {
    gap: 8px;
  }

  .header-auth-actions .icon-btn,
  .header-auth-actions .btn,
  .cart-badge {
    padding-inline: 14px;
  }
}

@media (max-width: 1180px) {
  .nav-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    row-gap: 14px;
    min-height: auto;
    padding: 14px 0;
  }

  .brand {
    grid-area: brand;
  }

  .nav-actions {
    grid-area: actions;
    margin-left: 0;
  }

  .main-nav {
    grid-area: nav;
    display: none;
    width: 100%;
    order: initial;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  }

  .main-nav-panel a {
    white-space: normal;
    color: var(--text);
  }

  .main-nav-panel .btn-primary {
    color: #fff;
  }

  .mobile-search {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .main-nav-mobile-auth {
    display: grid;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .nav-panel-btn {
    width: 100%;
  }

  .nav-search-desktop,
  .header-auth-actions {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

/* Contact page cleanup */
.contact-layout {
  display: grid;
  gap: 22px;
}

.contact-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.contact-hero-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-hero-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.contact-hero-points {
  display: grid;
  gap: 12px;
}

.contact-note {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line);
}

.contact-note strong {
  font-size: 1rem;
}

.contact-note span {
  color: var(--muted);
}

.contact-note a {
  color: inherit;
}

.contact-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.contact-manager-card {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.contact-tips-card {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
}

.contact-person-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-card-head {
  display: grid;
  gap: 10px;
}

.contact-card-head h3 {
  margin: 0;
}

.contact-role-copy {
  margin: 0;
  color: var(--muted);
  min-height: 72px;
}

.contact-button {
  justify-content: center;
}

.contact-tips-card p:last-child {
  margin-bottom: 0;
}

.reviews-page-stack,
.partnership-page-stack {
  display: grid;
  gap: 24px;
}

.reviews-page-intro {
  display: grid;
  gap: 18px;
}

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

.partnership-layout-page {
  align-items: start;
}

.partnership-points-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partnership-eyebrow {
  align-self: start;
}

/* Email verification actions */
.verify-note,
.verify-panel {
  display: grid;
  gap: 14px;
}

.verify-note-copy {
  display: grid;
  gap: 6px;
}

.verify-note-copy strong {
  font-size: 1rem;
}

.verify-note-copy span {
  color: var(--muted);
}

.verify-note-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.verify-note-actions form {
  margin: 0;
}

.chip-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.verify-email-card {
  display: grid;
  gap: 18px;
}

.verify-email-meta {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.verify-email-meta strong {
  font-size: 1rem;
}

.verify-email-meta span {
  color: var(--muted);
}

@media (max-width: 980px) {
  .contact-hero-card,
  .contact-secondary-grid,
  .partnership-points-page {
    grid-template-columns: 1fr;
  }

  .contact-manager-card,
  .contact-tips-card {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-role-copy {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .verify-note-actions {
    display: grid;
  }

  .verify-note-actions .chip,
  .verify-note-actions button {
    width: 100%;
    justify-content: center;
  }
}


/* v4 header, cart and checkout polish */
.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  line-height: 1.05;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.cart-stepper {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.cart-stepper-add {
  display: block;
}

.cart-stepper-form {
  margin: 0;
}

.cart-stepper-status {
  min-width: 116px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  text-align: center;
  display: grid;
  gap: 2px;
}

.cart-stepper-status strong {
  font-size: 1.1rem;
  line-height: 1;
}

.cart-stepper-status span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-stepper-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  font: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cart-stepper-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(17,17,17,.08);
}

.cart-stepper.has-quantity {
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
}

.product-buy-row {
  align-items: stretch;
}

.product-buy-row .btn {
  min-width: 220px;
}

.checkout-submit-row {
  margin-top: 24px;
}

.checkout-submit-row .btn {
  min-width: 240px;
}

@media (max-width: 1499px) {
  .nav-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    row-gap: 14px;
    min-height: auto;
    padding: 14px 0;
  }

  .brand {
    grid-area: brand;
  }

  .nav-actions {
    grid-area: actions;
    margin-left: 0;
  }

  .main-nav {
    grid-area: nav;
    display: none;
    width: 100%;
    order: initial;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 40px rgba(0,0,0,.06);
  }

  .main-nav-panel a {
    white-space: normal;
    color: var(--text);
  }

  .main-nav-panel .btn-primary {
    color: #fff;
  }

  .mobile-search {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .main-nav-mobile-auth {
    display: grid;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .nav-panel-btn {
    width: 100%;
  }

  .nav-search-desktop,
  .header-auth-actions {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .cart-stepper.has-quantity {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .cart-stepper-btn {
    width: 44px;
    height: 44px;
  }

  .product-buy-row .btn,
  .checkout-submit-row .btn {
    min-width: 0;
    width: 100%;
  }
}


/* v6 catalog, cart, articles */
.catalog-empty-state { min-height: 0; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 40px; padding: 42px; align-items: center; }
.catalog-empty-state .empty-state-copy { max-width: 640px; }
.empty-state-copy h2 { margin: 12px 0 16px; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: .95; letter-spacing: -.05em; max-width: 12ch; }
.empty-state-copy p { font-size: 1.05rem; line-height: 1.7; color: var(--muted); max-width: 56ch; }
.empty-state-side { display: grid; gap: 18px; align-content: center; }
.empty-state-side .mini-note { background: rgba(255,255,255,.82); }
.empty-state-tips { gap: 12px; }
.cart-item-link { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%; min-width: 0; }
.cart-item-thumb { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, rgba(212,180,131,.18), rgba(17,17,17,.04)); border: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; padding: 8px; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-copy { display: grid; gap: 6px; }
.cart-item-copy strong { font-size: 1.02rem; }
.cart-item-copy span { color: var(--muted); }
.cart-item-open { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: .88rem; font-weight: 600; }
.cart-item-open::after { content: "→"; }
.cart-stepper, .cart-line-stepper { position: relative; z-index: 2; }
.cart-stepper-status { pointer-events: none; }
.cart-stepper-form { display: grid; margin: 0; }
.cart-line-stepper { display: grid; grid-template-columns: 48px minmax(96px, 116px) 48px; gap: 12px; align-items: center; justify-content: center; }
.review-card p { margin-bottom: 0; }
.review-form .form-field { gap: 10px; }
.review-form .form-field label { font-weight: 700; }
.review-form textarea.form-input { min-height: 140px; resize: vertical; }
.coupon-box-checkout { gap: 14px; }
.coupon-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .82fr); gap: 18px; align-items: start; }
.coupon-field-stack { display: grid; gap: 12px; }
.coupon-field-stack label { font-weight: 700; }
.coupon-side-note { height: 100%; align-content: center; }
.checkout-submit-row { margin-top: 32px; padding-top: 8px; }
@media (max-width: 980px) { .coupon-layout, .catalog-empty-state { grid-template-columns: 1fr; } .empty-state-copy h2 { max-width: none; } }
@media (max-width: 820px) { .catalog-empty-state { padding: 28px; } .empty-state-side { grid-template-columns: 72px minmax(0, 1fr); align-items: center; } }
@media (max-width: 720px) { .cart-line-stepper { grid-template-columns: 44px minmax(0, 1fr) 44px; width: 100%; justify-content: stretch; } .cart-item-open { font-size: .82rem; } }
@media (max-width: 640px) { .empty-state-copy h2 { font-size: 2.35rem; } .empty-state-actions { display: grid; gap: 12px; } .empty-state-actions .btn { width: 100%; } .empty-state-side { grid-template-columns: 1fr; } .cart-item-link { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; } .cart-item-thumb { width: 60px; height: 60px; border-radius: 16px; } }

/* v7 polish: empty results, cart controls, coupons */
.catalog-empty-state {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 32px;
  padding: 36px;
  align-items: center;
}

.empty-state-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 14ch;
}

.empty-state-copy p {
  max-width: 54ch;
}

.empty-state-note {
  gap: 12px;
  padding: 18px 20px;
}

.empty-state-note ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.cart-stepper.is-compact {
  gap: 10px;
}

.product-card .cart-stepper.has-quantity,
.product-panel .cart-stepper.has-quantity {
  grid-template-columns: 44px minmax(0, 88px) 44px;
}

.product-card .cart-stepper-status,
.product-panel .cart-stepper-status,
.cart-line-stepper .cart-stepper-status {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
}

.product-card .cart-stepper-status strong,
.product-panel .cart-stepper-status strong,
.cart-line-stepper .cart-stepper-status strong {
  font-size: 1.05rem;
}

.product-card .cart-stepper-status span,
.product-panel .cart-stepper-status span,
.cart-line-stepper .cart-stepper-status span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.product-card .cart-stepper-btn,
.product-panel .cart-stepper-btn,
.cart-line-stepper .cart-stepper-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.cart-item-link {
  text-decoration: none;
}

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

.coupon-actions .btn {
  margin-top: 0;
}

.coupon-checkout-form,
.coupon-box[data-coupon-form] {
  display: contents;
}

@media (max-width: 980px) {
  .catalog-empty-state {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .product-card .cart-stepper.has-quantity,
  .product-panel .cart-stepper.has-quantity,
  .cart-line-stepper {
    grid-template-columns: 42px minmax(0, 76px) 42px;
    gap: 10px;
  }

  .product-card .cart-stepper-btn,
  .product-panel .cart-stepper-btn,
  .cart-line-stepper .cart-stepper-btn {
    width: 42px;
    height: 42px;
  }

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


/* v6.1 empty results refresh */
.catalog-empty-state {
  min-height: 360px;
  display: block;
  text-align: left;
  padding: 36px 40px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.74));
}

.catalog-empty-state::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,180,131,.85), rgba(212,180,131,0));
}

.catalog-empty-state .empty-state-copy {
  max-width: 720px;
}

.empty-state-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.empty-state-note {
  color: var(--muted);
  font-weight: 500;
}

.empty-state-copy h2,
.empty-state-copy h3 {
  margin: 16px 0 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: .96;
  letter-spacing: -.05em;
  max-width: 12ch;
}

.empty-state-copy p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.empty-state-group {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.empty-state-label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-state-chips,
.empty-state-links {
  margin-top: 0;
}

.empty-state-actions {
  margin-top: 28px;
}

@media (max-width: 680px) {
  .catalog-empty-state {
    padding: 28px;
  }

  .empty-state-copy h2,
  .empty-state-copy h3 {
    max-width: none;
  }
}

/* Zerox March refresh */
.brand {
  flex: 0 0 auto;
}

.brand img.brand-logo {
  width: auto;
  height: 64px;
  max-width: min(420px, 34vw);
  object-fit: contain;
}

.brand,
.footer-brand-section {
  min-width: 0;
}

.footer-brand-logo {
  width: min(320px, 100%);
  height: auto;
  margin-bottom: 14px;
}

.hero-section-photo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 36%, rgba(0, 109, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(244, 238, 228, 0.96) 0%, rgba(250, 246, 239, 0.92) 48%, rgba(239, 231, 219, 0.88) 100%);
}

.hero-solo-surface {
  padding: 22px 0;
}

.hero-solo-surface .hero-copy,
.hero-solo-surface .hero-points div {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 28px;
  backdrop-filter: blur(12px);
}

.hero-solo-surface .hero-copy {
  padding: 34px;
}

.hero-solo-surface .hero-points div {
  min-height: 100%;
}

.reviews-showcase {
  display: grid;
  gap: 24px;
}

.reviews-intro {
  display: grid;
  gap: 18px;
}

.reviews-intro h2,
.partnership-copy h2,
.reviews-page-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.reviews-intro p,
.partnership-copy p,
.reviews-page-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.reviews-intro-points,
.partnership-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reviews-intro-points div,
.partnership-points div,
.delivery-highlight-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.reviews-intro-points strong,
.partnership-points strong {
  display: block;
  margin-bottom: 6px;
}

.reviews-intro-points span,
.partnership-points span {
  color: var(--muted);
}

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

.review-showcase-card {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.review-showcase-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.04);
}

.review-showcase-media img,
.partnership-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-showcase-body {
  display: grid;
  gap: 12px;
  padding: 6px 6px 2px;
}

.review-showcase-topline {
  justify-content: space-between;
}

.review-showcase-text {
  margin: 0;
  line-height: 1.7;
}

.review-showcase-meta {
  display: grid;
  gap: 4px;
}

.reviews-page-intro .eyebrow,
.partnership-copy .eyebrow {
  align-self: start;
}

.partnership-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.partnership-copy {
  display: grid;
  gap: 20px;
}

.partnership-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-micro-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-micro-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  border: 1px solid var(--line);
  font-weight: 600;
}

.social-micro-pill img {
  width: 16px;
  height: 16px;
}

.partnership-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: 100%;
}

.partnership-photo-card {
  padding: 0;
  min-height: 280px;
}

.partnership-photo-tall {
  grid-row: span 2;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.contact-main-stack {
  display: grid;
  gap: 22px;
}

.contact-bot-card {
  display: grid;
  gap: 18px;
  align-content: start;
  position: sticky;
  top: 108px;
}

.contact-bot-qr {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.contact-bot-qr img {
  width: 100%;
  height: auto;
}

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

.contact-bot-copy h3,
.delivery-highlight-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.contact-bot-copy p,
.delivery-highlight-card p {
  margin: 0;
  color: var(--muted);
}

.contact-bot-note {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid var(--line);
}

.contact-bot-note ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.delivery-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}


.bestpeptid-delivery-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.bestpeptid-delivery-card {
  display: grid;
  gap: 18px;
  align-content: start;
  height: 100%;
}

.bestpeptid-delivery-card .eyebrow {
  width: 100%;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(17,17,17,.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bestpeptid-delivery-card h2,
.bestpeptid-delivery-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.bestpeptid-delivery-card p,
.bestpeptid-delivery-note span {
  margin: 0;
  color: var(--muted);
}

.bestpeptid-delivery-card--hero {
  grid-column: span 2;
}

.bestpeptid-delivery-card--pricing {
  grid-column: span 2;
}

.bestpeptid-delivery-card--carriers {
  text-align: center;
}

.bestpeptid-delivery-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.bestpeptid-delivery-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  font-weight: 700;
}

.bestpeptid-delivery-note {
  background: rgba(255, 255, 255, 0.72);
}

.bestpeptid-delivery-note--pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bestpeptid-delivery-note--pricing strong {
  font-size: 1.05rem;
}

.product-card {
  min-width: 0;
}

.product-title,
.product-meta p {
  word-break: break-word;
}

.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.42;
  min-height: calc(1.42em * 3);
}

.product-meta p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: calc(1.5em * 2);
  margin-bottom: 0;
}

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

@media (max-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partnership-layout,
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-bot-card {
    position: static;
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .reviews-intro-points,
  .reviews-grid,
  .delivery-highlight-grid,
  .partnership-points,
  .partnership-gallery-grid,
  .bestpeptid-delivery-layout {
    grid-template-columns: 1fr;
  }

  .bestpeptid-delivery-card--hero,
  .bestpeptid-delivery-card--pricing {
    grid-column: span 1;
  }

  .partnership-photo-tall {
    grid-row: span 1;
  }

  .hero-solo-surface .hero-copy {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .brand img.brand-logo {
    height: 44px;
    max-width: 250px;
  }

  .hero-section-photo {
    background-position: 72% center;
  }

  .hero-solo-surface {
    padding: 12px 0;
  }

  .hero-solo-surface .hero-copy {
    padding: 22px;
  }

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

  .product-card {
    padding: 10px;
    gap: 0;
    border-radius: 18px;
  }

  .product-meta {
    margin-top: 10px;
  }

  .product-image {
    border-radius: 14px;
  }

  .product-topline {
    gap: 6px;
  }

  .product-card .badge {
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  .product-title {
    font-size: 0.94rem;
    line-height: 1.25;
    min-height: calc(1.25em * 3);
  }

  .product-meta p {
    font-size: 0.83rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
    min-height: calc(1.45em * 3);
  }

  .price-line strong,
  .summary-line strong {
    font-size: 0.98rem;
  }

  .product-card .btn,
  .product-card .cart-stepper-status {
    font-size: 0.8rem;
  }

  .review-showcase-text {
    font-size: 0.94rem;
  }

  .social-micro-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .delivery-highlight-card,
  .reviews-intro-points div,
  .partnership-points div {
    padding: 16px;
  }
}


/* Final header/contact alignment fixes */
.brand img.brand-logo {
  height: 58px;
  max-width: min(300px, 24vw);
}

.nav-search-desktop {
  width: clamp(150px, 13vw, 190px);
  flex: 0 1 clamp(150px, 13vw, 190px);
}

.main-nav-panel {
  gap: 14px;
}

.main-nav-panel > a {
  font-size: 0.95rem;
}

.contact-secondary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.contact-person-card {
  height: 100%;
}

.contact-manager-card {
  grid-column: 2;
  grid-row: 1;
}

.contact-tips-card {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (max-width: 1360px) and (min-width: 1181px) {
  .nav-row {
    grid-template-columns: minmax(220px, auto) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    row-gap: 12px;
    min-height: auto;
    padding: 14px 0;
  }

  .brand {
    grid-area: brand;
  }

  .nav-actions {
    grid-area: actions;
    margin-left: 0;
    justify-self: end;
  }

  .main-nav {
    grid-area: nav;
    display: flex;
    width: 100%;
  }

  .main-nav-panel {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

@media (max-width: 820px) {
  .contact-secondary-grid {
    grid-template-columns: 1fr;
  }

  .contact-manager-card,
  .contact-tips-card {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .brand img.brand-logo {
    height: 46px;
    max-width: 250px;
  }
}


/* March v4 polish */
.site-header .container {
  width: min(1440px, calc(100% - 40px));
}

@media (min-width: 1025px) {
  .nav-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand . actions"
      "nav nav nav";
    align-items: center;
    row-gap: 12px;
    column-gap: 18px;
    min-height: auto;
    padding: 14px 0 12px;
  }

  .brand {
    grid-area: brand;
  }

  .brand img.brand-logo {
    height: 56px;
    max-width: min(280px, 22vw);
  }

  .main-nav {
    grid-area: nav;
    display: flex;
    width: 100%;
    justify-self: stretch;
  }

  .main-nav-panel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 18px;
  }

  .main-nav-panel > a {
    font-size: 1rem;
  }

  .nav-actions {
    grid-area: actions;
    justify-self: end;
    margin-left: 0;
    gap: 10px;
  }

  .nav-search-desktop {
    width: clamp(180px, 17vw, 240px);
    flex: 0 1 clamp(180px, 17vw, 240px);
  }

  .header-auth-actions {
    gap: 10px;
  }

  .menu-btn {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .site-header .container {
    width: min(1440px, calc(100% - 28px));
  }

  .brand img.brand-logo {
    height: 52px;
    max-width: 240px;
  }

  .nav-search-desktop {
    width: 180px;
    flex-basis: 180px;
  }

  .icon-btn,
  .nav-register-btn {
    padding-inline: 14px;
  }
}

.contact-main-grid {
  align-items: stretch;
}

.contact-main-stack {
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.contact-hero-card {
  align-items: start;
}

.contact-hero-copy h2 {
  font-size: clamp(2.1rem, 3.3vw, 3rem);
}

.contact-note {
  gap: 10px;
  align-content: start;
}

.contact-note strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.contact-note span {
  font-size: 1.04rem;
  line-height: 1.7;
}

.contact-secondary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  height: 100%;
}

.contact-person-card {
  height: 100%;
}

.contact-tips-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.reviews-intro-centered {
  justify-items: center;
  text-align: center;
}

.reviews-intro-centered p {
  max-width: 760px;
  margin-inline: auto;
}

.reviews-intro-centered .hero-actions {
  justify-content: center;
}

.partnership-home-btn {
  padding-inline: 18px;
}

@media (max-width: 1100px) {
  .contact-main-stack {
    grid-template-rows: auto;
  }

  .contact-secondary-grid {
    height: auto;
    grid-template-rows: auto;
  }
}

/* v5 header, contact and CTA refinements */
.site-header .container {
  width: min(1760px, calc(100% - 36px));
}

@media (min-width: 1025px) {
  .nav-row {
    display: grid;
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr) minmax(330px, 430px);
    grid-template-areas:
      "brand nav actions"
      "brand nav actions";
    align-items: center;
    column-gap: 28px;
    row-gap: 10px;
    min-height: auto;
    padding: 12px 0;
  }

  .brand {
    grid-area: brand;
    align-self: center;
    justify-self: start;
  }

  .brand img.brand-logo {
    height: 58px;
    width: auto;
    max-width: 100%;
  }

  .main-nav {
    grid-area: nav;
    display: flex;
    width: 100%;
    align-self: stretch;
  }

  .main-nav-panel {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 10px 20px;
  }

  .main-nav-panel > a {
    width: 100%;
    padding: 8px 0;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .nav-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "search search"
      "auth cart";
    align-items: center;
    justify-items: stretch;
    gap: 10px 12px;
    width: 100%;
    max-width: 430px;
    margin-left: 0;
  }

  .nav-search-desktop {
    grid-area: search;
    width: 100%;
    flex: none;
  }

  .header-auth-actions {
    grid-area: auth;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
  }

  .cart-badge {
    grid-area: cart;
    justify-self: end;
  }

  .mobile-search,
  .main-nav-mobile-auth,
  .menu-btn {
    display: none !important;
  }
}

@media (min-width: 1025px) and (max-width: 1380px) {
  .site-header .container {
    width: min(1700px, calc(100% - 26px));
  }

  .nav-row {
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) minmax(310px, 390px);
    column-gap: 18px;
  }

  .main-nav-panel {
    gap: 8px 14px;
  }

  .main-nav-panel > a {
    font-size: 0.94rem;
  }

  .nav-register-btn,
  .header-auth-actions .icon-btn,
  .cart-badge {
    padding-inline: 14px;
  }
}

.contact-hero-card {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.72fr);
}

.contact-hero-copy {
  display: grid;
  align-content: start;
}

.contact-hero-copy h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
}

.contact-hero-points {
  align-content: stretch;
}

.contact-note {
  min-height: 100%;
  padding: 24px 22px;
  gap: 8px;
  justify-content: center;
}

.contact-note strong {
  font-size: 1.22rem;
}

.contact-note span {
  font-size: 1.02rem;
  line-height: 1.68;
}

.contact-main-stack {
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100%;
}

.contact-secondary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "consultant manager"
    "vk tips";
  grid-template-rows: auto auto;
  align-items: stretch;
  height: 100%;
}

.contact-secondary-grid > :first-child {
  grid-area: consultant;
}

.contact-manager-card {
  grid-area: manager;
}

.contact-vk-card {
  grid-area: vk;
}

.contact-tips-card {
  grid-area: tips;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.contact-tips-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  line-height: 1.05;
}

.contact-tips-card p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.reviews-intro-centered {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.reviews-intro-centered > * {
  margin-left: auto;
  margin-right: auto;
}

.reviews-intro-centered .hero-actions {
  width: 100%;
  justify-content: center;
}

.partnership-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-width: 216px;
  padding: 14px 24px;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
}

@media (max-width: 1100px) {
  .contact-main-stack {
    grid-template-rows: auto;
  }

  .contact-secondary-grid {
    grid-template-areas: none;
    grid-template-rows: auto;
    height: auto;
  }

  .contact-secondary-grid > :first-child,
  .contact-manager-card,
  .contact-tips-card {
    grid-area: auto;
  }
}

/* v6 header, CTA and empty cart polish */
.site-header .container {
  width: min(1720px, calc(100% - 32px));
}

@media (min-width: 1025px) {
  .nav-row {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(420px, 1fr) minmax(350px, 420px);
    grid-template-areas:
      "brand nav actions"
      "brand nav actions";
    align-items: center;
    column-gap: 24px;
    row-gap: 8px;
    min-height: auto;
    padding: 12px 0;
  }

  .brand {
    grid-area: brand;
    align-self: center;
    justify-self: start;
  }

  .brand img.brand-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
  }

  .main-nav {
    grid-area: nav;
    display: flex;
    width: 100%;
    align-self: stretch;
  }

  .main-nav-panel {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(108px, 1fr));
    grid-auto-rows: minmax(40px, auto);
    align-items: center;
    justify-items: center;
    column-gap: 18px;
    row-gap: 6px;
  }

  .main-nav-panel > a {
    width: 100%;
    padding: 8px 6px;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .nav-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "search search search"
      "auth auth cart";
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin-left: 0;
    align-self: center;
    justify-items: stretch;
  }

  .nav-search-desktop {
    grid-area: search;
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .nav-search-desktop input {
    width: 100%;
  }

  .header-auth-actions {
    grid-area: auth;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .header-auth-actions .icon-btn,
  .header-auth-actions .btn,
  .cart-badge {
    width: 100%;
    justify-content: center;
    padding-inline: 16px;
  }

  .cart-badge {
    grid-area: cart;
    justify-self: stretch;
  }

  .mobile-search,
  .main-nav-mobile-auth,
  .menu-btn {
    display: none !important;
  }
}

@media (min-width: 1025px) and (max-width: 1320px) {
  .site-header .container {
    width: min(1660px, calc(100% - 24px));
  }

  .nav-row {
    grid-template-columns: minmax(220px, 280px) minmax(360px, 1fr) minmax(320px, 390px);
    column-gap: 18px;
  }

  .brand img.brand-logo {
    height: 54px;
  }

  .main-nav-panel {
    column-gap: 14px;
  }

  .main-nav-panel > a {
    font-size: 0.95rem;
  }

  .header-auth-actions .icon-btn,
  .header-auth-actions .btn,
  .cart-badge {
    padding-inline: 12px;
  }
}

@media (max-width: 640px) {
  .brand img.brand-logo {
    height: 38px;
    max-width: 190px;
  }

  .nav-actions {
    gap: 6px;
  }

  .cart-badge {
    padding-inline: 10px;
  }

  .cart-badge span {
    min-width: 20px;
    padding: 3px 6px;
  }
}

.empty-state-actions {
  width: 100%;
  justify-content: center;
}

.empty-state-actions .btn {
  margin-inline: auto;
}

.partnership-home-btn {
  width: 190px;
  min-height: 54px;
  padding: 12px 18px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}

/* v7 mobile contacts cleanup */
@media (max-width: 767px) {
  .contact-main-stack {
    gap: 16px;
  }

  .contact-hero-card {
    grid-template-columns: 1fr;
  }

  .contact-secondary-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
    gap: 16px;
    align-items: stretch;
  }

  .contact-secondary-grid > *,
  .contact-manager-card,
  .contact-tips-card {
    grid-area: auto !important;
    min-height: 0;
  }

  .contact-card-head h3 {
    font-size: 1.12rem;
  }

  .contact-role-copy,
  .contact-tips-card p {
    min-height: 0;
  }

  .contact-button {
    width: 100%;
  }
}

/* Centralized storefront mobile menu animation */
@media (max-width: 1024px) {
  body.menu-open {
    overflow: hidden;
  }

  .main-nav {
    display: block !important;
    width: 100%;
    order: 3;
    justify-content: stretch;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: max-height .34s ease, opacity .24s ease, transform .24s ease;
  }

  .main-nav.open {
    max-height: var(--nav-panel-height, 70vh);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav-panel {
    transform: translateY(-6px) scale(.985);
    transform-origin: top center;
    transition: transform .28s ease, opacity .24s ease, box-shadow .28s ease;
    opacity: .72;
  }

  .main-nav.open .main-nav-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
  }

  .menu-btn {
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  }

  .menu-btn[aria-expanded="true"] {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }
}


/* Balanced contact cards without dead space */
.contact-secondary-grid--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: none;
  grid-template-rows: auto;
  align-items: start;
  height: auto;
}

.contact-secondary-grid--balanced > :first-child {
  grid-area: auto;
}

.contact-secondary-column {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact-secondary-grid--balanced .contact-manager-card,
.contact-secondary-grid--balanced .contact-vk-card,
.contact-secondary-grid--balanced .contact-tips-card {
  grid-column: auto;
  grid-row: auto;
  grid-area: auto;
}

.contact-secondary-grid--balanced .contact-person-card,
.contact-secondary-grid--balanced .contact-tips-card {
  height: auto;
}

.contact-secondary-grid--balanced .contact-person-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.contact-secondary-grid--balanced .contact-role-copy {
  min-height: 0;
}

.contact-secondary-grid--balanced .contact-button {
  margin-top: auto;
}

.contact-bot-card {
  align-self: start;
  height: auto;
}

@media (max-width: 1100px) {
  .contact-secondary-grid--balanced {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-secondary-column {
    gap: 16px;
  }
}

/* Targeted UI regression fixes */
@media (min-width: 1025px) and (max-width: 1499px) {
  .main-nav.open {
    display: flex;
  }

  .main-nav-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
  }

  .main-nav.open .main-nav-panel {
    box-shadow: none;
  }
}

:root[data-theme="dark"] {
  --bg: #0f1115;
  --surface: rgba(26,29,36,.82);
  --surface-strong: #171a21;
  --text: #f4f6fb;
  --muted: #aab0bd;
  --line: rgba(255,255,255,.1);
  --accent: #ffffff;
  --accent-2: #3778ff;
  --danger: #ff5965;
  --success: #74d69a;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}
:root[data-theme="dark"] body { background: radial-gradient(circle at top left, rgba(48,113,255,.18), transparent 32%), linear-gradient(180deg, rgba(10,12,16,.98), rgba(15,17,21,.98)), var(--bg); }
:root[data-theme="dark"] .site-header { background: rgba(14,16,21,.86); }
:root[data-theme="dark"] .btn-primary { background: #f4f6fb; color: #111; }
:root[data-theme="dark"] .btn-secondary,
:root[data-theme="dark"] .icon-btn,
:root[data-theme="dark"] .search-mini input,
:root[data-theme="dark"] .form-input,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select,
:root[data-theme="dark"] .hero-solo-surface .hero-copy,
:root[data-theme="dark"] .hero-points div,
:root[data-theme="dark"] .mini-note,
:root[data-theme="dark"] .chat-message,
:root[data-theme="dark"] .spec-grid div { background: rgba(255,255,255,.06); color: var(--text); }
:root[data-theme="dark"] .product-image { background: linear-gradient(135deg, rgba(48,113,255,.16), rgba(255,255,255,.05)); }
:root[data-theme="dark"] .cta-box { background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(48,113,255,.12)); }

.balance-pill { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.1; }
.balance-pill strong { font-size: .82rem; }
.theme-toggle { min-width: 44px; }
.eyebrow.ampoule-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 44px 8px 22px;
  border-radius: 999px;
  letter-spacing: .14em;
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.eyebrow.ampoule-badge::before {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 22px;
  height: 1px;
  transform: translateY(-50%);
  background: var(--line);
}
.eyebrow.ampoule-badge::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 28px;
  height: 14px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: inherit;
  opacity: .82;
}
.price-stack { display: grid; gap: 6px; margin: 12px 0; }
.zercoin-price { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.zercoin-price img { width: 24px; height: 24px; object-fit: contain; }
.zercoin-price.large img { width: 32px; height: 32px; }
.zercoin-price.blue { color: #075fe8; }
.zercoin-price.red { color: #d8182d; }
.product-price-block { margin: 18px 0; }
.zercoin-hero .hero-solo-surface { grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); align-items: center; }
.zercoin-hero .hero-points { grid-column: 1 / -1; }
.hero-media { border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.32); border: 1px solid var(--line); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.zercoin-banner { margin-bottom: 18px; padding: 14px 18px; border-radius: 999px; background: rgba(0,109,255,.1); border: 1px solid rgba(0,109,255,.18); font-weight: 700; }
.zercoin-home-card { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 24px; }
.zercoin-home-coin { max-width: 240px; justify-self: center; }
.check-list { margin: 14px 0 0; padding-left: 20px; }
.check-list li { margin: 6px 0; }
.admin-inline-row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  align-items: start;
}
.admin-inline-row > * { min-width: 0; }
.admin-inline-row > div:first-of-type strong,
.admin-inline-row .muted { overflow-wrap: anywhere; }
.admin-inline-row .btn { justify-self: end; }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.full-span { grid-column: 1 / -1; }
.checkbox-line { display: inline-flex; align-items: center; gap: 8px; }
.task-chat-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: stretch; }
.task-panel { position: sticky; top: 104px; }
.task-card { display: grid; gap: 10px; }
.payment-method-card { display: grid; gap: 12px; padding: 14px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.54); }
.payment-method-card--switch { padding: 14px; }
.payment-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-height: 48px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  overflow: hidden;
}
.payment-switch::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #006dff);
  box-shadow: 0 12px 28px rgba(0,109,255,.24);
  transition: transform .22s ease;
}
.payment-switch:has(input[value="zercoin"]:checked)::before { transform: translateX(100%); }
.payment-switch-option {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  cursor: pointer;
  user-select: none;
}
.payment-switch-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-switch-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.payment-switch-option input:checked + span { color: #fff; }
@supports not selector(:has(*)) {
  .payment-switch::before { display: none; }
  .payment-switch-option input:checked + span {
    background: linear-gradient(135deg, #111827, #006dff);
    box-shadow: 0 12px 28px rgba(0,109,255,.24);
  }
}
.payment-option { display: flex; gap: 10px; align-items: flex-start; }
@media (max-width: 1180px) { .task-chat-layout, .zercoin-hero .hero-solo-surface, .zercoin-home-card { grid-template-columns: 1fr; } .task-panel { position: static; order: -1; } .chat-box { min-height: min(70vh, 720px); height: auto; } .zercoin-home-coin { max-width: 180px; } }
@media (max-width: 680px) { .balance-pill span { display:none; } .zercoin-banner { border-radius: 22px; } .admin-inline-row { grid-template-columns: 1fr; } }
@media (max-width: 780px) {
  .admin-inline-row {
    grid-template-columns: 1fr;
  }

  .admin-inline-row .btn {
    width: 100%;
    justify-self: stretch;
  }
}
.red-price-grid { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 28px; align-items: center; }
.red-price-grid img { max-width: 260px; justify-self: center; }
@media (max-width: 780px) { .red-price-grid { grid-template-columns: 1fr; } .red-price-grid img { max-width: 180px; } }

/* UI acceptance fixes: ZerCoin hero, mobile balance, category banner, checkout, and dashboard polish */
.hero-section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250,246,239,.78), rgba(250,246,239,.18));
}
.hero-section-photo > .container { position: relative; z-index: 1; }
.hero-media {
  align-self: stretch;
  min-height: 330px;
  box-shadow: 0 22px 70px rgba(31, 47, 77, .12);
}
.hero-media img { display: block; }
:root[data-theme="dark"] .hero-section-photo {
  background:
    radial-gradient(circle at 78% 26%, rgba(56, 126, 255, .26), transparent 34%),
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(135deg, #0b111b 0%, #101722 52%, #08101a 100%);
}
:root[data-theme="dark"] .hero-section-photo::before {
  background: linear-gradient(90deg, rgba(7, 12, 20, .8), rgba(7, 12, 20, .16));
}
:root[data-theme="dark"] .hero-solo-surface .hero-copy,
:root[data-theme="dark"] .hero-solo-surface .hero-points div,
:root[data-theme="dark"] .payment-method-card,
:root[data-theme="dark"] .payment-switch,
:root[data-theme="dark"] .hero-media,
:root[data-theme="dark"] .eyebrow.ampoule-badge,
:root[data-theme="dark"] .zercoin-banner {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  color: var(--text);
}
:root[data-theme="dark"] .hero-solo-surface .hero-copy p,
:root[data-theme="dark"] .hero-points span,
:root[data-theme="dark"] .payment-switch-option span { color: var(--muted); }
:root[data-theme="dark"] .payment-switch-option input:checked + span { color: #fff; }
:root[data-theme="dark"] .hero-media { box-shadow: 0 24px 80px rgba(0,0,0,.32); }
.nav-panel-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nav-panel-balance strong {
  font-size: .86rem;
  white-space: nowrap;
}
.catalog-results > .zercoin-banner { margin-bottom: 18px; }
.alt-address-block {
  display: grid;
  gap: 14px;
}
.alt-address-block[hidden] { display: none !important; }
.account-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-media { min-height: 250px; }
  .payment-switch { min-height: 46px; }
  .payment-switch-option span { padding-inline: 8px; font-size: .88rem; }
  .account-stats { grid-template-columns: 1fr; }
}

/* Final UI acceptance fixes: theme toggle, desktop header placement, dark surfaces, checkout refresh helper, hero integration. */
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 40px;
  min-width: 76px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--text);
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(212,180,131,.28));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 12px 28px rgba(17,17,17,.08);
  overflow: hidden;
}

.theme-toggle-icon {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}

.theme-toggle-sun {
  left: 6px;
  color: #c68418;
}

.theme-toggle-moon {
  right: 6px;
  color: #4d6fff;
}

.theme-toggle-thumb {
  position: absolute;
  z-index: 2;
  left: 4px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17,17,17,.18);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}

.theme-toggle:hover .theme-toggle-thumb {
  box-shadow: 0 10px 22px rgba(17,17,17,.22);
}

:root[data-theme="dark"] .theme-toggle-track {
  background: linear-gradient(135deg, rgba(19,24,34,.96), rgba(32,66,138,.62));
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 32px rgba(0,0,0,.28);
}

:root[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(36px);
  background: #dce7ff;
  box-shadow: 0 8px 22px rgba(0,0,0,.38);
}

@media (min-width: 1025px) {
  .nav-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "search theme"
      "auth cart";
    align-items: center;
    justify-items: stretch;
    gap: 10px 12px;
    width: 100%;
    max-width: 470px;
    margin-left: 0;
  }

  .nav-search-desktop {
    grid-area: search;
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .theme-toggle {
    grid-area: theme;
    justify-self: end;
  }

  .header-auth-actions {
    grid-area: auth;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .cart-badge {
    grid-area: cart;
    justify-self: stretch;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 62px;
    height: 34px;
    min-width: 62px;
  }

  .theme-toggle-icon {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .theme-toggle-sun {
    left: 5px;
  }

  .theme-toggle-moon {
    right: 5px;
  }

  .theme-toggle-thumb {
    width: 26px;
    height: 26px;
  }

  :root[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(28px);
  }
}

.switch-helper {
  margin: 0;
  font-size: .9rem;
}

.hero-media {
  position: relative;
  isolation: isolate;
}

:root[data-theme="dark"] .hero-media {
  background:
    radial-gradient(circle at 72% 28%, rgba(56,126,255,.18), transparent 36%),
    linear-gradient(135deg, rgba(9,14,22,.96), rgba(16,23,34,.92));
  border-color: rgba(255,255,255,.12);
}

:root[data-theme="dark"] .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,12,20,.42), rgba(7,12,20,.12) 46%, rgba(7,12,20,.34)),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(7,12,20,.22));
  mix-blend-mode: multiply;
}

:root[data-theme="dark"] .hero-media img {
  filter: brightness(.74) contrast(1.12) saturate(.92);
}

:root[data-theme="dark"] .section.soft,
:root[data-theme="dark"] .btn-secondary,
:root[data-theme="dark"] .menu-btn,
:root[data-theme="dark"] .flash,
:root[data-theme="dark"] .pagination a,
:root[data-theme="dark"] .results-count,
:root[data-theme="dark"] .inner-surface,
:root[data-theme="dark"] .muted-surface,
:root[data-theme="dark"] .address-card,
:root[data-theme="dark"] .empty-soft,
:root[data-theme="dark"] .image-placeholder,
:root[data-theme="dark"] .gallery-thumb,
:root[data-theme="dark"] .zoom-trigger,
:root[data-theme="dark"] .modal-card,
:root[data-theme="dark"] .modal-close,
:root[data-theme="dark"] .contact-note,
:root[data-theme="dark"] .verify-email-meta,
:root[data-theme="dark"] .empty-state-side .mini-note,
:root[data-theme="dark"] .reviews-intro-points div,
:root[data-theme="dark"] .partnership-points div,
:root[data-theme="dark"] .delivery-highlight-card,
:root[data-theme="dark"] .bestpeptid-delivery-pill,
:root[data-theme="dark"] .bestpeptid-delivery-note,
:root[data-theme="dark"] .cart-stepper-status,
:root[data-theme="dark"] .cart-stepper-btn,
:root[data-theme="dark"] .payment-method-card,
:root[data-theme="dark"] .payment-switch,
:root[data-theme="dark"] .eyebrow.ampoule-badge,
:root[data-theme="dark"] .zercoin-banner {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  color: var(--text);
}


@media (max-width: 1024px) {
  :root[data-theme="dark"] .main-nav-panel {
    background: rgba(26,29,36,.94);
    border-color: rgba(255,255,255,.12);
    color: var(--text);
  }
}

:root[data-theme="dark"] .cart-stepper-btn:hover,
:root[data-theme="dark"] .gallery-thumb:hover,
:root[data-theme="dark"] .btn-secondary:hover,
:root[data-theme="dark"] .pagination a:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,.26);
}

:root[data-theme="dark"] .empty-state-mark,
:root[data-theme="dark"] .product-image,
:root[data-theme="dark"] .cart-item-thumb {
  background: linear-gradient(135deg, rgba(48,113,255,.16), rgba(255,255,255,.05));
  border-color: rgba(255,255,255,.12);
}

:root[data-theme="dark"] .progress-note,
:root[data-theme="dark"] .reply-preview,
:root[data-theme="dark"] .contact-handle,
:root[data-theme="dark"] .chip,
:root[data-theme="dark"] .contact-eyebrow {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

:root[data-theme="dark"] .progress-note.success {
  background: rgba(116,214,154,.10);
  border-color: rgba(116,214,154,.24);
}

:root[data-theme="dark"] .progress-note.danger {
  background: rgba(255,89,101,.10);
  border-color: rgba(255,89,101,.24);
}

:root[data-theme="dark"] .form-errors ul {
  color: #ff9c9c;
}

/* UI defect fixes 2026-05-30: dark logo, theme switcher, ampoule badges, transparent coins, dark footer */
.brand-logo-dark {
  display: none;
}

:root[data-theme="dark"] .brand-logo-light {
  display: none;
}

:root[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.brand img.brand-logo,
.footer-brand-logo {
  image-rendering: auto;
}

:root[data-theme="dark"] .site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(48, 113, 255, .12), transparent 34%),
    linear-gradient(180deg, rgba(14, 16, 21, .98), rgba(9, 11, 15, 1));
  border-top-color: rgba(255, 255, 255, .1);
  color: var(--text);
}

:root[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, .1);
}

:root[data-theme="dark"] .footer-powered-link {
  border-bottom-color: rgba(170, 176, 189, .45);
}

.theme-toggle-icon {
  z-index: 4;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .35);
}

.theme-toggle-thumb {
  z-index: 2;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-sun {
  color: #d78b08;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-moon {
  color: rgba(77, 111, 255, .58);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-sun {
  color: rgba(245, 186, 70, .72);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-moon {
  color: #2442a0;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
}

:root[data-theme="dark"] .theme-toggle-track {
  background: linear-gradient(135deg, rgba(15, 20, 30, .98), rgba(37, 80, 170, .68));
}

:root[data-theme="dark"] .theme-toggle-thumb {
  background: #e7edff;
}

.eyebrow.ampoule-badge {
  --ampoule-fill: rgba(255, 255, 255, .78);
  --ampoule-fill-end: rgba(255, 255, 255, .48);
  --ampoule-line: rgba(18, 18, 18, .14);
  --ampoule-glow: rgba(255, 255, 255, .78);
  position: relative;
  isolation: isolate;
  min-width: 142px;
  min-height: 36px;
  padding: 8px 66px 8px 22px;
  overflow: visible;
  border-radius: 999px 34px 34px 999px;
  border: 1px solid var(--ampoule-line);
  background:
    linear-gradient(180deg, var(--ampoule-fill), var(--ampoule-fill-end)),
    radial-gradient(circle at 16px 8px, rgba(255,255,255,.9), transparent 30px);
  box-shadow:
    inset 0 1px 0 var(--ampoule-glow),
    inset 0 -10px 18px rgba(18,18,18,.025);
  white-space: nowrap;
}

.eyebrow.ampoule-badge::before {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  width: 38px;
  height: 22px;
  transform: translateY(-50%);
  border: 1px solid var(--ampoule-line);
  border-left: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), var(--ampoule-fill-end));
  clip-path: polygon(0 18%, 70% 18%, 100% 50%, 70% 82%, 0 82%);
  pointer-events: none;
  z-index: 0;
}

.eyebrow.ampoule-badge::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 33px;
  height: 15px;
  transform: translateY(-50%);
  border: 1px solid var(--ampoule-line);
  border-left-color: transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ampoule-fill), var(--ampoule-fill-end));
  box-shadow: inset 0 1px 0 var(--ampoule-glow);
  pointer-events: none;
  z-index: 0;
}

:root[data-theme="dark"] .eyebrow.ampoule-badge {
  --ampoule-fill: rgba(255, 255, 255, .105);
  --ampoule-fill-end: rgba(255, 255, 255, .052);
  --ampoule-line: rgba(255, 255, 255, .22);
  --ampoule-glow: rgba(255, 255, 255, .14);
  color: var(--text);
  background:
    linear-gradient(180deg, var(--ampoule-fill), var(--ampoule-fill-end)),
    radial-gradient(circle at 16px 8px, rgba(255,255,255,.14), transparent 30px);
  box-shadow:
    inset 0 1px 0 var(--ampoule-glow),
    0 10px 22px rgba(0,0,0,.12);
}

:root[data-theme="dark"] .eyebrow.ampoule-badge::before,
:root[data-theme="dark"] .eyebrow.ampoule-badge::after {
  background: linear-gradient(180deg, var(--ampoule-fill), var(--ampoule-fill-end));
}

.zercoin-home-card,
.red-price-card {
  overflow: visible;
}

.zercoin-home-coin,
.red-price-grid img {
  background: transparent;
  filter: none;
}

.red-price-grid img {
  filter: none;
}

:root[data-theme="dark"] .zercoin-home-card,
:root[data-theme="dark"] .red-price-card,
:root[data-theme="dark"] .reviews-page-intro,
:root[data-theme="dark"] .reviews-intro,
:root[data-theme="dark"] .partnership-copy,
:root[data-theme="dark"] .contact-hero-card,
:root[data-theme="dark"] .contact-person-card,
:root[data-theme="dark"] .contact-tips-card,
:root[data-theme="dark"] .contact-bot-card,
:root[data-theme="dark"] .review-showcase-card,
:root[data-theme="dark"] .card {
  border-color: rgba(255, 255, 255, .11);
}

:root[data-theme="dark"] .zercoin-home-coin {
  filter: none;
}

:root[data-theme="dark"] .red-price-grid img {
  filter: none;
}

@media (max-width: 640px) {
  .eyebrow.ampoule-badge {
    min-width: 128px;
    max-width: calc(100% - 16px);
    padding-right: 56px;
    letter-spacing: .11em;
  }
}

/* Final UI correction pass: aligned theme switcher, readable toggles, cart counter, safe badges. */
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 40px;
  min-width: 76px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 76px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, .09);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(238,225,205,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 28px rgba(17,17,17,.08);
  overflow: hidden;
}

.theme-toggle-icon {
  position: absolute;
  top: 5px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
}

.theme-toggle-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.theme-toggle-sun {
  left: 5px;
  color: #bf7a00;
}

.theme-toggle-moon {
  right: 5px;
  color: #6f7fc8;
}

.theme-toggle-sun svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-moon svg {
  fill: currentColor;
}

.theme-toggle-thumb {
  position: absolute;
  z-index: 2;
  left: 4px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17,17,17,.18);
  transform: translateX(0);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb,
:root[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(36px);
}

.theme-toggle[data-theme-state="light"] .theme-toggle-sun {
  color: #bf7a00;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-moon {
  color: #6f7fc8;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-sun {
  color: #e0a437;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-moon {
  color: #203f9c;
}

:root[data-theme="dark"] .theme-toggle-track {
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(14,19,29,.98), rgba(36,78,164,.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 32px rgba(0,0,0,.28);
}

:root[data-theme="dark"] .theme-toggle-thumb {
  background: #e8efff;
  box-shadow: 0 8px 22px rgba(0,0,0,.38);
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 66px;
    height: 36px;
    min-width: 66px;
  }

  .theme-toggle-track {
    width: 66px;
    height: 36px;
  }

  .theme-toggle-icon {
    top: 4px;
    width: 28px;
    height: 28px;
  }

  .theme-toggle-sun {
    left: 4px;
  }

  .theme-toggle-moon {
    right: 4px;
  }

  .theme-toggle-thumb {
    left: 4px;
    top: 4px;
    width: 28px;
    height: 28px;
  }

  .theme-toggle[data-theme-state="dark"] .theme-toggle-thumb,
  :root[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(30px);
  }
}

.cart-badge span {
  min-width: 22px;
  color: #fff;
  background: #111;
  font-weight: 800;
}

:root[data-theme="dark"] .cart-badge span {
  color: #101319;
  background: #f4f6fb;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

:root[data-theme="dark"] .auth-toggle {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
}

:root[data-theme="dark"] .auth-toggle-link {
  color: #aab0bd;
}

:root[data-theme="dark"] .auth-toggle-link.is-active {
  color: #101319;
  background: #f4f6fb;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.eyebrow.ampoule-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 0;
  min-height: 34px;
  max-width: 100%;
  padding: 8px 13px;
  overflow: hidden;
  border-radius: 999px;
  border: 0;
  background: rgba(17,17,17,.06);
  box-shadow: none;
  color: var(--text);
  white-space: normal;
}

.eyebrow.ampoule-badge::before,
.eyebrow.ampoule-badge::after {
  content: none;
  display: none;
}

:root[data-theme="dark"] .eyebrow.ampoule-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  box-shadow: none;
}


/* UI correction pass 2026-05-30 v3: exact theme-toggle geometry and one real delivery ampoule asset. */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 40px;
  min-width: 76px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  line-height: 0;
  vertical-align: middle;
}

.theme-toggle-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  width: 76px;
  height: 40px;
  padding: 3px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(18, 18, 18, .10);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,225,205,.76));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 12px 28px rgba(17,17,17,.08);
}

.theme-toggle-icon {
  position: relative;
  inset: auto;
  top: auto;
  left: auto;
  right: auto;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  pointer-events: none;
  transform: none;
}

.theme-toggle-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
}

.theme-toggle-sun,
.theme-toggle-moon {
  left: auto;
  right: auto;
}

.theme-toggle-thumb {
  position: absolute;
  z-index: 2;
  left: 3px;
  top: 3px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17,17,17,.18);
  transform: translateX(0);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-thumb {
  transform: translateX(0);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb,
:root[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(36px);
}

.theme-toggle-sun svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-moon svg {
  fill: currentColor;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-sun {
  color: #bf7a00;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-moon {
  color: #6f7fc8;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-sun,
:root[data-theme="dark"] .theme-toggle-sun {
  color: #e0a437;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-moon,
:root[data-theme="dark"] .theme-toggle-moon {
  color: #203f9c;
}

:root[data-theme="dark"] .theme-toggle-track {
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(14,19,29,.98), rgba(36,78,164,.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 32px rgba(0,0,0,.28);
}

:root[data-theme="dark"] .theme-toggle-thumb {
  background: #e8efff;
  box-shadow: 0 8px 22px rgba(0,0,0,.38);
}

.ampoule-badge.ampoule-badge--delivery-image {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
}

.ampoule-badge.ampoule-badge--delivery-image::before,
.ampoule-badge.ampoule-badge--delivery-image::after {
  content: none;
  display: none;
}

.ampoule-badge.ampoule-badge--delivery-image img {
  display: block;
  width: auto;
  height: 38px;
  max-width: min(100%, 245px);
  object-fit: contain;
}

:root[data-theme="dark"] .ampoule-badge.ampoule-badge--delivery-image {
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 66px;
    height: 36px;
    min-width: 66px;
  }

  .theme-toggle-track {
    width: 66px;
    height: 36px;
    padding: 3px;
  }

  .theme-toggle-icon {
    width: 30px;
    height: 30px;
  }

  .theme-toggle-thumb {
    left: 3px;
    top: 3px;
    width: 30px;
    height: 30px;
  }

  .theme-toggle[data-theme-state="dark"] .theme-toggle-thumb,
  :root[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(30px);
  }

  .ampoule-badge.ampoule-badge--delivery-image img {
    height: 34px;
    max-width: min(100%, 220px);
  }
}
/* UI correction pass 2026-05-30 v4: rendered theme switch geometry. */
.theme-toggle {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 76px !important;
  height: 40px !important;
  min-width: 76px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  line-height: 1 !important;
  font-size: 0 !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  color: var(--text) !important;
}

.theme-toggle-track {
  --toggle-w: 76px;
  --toggle-h: 40px;
  --toggle-pad: 5px;
  --toggle-thumb: 30px;
  position: relative !important;
  display: block !important;
  width: var(--toggle-w) !important;
  height: var(--toggle-h) !important;
  min-width: var(--toggle-w) !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  border: 1px solid rgba(18, 18, 18, .10) !important;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,225,205,.76)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 10px 24px rgba(17,17,17,.08) !important;
}

.theme-toggle-icon {
  position: absolute !important;
  z-index: 3 !important;
  top: 50% !important;
  display: block !important;
  width: var(--toggle-thumb) !important;
  height: var(--toggle-thumb) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

.theme-toggle-sun {
  left: var(--toggle-pad) !important;
  right: auto !important;
  color: #bf7a00 !important;
}

.theme-toggle-moon {
  right: var(--toggle-pad) !important;
  left: auto !important;
  color: #6f7fc8 !important;
}

.theme-toggle-icon svg {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}

.theme-toggle-sun svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.theme-toggle-moon svg {
  fill: currentColor !important;
  transform: translate(-52%, -48%) !important;
}

.theme-toggle-thumb {
  position: absolute !important;
  z-index: 2 !important;
  left: var(--toggle-pad) !important;
  top: 50% !important;
  width: var(--toggle-thumb) !important;
  height: var(--toggle-thumb) !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(17,17,17,.16) !important;
  transform: translate(0, -50%) !important;
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease !important;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-thumb {
  transform: translate(0, -50%) !important;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb,
:root[data-theme="dark"] .theme-toggle-thumb {
  transform: translate(calc(var(--toggle-w) - (var(--toggle-pad) * 2) - var(--toggle-thumb)), -50%) !important;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-sun,
:root[data-theme="dark"] .theme-toggle-sun {
  color: #e0a437 !important;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-moon,
:root[data-theme="dark"] .theme-toggle-moon {
  color: #203f9c !important;
}

:root[data-theme="dark"] .theme-toggle-track {
  border-color: rgba(255,255,255,.16) !important;
  background: linear-gradient(135deg, rgba(14,19,29,.98), rgba(36,78,164,.68)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 28px rgba(0,0,0,.24) !important;
}

:root[data-theme="dark"] .theme-toggle-thumb {
  background: #e8efff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.30) !important;
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 66px !important;
    height: 36px !important;
    min-width: 66px !important;
  }

  .theme-toggle-track {
    --toggle-w: 66px;
    --toggle-h: 36px;
    --toggle-pad: 4px;
    --toggle-thumb: 28px;
    width: var(--toggle-w) !important;
    height: var(--toggle-h) !important;
    min-width: var(--toggle-w) !important;
  }

  .theme-toggle-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
}
/* UI correction pass 2026-05-30 v5: border-aware switch thumb offsets after render check. */
.theme-toggle-track {
  --toggle-offset: calc(var(--toggle-pad) - 1px);
}

.theme-toggle-sun {
  left: var(--toggle-offset) !important;
}

.theme-toggle-moon {
  right: var(--toggle-offset) !important;
}

.theme-toggle-thumb {
  left: var(--toggle-offset) !important;
}

/* UI correction pass 2026-05-30 v6: delivery ampoule uses native opaque source, no background cutout/keying. */
.ampoule-badge.ampoule-badge--delivery-image {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: fit-content !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #faf8f4 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  line-height: 0 !important;
  vertical-align: top !important;
}

.ampoule-badge.ampoule-badge--delivery-image::before,
.ampoule-badge.ampoule-badge--delivery-image::after {
  content: none !important;
  display: none !important;
}

.ampoule-badge.ampoule-badge--delivery-image img {
  display: block !important;
  width: 260px !important;
  height: auto !important;
  max-width: min(100%, 260px) !important;
  object-fit: contain !important;
  object-position: left center !important;
  image-rendering: auto !important;
}

:root[data-theme="dark"] .ampoule-badge.ampoule-badge--delivery-image {
  background: #faf8f4 !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .ampoule-badge.ampoule-badge--delivery-image img {
    width: 230px !important;
    max-width: min(100%, 230px) !important;
  }
}


/* UI correction pass 2026-05-30 v7: rendered ampoule assets with explicit light/dark variants. */
.ampoule-img-badge {
  display: inline-grid;
  align-items: center;
  justify-items: start;
  width: fit-content;
  max-width: 100%;
  line-height: 0;
  vertical-align: top;
}

.ampoule-img-badge__asset {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  height: 38px;
  max-width: min(100%, 280px);
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
}

.ampoule-img-badge__asset img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.ampoule-img-badge--product_catalog .ampoule-img-badge__asset,
.ampoule-img-badge--partnership .ampoule-img-badge__asset,
.ampoule-img-badge--store_contacts .ampoule-img-badge__asset,
.ampoule-img-badge--store_reviews .ampoule-img-badge__asset,
.ampoule-img-badge--request_received .ampoule-img-badge__asset {
  max-width: min(100%, 305px);
}

.ampoule-img-badge__asset--dark {
  display: none;
}

:root[data-theme="dark"] .ampoule-img-badge__asset--light {
  display: none;
}

:root[data-theme="dark"] .ampoule-img-badge__asset--dark {
  display: block;
}

.contact-hero-copy .ampoule-img-badge,
.contact-bot-copy .ampoule-img-badge,
.reviews-page-intro .ampoule-img-badge,
.partnership-copy .ampoule-img-badge {
  align-self: start;
}

.empty-state-topline .ampoule-img-badge {
  flex: 0 1 auto;
}

@media (max-width: 640px) {
  .ampoule-img-badge__asset {
    height: 34px;
    max-width: min(100%, 245px);
  }

  .ampoule-img-badge--product_catalog .ampoule-img-badge__asset,
  .ampoule-img-badge--partnership .ampoule-img-badge__asset,
  .ampoule-img-badge--store_contacts .ampoule-img-badge__asset,
  .ampoule-img-badge--store_reviews .ampoule-img-badge__asset,
  .ampoule-img-badge--request_received .ampoule-img-badge__asset {
    max-width: min(100%, 260px);
  }
}

/* QA correction pass from 1.docx: alignment, no-shadow coins, mobile header, checkout forms. */
.balance-pill,
.nav-panel-balance {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 46px;
  line-height: 1.08;
}

.balance-pill strong,
.nav-panel-balance strong {
  width: 100%;
  margin-top: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

.zercoin-home-coin,
.red-price-grid img,
.zercoin-price img {
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
}

.zercoin-price {
  align-items: center !important;
  line-height: 1.18;
  vertical-align: middle;
}

.zercoin-price img {
  flex: 0 0 auto;
  display: inline-block;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
}

.product-card .zercoin-price,
.cart-item-copy .zercoin-price,
.alt-warehouse-price {
  display: inline-flex;
  align-items: center !important;
  min-height: 26px;
}

.alt-warehouse-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
}

.alt-warehouse-title,
.alt-warehouse-base,
.alt-warehouse-separator {
  display: inline-flex;
  align-items: center;
}

.compact-head {
  align-items: center !important;
}

.compact-head .badge.danger {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.checkout-form .two-col-grid {
  align-items: start;
  column-gap: 18px;
  row-gap: 18px;
}

.checkout-form .form-field,
.accounts-address-form .form-field,
.address-form-grid .form-field {
  align-content: start;
  min-width: 0;
}

.checkout-form .form-input:not(textarea),
.accounts-address-form .form-input:not(textarea),
.address-form-grid .form-input:not(textarea) {
  min-height: 58px;
}

.checkbox-field {
  display: block;
}

.checkbox-field .checkbox-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 32px;
  margin: 0;
  line-height: 1.35;
}

.checkbox-field input[type="checkbox"],
.checkbox-line input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #006dff;
}

.checkbox-field .checkbox-line span {
  flex: 1 1 auto;
  min-width: 0;
}

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

.stat-card {
  min-width: 0;
}

.stat-card strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.12;
}

.chat-messages > .empty-soft {
  min-height: 0;
  color: var(--muted);
  text-align: center;
}

.chat-box:has(.chat-messages > .empty-soft) {
  max-height: none;
}

:root[data-theme="dark"] .catalog-empty-state {
  background: rgba(17, 22, 31, .94);
  border-color: rgba(255,255,255,.14);
  color: var(--text);
}

:root[data-theme="dark"] .catalog-empty-state .empty-state-copy h2,
:root[data-theme="dark"] .catalog-empty-state .empty-state-copy h3 {
  color: #f4f6fb;
  text-shadow: none;
}

:root[data-theme="dark"] .catalog-empty-state .empty-state-copy p,
:root[data-theme="dark"] .catalog-empty-state .empty-state-note,
:root[data-theme="dark"] .catalog-empty-state .empty-state-label {
  color: #aab0bd;
}

:root[data-theme="dark"] .catalog-empty-state .chip {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: #f4f6fb;
}

:root[data-theme="dark"] .catalog-empty-state .btn-secondary {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: #f4f6fb;
}

:root[data-theme="dark"] .catalog-empty-state .ampoule-img-badge__asset--dark {
  display: block;
}

@media (max-width: 1100px) {
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header .container {
    width: min(100%, calc(100% - 20px));
  }

  .nav-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    gap: 10px;
    min-height: auto;
    padding: 10px 0;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .brand img.brand-logo {
    height: 38px !important;
    width: auto;
    max-width: min(160px, 44vw) !important;
  }

  .nav-actions {
    grid-area: actions;
    display: grid !important;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-items: end;
    gap: 6px;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
  }

  .main-nav {
    grid-area: nav;
  }

  .theme-toggle {
    width: 54px !important;
    min-width: 54px !important;
    height: 32px !important;
  }

  .theme-toggle-track {
    --toggle-w: 54px !important;
    --toggle-h: 32px !important;
    --toggle-pad: 4px !important;
    --toggle-thumb: 24px !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 32px !important;
  }

  .theme-toggle-icon svg {
    width: 12px !important;
    height: 12px !important;
  }

  .cart-badge {
    width: auto !important;
    min-height: 38px;
    padding: 9px 10px !important;
    justify-self: end;
    white-space: nowrap;
  }

  .menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

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

  .checkout-form .two-col-grid {
    grid-template-columns: 1fr;
  }

  .compact-head .badge.danger {
    width: 100%;
  }
}

/* Balance page promo-code width fix. The referral code is intentionally wider on desktop so it stays on one line. */
@media (min-width: 1101px) {
  .account-stats-balance {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 1.45fr) minmax(120px, .7fr);
    align-items: stretch;
  }

  .account-stats-balance .stat-card-promo strong {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(1.45rem, 1.55vw, 1.9rem);
    letter-spacing: -.055em;
  }
}

@media (max-width: 1100px) {
  .account-stats-balance .stat-card-promo strong {
    overflow-wrap: normal;
    word-break: normal;
  }
}


/* Final visual fix: readable coupon/form feedback in dark theme. */
:root[data-theme="dark"] .coupon-feedback,
:root[data-theme="dark"] .form-alert,
:root[data-theme="dark"] .flash {
  background: rgba(23, 27, 35, 0.96);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .coupon-feedback strong,
:root[data-theme="dark"] .form-alert strong,
:root[data-theme="dark"] .flash-copy strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .coupon-feedback span,
:root[data-theme="dark"] .form-alert div,
:root[data-theme="dark"] .flash-copy span {
  color: #c7cfdb;
}

:root[data-theme="dark"] .coupon-feedback-success,
:root[data-theme="dark"] .flash-success {
  background: rgba(19, 49, 35, 0.94);
  border-color: rgba(116, 214, 154, 0.34);
}

:root[data-theme="dark"] .coupon-feedback-success strong,
:root[data-theme="dark"] .flash-success .flash-copy strong {
  color: #dffbea;
}

:root[data-theme="dark"] .coupon-feedback-success span,
:root[data-theme="dark"] .flash-success .flash-copy span {
  color: #b6e7c8;
}

:root[data-theme="dark"] .coupon-feedback-warning,
:root[data-theme="dark"] .flash-warning {
  background: rgba(61, 44, 19, 0.94);
  border-color: rgba(232, 190, 116, 0.36);
}

:root[data-theme="dark"] .coupon-feedback-warning span,
:root[data-theme="dark"] .flash-warning .flash-copy span {
  color: #ead5ab;
}

:root[data-theme="dark"] .coupon-feedback-danger,
:root[data-theme="dark"] .coupon-feedback-error,
:root[data-theme="dark"] .form-alert-error,
:root[data-theme="dark"] .flash-danger,
:root[data-theme="dark"] .flash-error {
  background: rgba(66, 29, 31, 0.94);
  border-color: rgba(255, 111, 119, 0.34);
}

:root[data-theme="dark"] .coupon-feedback-danger span,
:root[data-theme="dark"] .coupon-feedback-error span,
:root[data-theme="dark"] .form-alert-error div,
:root[data-theme="dark"] .flash-danger .flash-copy span,
:root[data-theme="dark"] .flash-error .flash-copy span {
  color: #f0c0c2;
}

/* Oleg/mobile header refinement 2026-05-31: compact logo is used only in the mobile header. */
.brand-logo-mobile {
  display: none;
}

@media (max-width: 640px) {
  .brand .brand-logo-full {
    display: none !important;
  }

  .brand .brand-logo-mobile.brand-logo-light {
    display: block !important;
  }

  :root[data-theme="dark"] .brand .brand-logo-mobile.brand-logo-light {
    display: none !important;
  }

  :root[data-theme="dark"] .brand .brand-logo-mobile.brand-logo-dark {
    display: block !important;
  }

  .brand img.brand-logo-mobile {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain;
    flex: 0 0 42px;
  }
}

/* Mobile hero, tablet alignment and category ampoule polish 2026-05-31. */
.zercoin-hero .hero-solo-surface {
  justify-items: stretch;
}

.zercoin-hero .hero-solo-copy,
.zercoin-hero .hero-media,
.zercoin-hero .hero-points {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.zercoin-hero .hero-solo-surface .hero-copy {
  min-width: 0;
}

.zercoin-hero .hero-copy h1 {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.category-card .ampoule-img-badge {
  margin-bottom: 20px;
}

.category-card .ampoule-img-badge--category .ampoule-img-badge__asset {
  height: 42px;
  max-width: min(100%, 250px);
}

@media (max-width: 1180px) and (min-width: 641px) {
  .zercoin-hero .hero-solo-surface {
    width: min(100%, 940px);
    margin-inline: auto;
  }
}

@media (max-width: 780px) {
  .brand .brand-logo-full {
    display: none !important;
  }

  .brand .brand-logo-mobile {
    display: none !important;
  }

  .brand .brand-logo-mobile.brand-logo-light {
    display: block !important;
  }

  :root[data-theme="dark"] .brand .brand-logo-mobile.brand-logo-light {
    display: none !important;
  }

  :root[data-theme="dark"] .brand .brand-logo-mobile.brand-logo-dark {
    display: block !important;
  }

  .brand img.brand-logo-mobile {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain;
    flex: 0 0 42px;
  }
}

@media (max-width: 640px) {
  .zercoin-hero.hero-section {
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .zercoin-hero .container {
    width: min(100%, calc(100% - 24px)) !important;
  }

  .zercoin-hero .hero-solo-surface {
    gap: 18px;
    padding: 10px 0 0;
    overflow: visible;
  }

  .zercoin-hero .hero-solo-surface .hero-copy {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .zercoin-hero .hero-copy h1 {
    font-size: clamp(1.82rem, 9.3vw, 2.22rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 12px 0 12px;
  }

  .zercoin-hero .hero-copy p {
    max-width: none;
    font-size: .96rem;
  }

  .zercoin-hero .hero-actions {
    gap: 10px;
  }

  .zercoin-hero .hero-actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .zercoin-hero .hero-media {
    min-height: 0 !important;
    aspect-ratio: 1.18 / 1;
    border-radius: 24px;
  }

  .zercoin-hero .hero-media img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .zercoin-hero .hero-points {
    gap: 12px;
    margin-top: 6px;
  }

  .zercoin-hero .hero-points div {
    padding: 16px 18px;
    border-radius: 22px;
  }

  .category-card .ampoule-img-badge {
    margin-bottom: 18px;
  }

  .category-card .ampoule-img-badge--category .ampoule-img-badge__asset {
    height: 38px;
    max-width: min(100%, 228px);
  }
}

@media (max-width: 370px) {
  .zercoin-hero .hero-copy h1 {
    font-size: clamp(1.72rem, 8.8vw, 2.02rem);
  }

  .zercoin-hero .hero-solo-surface .hero-copy {
    padding-inline: 16px;
  }
}

/* Logo visibility hardening 2026-05-31: desktop shows exactly one full logo, mobile shows exactly one compact logo. */
.brand .brand-logo-mobile {
  display: none !important;
}

.brand .brand-logo-full.brand-logo-light {
  display: block !important;
}

.brand .brand-logo-full.brand-logo-dark {
  display: none !important;
}

:root[data-theme="dark"] .brand .brand-logo-full.brand-logo-light {
  display: none !important;
}

:root[data-theme="dark"] .brand .brand-logo-full.brand-logo-dark {
  display: block !important;
}

@media (max-width: 780px) {
  .brand .brand-logo-full.brand-logo-light,
  .brand .brand-logo-full.brand-logo-dark,
  :root[data-theme="dark"] .brand .brand-logo-full.brand-logo-light,
  :root[data-theme="dark"] .brand .brand-logo-full.brand-logo-dark {
    display: none !important;
  }

  .brand .brand-logo-mobile {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain;
    flex: 0 0 42px;
  }
}

/* Dark theme native select menu fix.
   Keep the opened OS/browser dropdown list light so option labels remain readable. */
:root[data-theme="dark"] select {
  color-scheme: light;
}

:root[data-theme="dark"] select option,
:root[data-theme="dark"] select optgroup {
  background-color: #ffffff !important;
  color: #121212 !important;
}

:root[data-theme="dark"] select option:disabled {
  color: #777777 !important;
}

/* ZerCoin top-up requests in Balance page. Keep the request flow compact and mobile-safe. */
.account-topup-card {
  display: grid;
  gap: 18px;
}

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

.account-topup-head h3,
.account-topup-list h4 {
  margin: 0 0 8px;
}

.account-topup-form {
  display: grid;
  gap: 16px;
}

.account-topup-fields {
  grid-template-columns: minmax(160px, .72fr) minmax(0, 1.28fr);
  align-items: start;
}

.account-topup-actions {
  align-items: center;
}

.account-topup-actions .muted {
  max-width: 52ch;
}

.account-topup-list {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.account-topup-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.account-topup-pending {
  margin-top: 0;
}

@media (max-width: 760px) {
  .account-topup-head,
  .account-topup-actions {
    display: grid;
    justify-items: stretch;
  }

  .account-topup-head .badge {
    width: fit-content;
  }

  .account-topup-fields,
  .account-topup-row {
    grid-template-columns: 1fr;
  }

  .account-topup-actions .btn {
    width: 100%;
  }
}

.partnership-benefits-card .prose {
  max-width: 860px;
}

.partnership-benefits-card ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.partnership-benefits-card li {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

/* UI/UX polish for promo flow, ZerCoin discount visibility, and partnership benefits. */
.summary-line-discount strong {
  color: var(--success, #2f7d4f);
}

.checkout-mobile-summary {
  display: none;
}

.coupon-side-note span,
.red-price-note span,
.partnership-benefit-item span {
  overflow-wrap: anywhere;
}

.partnership-benefits-card .prose {
  max-width: none;
}

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

.partnership-benefit-item,
.red-price-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .62);
}

.partnership-benefit-item strong,
.red-price-note strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.partnership-benefit-item p,
.partnership-benefit-item span,
.red-price-note span {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

:root[data-theme="dark"] .partnership-benefit-item,
:root[data-theme="dark"] .red-price-note {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 1180px) {
  .checkout-mobile-summary {
    display: grid;
    gap: 10px;
  }

  .checkout-page-layout > .sticky-box {
    display: none;
  }
}

@media (max-width: 1024px) {
  .partnership-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .partnership-benefit-item,
  .red-price-note {
    padding: 16px;
  }
}

/* Final partnership/performance fixes. */
.partnership-benefits-card {
  padding-top: 24px;
}

.partnership-benefits-card .prose > h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.partnership-benefits-grid {
  align-items: stretch;
}

.partnership-benefit-item {
  overflow: visible;
}

.red-price-grid > picture {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(260px, 100%);
  max-width: 260px;
  aspect-ratio: 1 / 1;
}

.red-price-grid > picture img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 260px;
  object-fit: contain;
}

@media (max-width: 780px) {
  .red-price-grid > picture {
    width: min(180px, 100%);
    max-width: 180px;
  }

  .red-price-grid > picture img {
    max-height: 180px;
  }
}

/* Main ZerCoin card coin: mirror the fixed red coin containment and prevent grid intrinsic overflow. */
.zercoin-home-card > picture {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(240px, 100%);
  max-width: 240px;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

.zercoin-home-card > picture img.zercoin-home-coin {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 240px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1180px) {
  .zercoin-home-card > picture {
    width: min(180px, 100%);
    max-width: 180px;
  }

  .zercoin-home-card > picture img.zercoin-home-coin {
    max-height: 180px;
  }
}
