:root {
    --bg: #F5EFE0;
    --ink: #1a1a1a;
    --cream: #EDE8D8;
    --cream-mid: #D9D1BC;
    --mid: #7a7570;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

/* ─── CUSTOM CURSOR ─── */
#bd-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .22s, height .22s, background .22s;
    mix-blend-mode: multiply;
}

#bd-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform .18s ease, width .28s, height .28s;
    opacity: .35;
}

@media (max-width: 960px) {

    #bd-cursor,
    #bd-cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (min-width: 961px) {
    body {
        cursor: none;
    }
}

/* ─── TICKER ─── */
.bd-ticker {
    overflow: hidden;
    white-space: nowrap;
    background: var(--ink);
    padding: 13px 0;
    margin-bottom: 0;
}

.bd-ticker-track {
    display: inline-flex;
    animation: bdTicker 24s linear infinite;
}

.bd-ticker-track span {
    font-size: 10px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0 2.5rem;
}

.bd-ticker-track .dot {
    opacity: .3;
}

@keyframes bdTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ─── TYPOGRAPHY ─── */
h1,
.display-5 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4.5vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--ink);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--ink);
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--ink);
}

h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: .8rem;
}

h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
}

p,
li,
span {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.9;
    color: var(--mid);
    font-weight: 300;
}

.lead {
    font-size: 15px;
    color: var(--mid);
    font-weight: 300;
    line-height: 1.85;
}

strong {
    color: var(--ink);
    font-weight: 600;
}

/* ─── BRAND PILL ─── */
.brand-pill {
    background: var(--ink);
    color: var(--white);
    border-radius: 0;
    padding: .75rem 1.6rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
}

/* ─── CARDS ─── */
.card {
    border: 1px solid var(--cream-mid) !important;
    border-radius: 0 !important;
    background: var(--white);
    box-shadow: none !important;
    margin-bottom: 2rem;
    transition: transform .3s, box-shadow .3s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06) !important;
}

.card.bg-light {
    background: var(--cream) !important;
}

.card-body {
    padding: 2rem;
}

.card-title {
    margin-bottom: 1.5rem;
}

/* ─── TABLES ─── */
.table {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
}

.table thead th {
    background: var(--ink) !important;
    color: var(--white) !important;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: none !important;
    white-space: nowrap;
    padding: 14px 16px;
}

.table tbody td,
.table tbody th {
    vertical-align: middle;
    color: var(--mid);
    font-weight: 300;
    border-color: var(--cream-mid);
    padding: 12px 16px;
}

.table tbody tr:hover td,
.table tbody tr:hover th {
    background: var(--cream);
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background: var(--bg);
}

.table-bordered th,
.table-bordered td {
    border-color: var(--cream-mid) !important;
}

.table th {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.table th:last-child {
    border-right: none !important;
}

.unit {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

caption {
    font-size: 11px;
    color: var(--mid);
    padding: 12px 16px;
    caption-side: bottom;
}

.badge.bg-info {
    background: var(--ink) !important;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 7px 14px;
    font-weight: 700;
}

.text-secondary.fw-semibold.h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--ink) !important;
    letter-spacing: -1px;
}

/* ─── INFO / TIP / MEASUREMENT BOXES ─── */
.info-box {
    background: var(--cream);
    border-left: 3px solid var(--ink);
    padding: 1.4rem 1.6rem;
    margin: 1.5rem 0;
    border-radius: 0;
}

.info-box h4 {
    margin-bottom: .6rem;
}

.tip-box {
    background: var(--white);
    border: 1px solid var(--cream-mid);
    border-radius: 0;
    padding: 1.4rem 1.6rem;
    margin: 0;
    height: 100%;
}

.tip-box h5 {
    margin-bottom: .6rem;
}

.measurement-guide {
    background: var(--cream);
    border: 1px solid var(--cream-mid);
    border-radius: 0;
    padding: 1.4rem 1.6rem;
    margin: 1rem 0 1.5rem;
}

/* ─── SEO CONTENT BOX ─── */
.info-box.bg-white {
    background: var(--white) !important;
    border-left: 3px solid var(--ink);
}

.info-box .text-primary,
.h5.text-primary {
    color: var(--ink) !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ─── BUTTON ─── */
.butoni {
    text-align: center;
    padding: 3rem 0 4rem;
}

.btn {
    border-radius: 0 !important;
    padding: 14px 40px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: background .25s, color .25s, border-color .25s;
}

.btn-outline-primary {
    border: 1.5px solid var(--ink) !important;
    color: var(--ink) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--ink) !important;
    color: var(--white) !important;
}

/* ─── REVEAL ─── */
.bd-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .75s ease, transform .75s ease;
}

.bd-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HR ─── */
hr {
    border: none;
    border-top: 1px solid var(--cream-mid);
    opacity: 1;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .card-body {
        padding: 1.4rem;
    }

    .btn {
        width: 100% !important;
    }
}