:root {
    --navy:        #1a2c5b;
    --navy-mid:    #243580;
    --gold:        #8a6518;
    --gold-light:  #e8c97a;
    --ink:         #1c1a14;
    --muted:       #6b6257;
    --line:        #eeeae0;
    --bg:          #f7f5f0;
}

/* Shared typography helpers (available on every page) */
.section-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    margin: 0;
}
.section-rule {
    width: 40px;
    height: 2px;
    background: var(--gold);
    border: none;
    margin: 1rem 0 1.5rem;
}

.custom-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.brand-logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #000 !important;
}

.navbar-nav .nav-link {
    color: #222 !important;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
}

.navbar-nav .nav-link:hover {
    color: var(--navy-mid) !important;
}

.active-link::after {
    content: "•";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.5rem;
    height: auto;
    background: none;
    width: auto;
}

.active-link {
    color: var(--navy) !important;
    background-color: #e8e4f0;
    padding: 6px 14px !important;
    border-radius: 20px;
}

.icon-link {
    color: #222;
    font-size: 1.2rem;
    text-decoration: none;
    position: relative;
}

.icon-link:hover {
    color: var(--navy-mid);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}
.cart-badge.badge-lg  { font-size: 0.5rem; }   /* 10–99  */
.cart-badge.badge-xl  { font-size: 0.4rem; }   /* 100+   */

.badge-circle {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--gold);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-circle[style*="display:none"],
.badge-circle[style*="display: none"] {
    display: none !important;
}
