:root {
    --navy: #0c1e3c; --navy2: #132b52; --gold: #c8952e; --gold2: #e2b354; --cream: #f7f3ea;
    --bg: #f5f5f7; --text: #1b2430; --muted: #6b7280; --border: #e6e6ea;
    --green: #1e9a5a; --red: #d9342b;
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: #fff; margin: 0; }
h1, h2, h3, h4, .serif { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.wide { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 18px; }
@media(max-width:575px) { .wide { padding: 0 12px; } }

.btn-navy { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn-navy:hover { background: var(--navy2); color: #fff; border-color: var(--navy2); }
.btn-gold { background: var(--gold); color: #fff; border: 1px solid var(--gold); }
.btn-gold:hover { background: #b3832a; color: #fff; border-color: #b3832a; }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--navy); background: #fff; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

.text-gold { color: var(--gold)!important; }
.text-navy { color: var(--navy)!important; }
.bg-navy { background: var(--navy)!important; }
.bg-cream { background: var(--cream)!important; }
.small-x { font-size: .75rem; }
.sec-title { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.sec-sub { color: var(--muted); font-size: .85rem; }

/* Topbar & Header */
.topbar { background: var(--navy); color: #fff; font-size: .72rem; padding: 5px 0; }
.topbar .bi { color: var(--gold2); margin-right: 4px; }
.topbar a:hover { color: var(--gold2); }
@media(max-width:767px) { .topbar .tb-hide { display: none; } }

.header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 1030; }
.logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem; color: var(--navy); line-height: 1; cursor: pointer; }
.logo span { color: var(--gold); }
.logo small { display: block; font-family: 'Inter'; font-size: .58rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.mainnav .nav-link { color: var(--text); font-size: .83rem; font-weight: 500; padding: .55rem .7rem; position: relative; border: 0; }
.mainnav .nav-link.active { color: var(--gold); }
.mainnav .nav-link.active::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 6px; height: 2px; background: var(--gold); border-radius: 2px; }
.hicon { background: none; border: none; font-size: 1.15rem; color: var(--navy); position: relative; padding: 4px 8px; }
.hicon:hover { color: var(--gold); }
.hicon .count { position: absolute; top: -2px; right: 0; background: var(--gold); color: #fff; font-size: .58rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.btn-login { border: 1.5px solid var(--gold); border-radius: 999px; padding: 5px 20px; font-size: .82rem; font-weight: 500; color: var(--navy); background: #fff; }
.btn-login:hover { background: var(--gold); color: #fff; }
.searchbar { display: none; border-top: 1px solid var(--border); background: #fafafa; padding: 8px 0; }
.searchbar.show { display: block; }

/* Hero */
.hero { position: relative; background: linear-gradient(100deg,#efe6d6 0%,#f4eee2 45%,#e9e2d6 100%); overflow: hidden; padding: 22px 0 20px; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.hero h1 { font-size: 2.35rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; line-height: 1.15; }
.hero p.lead { font-size: .95rem; color: #2b3444; margin: 0 0 16px; }
.hfeat { display: flex; align-items: center; gap: 9px; font-size: .75rem; }
.hfeat .ic { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.08); flex: 0 0 34px; }
.hfeat b { display: block; font-weight: 600; color: var(--navy); font-size: .78rem; }
.hfeat span { color: var(--muted); }
@media(max-width:991px) { .hero-inner { grid-template-columns: 1fr; } .hero h1 { font-size: 1.85rem; } }

/* Cards & Elements */
.pcard { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; transition: .2s; height: 100%; display: flex; flex-direction: column; }
.pcard:hover { box-shadow: 0 10px 26px rgba(12,30,60,.14); transform: translateY(-3px); }
.pimg { position: relative; background: #e9e9ec; aspect-ratio: 1.35; padding: 16px 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.pbody { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pname { font-size: .79rem; font-weight: 600; margin: 0; line-height: 1.35; }
.price { font-weight: 700; font-size: .85rem; margin-top: 2px; color: var(--navy); }
.card-flat { border: 1px solid var(--border); border-radius: 10px; background: #fff; }

/* Tables */
.tbl { width: 100%; font-size: .8rem; }
.tbl th { background: #f7f8fa; color: var(--navy); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--border); }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tbody tr:hover { background: #fcfcfd; }

/* Utilities */
.qty { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty button { width: 36px; height: 38px; border: 0; background: #fff; font-size: 1rem; color: var(--navy); }
.qty button:hover { background: var(--bg); }
.qty input { width: 48px; height: 38px; text-align: center; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-weight: 600; font-size: .85rem; }
.ftitle { font-weight: 700; font-size: .82rem; color: var(--navy); margin: 16px 0 8px; display: flex; justify-content: space-between; align-items: center; }
