: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-block; 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: 82px; }
.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 { width: 44px; height: 44px; 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; }
.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: space-between; min-height: 100%; }
.product-image { 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 { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.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: 70vh; overflow: auto; }
.chat-messages { display: grid; gap: 14px; }
.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) {
  .nav-row { flex-wrap: wrap; min-height: 74px; }
  .main-nav { display: none; width: 100%; order: 3; justify-content: stretch; }
  .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,.88); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
  .main-nav-panel a { padding: 10px 4px; color: var(--text); }
  .menu-btn { display: inline-flex; }
  .search-mini { display: none; width: 100%; flex: none; }
  .mobile-search { display: block; }
  .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 { width: 38px; height: 38px; }
  .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); }
@media (max-width: 980px) {
  .mobile-search { display: block !important; }
  .main-nav-panel { display: grid; }
  .main-nav-panel a { white-space: normal; }
  .main-nav-panel .mobile-search { max-width: none; margin-right: 0; }
}


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-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 {
    width: 34px;
    height: 34px;
  }

  .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-people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.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;
}

/* 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-people-grid {
    grid-template-columns: 1fr;
  }

  .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;
  }
}
