
.root-shell { min-height: 100vh; background: radial-gradient(circle at 15% 20%, rgba(201,162,39,.12), transparent 32%), radial-gradient(circle at 80% 10%, rgba(13,27,42,.12), transparent 38%), linear-gradient(180deg, rgba(13,27,42,.06) 0%, rgba(13,27,42,.02) 40%, #f9fafb 100%); color: #0f172a; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

:root {
    --brand-50: #e8ecf3;
    --brand-100: #d0d8e6;
    --brand-500: #1a2f46;
    --brand-600: #0D1B2A;
    --brand-700: #081423;
    --accent-500: #d7b64a;
    --accent-600: #C9A227;
    --ink-900: #0f172a;
    --ink-600: #465366;
    --surface: #ffffff;
    --border: rgba(13,27,42,.14);
    --shadow-soft: 0 18px 45px -25px rgba(13,27,42,.45);
}

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; border-radius: 9999px; font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .01em; }
.badge-muted { background: #f4f6fb; color: #223047; border: 1px solid var(--border); }
.badge-accent { background: rgba(201, 162, 39, .14); color: #8b6b14; border: 1px solid rgba(201, 162, 39, .45); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: .35rem .8rem; border-radius: 999px; font-weight: 600; border: 1px solid var(--border); background: #f6f8fb; color: #0d1b2a; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.pill:hover { border-color: var(--brand-600); color: var(--brand-700); box-shadow: 0 10px 25px -20px rgba(13,27,42,.55); }
.brand-avatar { background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 30px -18px rgba(13,27,42,.45); }
.nav-link-brand:hover { color: var(--accent-600); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-soft); }
.card:not(.card-flat) { padding: 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .75rem; color: var(--accent-600); }
.text-lead { color: var(--ink-600); line-height: 1.6; }

.site-header { background: linear-gradient(120deg, rgba(13,27,42,.96), rgba(13,27,42,.9)); border-bottom: 1px solid rgba(201,162,39,.35); box-shadow: 0 18px 40px -26px rgba(13,27,42,.7); color: #e8edf4; }
.site-header .text-slate-700, .site-header .text-slate-500 { color: #e6ebf3 !important; }
.site-header .nav-link-brand { color: #f8fafc; }
.site-header .btn { background: rgba(255,255,255,.04); color: #f8fafc; border-color: rgba(201,162,39,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.site-header .btn:hover { background: rgba(201,162,39,.14); border-color: rgba(201,162,39,.75); color: #fff; box-shadow: 0 12px 30px -16px rgba(0,0,0,.45); }
.site-header .btn:focus-visible { outline-color: rgba(201,162,39,.8); }

.btn-indicator { position: relative; display: inline-flex; }
.btn-indicator .btn { display: inline-flex; align-items: center; justify-content: center; }
.btn-indicator__badge { position: absolute; top: 0; right: 0; transform: translate(calc(50% - 5px), calc(-50% + 5px)); background: #dc2626; color: #fff; min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem; border-radius: 9999px; font-size: .65rem; font-weight: 700; line-height: 1.25rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.btn { position: relative; padding: .55rem .9rem; border: 1px solid var(--border); border-radius: .75rem; background: #fff; color: var(--ink-900); font-weight: 600; letter-spacing: .01em; transition: all .16s ease; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 1px rgba(13,27,42,.05); }
.btn:hover { background: #f6f8fb; border-color: rgba(13,27,42,.25); box-shadow: 0 12px 30px -18px rgba(13,27,42,.45); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.btn-primary { border-color: transparent; background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff; box-shadow: 0 18px 35px -18px rgba(13,27,42,.55); }
.btn-primary:hover { background: linear-gradient(135deg, #0b1624, var(--brand-600)); transform: translateY(-1px); box-shadow: 0 20px 40px -16px rgba(13,27,42,.6); }
.btn-ghost { background: transparent; border-color: rgba(148,163,184,.35); color: var(--ink-900); }
.btn-ghost:hover { background: #f6f8fb; }
.btn-accent { background: linear-gradient(135deg, var(--accent-600), var(--accent-500)); color: #1a1505; border: none; box-shadow: 0 18px 40px -18px rgba(201,162,39,.55); }
.btn-accent:hover { background: linear-gradient(135deg, #b48c1f, var(--accent-600)); color: #0d0a02; }
.input { padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .75rem; background: #fff; width: 100%; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); transition: border-color .15s ease, box-shadow .15s ease; }
.input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(13,27,42,.12); outline: none; }
.select { padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .75rem; background: #fff; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.select:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(13,27,42,.12); outline: none; }
.input-group { display: flex; align-items: center; gap: .5rem; }
.input-label { font-size: .85rem; font-weight: 600; color: var(--ink-600); }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.table-surface { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-soft); }
.table-surface thead th { background: #f8fafc; text-align: left; padding: .85rem 1rem; font-size: .875rem; font-weight: 700; color: #0f172a; }
.table-surface tbody td { padding: .85rem 1rem; border-top: 1px solid var(--border); color: var(--ink-600); }
.table-surface tbody tr:hover td { background: #f8fafc; }

.section-header { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: 1rem; border-radius: 1rem; background: linear-gradient(120deg, rgba(13,27,42,.08), rgba(201,162,39,.08)); border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.section-header__actions { display: flex; flex-wrap: wrap; gap: .5rem; }

.hero-shell { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1.5rem; border: 1px solid var(--border); background: radial-gradient(circle at 12% 18%, rgba(201,162,39,.16), transparent 38%), radial-gradient(circle at 82% 12%, rgba(13,27,42,.14), transparent 44%), #fff; box-shadow: var(--shadow-soft); }
.hero-shell h1 { font-size: clamp(1.75rem, 2vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.hero-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin-top: 1rem; }
.hero-meta__item { padding: .75rem .9rem; border-radius: .9rem; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(13,27,42,.04), rgba(201,162,39,.05)); font-weight: 600; color: var(--ink-600); }
.hero-bullet-list { display: grid; gap: .5rem; margin-top: .75rem; }
.hero-bullet { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .75rem; border-radius: .9rem; border: 1px solid var(--border); background: rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 10px 25px -20px rgba(13,27,42,.25); color: var(--ink-900); }
.hero-bullet__icon { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: rgba(52,211,153,.16); color: #047857; font-weight: 800; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual__card { position: relative; width: min(100%, 420px); border-radius: 1.25rem; overflow: hidden; border: 1px solid rgba(13,27,42,.08); box-shadow: 0 20px 40px -28px rgba(13,27,42,.6), inset 0 1px 0 rgba(255,255,255,.7); background: linear-gradient(135deg, rgba(13,27,42,.05), rgba(201,162,39,.06)); }
.hero-visual__tag { position: absolute; top: 1rem; left: 1rem; padding: .35rem .7rem; border-radius: .75rem; background: rgba(13,27,42,.85); color: #f8fafc; font-weight: 700; letter-spacing: .02em; font-size: .75rem; box-shadow: 0 10px 30px -14px rgba(13,27,42,.55); }
.hero-visual__image { width: 100%; height: 260px; object-fit: cover; display: block; filter: saturate(1.05); }
.hero-visual__caption { padding: 1rem 1.1rem 1.2rem; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border-top: 1px solid rgba(148,163,184,.35); }

.listing-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.listing-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; box-shadow: 0 10px 30px -22px rgba(15,23,42,.45); }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px -20px rgba(15,23,42,.35); }
.listing-card__image { position: relative; padding: .5rem; background: linear-gradient(180deg, rgba(13,27,42,.05), rgba(201,162,39,.08)); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; min-height: 180px; }
.listing-card__image img { max-height: 180px; width: 100%; object-fit: contain; border-radius: .75rem; background: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.listing-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; flex: 1; }
.listing-card__title { font-weight: 700; font-size: 1rem; color: var(--ink-900); line-height: 1.25; }
.listing-card__desc { color: var(--ink-600); font-size: .9rem; }
.listing-card__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: center; }
.price-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border-radius: .75rem; background: rgba(201,162,39,.15); color: #7a5f12; font-weight: 700; border: 1px solid rgba(201,162,39,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.pill-live { background: rgba(52,211,153,.14); color: #047857; border: 1px solid rgba(52,211,153,.35); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; }
.stat { padding: 1rem; border-radius: 1rem; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(13,27,42,.07), rgba(201,162,39,.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.stat__label { font-size: .85rem; color: var(--ink-600); }
.stat__value { font-size: 1.4rem; font-weight: 800; color: var(--ink-900); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); }
.modal { position: fixed; top: 0; right: 0; width: 100%; max-width: 28rem; height: 100%; background: #fff; overflow: auto; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
.order-item-thumbnail { width: 3.5rem; height: 3.5rem; border-radius: .5rem; background: #fff; border: 1px solid #e2e8f0; padding: .125rem; object-fit: contain; display: block; flex-shrink: 0; box-shadow: 0 2px 4px rgba(15,23,42,.08); image-rendering: -webkit-optimize-contrast; image-rendering: smooth; }
.order-item-thumbnail--empty { display: flex; align-items: center; justify-content: center; font-size: .65rem; color: #94a3b8; background: #f8fafc; box-shadow: inset 0 0 0 1px #e2e8f0; }
.order-shipping-address { line-height: 1.3; }
.order-shipping-address > * + * { margin-top: .125rem; }
.rating-badge { display: inline-flex; align-items: center; gap: .25rem; border-radius: 9999px; padding: .125rem .5rem; font-size: .75rem; line-height: 1rem; font-weight: 600; background: var(--rating-bg, #f8fafc); color: var(--rating-text, #334155); border: 1px solid var(--rating-border, #e2e8f0); --rating-star-empty: rgba(148,163,184,.35); }
.rating-badge__stars { position: relative; display: inline-block; font-size: .875rem; line-height: 1; letter-spacing: .05em; color: var(--rating-star-empty, rgba(148,163,184,.35)); }
.rating-badge__value { font-variant-numeric: tabular-nums; }
.rating-badge__stars-background, .rating-badge__stars-foreground { display: block; white-space: nowrap; }
.rating-badge__stars-background { color: var(--rating-star-empty, rgba(148,163,184,.35)); }
.rating-badge__stars-foreground { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--rating-icon, currentColor); }
.rating-level-1 { --rating-bg: #fee2e2; --rating-border: #fecaca; --rating-text: #b91c1c; --rating-icon: #ef4444; --rating-star-empty: rgba(239,68,68,.2); }
.rating-level-2 { --rating-bg: #fff1e6; --rating-border: #fed7aa; --rating-text: #c2410c; --rating-icon: #fb923c; --rating-star-empty: rgba(251,146,60,.2); }
.rating-level-3 { --rating-bg: #fefce8; --rating-border: #facc15; --rating-text: #92400e; --rating-icon: #f59e0b; --rating-star-empty: rgba(245,158,11,.2); }
.rating-level-4 { --rating-bg: #ecfdf5; --rating-border: #a7f3d0; --rating-text: #047857; --rating-icon: #34d399; --rating-star-empty: rgba(52,211,153,.2); }
.rating-level-5 { --rating-bg: #d1fae5; --rating-border: #6ee7b7; --rating-text: #065f46; --rating-icon: #059669; --rating-star-empty: rgba(5,150,105,.2); }
.rating-stars { display: inline-flex; align-items: center; gap: .25rem; flex-direction: row-reverse; }
.rating-stars__input { position: absolute; opacity: 0; pointer-events: none; }
.rating-stars__label { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; font-size: 1.5rem; color: #cbd5f5; cursor: pointer; transition: color .15s ease-in-out, transform .15s ease-in-out; }
.rating-stars__label:hover, .rating-stars__label:focus { color: #fde68a; transform: scale(1.05); }
.rating-stars__label:hover ~ .rating-stars__label { color: #fde68a; }
.rating-stars__input:checked + .rating-stars__label, .rating-stars__input:checked + .rating-stars__label ~ .rating-stars__label { color: #f59e0b; }
.rating-stars__input:focus-visible + .rating-stars__label { outline: 2px solid #2563eb; outline-offset: 2px; border-radius: .5rem; }
.rating-stars__icon { width: 1.25rem; height: 1.25rem; }

.policy-consent-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.policy-consent-modal.hidden { display: none; }
.policy-consent-modal__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(2px); }
.policy-consent-modal__panel { position: relative; width: min(100%, 38rem); background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 25px 50px -12px rgba(15,23,42,.45); border: 1px solid rgba(148,163,184,.35); }

.live-update-pulse { position: relative; border-radius: .75rem; animation: liveUpdatePulse .9s ease-out; }
.live-update-pulse::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(59,130,246,.25); box-shadow: 0 0 0 0 rgba(59,130,246,.35); opacity: 0; animation: liveUpdatePulseOverlay .9s ease-out forwards; pointer-events: none; }

@keyframes liveUpdatePulse {
    0% { background-color: rgba(59,130,246,.18); box-shadow: 0 0 0 0 rgba(59,130,246,.25); }
    55% { background-color: rgba(59,130,246,.08); box-shadow: 0 0 0 12px rgba(59,130,246,0); }
    100% { background-color: transparent; box-shadow: none; }
}

@keyframes liveUpdatePulseOverlay {
    0% { opacity: 1; }
    70% { opacity: .35; }
    100% { opacity: 0; }
}
