/* ==========================================================================
   Sognare.rs — Custom design system over Bootstrap 5
   Aesthetic: Casper.com — heavy whitespace, premium minimalism.
   Brand: teal #13BECF · CTA orange #FF751A · Jost / Poppins
   ========================================================================== */

:root {
    --brand: #13BECF;
    --brand-dark: #0FA5B4;
    --brand-soft: #E7F8FA;
    --cta: #FF751A;
    --cta-dark: #E8640D;
    --ink: #292929;
    --ink-soft: #7A7A7A;
    --bg: #FFFFFF;
    --bg-alt: #F5F5F5;
    --border: #EAEAEA;
    --accent: #D1BC92;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-soft: 0 6px 24px rgba(41, 41, 41, .07);
    --shadow-hover: 0 14px 40px rgba(41, 41, 41, .12);
    --font-head: 'Jost', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
@media (max-width: 767px) { body { font-size: 17px; } }

h1, h2, h3, h4, h5, .h1, .h2, .h3 {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: .02em;
}
a { color: var(--brand-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: 8px; top: 8px; z-index: 3000; background: #fff; padding: 8px 14px; border-radius: 6px; }

.section-pad { padding: 96px 0; }
@media (max-width: 767px) { .section-pad { padding: 56px 0; } }

.section-title {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: .4em;
}
.section-lead { color: var(--ink-soft); max-width: 620px; margin: 0 auto 3rem; }

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-head);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    border-radius: 999px;
    padding: .8rem 2rem;
    font-size: .86rem;
    transition: all .2s ease;
    border: 2px solid transparent;
}
.btn-cta {
    background: var(--cta);
    color: #fff;
}
.btn-cta:hover, .btn-cta:focus {
    background: var(--cta-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 117, 26, .35);
}
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { display: block; width: 100%; }

/* ---------- Announce bar ---------- */
.announce-bar {
    background: var(--ink);
    color: #fff;
    text-align: center;
    font-size: .78rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    font-family: var(--font-head);
    padding: 9px 12px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 76px;
}
.site-logo img { height: 44px; width: auto; display: block; }

.main-nav { flex: 1; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list > li > a, .nav-drop-btn {
    font-family: var(--font-head);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: .82rem;
    color: var(--ink);
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}
.nav-list > li > a:hover, .nav-drop-btn:hover { background: var(--brand-soft); color: var(--brand-dark); }

.has-dropdown { position: relative; }
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: -20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
    padding: 28px;
    min-width: 640px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s ease;
    z-index: 1100;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 34px; }
.nav-cat-parent {
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: .8rem;
    color: var(--ink);
    display: block;
    margin-bottom: 8px;
}
.nav-cat-parent:hover { color: var(--brand-dark); }
.nav-cat-col ul { list-style: none; margin: 0; padding: 0; }
.nav-cat-col ul a { font-size: .85rem; color: var(--ink-soft); display: block; padding: 3px 0; }
.nav-cat-col ul a:hover { color: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: .85rem;
    letter-spacing: .6px;
}
.header-phone svg { color: var(--brand); }
.cart-toggle {
    position: relative;
    background: none;
    border: 0;
    color: var(--ink);
    padding: 8px;
    cursor: pointer;
}
.cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--cta);
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); margin: 0 auto; transition: all .2s; }

