:root {
    --navy-950: #020b1f;
    --navy-900: #061c3d;
    --navy-800: #0b2f5e;
    --navy-700: #16467d;
    --gold: #d9ad4b;
    --gold-light: #f0d58a;
    --cream: #faf7ef;
    --paper: #fff;
    --ink: #15243a;
    --muted: #677487;
    --line: #dfe5ec;
    --success: #217a4b;
    --danger: #b83232;
    --shadow: 0 18px 50px rgba(6, 28, 61, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.6 "DM Sans", system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.store-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 9999; left: 16px; top: 16px; background: #fff; padding: 10px 16px; }

.store-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(17,35,58,.1); backdrop-filter: blur(16px); }
.store-utility { background: var(--navy-950); color: rgba(255,255,255,.78); font-size: .78rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner div { display: flex; gap: 10px; }
.utility-inner a { color: #fff; text-decoration: none; }
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.store-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.store-brand img { width: 58px; height: 58px; object-fit: contain; }
.store-brand strong, .store-brand small { display: block; }
.store-brand strong { color: var(--navy-900); font: 700 1.18rem/1.15 "Playfair Display", serif; }
.store-brand small { margin-top: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.public-nav { display: flex; align-items: center; gap: 7px; }
.public-nav a { padding: 10px 12px; color: #354256; font-size: .9rem; font-weight: 600; text-decoration: none; border-radius: 8px; }
.public-nav a:hover, .public-nav a.active { color: var(--navy-800); background: #eef3f8; }
.public-nav .staff-link { margin-left: 8px; padding-inline: 17px; color: #fff; background: var(--navy-800); }
.public-nav .staff-link:hover { color: #fff; background: var(--navy-700); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--navy-900); margin: 4px 0; }

.store-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(circle at 77% 48%, rgba(35,87,151,.75), transparent 25%),
        linear-gradient(115deg, var(--navy-950), var(--navy-900) 55%, #10376d);
}
.store-hero::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent); }
.hero-grid { position: relative; z-index: 1; min-height: 590px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 60px; padding-block: 70px; }
.eyebrow { display: inline-block; color: var(--gold-light); font-size: .77rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: #a2761c; }
.hero-copy h1, .catalog-hero h1, .detail-content h1, .section-heading h2, .contact-banner h2 {
    font-family: "Playfair Display", Georgia, serif;
}
.hero-copy h1 { max-width: 720px; margin: 16px 0 20px; font-size: clamp(2.7rem, 5.2vw, 5.1rem); line-height: .99; letter-spacing: -.025em; }
.hero-copy > p { max-width: 650px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; border: 0; border-radius: 9px; font-weight: 700; text-decoration: none; cursor: pointer; }
.button-gold { color: #17243a; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 10px 30px rgba(217,173,75,.22); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.06); }
.button-navy { color: #fff; background: var(--navy-800); }
.hero-stats { display: flex; gap: 44px; margin-top: 45px; }
.hero-stats div { position: relative; padding-right: 40px; }
.hero-stats div:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 6px; width: 1px; height: 40px; background: rgba(255,255,255,.18); }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { color: var(--gold-light); font-size: 1.45rem; }
.hero-stats span { color: rgba(255,255,255,.66); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-emblem { position: relative; display: grid; place-items: center; }
.hero-emblem img { position: relative; z-index: 2; width: min(430px, 100%); filter: drop-shadow(0 28px 42px rgba(0,0,0,.35)); }
.emblem-halo { position: absolute; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(217,173,75,.26); box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 76px rgba(255,255,255,.018); }

.category-strip { position: relative; z-index: 3; margin-top: -22px; }
.category-scroll { display: flex; overflow-x: auto; gap: 10px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); scrollbar-width: thin; }
.category-scroll a { flex: 1 0 145px; padding: 10px 15px; text-decoration: none; border-right: 1px solid var(--line); }
.category-scroll a:last-child { border-right: 0; }
.category-scroll span, .category-scroll small { display: block; }
.category-scroll span { color: var(--navy-900); font-weight: 700; }
.category-scroll small { color: var(--muted); font-size: .78rem; }

.store-section { padding: 86px 0; }
.section-tint { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.section-heading h2 { margin: 5px 0 0; color: var(--navy-900); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1; }
.section-heading > a { color: var(--navy-700); font-weight: 700; text-decoration: none; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 32px rgba(10,39,76,.055); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image { position: relative; display: block; aspect-ratio: 4 / 4.65; overflow: hidden; background: #eef2f5; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-image img { transform: scale(1.025); }
.type-badge, .discount-badge { position: absolute; top: 12px; padding: 5px 9px; border-radius: 6px; font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.type-badge { left: 12px; color: #fff; background: rgba(6,28,61,.88); }
.discount-badge { right: 12px; color: #1f2a37; background: var(--gold-light); }
.product-body { padding: 18px; }
.product-category { overflow: hidden; color: #9a721f; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.product-body h3 { min-height: 2.85em; margin: 7px 0 3px; font: 700 1.12rem/1.3 "Playfair Display", serif; }
.product-body h3 a { text-decoration: none; }
.product-author { margin: 0; min-height: 1.5em; color: var(--muted); font-size: .82rem; }
.product-excerpt { display: -webkit-box; min-height: 4.15em; margin: 13px 0; overflow: hidden; color: var(--muted); font-size: .82rem; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.product-meta { display: flex; align-items: end; justify-content: space-between; gap: 8px; min-height: 48px; padding-top: 13px; border-top: 1px solid #edf0f3; }
.product-price strong, .product-price del { display: block; }
.product-price strong { color: var(--navy-800); font-size: 1rem; }
.product-price del { color: #8b96a4; font-size: .72rem; }
.stock-status { color: var(--success); font-size: .72rem; font-weight: 700; text-align: right; }
.stock-status.low { color: #a46908; }
.stock-status.out { color: var(--danger); }
.card-action { display: flex; justify-content: space-between; margin-top: 15px; color: var(--navy-700); font-size: .82rem; font-weight: 700; text-decoration: none; }

.contact-banner { padding: 68px 0; color: #fff; background: linear-gradient(110deg, var(--navy-950), var(--navy-800)); }
.contact-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-banner h2 { margin: 8px 0; font-size: 2.2rem; }
.contact-banner p { margin: 0; color: rgba(255,255,255,.7); }

.catalog-hero { padding: 75px 0; color: #fff; background: radial-gradient(circle at 80% 30%, #194c8a, transparent 28%), var(--navy-900); }
.catalog-hero h1 { margin: 12px 0 8px; font-size: clamp(2.3rem, 4vw, 4rem); }
.catalog-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.72); }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 35px; padding-block: 55px 90px; }
.filter-panel { align-self: start; position: sticky; top: 132px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-heading h2 { margin: 0; font: 700 1.1rem "Playfair Display", serif; }
.filter-heading a { color: var(--navy-700); font-size: .75rem; font-weight: 700; }
.filter-panel label { display: block; margin: 14px 0 5px; color: #39485c; font-size: .76rem; font-weight: 700; }
.filter-panel input, .filter-panel select { width: 100%; height: 44px; padding: 8px 10px; border: 1px solid #ccd4de; border-radius: 7px; color: var(--ink); background: #fff; }
.filter-panel .button { width: 100%; margin-top: 20px; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 20px; color: var(--muted); font-size: .88rem; }
.results-toolbar strong { color: var(--navy-900); }
.catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mobile-filter-toggle { display: none; border: 1px solid var(--line); border-radius: 7px; padding: 8px 13px; color: var(--navy-800); background: #fff; font-weight: 700; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.pagination a { color: #fff; background: var(--navy-800); padding: 8px 13px; border-radius: 7px; text-decoration: none; }
.pagination span { color: var(--muted); font-size: .85rem; }
.empty-state, .not-found { padding: 70px 30px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.empty-state img, .not-found img { width: 110px; margin: 0 auto 18px; }
.empty-state h2, .not-found h1 { font-family: "Playfair Display", serif; }
.not-found { margin-block: 80px; }

.breadcrumb-shell { border-bottom: 1px solid var(--line); background: #f8fafc; }
.breadcrumb { display: flex; gap: 9px; padding-block: 14px; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; }
.breadcrumb a { color: var(--navy-700); text-decoration: none; }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.product-detail { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 65px; padding-block: 65px 90px; }
.detail-image { position: relative; align-self: start; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #f4f6f8; }
.detail-image img { width: 100%; max-height: 660px; object-fit: contain; border-radius: 8px; }
.detail-discount { position: absolute; right: 40px; top: 40px; padding: 8px 13px; border-radius: 7px; color: #202b3a; background: var(--gold-light); font-weight: 800; }
.detail-content { align-self: center; }
.detail-content h1 { margin: 10px 0 8px; color: var(--navy-900); font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.05; }
.detail-subtitle { margin: 0 0 6px; color: var(--muted); font-size: 1.12rem; }
.detail-author { margin: 8px 0 25px; color: var(--muted); }
.detail-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 13px; }
.detail-price strong { color: var(--navy-800); font-size: 1.75rem; }
.detail-price del { color: #8c98a8; }
.detail-stock { display: flex; align-items: center; gap: 7px; color: var(--success); font-weight: 700; }
.detail-stock > span { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.detail-stock small { color: var(--muted); font-weight: 400; }
.detail-stock.out { color: var(--danger); }
.detail-description { margin: 28px 0; color: #556275; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 28px; border-top: 1px solid var(--line); }
.product-facts div { padding: 12px 5px; border-bottom: 1px solid var(--line); }
.product-facts dt { color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.product-facts dd { margin: 3px 0 0; color: var(--navy-900); font-weight: 600; }
.detail-enquiry { width: 100%; max-width: 390px; }
.enquiry-note { color: var(--muted); font-size: .75rem; }

.store-footer { color: rgba(255,255,255,.76); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .75fr; gap: 60px; padding-block: 65px; }
.footer-grid h2 { margin: 0 0 15px; color: #fff; font: 700 1.1rem "Playfair Display", serif; }
.footer-grid p { margin: 0 0 12px; }
.footer-grid a { display: block; color: rgba(255,255,255,.82); text-decoration: none; margin-bottom: 7px; }
.footer-brand { display: flex; align-items: flex-start; gap: 17px; }
.footer-brand img { width: 76px; }
.footer-brand strong { color: #fff; font: 700 1.3rem "Playfair Display", serif; }
.footer-brand p { margin-top: 7px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.11); font-size: .73rem; }
.footer-bottom .store-container { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 1000px) {
    .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { grid-template-columns: 1fr .58fr; gap: 30px; }
    .hero-emblem img { width: 330px; }
    .emblem-halo { width: 350px; height: 350px; }
    .public-nav { display: none; position: absolute; left: 20px; right: 20px; top: 116px; padding: 14px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
    .public-nav.open { display: flex; }
    .public-nav .staff-link { margin-left: 0; text-align: center; }
    .nav-toggle { display: block; }
    .footer-grid { grid-template-columns: 1.2fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .store-container { width: min(100% - 28px, 1180px); }
    .store-utility { display: none; }
    .nav-shell { min-height: 74px; }
    .public-nav { top: 74px; left: 14px; right: 14px; }
    .store-brand img { width: 49px; height: 49px; }
    .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-block: 55px; }
    .hero-copy h1 { font-size: 2.75rem; }
    .hero-emblem { display: none; }
    .hero-stats { gap: 20px; }
    .hero-stats div { padding-right: 20px; }
    .category-strip { margin-top: 0; background: #f4f6f9; padding-block: 13px; }
    .category-scroll { width: 100%; border-radius: 0; border-inline: 0; box-shadow: none; }
    .store-section { padding: 60px 0; }
    .section-heading { align-items: flex-start; }
    .section-heading > a { font-size: .8rem; white-space: nowrap; }
    .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-body { padding: 13px; }
    .product-body h3 { font-size: .98rem; }
    .product-excerpt { display: none; }
    .product-meta { align-items: flex-start; flex-direction: column; }
    .stock-status { text-align: left; }
    .contact-banner-inner { align-items: flex-start; flex-direction: column; }
    .catalog-layout { display: block; padding-top: 20px; }
    .filter-panel { display: none; position: static; margin-bottom: 20px; }
    .filter-panel.open { display: block; }
    .mobile-filter-toggle { display: block; }
    .product-detail { grid-template-columns: 1fr; gap: 32px; padding-block: 30px 60px; }
    .detail-image { padding: 15px; }
    .detail-content h1 { font-size: 2.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom .store-container { flex-direction: column; gap: 4px; }
}

@media (max-width: 410px) {
    .hero-stats strong { font-size: 1.15rem; }
    .hero-stats span { font-size: .62rem; }
    .product-grid, .catalog-results .product-grid { grid-template-columns: 1fr; }
    .product-image { aspect-ratio: 4 / 4.1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
