:root {
  --primary: #0f172a;
  --accent: #f59e0b;
  --accent-dark: #b45309;
  --light: #fffbeb;
  --dark: #060b14;
  --ink: #263144;
  --muted: #5d6879;
  --line: #d9dee8;
  --surface: #ffffff;
  --max-width: 1180px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8fafc; font-family: Inter, Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 3000; background: #fff; color: var(--primary); padding: .7rem 1rem; border-radius: 0 0 .5rem .5rem; font-weight: 700; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }

.draft-banner { background: var(--accent); color: var(--primary); padding: .62rem 1rem; text-align: center; font-weight: 800; font-size: .92rem; letter-spacing: .01em; }
.announcement { background: var(--primary); color: #fef3c7; padding: .5rem 1rem; text-align: center; font-size: .88rem; }
.site-header { background: #fff; border-bottom: 1px solid #e8ebf0; box-shadow: 0 2px 12px rgba(15, 23, 42, .06); position: sticky; top: 0; z-index: 100; }
.header-inner { width: min(100% - 2rem, var(--max-width)); min-height: 4.7rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.logo { color: var(--primary); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.55rem; font-weight: 700; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo span { color: var(--accent-dark); }
.primary-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .15rem .8rem; }
.primary-nav a { color: var(--primary); border-radius: .4rem; font-size: .9rem; font-weight: 700; padding: .35rem .4rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--light); }
.preview-list-button { background: var(--primary); border: 2px solid var(--primary); border-radius: 999px; color: #fff; display: inline-flex; gap: .45rem; align-items: center; padding: .48rem .85rem; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.preview-list-button:hover { background: #1f2d4a; }
.preview-badge { align-items: center; background: #dc2626; border-radius: 999px; display: inline-flex; font-size: .72rem; height: 1.25rem; justify-content: center; min-width: 1.25rem; padding: 0 .25rem; }

main { min-height: 55vh; }
.container { width: min(100% - 2rem, var(--max-width)); margin: 0 auto; }
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--primary); color: #fff; }
.eyebrow { color: var(--accent-dark); display: block; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-dark .eyebrow { color: #fcd34d; }
.section-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; margin: .4rem 0 .85rem; color: var(--primary); }
.section-dark .section-title { color: #fff; }
.section-intro { color: var(--muted); max-width: 48rem; margin: 0; }
.section-dark .section-intro { color: #d8e1ee; }

.hero { background: linear-gradient(135deg, #0f172a, #020617); color: #fff; overflow: hidden; }
.hero-grid { width: min(100% - 2rem, var(--max-width)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(16rem, .92fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; min-height: 33rem; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.hero h1 { color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.8rem, 7vw, 5.1rem); line-height: .95; margin: .5rem 0 1.25rem; }
.hero h1 span { color: #fbbf24; }
.hero p { color: #e2e8f0; font-size: 1.05rem; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-block; text-decoration: none; border: 2px solid transparent; border-radius: .42rem; padding: .68rem 1rem; font-weight: 800; font-size: .94rem; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--primary); }
.button-secondary { background: transparent; border-color: #fbbf24; color: #fde68a; }
.hero-figure { margin: 0; background: #17233b; border: 1px solid rgba(251, 191, 36, .35); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .3); }
.hero-figure img { width: 100%; height: 23rem; object-fit: cover; }
.hero-figure figcaption { color: #d8e1ee; font-size: .78rem; padding: .7rem .85rem; }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 .4rem 1rem rgba(15,23,42,.04); }
.info-card h3 { color: var(--primary); font-size: 1.05rem; margin: .2rem 0 .45rem; }
.info-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.info-card .icon { font-size: 1.45rem; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 2rem; }
.category-link { background: #fff; border: 2px solid transparent; border-radius: .65rem; color: var(--primary); padding: 1.1rem; text-align: center; font-size: .95rem; font-weight: 800; text-decoration: none; box-shadow: 0 .25rem .8rem rgba(15,23,42,.06); }
.category-link:hover { border-color: var(--accent); color: var(--accent-dark); }
.category-link .category-icon { display: block; font-size: 1.7rem; margin-bottom: .32rem; }

.catalog-toolbar { align-items: end; display: flex; gap: 1.3rem; justify-content: space-between; margin-bottom: 2rem; }
.catalog-toolbar .section-intro { max-width: 52rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: .65rem; color: var(--ink); display: flex; flex-direction: column; overflow: hidden; padding: 0; text-align: left; transition: transform .18s ease, box-shadow .18s ease; width: 100%; }
.product-card:hover { box-shadow: 0 1rem 1.8rem rgba(15,23,42,.13); transform: translateY(-3px); }
.product-card img { background: #e5e7eb; height: 12.5rem; object-fit: cover; width: 100%; }
.product-content { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.product-card h3 { color: var(--primary); font-size: .98rem; line-height: 1.35; margin: 0 0 .55rem; }
.product-meta { color: var(--accent-dark); font-size: .87rem; font-weight: 800; margin-top: auto; }
.reference-label { color: var(--muted); display: block; font-size: .75rem; line-height: 1.35; margin-top: .5rem; }

.catalog-layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 1.6rem; }
.filters { align-self: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; position: sticky; top: 6rem; }
.filters h2 { color: var(--primary); font-size: 1rem; margin: 0 0 .75rem; }
.filter-button { background: transparent; border: 0; border-radius: .4rem; color: var(--ink); display: block; font-size: .9rem; padding: .58rem .65rem; text-align: left; width: 100%; }
.filter-button:hover, .filter-button[aria-pressed="true"] { background: var(--primary); color: #fff; }

.status-panel { background: #fffbeb; border-left: .35rem solid var(--accent); border-radius: .35rem; color: #3f3108; margin: 1.3rem 0 0; padding: .85rem 1rem; }
.status-panel p { margin: 0; }
.contact-pending { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-width: 48rem; padding: clamp(1.3rem, 4vw, 2rem); }
.contact-pending h3 { color: var(--primary); margin-top: 0; }
.contact-pending p { color: var(--muted); }
.disabled-button { background: #cbd5e1; border: 0; border-radius: .42rem; color: #475569; cursor: not-allowed; font-weight: 800; padding: .7rem 1rem; }

.site-footer { background: var(--dark); color: #cbd5e1; padding: 2.5rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: 2rem; width: min(100% - 2rem, var(--max-width)); margin: 0 auto; }
.footer-title { color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-weight: 700; margin: 0 0 .45rem; }
.footer-copy { color: #94a3b8; font-size: .82rem; max-width: 25rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: .45rem .9rem; }
.footer-links a { color: #dbe5f1; font-size: .86rem; text-decoration: none; }
.footer-links a:hover { color: #fbbf24; text-decoration: underline; }
.footer-note { color: #94a3b8; font-size: .76rem; margin: 1.4rem auto 0; width: min(100% - 2rem, var(--max-width)); }

#siteStatus { min-height: 1.3rem; }
dialog { border: 0; border-radius: var(--radius); box-shadow: 0 1.5rem 4rem rgba(0,0,0,.35); color: var(--ink); max-width: min(34rem, calc(100% - 2rem)); padding: 0; width: 100%; }
dialog::backdrop { background: rgba(2, 6, 23, .7); }
.dialog-inner { padding: 1.4rem; }
.dialog-close { background: transparent; border: 0; border-radius: .3rem; color: var(--primary); float: right; font-size: 1.35rem; line-height: 1; padding: .15rem .4rem; }
.dialog-inner h2 { color: var(--primary); font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; line-height: 1; margin: .3rem 2.5rem .75rem 0; }
.dialog-product-image { border-radius: .5rem; height: 14rem; object-fit: cover; width: 100%; }
.dialog-label { color: var(--accent-dark); font-weight: 800; margin: .65rem 0 .2rem; }
.dialog-copy { color: var(--muted); font-size: .92rem; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.dialog-actions button { border: 0; border-radius: .42rem; font-weight: 800; padding: .68rem .9rem; }
.add-preview { background: var(--primary); color: #fff; }
.remove-preview { background: #fee2e2; color: #991b1b; }
.preview-item { align-items: center; border-top: 1px solid var(--line); display: flex; gap: .7rem; justify-content: space-between; padding: .85rem 0; }
.preview-item:first-of-type { border-top: 0; }
.preview-item p { margin: 0; }
.preview-item small { color: var(--muted); }

.policy-hero { background: linear-gradient(135deg, #0f172a, #172554); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.policy-hero .container { max-width: 58rem; }
.policy-hero h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.7rem, 7vw, 4.4rem); line-height: .98; margin: .55rem 0 1rem; }
.policy-hero p { color: #e2e8f0; margin-bottom: 0; max-width: 50rem; }
.policy-shell { max-width: 58rem; padding-bottom: 4.5rem; padding-top: 2rem; }
.policy-notice { background: #fef3c7; border: 1px solid #fbbf24; border-radius: .5rem; color: #4b3603; font-weight: 700; margin-bottom: 1.3rem; padding: .85rem 1rem; }
.policy-nav { background: #fff; border: 1px solid var(--line); border-radius: .5rem; margin-bottom: 1.3rem; padding: 1rem; }
.policy-nav strong { color: var(--primary); display: block; font-size: .88rem; margin-bottom: .45rem; }
.policy-nav a { color: #1d4ed8; font-size: .88rem; margin-right: .8rem; }
.policy-nav a:hover { color: var(--accent-dark); }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; padding: clamp(1.2rem, 3vw, 2rem); }
.policy-card h2 { color: var(--primary); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.65rem, 4vw, 2.1rem); line-height: 1.1; margin: 0 0 .85rem; }
.policy-card p { color: #445166; margin: 0 0 .9rem; }
.policy-card p:last-child { margin-bottom: 0; }
.policy-card ul { color: #445166; padding-left: 1.2rem; }
.policy-card li + li { margin-top: .45rem; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: flex; flex-wrap: wrap; gap: .35rem; position: static; }
  .filters h2 { flex-basis: 100%; }
  .filter-button { width: auto; }
}
@media (max-width: 720px) {
  .header-inner { align-items: flex-start; flex-wrap: wrap; gap: .55rem .8rem; padding: .8rem 0; }
  .primary-nav { justify-content: flex-start; order: 3; width: 100%; }
  .hero-grid, .info-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-figure img { height: 17rem; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .preview-list-button { margin-left: auto; }
  .primary-nav { gap: .1rem .35rem; }
  .primary-nav a { font-size: .82rem; }
}
