/* ============================================================
   MKB Trading — Frontend Style  (css/style.css)
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
    --gold:       #b8965a;
    --gold-light: #d4b483;
    --gold-dark:  #9a7a47;
    --dark:       #0e0e0e;
    --charcoal:   #1c1c1c;
    --surface:    #faf8f5;
    --border:     #e8e0d5;
    --text:       #333;
    --text-muted: #888;
    --green:      #27ae60;
    --red:        #e74c3c;
    --radius:     2px;
    --transition: 0.25s ease;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans:  'Jost', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    letter-spacing: 0.03em;
}

a { transition: color var(--transition); }
img { max-width: 100%; height: auto; }

/* ══════════════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════════════ */
/* ============================================================
   MKB Trading — user.css
   Overrides and additions on top of style.css
   ============================================================ */

/* ── CSS Variables (kept in sync with style.css) ────────────── */
:root {
    --gold:       #b8965a;
    --gold-light: #d4b483;
    --gold-dark:  #9a7a47;
    --dark:       #0e0e0e;
    --charcoal:   #1c1c1c;
    --surface:    #faf8f5;
    --border:     #e8e0d5;
    --text:       #333;
    --text-muted: #888;
    --green:      #27ae60;
    --red:        #e74c3c;
    --radius:     2px;
    --transition: 0.25s ease;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans:  'Jost', sans-serif;
}

/* ── Spec badges (near price) ──────────────────────────── */
.spec-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.spec-badge-pill {
    font-size: 11px;
    letter-spacing: .04em;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text);
    white-space: nowrap;
}

/* ── Specifications tab table ──────────────────────────── */
.detail-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.detail-spec-table tr {
    border-bottom: 1px solid var(--border);
}

.detail-spec-table tr:last-child { border-bottom: none; }

.detail-spec-table tr:hover td { background: var(--surface); }

.detail-spec-table .spec-key {
    width: 38%;
    padding: 12px 16px 12px 0;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: .03em;
    vertical-align: top;
}

.detail-spec-table .spec-val {
    padding: 12px 0;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 576px) {
    .detail-spec-table .spec-key,
    .detail-spec-table .spec-val {
        display: block;
        width: 100%;
        padding: 6px 0;
    }
    .detail-spec-table .spec-key { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 2px; }
    .detail-spec-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); }
    .spec-badges { gap: 4px; }
    .spec-badge-pill { font-size: 10px; padding: 3px 9px; }
}

/* ══════════════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════════════ */
.topbar-wrap {
    background: var(--dark);
    border-bottom: 1px solid #2a2a2a;
}

