:root {
    --ink: #061626;
    --ink-2: #0a2034;
    --ink-3: #102f48;
    --gold: #f7b928;
    --gold-strong: #ffca3a;
    --paper: #f5f7fa;
    --white: #ffffff;
    --text: #122235;
    --muted: #667486;
    --line: #dce5ec;
    --green: #18b96b;
    --red: #c74245;
    --shadow: 0 16px 40px rgba(8, 26, 44, .10);
    --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

body:has(.mobile-bottom-nav) { padding-bottom: 0; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button,
input,
select,
textarea,
.button,
.icon-button { min-height: 42px; }

:focus-visible {
    outline: 3px solid rgba(247, 185, 40, .9);
    outline-offset: 3px;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.narrow { width: min(780px, 100%); }

.icon { flex: 0 0 auto; vertical-align: middle; }

.site-header {
    position: relative;
    z-index: 20;
    color: var(--white);
    background: var(--ink);
}

.top-contact {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    min-height: 38px;
    align-items: center;
    color: #c3d0dc;
    font-size: 12px;
}

.top-contact > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-contact a { color: var(--white); font-weight: 700; }
.top-contact small { color: #91a3b5; margin-left: 3px; }
.top-contact-whatsapp .icon { color: #1fd176; }

.header-main {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 75px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    color: var(--white);
}

.brand-mark {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 38px;
    transform: skewY(-8deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i,
.brand-mark b,
.brand-mark em {
    position: absolute;
    display: block;
    content: "";
    border: 3px solid var(--gold);
}

.brand-mark::before { inset: 2px 8px 15px 3px; transform: rotate(30deg); }
.brand-mark::after { inset: 4px 4px 14px 10px; transform: rotate(-30deg); border-color: #d89017; }
.brand-mark i { inset: 13px 9px 2px 3px; border-top: 0; transform: skewY(30deg); }
.brand-mark b { inset: 13px 3px 2px 10px; border-top: 0; transform: skewY(-30deg); border-color: #e59b1d; }
.brand-mark em { inset: 10px 10px 17px; border: 0; background: var(--gold); transform: rotate(30deg); }

.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 25px; letter-spacing: 0; }
.brand-copy strong span { color: var(--gold); }
.brand-copy small { margin-top: 5px; color: #bac8d3; font-size: 9px; font-weight: 600; letter-spacing: .02em; }
.brand-logo-image { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }

.desktop-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    gap: 25px;
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #d6e0e8;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    content: "";
    background: transparent;
}

.desktop-nav a:hover,
.desktop-nav a.active { color: var(--gold); }
.desktop-nav a.active::after { background: var(--gold); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 3px;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    color: currentColor;
    border: 1px solid transparent;
    background: transparent;
}

.icon-button:hover { color: var(--gold); }
.cart-button span {
    position: absolute;
    top: 1px;
    right: 0;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    color: var(--ink);
    border-radius: 50%;
    background: var(--gold);
    font-size: 10px;
    font-weight: 800;
}

.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }

.cost-calculator-section { padding-block: clamp(54px, 7vw, 88px); }
.cost-calculator-heading { max-width: 680px; margin-bottom: 28px; }
.cost-calculator-heading h1 { margin: 5px 0 11px; color: var(--ink); font-size: clamp(31px, 4vw, 48px); line-height: 1.08; }
.cost-calculator-heading > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.cost-calculator-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 20px; align-items: stretch; }
.cost-calculator-inputs,
.cost-calculator-result { min-width: 0; padding: clamp(22px, 4vw, 37px); border: 1px solid var(--line); }
.cost-calculator-inputs { background: var(--white); }
.calculator-panel-title { display: flex; align-items: center; gap: 13px; margin-bottom: 27px; }
.calculator-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; color: #9d6902; background: #fff2c8; }
.calculator-panel-title .section-label { margin: 0 0 4px; }
.calculator-panel-title h2 { margin: 0; color: var(--ink); font-size: 23px; line-height: 1.2; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.calculator-fields label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
.calculator-fields small { color: var(--muted); font-size: 11px; font-weight: 600; }
.calculator-fields input { width: 100%; color: var(--ink); border: 1px solid #b6c4cf; background: #fbfdff; font-size: 18px; font-weight: 800; }
.calculator-fields input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(248, 185, 40, .18); }
.calculator-disclaimer { margin: 24px 0 0; padding-top: 17px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.cost-calculator-result { display: flex; flex-direction: column; color: var(--white); border-color: #102d45; background: var(--ink); }
.cost-calculator-result .section-label { color: var(--gold); }
.cost-calculator-result h2 { margin: 5px 0 12px; color: var(--white); font-size: 24px; }
.calculator-total { display: block; margin-bottom: 27px; color: var(--gold); font-size: clamp(38px, 5vw, 58px); font-weight: 900; line-height: 1; letter-spacing: 0; overflow-wrap: anywhere; }
.calculator-breakdown { display: grid; gap: 0; margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .16); }
.calculator-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.calculator-breakdown span { color: #b9c8d3; font-size: 12px; }
.calculator-breakdown strong { color: var(--white); font-size: 14px; text-align: right; }

.site-search {
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    padding: 15px 0;
    background: var(--ink-2);
    box-shadow: var(--shadow);
}

.site-search .container { display: flex; align-items: end; gap: 10px; }
.site-search label { display: grid; flex: 1; gap: 5px; color: #c3d0dc; font-size: 12px; font-weight: 700; }
.site-search input { width: 100%; color: var(--white); border: 1px solid #486076; background: #071827; }
.site-search .icon-button { color: var(--white); border-color: #486076; }

main { min-height: 50vh; }
.flash {
    width: min(1180px, calc(100% - 48px));
    margin: 16px auto;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    background: var(--white);
    font-weight: 700;
}
.flash-error { border-left-color: var(--red); color: #7f2428; }
.flash-success { border-left-color: var(--green); color: #126d42; }

.hero-section {
    color: var(--white);
    background: var(--ink);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
    min-height: 410px;
    align-items: center;
    gap: 34px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow,
.section-label {
    margin: 0 0 13px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
    display: inline-block;
    width: 20px;
    height: 2px;
    margin-right: 8px;
    vertical-align: middle;
    content: "";
    background: currentColor;
}

.hero-copy h1 {
    max-width: 620px;
    margin: 0;
    color: var(--white);
    font-size: 49px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.03;
}

.hero-copy h1 span { display: block; color: var(--gold-strong); }
.hero-description { max-width: 545px; margin: 20px 0 25px; color: #c1cfdb; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button-gold { color: var(--ink); background: var(--gold); }
.button-gold:hover { background: var(--gold-strong); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.7); background: transparent; }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--ink-3); }
.dark-outline { color: var(--ink); border-color: var(--ink); }
.dark-outline:hover { color: var(--ink); border-color: var(--gold); }
.full-button { width: 100%; }

.hero-visual {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,.12);
}

.hero-visual img {
    width: 100%;
    height: 355px;
    object-fit: cover;
    object-position: center;
}

.hero-mobile-reference { display: none; }

.advantages-strip { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.08); }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.advantage { display: flex; align-items: center; gap: 14px; min-height: 98px; padding: 16px 18px; border-right: 1px solid rgba(255,255,255,.1); }
.advantage:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.advantage > span { color: var(--gold); }
.advantage h2 { margin: 0 0 3px; color: var(--white); font-size: 14px; }
.advantage p { margin: 0; color: #aebdca; font-size: 11px; line-height: 1.4; }

.section-light { background: var(--paper); }
.section-white { background: var(--white); }
.section-light,
.section-white,
.filament-showcase,
.brands-section,
.service-process { padding: 76px 0; }

.service-overview-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: start; gap: 50px; }
.section-intro h2,
.section-heading h2 { margin: 0 0 14px; color: var(--ink); font-size: 32px; line-height: 1.12; }
.section-intro > p:not(.section-label) { margin: 0 0 23px; color: var(--muted); font-size: 14px; }
.section-label { color: #d38a00; }
.section-label.light { color: var(--gold); }
.service-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-card {
    position: relative;
    display: block;
    min-height: 180px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 7px 20px rgba(12, 32, 52, .04);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card > span { color: #d9970e; }
.service-card h3 { max-width: 190px; margin: 14px 0 7px; color: var(--ink); font-size: 17px; line-height: 1.2; }
.service-card p { max-width: 270px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.service-card i { position: absolute; right: 18px; bottom: 19px; color: var(--gold); font-style: normal; }
.service-card-grid.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.filament-showcase {
    color: var(--white);
    background: var(--ink);
}
.filament-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 42px; }
.filament-copy h2 { margin: 0 0 14px; color: var(--white); font-size: 34px; line-height: 1.1; }
.filament-copy h2 span { display: block; color: var(--gold-strong); }
.filament-copy > p:not(.section-label) { max-width: 390px; margin: 0 0 24px; color: #b9c8d4; }
.filament-grid > img { width: 100%; height: 270px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.material-row { display: flex; justify-content: space-between; gap: 15px; margin-top: 30px; color: #b9c8d4; font-size: 11px; }
.material-row span { display: inline-flex; align-items: center; gap: 7px; }
.material-row .icon { color: var(--gold); }
.material-row b { color: var(--white); }

.featured-products { padding-top: 69px; padding-bottom: 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #a46b00; font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-card:hover { box-shadow: var(--shadow); }
.product-image { position: relative; display: block; overflow: hidden; background: #e9edf2; }
.product-image img { width: 100%; height: 180px; object-fit: cover; transition: transform .2s ease; }
.product-card:hover .product-image img { transform: scale(1.03); }
.product-badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 3px; color: var(--ink); background: var(--gold); font-size: 10px; font-weight: 800; }
.product-badge.muted { right: 10px; left: auto; color: var(--white); background: #4c5d6e; }
.product-card-body { padding: 15px; }
.product-meta { margin: 0 0 7px; color: #a36c00; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.product-meta span { color: var(--muted); text-transform: none; }
.product-card h3 { min-height: 44px; margin: 0 0 8px; color: var(--ink); font-size: 15px; line-height: 1.35; }
.product-card h3 a:hover { color: #b27600; }
.product-stock { margin: 0 0 10px; font-size: 11px; font-weight: 700; }
.in-stock { color: #12834b; }
.out-stock { color: var(--red); }
.product-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.product-card-bottom del { display: block; color: var(--muted); font-size: 11px; }
.product-card-bottom strong { color: var(--ink); font-size: 17px; }
.gold-icon { width: 38px; height: 38px; color: var(--ink); border-color: var(--gold); background: var(--gold); }

.brands-section { padding-top: 34px; padding-bottom: 34px; background: var(--white); }
.brands-section > .container > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; }
.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brand-logo { display: grid; min-width: 0; min-height: 88px; grid-template-rows: 42px minmax(14px, auto); place-items: center; gap: 8px; padding: 12px 9px; color: var(--ink); border: 1px solid #e2e9ee; border-radius: 4px; background: #fff; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.brand-logo:hover { color: var(--ink); border-color: #d49b25; box-shadow: 0 5px 14px rgba(6, 22, 38, .08); transform: translateY(-2px); }
.brand-logo:focus-visible { outline: 3px solid rgba(247, 185, 40, .35); outline-offset: 2px; }
.brand-logo-asset { display: block; width: min(100%, 142px); height: 42px; object-fit: contain; }
.brand-logo-name { max-width: 100%; overflow-wrap: anywhere; color: #687986; font-size: 10px; font-weight: 800; line-height: 1.2; text-align: center; }
.brand-logo-text { color: #1a2734; font-size: 15px; font-weight: 900; line-height: 1; text-align: center; }

.faq-preview { padding-top: 67px; padding-bottom: 76px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; cursor: pointer; list-style: none; color: var(--ink); font-size: 15px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: #bd7e00; transition: transform .15s ease; }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { max-width: 760px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.site-footer { color: #c0ceda; background: var(--ink); }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.1); background: var(--ink-2); }
.footer-cta-inner { display: flex; align-items: center; gap: 17px; min-height: 104px; }
.footer-cta-icon { color: var(--gold); }
.footer-cta-inner strong { display: block; color: var(--white); font-size: 15px; }
.footer-cta-inner p { margin: 3px 0 0; font-size: 12px; }
.footer-cta-button { margin-left: auto; min-width: 200px; padding: 9px 13px; text-align: left; }
.footer-cta-button span { font-size: 10px; line-height: 1.25; }
.footer-cta-button b { font-size: 12px; }
.footer-content { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 38px; padding-top: 53px; padding-bottom: 50px; }
.footer-brand p { max-width: 260px; margin: 18px 0 0; color: #91a3b3; font-size: 12px; }
.footer-content h2 { margin: 0 0 15px; color: var(--white); font-size: 13px; }
.footer-content > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
.footer-content > div:not(.footer-brand) a,
.footer-content > div:not(.footer-brand) p { margin: 0; color: #a9b9c5; font-size: 12px; }
.footer-content > div:not(.footer-brand) a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 18px; min-height: 48px; align-items: center; color: #8596a6; font-size: 11px; }
.footer-bottom a:hover { color: var(--gold); }

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 21px;
    z-index: 25;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 8px 13px;
    border: 1px solid #0d9e57;
    border-radius: 27px;
    color: var(--white);
    background: #12b965;
    box-shadow: 0 11px 24px rgba(4, 67, 36, .28);
    font-size: 11px;
    line-height: 1.15;
}
.whatsapp-float b { font-size: 12px; }
.whatsapp-float:hover { background: #0da957; }
.back-to-top { position: fixed; right: 22px; bottom: 87px; z-index: 24; display: grid; width: 40px; height: 40px; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.18); background: var(--ink-2); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.mobile-bottom-nav { display: none; }

.page-hero { color: var(--white); background: var(--ink); }
.page-hero .container { padding-top: 62px; padding-bottom: 62px; }
.page-hero h1 { max-width: 700px; margin: 0 0 13px; color: var(--white); font-size: 41px; line-height: 1.08; }
.page-hero p:not(.eyebrow) { max-width: 690px; margin: 0; color: #bdcbd6; font-size: 15px; }
.page-hero.compact .container { padding-top: 47px; padding-bottom: 47px; }
.breadcrumb-bar { color: var(--muted); background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumb-bar .container { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 46px; font-size: 12px; }
.breadcrumb-bar a:hover { color: #a46b00; }
.breadcrumb-bar b { color: var(--ink); overflow-wrap: anywhere; }

.catalog-section { padding: 58px 0 78px; }
.catalog-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.catalog-filters { position: sticky; top: 14px; display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.filter-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.filter-heading h2 { margin: 0; color: var(--ink); font-size: 17px; }
.filter-heading a { color: #a46b00; font-size: 11px; font-weight: 800; }
.catalog-filters label { color: var(--ink); font-size: 12px; font-weight: 800; }
input,
select,
textarea { width: 100%; padding: 10px 11px; color: var(--text); border: 1px solid #cdd8e1; border-radius: 4px; outline: none; background: var(--white); }
input:focus,
select:focus,
textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(247,185,40,.18); }
textarea { resize: vertical; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.catalog-toolbar p { margin: 0; }
.catalog-toolbar b { color: var(--ink); }
.catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.empty-state { display: grid; min-height: 260px; place-items: center; align-content: center; gap: 10px; padding: 30px; border: 1px dashed #bbc8d3; color: var(--muted); text-align: center; }
.empty-state .icon { color: #c18913; }
.empty-state h2 { margin: 0; color: var(--ink); font-size: 22px; }
.empty-state p { margin: 0 0 8px; }
.full-span { grid-column: 1 / -1; }

.product-detail { padding-top: 59px; padding-bottom: 69px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: 55px; align-items: start; }
.product-gallery { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.product-gallery > img { width: 100%; height: 410px; object-fit: cover; }
.gallery-thumbnails { display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-top: 1px solid var(--line); }
.gallery-thumbnails button { width: 76px; height: 55px; flex: 0 0 76px; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--paper); cursor: pointer; }
.gallery-thumbnails button.active { border-color: var(--gold); }
.gallery-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { display: flex; gap: 7px; align-items: center; padding: 11px 14px; color: #697a88; border-top: 1px solid var(--line); font-size: 11px; }
.gallery-caption .icon { color: var(--green); }
.product-info h1 { margin: 0 0 9px; color: var(--ink); font-size: 37px; line-height: 1.1; }
.product-sku { margin: 0 0 20px; color: var(--muted); font-size: 11px; }
.product-detail-copy { margin: 0 0 18px; color: var(--muted); }
.product-price-block { display: flex; align-items: baseline; gap: 9px; margin: 14px 0; }
.product-price-block strong { color: var(--ink); font-size: 31px; }
.product-price-block del { color: var(--muted); font-size: 13px; }
.product-price-block span { color: var(--muted); font-size: 11px; }
.stock-line { display: flex; gap: 6px; align-items: center; margin: 0 0 20px; font-size: 12px; font-weight: 800; }
.add-to-cart-form { display: grid; grid-template-columns: 105px 1fr; align-items: end; gap: 10px; }
.add-to-cart-form > label { grid-column: 1 / -1; color: var(--ink); font-size: 12px; font-weight: 800; }
.add-to-cart-form > .button { grid-column: 2; }
.quantity-control { display: grid; grid-template-columns: 35px 1fr 35px; align-items: center; height: 46px; border: 1px solid #cdd8e1; background: var(--white); }
.quantity-control button { display: grid; width: 35px; height: 44px; place-items: center; color: var(--ink); border: 0; background: transparent; }
.quantity-control input { height: 44px; padding: 0; border: 0; border-radius: 0; text-align: center; }
.purchase-notes { display: grid; gap: 9px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.purchase-notes span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.purchase-notes .icon { color: #bd7e00; }
.product-content { padding-top: 65px; padding-bottom: 72px; }
.product-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 55px; }
.product-content h2 { margin: 0 0 12px; color: var(--ink); font-size: 23px; }
.product-content p { margin: 0 0 30px; color: var(--muted); }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 800; }
.product-side-card { height: max-content; padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.product-side-card h2 { font-size: 19px; }
.product-side-card p { margin-bottom: 17px; font-size: 13px; }

.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 60px; padding-top: 62px; padding-bottom: 62px; }
.split-hero h1 { margin: 0 0 15px; }
.split-hero .hero-actions { margin-top: 24px; }
.split-hero img { width: 100%; height: 300px; object-fit: cover; }
.service-process { color: var(--white); background: var(--ink); }
.service-process h2 { margin: 0 0 30px; font-size: 32px; }
.service-process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 0; padding: 0; list-style: none; }
.service-process li { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.17); }
.service-process li > b { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; color: var(--ink); background: var(--gold); }
.service-process h3 { margin: 0 0 3px; font-size: 16px; }
.service-process p { margin: 0; color: #b4c3cf; font-size: 12px; }
.detail-split { padding: 64px 0; }
.detail-split .container { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 60px; }
.detail-split-copy h1 { margin: 0 0 17px; color: var(--ink); font-size: 40px; line-height: 1.1; }
.detail-split-copy > p:not(.eyebrow) { margin: 0 0 24px; color: var(--muted); }
.detail-split img { width: 100%; height: 310px; object-fit: cover; }
.prose { color: var(--muted); font-size: 15px; }
.prose h2 { margin-top: 35px; color: var(--ink); font-size: 24px; }
.prose p { margin: 0 0 18px; }
.prose a { color: #a46b00; text-decoration: underline; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.form-surface { padding: 29px; border: 1px solid var(--line); background: var(--white); }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.form-heading h2 { margin: 0; color: var(--ink); font-size: 22px; }
.form-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.form-grid,
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid label,
.tracking-form label,
.admin-form-grid label { display: grid; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 800; }
.form-grid small,
.admin-form-grid small { color: var(--muted); font-weight: 500; }
.form-grid .full,
.admin-form-grid .full { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.consent input { width: 17px; min-height: 17px; margin-top: 2px; accent-color: var(--gold); }
.consent a { color: #a46b00; text-decoration: underline; }
.honeypot { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-aside { padding: 22px; border: 1px solid var(--line); background: var(--white); }
.form-aside img { width: 100%; height: 190px; object-fit: cover; margin-bottom: 19px; }
.form-aside h2 { margin: 0 0 7px; color: var(--ink); font-size: 21px; }
.form-aside p { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.tracking-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; padding: 22px; border: 1px solid var(--line); background: var(--white); }
.tracking-result { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; margin-top: 22px; padding: 25px; border-left: 4px solid var(--gold); background: var(--white); box-shadow: var(--shadow); }
.status-badge { display: inline-flex; width: max-content; max-width: 100%; align-items: center; padding: 4px 8px; color: #71500b; border: 1px solid #ecd28c; border-radius: 3px; background: #fff7d9; font-size: 10px; font-weight: 800; }
.tracking-result p { margin: 17px 0 0; color: var(--muted); font-size: 11px; }
.tracking-result h2 { margin: 3px 0 0; color: var(--ink); font-size: 24px; overflow-wrap: anywhere; }
.tracking-result dl { margin: 0; }
.tracking-result dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tracking-result dt { color: var(--muted); }
.tracking-result dd { margin: 0; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.tracking-help { display: grid; place-items: center; gap: 10px; margin-top: 22px; padding: 35px; border: 1px dashed #bbc8d3; color: var(--muted); text-align: center; }
.tracking-help .icon { color: #b47a00; }
.tracking-help p { margin: 0 0 7px; }

.cart-layout,
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.cart-lines { display: grid; gap: 11px; }
.cart-line { display: grid; grid-template-columns: 115px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 15px; border: 1px solid var(--line); background: var(--white); }
.cart-line > img { width: 115px; height: 82px; object-fit: cover; }
.cart-line-copy h2 { margin: 0 0 5px; color: var(--ink); font-size: 15px; line-height: 1.3; }
.cart-line-copy h2 a:hover { color: #a46b00; }
.cart-line-copy p { margin: 0 0 7px; color: var(--muted); font-size: 11px; }
.cart-line-copy strong { color: var(--ink); }
.cart-quantity { display: grid; grid-template-columns: 28px 45px 28px; align-items: center; border: 1px solid var(--line); }
.cart-quantity button { display: grid; width: 28px; height: 38px; place-items: center; border: 0; background: var(--white); }
.cart-quantity input { width: 45px; height: 38px; padding: 0; border: 0; border-right: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 0; text-align: center; }
.cart-refresh { grid-column: 1 / -1; min-height: 27px; border: 0; color: #a46b00; background: transparent; font-size: 10px; font-weight: 800; }
.summary-panel { padding: 23px; border: 1px solid var(--line); background: var(--white); }
.summary-panel h2 { margin: 0 0 17px; color: var(--ink); font-size: 21px; }
.summary-panel > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; }
.summary-panel > div b { color: var(--ink); }
.summary-panel .summary-total { margin-top: 4px; padding-top: 16px; border-bottom: 0; color: var(--ink); }
.summary-panel .summary-total strong { color: var(--ink); font-size: 24px; }
.summary-panel .text-link { margin-top: 16px; }
.coupon-form { display: grid; gap: 6px; margin: 0 0 13px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.coupon-form label { color: var(--ink); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.coupon-form > div { display: flex; gap: 6px; padding: 0; border: 0; }
.coupon-form input { min-width: 0; flex: 1; min-height: 38px; padding: 7px 9px; border: 1px solid var(--line); color: var(--ink); background: var(--white); font-size: 12px; text-transform: uppercase; }
.coupon-form .button { min-height: 38px; padding: 7px 10px; font-size: 11px; }
.coupon-form small { font-size: 11px; font-weight: 700; }
.coupon-error { color: var(--red); }
.coupon-success { color: var(--green); }
.checkout-form { display: grid; gap: 0; }
.payment-methods { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; border: 0; }
.payment-methods legend { margin-bottom: 4px; color: var(--ink); font-size: 13px; font-weight: 800; }
.payment-methods label { display: flex; gap: 9px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); cursor: pointer; }
.payment-methods input { width: 17px; min-height: 17px; margin-top: 2px; accent-color: var(--gold); }
.payment-methods span { display: grid; grid-template-columns: 25px 1fr; align-items: center; color: var(--ink); }
.payment-methods span .icon { grid-row: span 2; color: #b47900; }
.payment-methods span small { grid-column: 2; color: var(--muted); font-size: 11px; font-weight: 500; }
.checkout-item { font-size: 12px !important; }
.secure-note,
.config-note { display: flex; gap: 7px; align-items: flex-start; margin: 17px 0 0; color: var(--muted); font-size: 11px; }
.secure-note .icon { color: var(--green); }
.config-note { color: #9c6b10; }
.order-result { padding-top: 86px; padding-bottom: 95px; text-align: center; }
.result-mark { display: grid; width: 63px; height: 63px; margin: 0 auto 20px; place-items: center; color: var(--ink); border-radius: 50%; background: var(--gold); }
.order-result h1 { margin: 0 0 13px; color: var(--ink); font-size: 41px; }
.result-copy { max-width: 580px; margin: 0 auto; color: var(--muted); }
.order-summary-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 30px 0; border: 1px solid var(--line); background: var(--line); text-align: left; }
.order-summary-result > div { display: grid; gap: 5px; padding: 17px; background: var(--white); }
.order-summary-result span { color: var(--muted); font-size: 11px; }
.order-summary-result strong { color: var(--ink); font-size: 21px; }
.bank-note { margin: 0 auto 24px; padding: 18px; border-left: 3px solid var(--gold); color: var(--muted); background: var(--white); text-align: left; }
.bank-note h2 { margin: 0 0 5px; color: var(--ink); font-size: 17px; }
.bank-note p { margin: 0; font-size: 13px; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }

.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.article-card { display: grid; grid-template-columns: 180px 1fr; min-width: 0; border: 1px solid var(--line); background: var(--white); }
.article-card img { width: 180px; height: 100%; min-height: 210px; object-fit: cover; }
.article-card > div { padding: 20px; }
.article-card > div > p:first-child { margin: 0 0 6px; color: #a46b00; font-size: 11px; font-weight: 800; }
.article-card h2 { margin: 0 0 8px; color: var(--ink); font-size: 19px; line-height: 1.2; }
.article-card > div > p { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.article-detail { padding-top: 57px; padding-bottom: 82px; }
.article-detail h1 { margin: 0 0 7px; color: var(--ink); font-size: 42px; line-height: 1.1; }
.article-date { margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.article-detail > .container > img { width: 100%; max-height: 380px; object-fit: cover; margin-bottom: 30px; }
.faq-page { padding-top: 15px; }
.faq-contact { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 30px; padding: 22px; background: var(--ink); }
.faq-contact h2 { margin: 0; color: var(--white); font-size: 19px; }
.contact-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 9px; }
.contact-cards > * { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); background: var(--white); }
.contact-cards > * > .icon { color: #b47a00; }
.contact-cards span { display: block; color: var(--muted); font-size: 11px; }
.contact-cards b { display: block; color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.error-page { display: grid; min-height: 55vh; align-items: center; padding: 70px 0; text-align: center; }
.error-page .container { margin-inline: auto; }
.error-page h1 { margin: 0 0 13px; color: var(--ink); font-size: 39px; }
.error-page p:not(.eyebrow) { margin: 0 auto 22px; color: var(--muted); }

.auth-section { display: grid; min-height: 80vh; padding: 54px 20px; place-items: center; background: var(--ink); }
.auth-panel { width: min(440px, 100%); padding: 36px; color: var(--white); background: var(--ink-2); box-shadow: var(--shadow); }
.wide-auth { width: min(610px, 100%); }
.auth-brand { margin-bottom: 38px; }
.auth-panel h1 { margin: 0 0 10px; font-size: 31px; line-height: 1.1; }
.auth-panel > p:not(.eyebrow) { margin: 0 0 22px; color: #b7c7d3; font-size: 13px; }
.auth-panel form { display: grid; gap: 14px; }
.auth-panel label { display: grid; gap: 6px; color: #dce6ec; font-size: 12px; font-weight: 800; }
.auth-panel input { color: var(--white); border-color: #486075; background: #061523; }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 19px; color: #aebfcb; font-size: 12px; }
.auth-links a { color: var(--gold); font-weight: 800; }
.admin-login { display: grid; min-height: 100vh; padding: 30px 20px; place-items: center; color: var(--white); background: var(--ink); }
.admin-login-panel { width: min(490px, 100%); padding: 38px; background: var(--ink-2); box-shadow: var(--shadow); }
.admin-login-panel h1 { margin: 0 0 10px; font-size: 31px; }
.admin-login-panel > p:not(.eyebrow) { color: #afc0cd; font-size: 13px; }
.admin-login-panel form { display: grid; gap: 13px; margin-top: 22px; }
.admin-login-panel label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; }
.admin-login-panel input { color: var(--white); border-color: #486075; background: #061523; }
.admin-login-help { margin: 17px 0 0; color: #8ea2b1 !important; font-size: 11px !important; overflow-wrap: anywhere; }

.account-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.account-card { padding: 23px; border: 1px solid var(--line); background: var(--white); }
.account-card > span { color: #b47a00; }
.account-card h2 { margin: 12px 0 5px; color: var(--ink); font-size: 20px; }
.account-card p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.account-card a { color: #a46b00; font-size: 12px; font-weight: 800; }
.account-records { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.account-records a { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.account-records a:hover { color: #a46b00; }
.account-records span { display: grid; min-width: 0; }
.account-records b { overflow-wrap: anywhere; }
.account-records small { color: var(--muted); font-size: 10px; font-weight: 600; }
.account-records strong { flex: 0 0 auto; color: #a46b00; font-size: 11px; }
.logout-form { width: min(1180px, calc(100% - 48px)); margin: 24px auto 0; }
.account-address-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 20px; align-items: start; }
.address-list { display: grid; gap: 12px; }
.address-card { padding: 18px; border: 1px solid var(--line); background: var(--white); }
.address-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.address-card-head h2 { margin: 0; color: var(--ink); font-size: 18px; }
.address-card-head > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.address-card-head span { padding: 4px 6px; color: #176d44; background: #eefaf3; font-size: 9px; font-weight: 800; }
.address-card p { margin: 13px 0 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.address-card p b { color: var(--ink); }
.address-card small { color: var(--muted); font-size: 10px; }
.address-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.address-actions a,
.address-actions button { padding: 0; color: #a46b00; border: 0; background: transparent; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.address-defaults { display: flex; flex-wrap: wrap; gap: 14px; margin: 15px 0; color: var(--ink); font-size: 12px; font-weight: 700; }
.address-defaults label { display: inline-flex; align-items: center; gap: 7px; }
.account-service-detail { display: grid; gap: 16px; }
.service-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.service-detail-head h2 { margin: 9px 0 3px; color: var(--ink); font-size: 22px; }
.service-detail-head p { margin: 0; color: var(--muted); font-size: 12px; }
.service-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 18px 0; background: var(--line); }
.service-detail-list > div { min-width: 0; padding: 12px; background: #f8fafc; }
.service-detail-list dt { color: #a46b00; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.service-detail-list dd { margin: 5px 0 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.service-history h2 { margin: 0 0 14px; color: var(--ink); font-size: 19px; }
.service-history > p { margin: 0; color: var(--muted); font-size: 12px; }
.service-history ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.service-history li { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.service-history li span { color: #a46b00; font-size: 12px; font-weight: 800; }
.service-history li b { color: var(--muted); font-size: 10px; }
.service-history li p { grid-column: 1 / -1; margin: 0; color: var(--text); font-size: 12px; }
.form-inline-link { margin: -4px 0 2px; font-size: 12px; }
.form-inline-link a { color: #a46b00; font-weight: 800; }
.order-verify-form { display: grid; gap: 13px; margin: 22px auto; text-align: left; }
.order-verify-form label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }

/* Admin */
.admin-body { display: flex; min-height: 100vh; color: var(--text); background: var(--paper); }
.admin-sidebar { position: sticky; top: 0; display: flex; width: 245px; height: 100vh; flex: 0 0 245px; flex-direction: column; padding: 25px 15px; color: #c1cfda; background: var(--ink); }
.admin-sidebar .brand { margin: 0 10px 35px; }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav a,
.admin-sidebar-footer a,
.admin-sidebar-footer button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 12px; color: #aebfca; border: 0; background: transparent; font-size: 12px; font-weight: 800; text-align: left; }
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active { color: var(--ink); background: var(--gold); }
.admin-sidebar-footer { display: grid; gap: 3px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-footer button { width: 100%; cursor: pointer; }
.admin-sidebar-footer a:hover,
.admin-sidebar-footer button:hover { color: var(--gold); }
.admin-workspace { min-width: 0; flex: 1; }
.admin-topbar { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 34px; border-bottom: 1px solid var(--line); background: var(--white); }
.admin-topbar > div:nth-child(2) { margin-right: auto; }
.admin-topbar p { margin: 0; color: #a46b00; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-topbar h1 { margin: 2px 0 0; color: var(--ink); font-size: 24px; line-height: 1.1; }
.admin-user { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.admin-menu-toggle { display: none; }
.admin-main { width: min(1260px, calc(100% - 68px)); margin: 0 auto; padding: 31px 0 65px; }
.admin-preview-notice { margin: 18px auto 0; width: min(1260px, calc(100% - 68px)); padding: 10px 13px; color: #806118; border: 1px solid #ead38d; background: #fff8df; font-size: 12px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.admin-stat-grid article { min-width: 0; padding: 16px; border: 1px solid var(--line); background: var(--white); }
.admin-stat-grid article > span { color: #ba7b00; }
.admin-stat-grid p { margin: 9px 0 2px; color: var(--muted); font-size: 11px; }
.admin-stat-grid strong { display: block; color: var(--ink); font-size: 21px; overflow-wrap: anywhere; }
.admin-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.admin-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); background: var(--white); }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.admin-panel-heading h2 { margin: 0; color: var(--ink); font-size: 19px; }
.admin-panel-heading a { display: inline-flex; align-items: center; gap: 6px; color: #a46b00; font-size: 11px; font-weight: 800; }
.admin-list { display: grid; }
.admin-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; }
.admin-list > div > span:first-child { display: grid; min-width: 0; }
.admin-list b { overflow-wrap: anywhere; }
.admin-list small { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.admin-empty { margin: 0; padding: 26px 0; color: var(--muted); font-size: 13px; }
.admin-action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.admin-action-grid a { display: grid; grid-template-columns: 30px 1fr 18px; align-items: center; gap: 13px; padding: 18px; color: #b17a0b; border: 1px solid var(--line); background: var(--white); }
.admin-action-grid a:hover { border-color: var(--gold); }
.admin-action-grid a span { display: grid; gap: 3px; }
.admin-action-grid b { color: var(--ink); font-size: 13px; }
.admin-action-grid small { color: var(--muted); font-size: 11px; }
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.admin-section-heading p { margin: 0 0 4px; color: #a46b00; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-section-heading h2 { margin: 0; color: var(--ink); font-size: 28px; }
.table-panel { padding: 0; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); background: #f8fafc; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
td { color: var(--text); font-size: 12px; }
td > small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.table-product { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.table-product img { width: 52px; height: 38px; object-fit: cover; }
.table-product span { display: grid; }
.table-product b { max-width: 270px; overflow-wrap: anywhere; }
.table-product small { color: var(--muted); font-size: 10px; }
.low-stock { color: var(--red); font-weight: 900; }
.table-actions { display: flex; gap: 4px; }
.table-actions form { display: inline-flex; }
.table-actions .icon-button { width: 34px; height: 34px; color: var(--muted); border: 1px solid var(--line); }
.product-editor { margin-top: 20px; }
.admin-form-grid { gap: 15px; }
.admin-form-grid .checkbox-field { display: flex; grid-template-columns: none; align-items: center; gap: 8px; }
.checkbox-field input { width: 18px; min-height: 18px; accent-color: var(--gold); }
.compact-grid { margin-top: 16px; }
.inline-status-form { display: grid; grid-template-columns: 150px 160px auto; gap: 6px; align-items: center; min-width: 390px; }
.inline-status-form input,
.inline-status-form select { min-height: 34px; padding: 6px 8px; font-size: 11px; }
.inline-status-form .button { min-height: 34px; padding: 6px 10px; font-size: 11px; }
.service-admin-list { display: grid; gap: 16px; }
.service-admin-card { padding: 21px; }
.service-admin-head { display: flex; justify-content: space-between; gap: 20px; }
.service-admin-head h2 { margin: 7px 0 3px; color: var(--ink); font-size: 20px; overflow-wrap: anywhere; }
.service-admin-head p { margin: 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.service-request-description { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.service-request-description p { margin: 5px 0 0; }
.service-files { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 11px; }
.service-files > b { color: var(--ink); }
.service-files a { display: inline-flex; min-width: 0; align-items: center; gap: 6px; padding: 6px 8px; color: #a46b00; border: 1px solid var(--line); background: #f8fafc; }
.service-files a:hover { border-color: var(--gold); }
.service-files span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.service-files small { color: var(--muted); font-size: 9px; }
.settings-form { display: grid; gap: 17px; }
.settings-section { padding: 24px; }
.settings-section .admin-panel-heading { align-items: baseline; }
.settings-section .admin-panel-heading > span { color: var(--muted); font-size: 11px; }
.seo-audit { margin-top: 20px; padding: 13px; border-left: 3px solid #d69b18; color: #7a5a16; background: #fff8df; font-size: 12px; }
.seo-audit.ok { display: flex; align-items: center; gap: 8px; border-left-color: var(--green); color: #176d44; background: #eefaf3; }
.seo-audit h3 { margin: 0 0 6px; font-size: 13px; }
.seo-audit ul { margin: 0; padding-left: 17px; }
.tami-status { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 17px; padding: 12px; border: 1px solid #ead38d; color: #806118; background: #fff8df; font-size: 12px; overflow-wrap: anywhere; }
.tami-status.configured { border-color: #a5ddbd; color: #176d44; background: #eefaf3; }
.settings-save { justify-self: start; margin-top: 3px; }
.smtp-test-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; }
.smtp-test-panel h2 { margin: 0 0 4px; color: var(--ink); font-size: 18px; }
.smtp-test-panel p { margin: 0; color: var(--muted); font-size: 12px; }
.smtp-test-panel form { display: flex; align-items: center; gap: 7px; min-width: min(420px, 100%); }
.smtp-test-panel form input { min-width: 0; }
.media-library-copy { max-width: 760px; margin-bottom: 23px; }
.media-library-copy h2 { margin: 0 0 7px; color: var(--ink); font-size: 20px; }
.media-library-copy p { margin: 5px 0; color: var(--muted); font-size: 13px; }
.media-upload-panel { display: grid; gap: 14px; margin-bottom: 17px; }
.media-upload-panel h2 { margin: 0 0 5px; color: var(--ink); font-size: 19px; }
.media-upload-panel p { margin: 0; color: var(--muted); font-size: 12px; }
.media-upload-panel form { display: grid; gap: 14px; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.media-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.media-grid img { width: 100%; height: 135px; object-fit: cover; }
.media-grid figcaption { padding: 8px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.media-grid-managed figcaption { display: grid; gap: 4px; }
.media-grid figcaption b { color: var(--ink); font-size: 11px; }
.media-grid figcaption code { display: block; color: #8b6100; font-size: 9px; overflow-wrap: anywhere; }
.media-grid figcaption small { color: var(--muted); font-size: 9px; }
.reference-media { margin-top: 17px; }
.content-type-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 17px; }
.content-type-tabs a { min-height: 35px; padding: 9px 11px; color: #506272; border: 1px solid var(--line); background: var(--white); font-size: 11px; font-weight: 800; }
.content-type-tabs a:hover { border-color: var(--gold); color: #9f6b00; }
.content-type-tabs a.active { color: var(--ink); border-color: var(--gold); background: var(--gold); }
.content-manager-intro { display: grid; gap: 4px; margin-bottom: 17px; padding-block: 15px; }
.content-manager-intro p { margin: 0; color: var(--muted); font-size: 12px; }
.content-manager-intro p:first-child { color: var(--ink); font-weight: 700; }
.content-filter { display: flex; align-items: end; gap: 10px; margin: 0 0 17px; }
.content-filter label { display: grid; flex: 1 1 220px; gap: 6px; color: var(--ink); font-size: 11px; font-weight: 800; }
.content-filter select,
.content-filter input { min-width: 0; }
.content-filter .text-link { padding: 11px 0; font-size: 11px; }
.content-table-panel { margin-bottom: 17px; }
.content-record { display: grid; gap: 3px; min-width: 170px; max-width: 560px; }
.content-record b { color: var(--ink); overflow-wrap: anywhere; }
.content-record small { color: var(--muted); overflow-wrap: anywhere; }
.content-editor .admin-panel-heading > div { display: grid; gap: 3px; }
.content-editor .admin-panel-heading span { color: var(--muted); font-size: 11px; }

/* Installer */
.installer { min-height: 100vh; padding: 46px 20px 64px; color: var(--text); background: radial-gradient(circle at 15% 0%, #193d58 0, var(--ink) 42%, #020c15 100%); }
.installer-shell { width: min(940px, 100%); margin: 0 auto; }
.installer-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 2px 20px; color: var(--white); }
.installer-heading p { margin: 0; color: #c4d0da; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.installer-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; overflow: hidden; list-style: none; background: rgba(255,255,255,.12); }
.installer-steps li { display: flex; min-width: 0; min-height: 57px; align-items: center; gap: 8px; padding: 9px 11px; color: #9aafbd; background: #092037; font-size: 10px; font-weight: 800; }
.installer-steps li b { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; color: #c4d0da; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 10px; }
.installer-steps li span { min-width: 0; overflow-wrap: anywhere; }
.installer-steps li.active { color: var(--ink); background: var(--gold); }
.installer-steps li.active b { color: var(--ink); border-color: rgba(6,22,38,.35); }
.installer-steps li.done { color: #ddecf3; background: #0f3852; }
.installer-steps li.done b { color: var(--gold); border-color: var(--gold); }
.installer-panel { margin-top: 18px; padding: clamp(23px, 4vw, 45px); border: 1px solid rgba(255,255,255,.14); background: var(--white); box-shadow: 0 25px 55px rgba(0,0,0,.3); }
.installer-panel h1 { max-width: 720px; margin: 5px 0 12px; color: var(--ink); font-size: clamp(28px, 4vw, 40px); line-height: 1.14; }
.installer-panel > p:not(.eyebrow) { max-width: 760px; margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.requirements-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 22px 0; }
.requirements-list > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; column-gap: 9px; min-width: 0; padding: 12px; border: 1px solid var(--line); background: #f8fafc; }
.requirements-list span { grid-row: span 2; display: grid; width: 23px; height: 23px; place-items: center; color: #176d44; border-radius: 50%; background: #dff6e9; font-weight: 900; }
.requirements-list b { min-width: 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.requirements-list small { min-width: 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.requirements-list .fail { border-color: #efc3c5; background: #fff8f8; }
.requirements-list .fail span { color: #9d3032; background: #ffe1e1; }
.installer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 25px; }
.installer-actions .button:last-child { margin-left: auto; }
.installer-warning { margin: 19px 0; padding: 12px 14px; color: #806118; border-left: 3px solid #d69b18; background: #fff8df; font-size: 12px; overflow-wrap: anywhere; }
.installer-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 24px 0; background: var(--line); }
.installer-summary > div { min-width: 0; padding: 13px; background: #f8fafc; }
.installer-summary dt { color: #a46b00; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.installer-summary dd { margin: 3px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
    .desktop-nav { gap: 14px; }
    .desktop-nav a { font-size: 12px; }
    .hero-copy h1 { font-size: 43px; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-card-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-stat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
    .desktop-nav,
    .desktop-only { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .header-main { min-height: 70px; }
    .mobile-menu { display: block; padding: 8px 18px 20px; border-top: 1px solid rgba(255,255,255,.1); background: var(--ink); }
    .mobile-menu[hidden] { display: none; }
    .mobile-menu nav { display: grid; gap: 3px; }
    .mobile-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 6px 4px; color: #dce6ec; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; font-weight: 800; }
    .mobile-menu a:hover { color: var(--gold); }
}

@media (max-width: 920px) {
    .container { width: min(100% - 36px, 720px); }
    .top-contact { justify-content: center; gap: 15px; }
    .cost-calculator-layout { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 22px; padding-top: 43px; }
    .hero-copy h1 { font-size: 42px; }
    .hero-visual { min-height: 270px; border-left: 0; }
    .hero-visual img { height: 300px; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage:nth-child(3) { border-left: 1px solid rgba(255,255,255,.1); }
    .service-overview-grid,
    .filament-grid,
    .product-detail-grid,
    .product-content-grid,
    .detail-split .container,
    .split-hero { grid-template-columns: 1fr; gap: 28px; }
    .service-overview-grid { gap: 35px; }
    .filament-grid > img { height: 230px; }
    .material-row { flex-wrap: wrap; justify-content: flex-start; }
    .product-detail-grid { gap: 31px; }
    .product-gallery > img { height: 330px; }
    .product-content-grid { gap: 28px; }
    .detail-split img,
    .split-hero img { height: 260px; }
    .form-layout,
    .contact-layout,
    .cart-layout,
    .checkout-layout { grid-template-columns: 1fr; }
    .form-aside { order: -1; }
    .summary-panel { position: static; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-filters { position: static; grid-template-columns: repeat(2, 1fr); align-items: end; }
    .filter-heading { grid-column: 1 / -1; }
    .catalog-filters .button { grid-column: 1 / -1; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .admin-sidebar { position: fixed; z-index: 50; left: -260px; transition: left .2s ease; }
    .admin-sidebar.open { left: 0; }
    .admin-menu-toggle { display: inline-flex; }
    .admin-topbar { padding-inline: 18px; }
    .admin-main,
    .admin-preview-notice { width: min(100% - 36px, 720px); }
    .admin-panel-grid,
    .admin-action-grid { grid-template-columns: 1fr; }
    .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-address-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    body:has(.mobile-bottom-nav) { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    .container { width: calc(100% - 28px); }
    .calculator-fields { grid-template-columns: 1fr; }
    .top-contact { display: none; }
    .header-main { min-height: 63px; }
    .brand-copy strong { font-size: 21px; }
    .brand-copy small { font-size: 8px; }
    .brand-mark { width: 29px; height: 33px; transform: scale(.88) skewY(-8deg); transform-origin: left center; }
    .header-actions { gap: 0; }
    .hero-grid { padding-top: 32px; padding-bottom: 23px; }
    .hero-copy h1 { font-size: 35px; }
    .hero-description { margin-top: 15px; font-size: 13px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .hero-visual { display: none; }
    .hero-mobile-reference { display: block; width: 100%; padding: 0 0 20px; }
    .hero-mobile-reference img { width: 100%; height: 245px; object-fit: cover; object-position: center; border: 1px solid rgba(255,255,255,.12); }
    .advantages-grid { grid-template-columns: 1fr 1fr; }
    .advantage { min-height: 119px; align-items: flex-start; padding: 16px 10px; gap: 8px; }
    .advantage h2 { font-size: 12px; }
    .advantage p { font-size: 10px; }
    .advantage .icon { width: 24px; height: 24px; }
    .section-light,
    .section-white,
    .filament-showcase,
    .brands-section,
    .service-process { padding: 53px 0; }
    .section-intro h2,
    .section-heading h2 { font-size: 27px; }
    .service-card-grid,
    .service-card-grid.wide,
    .product-grid,
    .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .service-card { min-height: 194px; padding: 14px; }
    .service-card h3 { font-size: 14px; }
    .service-card p { font-size: 11px; }
    .product-image img { height: 125px; }
    .product-card-body { padding: 11px; }
    .product-card h3 { min-height: 57px; font-size: 13px; }
    .product-card-bottom strong { font-size: 14px; }
    .gold-icon { width: 34px; height: 34px; }
    .filament-copy h2 { font-size: 29px; }
    .filament-grid > img { height: 175px; }
    .material-row { gap: 9px 15px; font-size: 10px; }
    .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .brand-logo { min-height: 82px; padding: 10px 7px; }
    .brand-logo-asset { height: 36px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .footer-cta-inner { align-items: flex-start; flex-wrap: wrap; padding: 19px 0; }
    .footer-cta-button { width: 100%; margin-left: 0; }
    .footer-content { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; padding-top: 38px; padding-bottom: 34px; }
    .footer-bottom .container { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .whatsapp-float { right: 13px; bottom: calc(83px + env(safe-area-inset-bottom)); min-height: 44px; padding: 6px 10px; font-size: 10px; }
    .back-to-top { right: 13px; bottom: calc(140px + env(safe-area-inset-bottom)); }
    .mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 5px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.14); color: #9caebb; background: var(--ink); }
    .mobile-bottom-nav a { display: grid; min-width: 0; min-height: 48px; place-items: center; gap: 2px; font-size: 9px; font-weight: 800; }
    .mobile-bottom-nav a.active { color: var(--gold); }
    .mobile-bottom-nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .page-hero h1 { font-size: 32px; }
    .page-hero .container { padding-top: 45px; padding-bottom: 45px; }
    .page-hero.compact .container { padding-top: 37px; padding-bottom: 37px; }
    .catalog-filters { grid-template-columns: 1fr; }
    .catalog-filters .filter-heading,
    .catalog-filters .button { grid-column: auto; }
    .catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 3px; }
    .product-gallery > img { height: 225px; }
    .product-info h1 { font-size: 30px; }
    .product-content h2 { font-size: 21px; }
    .add-to-cart-form { grid-template-columns: 93px 1fr; }
    .tracking-form { grid-template-columns: 1fr; }
    .tracking-result { grid-template-columns: 1fr; gap: 18px; }
    .tracking-result dl > div { grid-template-columns: 120px 1fr; }
    .cart-line { grid-template-columns: 75px minmax(0, 1fr) 31px; gap: 10px; padding: 10px; }
    .cart-line > img { width: 75px; height: 63px; }
    .cart-line-copy h2 { font-size: 12px; }
    .cart-line-copy strong { font-size: 13px; }
    .cart-quantity { grid-column: 2; justify-self: start; }
    .cart-line > form:last-child { grid-column: 3; grid-row: 1; }
    .article-card { grid-template-columns: 1fr; }
    .article-card img { width: 100%; height: 170px; min-height: 0; }
    .article-detail h1 { font-size: 31px; }
    .faq-contact { align-items: flex-start; flex-direction: column; }
    .form-surface { padding: 20px 15px; }
    .form-grid,
    .admin-form-grid { grid-template-columns: 1fr; }
    .form-grid .full,
    .admin-form-grid .full { grid-column: auto; }
    .order-result h1 { font-size: 32px; }
    .order-summary-result { grid-template-columns: 1fr; }
    .result-actions { display: grid; }
    .result-actions .button { width: 100%; }
    .auth-panel,
    .admin-login-panel { padding: 27px 20px; }
    .account-grid { grid-template-columns: 1fr; }
    .service-detail-head { align-items: flex-start; flex-direction: column; }
    .service-detail-list { grid-template-columns: 1fr; }
    .address-defaults { align-items: flex-start; flex-direction: column; gap: 8px; }
    .logout-form { width: calc(100% - 28px); }
    .admin-topbar h1 { font-size: 19px; }
    .admin-user span { display: none; }
    .admin-main,
    .admin-preview-notice { width: calc(100% - 28px); }
    .admin-section-heading { align-items: flex-start; flex-direction: column; }
    .admin-section-heading h2 { font-size: 24px; }
    .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stat-grid article { padding: 12px; }
    .admin-stat-grid strong { font-size: 18px; }
    .service-admin-head { flex-direction: column; gap: 12px; }
    .settings-section { padding: 17px 14px; }
    .settings-section .admin-panel-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .smtp-test-panel { align-items: flex-start; flex-direction: column; }
    .smtp-test-panel form { width: 100%; min-width: 0; flex-direction: column; align-items: stretch; }
    .media-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .media-grid img { height: 100px; }
    .installer { padding: 25px 14px 48px; }
    .installer-heading { align-items: flex-start; flex-direction: column; gap: 11px; padding-bottom: 15px; }
    .installer-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .installer-steps li { min-height: 48px; padding: 7px; gap: 5px; font-size: 9px; }
    .installer-steps li b { width: 20px; height: 20px; flex-basis: 20px; font-size: 9px; }
    .installer-panel { margin-top: 12px; padding: 23px 16px; }
    .installer-panel h1 { font-size: 28px; }
    .requirements-list,
    .installer-summary { grid-template-columns: 1fr; }
    .installer-actions { align-items: stretch; flex-direction: column-reverse; }
    .installer-actions .button:last-child { margin-left: 0; }
}

@media (max-width: 375px) {
    .hero-copy h1 { font-size: 32px; }
    .service-card-grid,
    .service-card-grid.wide,
    .product-grid,
    .catalog-product-grid { grid-template-columns: 1fr; }
    .product-image img { height: 180px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .advantage { min-height: 92px; }
}
