:root {
    --ink: #1c2733;
    --muted: #66717d;
    --bg: #ffffff;
    --alt: #f1f5f7;
    --line: #dfe6ea;
    --accent: #1f6f8b;
    --accent-dark: #164e63;
    --radius: 6px;
    --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, .logo { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 100; }

/* top bar */
.topbar { background: var(--ink); color: #c9d3db; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { font-size: 28px; letter-spacing: .5px; margin: 0; color: var(--accent-dark); }
.nav > ul { display: flex; gap: 22px; align-items: center; }
.nav a { font-size: 14px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--accent); border-color: var(--accent); }
.has-sub { position: relative; }
.sub {
    display: none; position: absolute; right: 0; top: 100%; min-width: 220px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 8px 16px;
}
.has-sub:hover .sub, .has-sub.open .sub { display: block; }
.sub a { display: block; border: 0; padding: 8px 0; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* announcement */
.notice { background: var(--accent); color: #fff; text-align: center; font-size: 14px; font-weight: 500; padding: 9px 0; letter-spacing: .3px; }
.notice a:hover { text-decoration: underline; }

/* hero */
.hero {
    padding: 110px 0;
    text-align: center;
    background: linear-gradient(135deg, #e8f1f5 0%, #cfe0e8 100%);
}
.hero h1 { font-size: clamp(30px, 5vw, 54px); max-width: 860px; margin: 0 auto 28px; }
.hero em { font-style: italic; color: var(--accent); }

.btn {
    display: inline-block; padding: 12px 28px; border-radius: 999px; border: 1px solid var(--accent);
    background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer;
    transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* sections */
.section { padding: 64px 0; }
.section--alt { background: var(--alt); }
.section__head { text-align: center; margin-bottom: 36px; }
.section__head h1, .section__head h2 { font-size: clamp(26px, 3.5vw, 38px); }
.section__head p { color: var(--muted); margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--accent); }

.grid { display: grid; gap: 24px; }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* image placeholder — swap for real <img> when Product.Images is filled */
.ph {
    position: relative; overflow: hidden; border-radius: var(--radius);
    background: linear-gradient(135deg, #e3ecf0, #cddde5);
    display: grid; place-items: center; color: rgba(22, 78, 99, .35);
    font-family: "Playfair Display", serif; font-size: 64px;
}
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.cat { display: block; text-align: center; }
.cat__img { aspect-ratio: 1; transition: transform .25s; }
.cat:hover .cat__img { transform: translateY(-4px); }
.cat h3 { font-size: 18px; margin-top: 12px; }

.card { display: block; }
.card__img { aspect-ratio: 4 / 3; transition: box-shadow .25s; }
.card:hover .card__img { box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.card__title { font-size: 17px; margin: 12px 0 0; text-align: center; }
.badge {
    position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff;
    font: 500 11px "Inter", sans-serif; text-transform: uppercase; letter-spacing: .5px;
    padding: 3px 10px; border-radius: 999px;
}

/* tabs */
.tabs__nav { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tabs__nav button {
    background: none; border: 1px solid var(--line); padding: 8px 22px; border-radius: 999px;
    font: 500 14px "Inter", sans-serif; cursor: pointer; color: var(--ink);
}
.tabs__nav button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs__panel[hidden] { display: none; }

.about { text-align: center; max-width: 760px; }
.about p { color: var(--muted); }

/* detail */
.detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.gallery__main { aspect-ratio: 4 / 3; font-size: 120px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 80px; height: 60px; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; cursor: pointer; background: none; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail__info h1 { font-size: clamp(28px, 4vw, 40px); }
.detail__info > p { color: var(--muted); }
.ticks { margin: 20px 0 28px; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.related__head { margin-top: 72px; }

.prose { max-width: 800px; }
.prose h1 { font-size: 38px; }

/* footer */
.footer { background: var(--ink); color: #c9d3db; margin-top: 40px; padding-top: 48px; font-size: 14px; flex-shrink: 0; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer h4 { color: #fff; font-size: 18px; }
.footer p { margin: 0 0 6px; }
.footer li { margin-bottom: 6px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 14px; margin-top: 12px !important; }
.footer__bottom { border-top: 1px solid #34424f; margin-top: 40px; padding: 16px; text-align: center; color: #8896a3; }

.wa {
    position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #25d366; color: #fff;
    padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

@media (max-width: 900px) {
    .burger { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
    .nav.open { display: block; }
    .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .nav a { display: block; padding: 12px 0; border: 0; }
    .sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; }
    .detail { grid-template-columns: 1fr; gap: 28px; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .topbar__in { justify-content: center; text-align: center; }
    .hero { padding: 70px 0; }
}

/* cookie consent */
.consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin-inline: auto;
    background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; font-size: 14px; }
.consent a { text-decoration: underline; }
.consent__btns { display: flex; gap: 8px; }
.consent .btn { padding: 8px 18px; }