.topbar-inner { border-bottom: 1px solid #1e1e1e; }

.topbar-links a {
    color: #888 !important;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition);
    text-decoration: none;
}
.topbar-links a:hover { color: var(--gold) !important; }
.topbar-sep { color: #333; margin: 0 10px; }

.social-icon a {
    color: #555 !important;
    font-size: 13px;
    margin: 0 4px;
    transition: color var(--transition);
}
.social-icon a:hover { color: var(--gold) !important; }

/* ── Topbar brand row (logo + search + cart) ─────────────────── */
.topbar-brand {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0;
}

/* ── Logo ────────────────────────────────────────────────────── */
.logo-span {
    background: var(--gold);
    color: #fff !important;
    font-family: var(--font-serif);
    letter-spacing: 0.12em;
    padding: 4px 14px;
    margin-right: 6px;
    border-radius: 1px;
    font-size: 1.5rem;
}

.logo-word {
    color: var(--dark) !important;
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
    text-decoration: none !important;
    font-size: 2rem;          /* bigger logo */
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}

.logo-word:hover { color: var(--dark) !important; text-decoration: none !important; }

/* ── Search group ────────────────────────────────────────────── */
.search-group { border-radius: var(--radius); overflow: hidden; }

.search-input {
    border: 1px solid var(--border);
    border-right: none;
    font-family: var(--font-sans);
    font-size: 13px;
    height: 56px;
    border-radius: var(--radius) 0 0 var(--radius) !important;
    background: #fafafa;
}

.search-input:focus {
    box-shadow: none;
    border-color: var(--gold);
    background: #fff;
    outline: none;
}

.search-btn {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #fff;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: background var(--transition);
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ── Cart button ─────────────────────────────────────────────── */
.btn-icon {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    padding: 10px 16px;
    border-radius: var(--radius);
    position: relative;
    transition: border-color var(--transition), color var(--transition);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    font-size: 18px;
}

.btn-icon:hover { border-color: var(--gold); color: var(--gold); }

.btn-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0;
    line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR OUTER WRAPPER
══════════════════════════════════════════════════════════════ */
.navbar-outer { background: #fff; margin-bottom: 0 !important; }

/* ── Category toggle button ──────────────────────────────────── */
.cat-toggle-btn {
    background: var(--gold) !important;
    border: none !important;
    color: #fff !important;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0 24px;
    height: 65px;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background var(--transition);
    text-decoration: none !important;
    display: flex !important;
    align-items: center;
}

.cat-toggle-btn:hover { background: var(--gold-dark) !important; color: #fff !important; }
.cat-toggle-btn:focus { outline: none; box-shadow: none; }
.cat-toggle-btn .fa-angle-down { transition: transform 0.3s; }
.cat-toggle-btn[aria-expanded="true"] .fa-angle-down { transform: rotate(180deg); }

/* ── Vertical category nav ───────────────────────────────────── */
.cat-nav {
    border: 1px solid var(--border);
    border-top: none;
    background: #fff;
}

.cat-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--dark) !important;
    border-bottom: 1px solid #f5f0e8;
    transition: color var(--transition), background var(--transition), padding-left var(--transition);
    text-decoration: none !important;
}

.cat-nav-link:hover,
.cat-nav-link.active {
    color: var(--gold) !important;
    background: var(--surface);
    padding-left: 28px;
}

.cat-nav-count {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1px 8px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* ── Main horizontal navbar ──────────────────────────────────── */
.navbar-top {
    border-bottom: 2px solid var(--gold);
    background: #fff !important;
    border-top: none;
}

.navbar-top .nav-link {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark) !important;
    font-weight: 500;
    padding: 20px 14px !important;
    transition: color var(--transition);
    position: relative;
}

.navbar-top .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.navbar-top .nav-link:hover::after,
.navbar-top .nav-link.active::after { transform: scaleX(1); }

.navbar-top .nav-link:hover,
.navbar-top .nav-link.active { color: var(--gold) !important; }

/* Dropdown menus */
.navbar-top .dropdown-menu,
.cat-dropdown {
    border-radius: 0;
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    padding: 6px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    min-width: 200px;
}

.navbar-top .dropdown-item,
.cat-dropdown .dropdown-item {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--dark);
    padding: 9px 20px;
    transition: color var(--transition), background var(--transition), padding-left var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-top .dropdown-item:hover,
.cat-dropdown .dropdown-item:hover {
    color: var(--gold);
    background: var(--surface);
    padding-left: 28px;
}

/* ── Carousel controls ───────────────────────────────────────── */
.carousel-caption-left {
    left: 60px !important;
    right: auto !important;
    text-align: left !important;
    bottom: auto;
    top: 0;
    height: 100%;
}

.carousel-caption-inner { max-width: 500px; }

.carousel-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.carousel-ctrl-btn {
    width: 42px;
    height: 42px;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: background var(--transition);
}

.carousel-ctrl-btn:hover { background: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   FLASH MESSAGE
══════════════════════════════════════════════════════════════ */
.mkb-flash {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 14px 40px 14px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    letter-spacing: 0.04em;
    max-width: 360px;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
    transition: opacity 0.4s ease;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mkb-flash--success { background: var(--gold); color: #fff; }
.mkb-flash--error   { background: var(--red);  color: #fff; }
.mkb-flash--info    { background: #3498db;     color: #fff; }

.mkb-flash-close {
    position: absolute;
    top: 10px; right: 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,.8);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color var(--transition);
}
.mkb-flash-close:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — trust badges
══════════════════════════════════════════════════════════════ */
.checkout-trust {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.checkout-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.checkout-trust__item i { color: var(--gold); font-size: 18px; }

/* ── Category scroll ───────────────────────────────────────── */
.category-scroll { max-height: calc(100vh - 180px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ══════════════════════════════════════════════════════════════
   HERO CAROUSEL
══════════════════════════════════════════════════════════════ */
.carousel-dark-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 100%);
    z-index: 1;
}

.carousel-caption { z-index: 2; }

.carousel-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-light);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
    margin-bottom: 14px;
}

.carousel-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.12;
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #fff !important;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 11px 28px;
    transition: all var(--transition);
    display: inline-block;
    border-radius: var(--radius);
    text-decoration: none !important;
}

.btn-gold:hover { background: transparent; color: var(--gold) !important; }

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 11px 28px;
    transition: all var(--transition);
    display: inline-block;
    border-radius: var(--radius);
    text-decoration: none !important;
}

.btn-outline-gold:hover { background: var(--gold); color: #fff !important; }

/* Bootstrap overrides */
.btn-primary {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
}

.btn-primary:hover { background: var(--gold-dark) !important; border-color: var(--gold-dark) !important; }

/* ══════════════════════════════════════════════════════════════
   FEATURE BADGES
══════════════════════════════════════════════════════════════ */
.feature-badge {
    border: 1px solid var(--border) !important;
    background: var(--surface);
    padding: 24px 28px;
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-badge:hover { border-color: var(--gold) !important; box-shadow: 0 4px 16px rgba(184,150,90,.08); }

.feature-badge .feature-icon {
    color: var(--gold);
    font-size: 2rem;
    margin-right: 16px;
    flex: none;
}

.feature-badge h5 {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
    color: var(--dark);
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════════════════════════════ */
.section-heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--dark);
    margin-bottom: 4px;
}

.section-heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 12px auto 0;
}

.section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY CARDS
══════════════════════════════════════════════════════════════ */
.cat-img { display: block; text-decoration: none !important; }

.cat-item {
    border: 1px solid var(--border) !important;
    background: var(--surface);
    transition: all var(--transition);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 24px;
}

.cat-item:hover { border-color: var(--gold) !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,150,90,.1); }

.cat-item img { transition: transform 0.4s ease; }
.cat-item:hover img { transform: scale(1.03); }

.cat-img h5 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    color: var(--dark);
    margin-top: 8px;
    margin-bottom: 2px;
}

.category-count {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 6px;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════════════ */
.product-item {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.product-item:hover {
    border-color: var(--gold) !important;
    box-shadow: 0 6px 28px rgba(184,150,90,.1);
}

.product-item .card-header {
    background: var(--surface) !important;
    border: none;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.product-item .card-header img {
    transition: transform 0.4s ease;
    width: 100%;
    object-fit: cover;
}

.product-item:hover .card-header img { transform: scale(1.04); }

/* Discount badge */
.product-item .card-header .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.06em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 1px;
    z-index: 2;
}

.product-item .card-body {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    padding: 16px 12px 12px !important;
}

.product-item .card-body h6 {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.03em;
    color: var(--dark);
    margin-bottom: 8px;
}

.price-current { color: var(--dark); font-weight: 600; font-size: 14px; }
.price-old     { color: #bbb; font-size: 12px; text-decoration: line-through; }

.product-item .card-footer {
    background: var(--surface) !important;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-item .card-footer a,
.product-item .card-footer button {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark) !important;
    transition: color var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-sans);
}

.product-item .card-footer a:hover,
.product-item .card-footer button:hover { color: var(--gold) !important; }

.product-item .card-footer .fa,
.product-item .card-footer .fas { color: var(--gold) !important; }

/* ══════════════════════════════════════════════════════════════
   OFFER BANNER
══════════════════════════════════════════════════════════════ */
.offer-banner {
    background: var(--charcoal) !important;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    border-radius: var(--radius);
}

.offer-banner h5 {
    color: var(--gold) !important;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    margin-bottom: 10px;
}

.offer-banner h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #fff;
    font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════
   SUBSCRIBE SECTION
══════════════════════════════════════════════════════════════ */
.subscribe-section { background: var(--dark) !important; }

.subscribe-section h2 {
    font-family: var(--font-serif);
    color: #fff;
    font-weight: 300;
    letter-spacing: 0.08em;
    font-size: 1.9rem;
}

.subscribe-section p { color: #777; font-size: 13px; }

.subscribe-section .form-control {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    font-size: 13px;
    border-radius: var(--radius) 0 0 var(--radius);
}

.subscribe-section .form-control::placeholder { color: #555; }

.subscribe-section .form-control:focus {
    border-color: var(--gold);
    box-shadow: none;
    background: #1a1a1a;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER (shop, cart, checkout, contact)
══════════════════════════════════════════════════════════════ */
.shop-header {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.shop-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(184,150,90,.04) 40px,
        rgba(184,150,90,.04) 80px
    );
}

.shop-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.breadcrumb-wrap { position: relative; z-index: 1; }

.breadcrumb-link {
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb-link:hover { color: var(--gold); }

.breadcrumb-separator,
.breadcrumb-current {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #666;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   SHOP PAGE — SIDEBAR & TOOLBAR
══════════════════════════════════════════════════════════════ */
.filter-box {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.filter-title {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dark);
    font-weight: 600;
}

.filter-badge {
    background: var(--surface) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border);
    font-weight: 400;
    font-size: 11px;
    border-radius: 20px;
    padding: 2px 8px;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--gold);
    border-color: var(--gold);
}

.shop-toolbar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
}

.shop-search-input {
    border: 1px solid var(--border);
    border-right: none;
    font-size: 13px;
    border-radius: var(--radius) 0 0 var(--radius);
}

.shop-search-input:focus { border-color: var(--gold); box-shadow: none; }

.shop-search-btn {
    background: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    color: #fff;
    border-radius: 0 var(--radius) var(--radius) 0 !important;
}

.shop-sort-btn {
    border: 1px solid var(--border);
    background: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--dark);
    border-radius: var(--radius);
    padding: 8px 14px;
    transition: border-color var(--transition);
}

.shop-sort-btn:hover { border-color: var(--gold); }
.shop-dropdown { border-radius: var(--radius); border: 1px solid var(--border); padding: 4px 0; }
.shop-dropdown .dropdown-item { font-size: 13px; padding: 8px 16px; }
.shop-dropdown .dropdown-item:hover { color: var(--gold); background: var(--surface); }

/* Pagination */
.page-item .page-link {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--dark);
    border-color: var(--border);
    border-radius: var(--radius) !important;
    margin: 0 2px;
}

.page-item.active .page-link { background: var(--gold); border-color: var(--gold); color: #fff; }
.page-item .page-link:hover:not(.active) { color: var(--gold); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════════════════════════ */
.cart-table { border-collapse: collapse; width: 100%; }

.cart-table thead th {
    background: var(--dark);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 14px 16px;
    border: none;
}

.cart-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text);
    font-size: 13px;
}

.cart-table tbody tr:last-child td { border-bottom: none; }
.cart-table tbody tr:hover td { background: var(--surface); }

.cart-product-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cart-product-name {
    font-weight: 500;
    color: var(--dark);
    font-size: 14px;
}

.cart-price { color: var(--gold); font-weight: 600; font-family: var(--font-serif); font-size: 15px; }

/* Qty control */
.qty-wrap { display: flex; align-items: center; gap: 0; width: 110px; }

.qty-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--dark);
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    font-size: 12px;
    flex: none;
}

.qty-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.qty-btn--minus { border-radius: var(--radius) 0 0 var(--radius); }
.qty-btn--plus  { border-radius: 0 var(--radius) var(--radius) 0; }

.qty-input {
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    text-align: center;
    width: 46px;
    height: 36px;
    font-size: 13px;
    background: #fff;
}

.qty-input:focus { outline: none; border-color: var(--gold); }

/* Cart Summary card */
.cart-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-summary__header {
    background: var(--dark);
    padding: 14px 20px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.cart-summary__body { padding: 20px; }

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text);
}