@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .header-phone span { display: none; }
    .main-nav {
        position: fixed;
        inset: 0;
        top: 0;
        background: #fff;
        z-index: 1500;
        padding: 90px 28px 40px;
        transform: translateX(-100%);
        transition: transform .28s ease;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 8px 0 0 12px; display: none; }
    .has-dropdown.open .nav-dropdown { display: block; }
    .nav-dropdown-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(120deg, var(--brand-soft) 0%, #fff 55%);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
    min-height: 560px;
    padding: 70px 0;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: .5px;
    margin-bottom: 1.1rem;
}
.hero-sub { color: var(--ink-soft); font-size: 1.06rem; max-width: 520px; margin-bottom: 2rem; }
.hero-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 991px) {
    .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 48px 0; }
    .hero-visual { order: -1; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.trust-strip-inner { display: flex; justify-content: center; gap: clamp(24px, 6vw, 90px); padding: 22px 12px; flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: 1.3px; color: var(--ink); }
.trust-item svg { color: var(--brand); flex: 0 0 auto; }

/* ---------- Product cards ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-card-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card-img img { transform: scale(1.045); }
.product-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-name {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.02rem;
    letter-spacing: .4px;
    color: var(--ink);
}
.product-card-name:hover { color: var(--brand-dark); }
.product-card-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: 1.1px; color: var(--ink-soft); }
.product-card-price { font-weight: 600; color: var(--ink); margin-top: auto; }
.product-card-price .from { font-weight: 400; color: var(--ink-soft); font-size: .82rem; }
.product-card-dims { display: none; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.product-card:hover .product-card-dims { display: flex; }
.dim-chip {
    font-size: .68rem;
    border: 1px solid var(--border);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 2px 9px;
    background: var(--bg-alt);
}
.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-head);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    padding: 4px 12px;
}
.card-badge.sale { background: var(--cta); }
.card-badge.oos { background: var(--ink-soft); }

/* ---------- Category strip (home) ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.cat-tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-alt);
    display: block;
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: 14px;
    background: rgba(255,255,255,.92);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: var(--font-head);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: .8rem;
    color: var(--ink);
    text-align: center;
}

/* ---------- Category page ---------- */
.listing-head { padding: 56px 0 28px; }
.listing-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); text-transform: uppercase; letter-spacing: 1.6px; }
.listing-desc { color: var(--ink-soft); max-width: 780px; margin-top: 12px; }
.listing-desc a { color: var(--brand-dark); }
.subcat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.subcat-pill {
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 7px 18px;
    font-family: var(--font-head);
    font-size: .8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
    background: #fff;
    transition: all .18s ease;
}
.subcat-pill:hover, .subcat-pill.active { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 8px 0 26px; flex-wrap: wrap; }
.listing-count { color: var(--ink-soft); font-size: .9rem; }
.sort-select { border: 1.5px solid var(--border); border-radius: 999px; padding: 8px 18px; font-size: .86rem; background: #fff; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .8rem; color: var(--ink-soft); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--border); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--brand-dark); }

/* ---------- PDP split-screen ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding: 34px 0 90px; }
.pdp-gallery { display: flex; flex-direction: column; gap: 20px; }
.pdp-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.pdp-gallery img { width: 100%; display: block; }

.pdp-buy { position: sticky; top: 110px; }
.pdp-title { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: .8px; margin-bottom: 6px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .86rem; margin-bottom: 14px; }
.stars { color: #F5A623; letter-spacing: 2px; font-size: .95rem; }
.pdp-short { color: var(--ink-soft); font-size: .95rem; margin-bottom: 20px; }
.pdp-price { font-size: 1.55rem; font-weight: 600; margin: 6px 0 20px; }
.pdp-price .old { color: var(--ink-soft); font-weight: 400; text-decoration: line-through; font-size: 1.05rem; margin-left: 10px; }

.opt-label { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 10px; color: var(--ink); }
.opt-label .picked { color: var(--brand-dark); }
.pill-group { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.pill {
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 999px;
    padding: 9px 17px;
    font-size: .86rem;
    font-family: var(--font-body);
    color: var(--ink);
    cursor: pointer;
    transition: all .16s ease;
}
.pill:hover { border-color: var(--brand); }
.pill.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 500; box-shadow: 0 0 0 1px var(--brand); }
.pill.oos { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

.pdp-cta-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 18px; }
.pdp-cta-row .qty-stepper { border: 1.5px solid var(--border); border-radius: 999px; }
.pdp-add { flex: 1; font-size: .95rem; padding: 1rem 1.4rem; }

.qty-stepper { display: inline-flex; align-items: center; gap: 2px; background: #fff; }
.qty-btn { background: none; border: 0; width: 38px; height: 44px; font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.qty-btn:hover { color: var(--brand-dark); }
.qty-val { min-width: 26px; text-align: center; font-weight: 500; }

.pdp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 10px; margin-bottom: 22px; }
.pdp-trust .trust-item { flex-direction: column; text-align: center; gap: 6px; font-size: .68rem; letter-spacing: .8px; }

.pdp-meta { font-size: .86rem; color: var(--ink-soft); border-top: 1px solid var(--border); padding-top: 16px; }
.pdp-meta dt { font-weight: 500; color: var(--ink); }
.pdp-meta dd { margin-bottom: 8px; }

/* Layers accordion ("Šta je unutra") */
.layers-section { background: var(--bg-alt); }
.layers-acc { max-width: 820px; margin: 0 auto; }
.layer-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.layer-head {
    width: 100%;
    background: none;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .88rem;
    cursor: pointer;
    color: var(--ink);
}
.layer-head .ico { transition: transform .25s ease; color: var(--brand); }
.layer-item.open .layer-head .ico { transform: rotate(45deg); }
.layer-body { padding: 0 22px; max-height: 0; overflow: hidden; }
.layer-body-inner { padding-bottom: 20px; color: var(--ink-soft); font-size: .93rem; }

/* PDP long description */
.pdp-desc { max-width: 860px; margin: 0 auto; color: var(--ink-soft); }
.pdp-desc h2, .pdp-desc h3 { margin-top: 1.6em; color: var(--ink); }
.pdp-desc img { border-radius: var(--radius-sm); }
.pdp-desc ul { padding-left: 1.2rem; }

@media (max-width: 991px) {
    .pdp { grid-template-columns: 1fr; }
    .pdp-buy { position: static; }
    .pdp-gallery { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; }
    .pdp-gallery figure { flex: 0 0 86%; scroll-snap-align: center; }
}

/* ---------- Drawer cart ---------- */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(41,41,41,.45);
    z-index: 1900;
    opacity: 0;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(430px, 94vw);
    background: #fff;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-shadow: -18px 0 50px rgba(0,0,0,.18);
    transform: translateX(100%);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.drawer-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1.6px; margin: 0; }