.cart-summary__row:last-child { border-bottom: none; }

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.cart-summary__total span:first-child { font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.cart-summary__total span:last-child  { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); font-weight: 600; }

/* Coupon */
.coupon-wrap { display: flex; gap: 0; }

.coupon-input {
    border: 1px solid var(--border);
    border-right: none;
    font-size: 13px;
    padding: 10px 14px;
    flex: 1;
    border-radius: var(--radius) 0 0 var(--radius);
}

.coupon-input:focus { outline: none; border-color: var(--gold); }

.coupon-btn {
    background: var(--dark);
    color: #fff;
    border: 1px solid var(--dark);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 18px;
    cursor: pointer;
    transition: background var(--transition);
    border-radius: 0 var(--radius) var(--radius) 0;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.coupon-btn:hover { background: var(--gold); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════════════════════ */
.checkout-section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.checkout-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark);
    font-weight: 500;
    font-family: var(--font-sans);
    display: block;
    margin-bottom: 6px;
}

.checkout-input {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    padding: 10px 14px;
    width: 100%;
    transition: border-color var(--transition);
    font-family: var(--font-sans);
}

.checkout-input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(184,150,90,.1); }

.checkout-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    padding: 10px 14px;
    width: 100%;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.checkout-select:focus { border-color: var(--gold); outline: none; }

/* Order summary */
.order-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.order-summary__header {
    background: var(--dark);
    padding: 14px 20px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.order-summary__body { padding: 20px; }

.order-summary__item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 8px;
}

.order-summary__item span:last-child { font-weight: 500; }

.order-summary__divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

.order-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 8px;
}

.order-summary__total {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.order-summary__total span:first-child { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.order-summary__total span:last-child  { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); font-weight: 600; }

/* Payment options */
.payment-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.payment-card__header {
    background: var(--dark);
    padding: 14px 20px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.payment-card__body { padding: 20px; }

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.payment-option:hover { border-color: var(--gold); background: var(--surface); }
.payment-option input { accent-color: var(--gold); cursor: pointer; }
.payment-option:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL
══════════════════════════════════════════════════════════════ */
.detail-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0;
}

.detail-price-old {
    font-size: 1rem;
    color: #bbb;
    text-decoration: line-through;
    margin-left: 8px;
    font-family: var(--font-serif);
}

.detail-badge-discount {
    background: var(--red);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 1px;
    vertical-align: middle;
    margin-left: 8px;
}

.detail-stars { color: var(--gold); font-size: 13px; }

.tab-gold .nav-link {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    transition: color var(--transition);
}

.tab-gold .nav-link.active,
.tab-gold .nav-link:hover { color: var(--gold); border-bottom-color: var(--gold); background: none; }

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════════ */
.contact-icon { color: var(--gold); margin-right: 10px; }
.section-title { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 300; letter-spacing: 0.05em; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer-main { background: var(--charcoal) !important; }
.footer-main p, .footer-main li { color: #777 !important; font-size: 13px; }

.footer-heading {
    font-family: var(--font-sans) !important;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff !important;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-main a { color: #777 !important; font-size: 13px; text-decoration: none; transition: color var(--transition); }
.footer-main a:hover { color: var(--gold) !important; }

.footer-main .form-control {
    background: #111;
    border: 1px solid #333 !important;
    color: #aaa;
    font-size: 13px;
    border-radius: var(--radius);
}

.footer-main .form-control:focus { border-color: var(--gold) !important; box-shadow: none; background: #111; color: #fff; }
.footer-main .form-control::placeholder { color: #444; }

.footer-bottom { border-top: 1px solid #2a2a2a !important; }
.footer-bottom p { color: #444 !important; font-size: 11px; letter-spacing: 0.06em; }

.social-icon a { color: #555 !important; font-size: 14px; transition: color var(--transition); }
.social-icon a:hover { color: var(--gold) !important; }

.back-to-top {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition), background var(--transition);
}

.back-to-top.show { opacity: 1; }
.back-to-top:hover { background: var(--gold-dark) !important; }

/* ══════════════════════════════════════════════════════════════
   FLASH TOAST
══════════════════════════════════════════════════════════════ */
.mkb-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
    opacity: 0;
    transition: opacity 0.3s;
    max-width: 320px;
    pointer-events: none;
}

.mkb-toast--success { background: var(--gold); }
.mkb-toast--error   { background: var(--red); }
.mkb-toast--info    { background: #3498db; }

/* ══════════════════════════════════════════════════════════════
   VENDOR CAROUSEL
══════════════════════════════════════════════════════════════ */
.vendor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    border: 1px solid var(--border) !important;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter var(--transition), opacity var(--transition);
}

.vendor-item:hover { filter: none; opacity: 1; }
.vendor-item img { max-height: 48px; object-fit: contain; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .carousel-title { font-size: 2rem; }
    .cart-table { font-size: 12px; }
    .carousel-caption-left { left: 28px !important; }
    .carousel-caption-inner { max-width: 360px; }
    .logo-word { font-size: 1.6rem; }
    .cat-toggle-btn { height: 52px; }
}

@media (max-width: 768px) {
    .shop-title { font-size: 1.8rem; }
    .carousel-title { font-size: 1.5rem; }
    .section-heading { font-size: 1.5rem; }
    .cart-table thead { display: none; }
    .cart-table tbody td { display: block; text-align: right; padding: 8px 12px; }
    .cart-table tbody td::before { content: attr(data-label); float: left; font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
    .order-summary { position: static; }
    .logo-word { display: none !important; }
    .carousel-title { font-size: 1.5rem !important; }
    .carousel-caption-left { left: 16px !important; }
}

@media (max-width: 576px) {
    .coupon-wrap { flex-direction: column; }
    .coupon-input, .coupon-btn { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; }
    .coupon-btn { margin-top: 8px; }
    .search-input { font-size: 12px; }
    .checkout-trust { flex-direction: column; align-items: center; gap: 12px; }
}