.drawer-close { background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.drawer-close:hover { color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--ink-soft); padding: 40px 24px; text-align: center; }
.drawer-empty svg { color: var(--border); }
.drawer-items { list-style: none; margin: 0; padding: 10px 0; }
.drawer-item { display: flex; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--border); position: relative; }
.drawer-item-img { flex: 0 0 74px; }
.drawer-item-img img { width: 74px; height: 74px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-alt); }
.drawer-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.drawer-item-name { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .93rem; letter-spacing: .3px; padding-right: 18px; }
.drawer-item-variant { font-size: .78rem; color: var(--ink-soft); }
.drawer-item-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.drawer-item-controls .qty-stepper { border: 1px solid var(--border); border-radius: 999px; }
.drawer-item-controls .qty-btn { width: 30px; height: 32px; font-size: 1rem; }
.drawer-item-price { font-weight: 600; font-size: .92rem; }
.drawer-item-remove { position: absolute; top: 10px; right: 16px; background: none; border: 0; color: var(--ink-soft); font-size: 1.2rem; cursor: pointer; }
.drawer-item-remove:hover { color: var(--cta); }
.drawer-summary { border-top: 1px solid var(--border); padding: 18px 24px 24px; display: grid; gap: 10px; background: #fff; }
.drawer-subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; }
.drawer-note { font-size: .76rem; color: var(--ink-soft); margin: 0; }

/* ---------- Cart page / Checkout ---------- */
.page-head { padding: 52px 0 10px; }
.page-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-transform: uppercase; letter-spacing: 1.6px; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: .74rem;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 10px;
    text-align: left;
}
.cart-table td { padding: 18px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-prod { display: flex; gap: 16px; align-items: center; }
.cart-prod img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-alt); }
.cart-summary-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 26px;
    position: sticky;
    top: 110px;
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 1.15rem; font-weight: 600; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: 44px; align-items: start; padding-bottom: 90px; }
@media (max-width: 991px) { .checkout-grid { grid-template-columns: 1fr; } }
.form-label { font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: 1.2px; }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .7rem .9rem;
    font-size: .95rem;
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19,190,207,.15); }
.pay-option { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; cursor: pointer; transition: all .15s ease; display: block; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay-option input { margin-right: 10px; accent-color: var(--brand); }
.pay-option .pay-desc { font-size: .82rem; color: var(--ink-soft); margin: 6px 0 0 26px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card-img { aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-title { font-size: 1.05rem; font-weight: 500; letter-spacing: .3px; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--brand-dark); }
.blog-card-date { font-size: .76rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; }
.blog-card-excerpt { color: var(--ink-soft); font-size: .9rem; }

.article-body { max-width: 780px; margin: 0 auto; }
.article-body img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.article-body h2, .article-body h3 { margin-top: 1.7em; }
.article-body p { line-height: 1.75; color: #3d3d3d; }
.article-hero { max-width: 980px; margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; }
.article-meta { color: var(--ink-soft); font-size: .84rem; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; }

/* ---------- Static pages ---------- */
.static-content { max-width: 860px; margin: 0 auto; padding-bottom: 80px; }
.static-content h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: .8em; }
.static-content h2 { font-size: 1.35rem; margin-top: 1.8em; }
.static-content p, .static-content li { line-height: 1.75; color: #3d3d3d; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 110px 20px; }
.error-code { font-size: 6rem; font-family: var(--font-head); color: var(--brand); font-weight: 600; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcf; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px; padding: 70px 0 40px; }
.footer-brand img { border-radius: 8px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: #a9a9a9; }
.footer-title { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 9px; font-size: .89rem; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid #3a3a3a; padding: 22px 0; font-size: .8rem; color: #8b8b8b; }
.footer-bottom p { margin: 0; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Status badges (shared with admin) ---------- */
.badge-status { font-size: .72rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .8px; border-radius: 999px; padding: 4px 12px; display: inline-block; }
.badge-status-pending { background: #FFF4E5; color: #B26A00; }
.badge-status-production { background: #E7F8FA; color: #0FA5B4; }
.badge-status-ready { background: #EAF3FF; color: #1E5FBF; }
.badge-status-done { background: #E8F6EC; color: #1F7A38; }
.badge-status-cancel { background: #FDECEC; color: #B02A2A; }

/* ---------- Reveal animation base states (GSAP) ---------- */
.gs-reveal { opacity: 0; transform: translateY(26px); }
.no-js .gs-reveal, .gs-reveal.gs-done { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast-note {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: .88rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
}
.toast-note.show { opacity: 1; transform: translate(-50%, 0); }
