:root {
    --noir: #0f0d0c;
    --noir-2: #15110f;
    --noir-3: #201713;
    --or: #c89b3c;
    --or-clair: #e2b96b;
    --cuivre: #a66a3f;
    --cafe: #4b2e1f;
    --terre: #6a4a3c;
    --ivoire: #e7d6be;
    --ivoire-2: #f3e8d3;
    --rose: #c48798;
    --sauge: #6f7f52;
    --danger: #c75b4f;
    --success: #86a66d;
    --line: rgba(200, 155, 60, 0.34);
    --line-soft: rgba(231, 214, 190, 0.13);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ivoire);
    background: var(--noir);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.store-body,
.admin-body,
.login-body {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(180deg, var(--noir), #120f0d 36%, #0b0908);
    background-size: 96px 96px, auto;
}

.site-header,
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 5vw;
    background: rgba(15, 13, 12, 0.88);
    color: var(--ivoire);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark strong,
.brand-mark small {
    display: block;
}

.brand-mark strong {
    color: var(--or-clair);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.22rem;
    line-height: 1;
}

.brand-mark small {
    margin-top: 4px;
    color: rgba(231, 214, 190, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.brand-emblem {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--or);
    color: var(--or-clair);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
}

.brand-emblem::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(200, 155, 60, 0.25);
}

.site-nav,
.admin-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a,
.admin-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: rgba(231, 214, 190, 0.86);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.site-nav a:hover,
.admin-nav a:hover {
    border-color: var(--line);
    color: var(--or-clair);
    background: rgba(200, 155, 60, 0.08);
}

.nav-admin {
    border-color: var(--line) !important;
}

.cart-pill {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    margin-left: 6px;
    place-items: center;
    border-radius: 4px;
    background: var(--or);
    color: var(--noir);
    font-weight: 800;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(200, 155, 60, 0.08);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--or-clair);
}

.home-hero {
    position: relative;
    display: grid;
    min-height: 78vh;
    overflow: hidden;
    color: var(--ivoire);
    border-bottom: 1px solid var(--line);
}

.home-hero-image,
.home-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-image {
    object-fit: cover;
    object-position: 64% center;
}

.home-hero-overlay {
    background:
        linear-gradient(90deg, rgba(15, 13, 12, 0.96), rgba(15, 13, 12, 0.72) 38%, rgba(15, 13, 12, 0.2) 70%),
        linear-gradient(180deg, rgba(15, 13, 12, 0.22), rgba(15, 13, 12, 0.86));
}

.hero-line-art {
    position: absolute;
    left: -90px;
    top: -80px;
    width: 320px;
    height: 320px;
    opacity: 0.42;
    border: 1px solid rgba(200, 155, 60, 0.16);
    transform: rotate(24deg);
}

.hero-line-art::before,
.hero-line-art::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(200, 155, 60, 0.34);
}

.hero-line-art::before {
    inset: 38px;
}

.hero-line-art::after {
    inset: 92px;
}

.hero-content {
    position: relative;
    z-index: 1;
    align-self: center;
    width: min(670px, 90vw);
    padding: 92px 5vw 112px;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--or-clair);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.page-heading h1,
.split-band h2,
.story-copy h2,
.contact-band h2,
.detail-copy h1,
.login-panel h1,
.admin-topbar h1 {
    color: var(--or-clair);
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.04;
}

.hero-content h1 {
    margin-bottom: 18px;
    font-size: 5.4rem;
}

.hero-copy {
    max-width: 560px;
    color: rgba(231, 214, 190, 0.84);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions,
.form-actions,
.detail-buy form,
.toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-signals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;
    margin-top: 54px;
}

.hero-signals span {
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 10px;
    border-top: 1px solid var(--line);
    color: rgba(231, 214, 190, 0.78);
    font-size: 0.74rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.btn-primary {
    border-color: rgba(226, 185, 107, 0.35);
    background: linear-gradient(180deg, var(--or-clair), var(--or));
    color: var(--noir);
    box-shadow: 0 18px 36px rgba(200, 155, 60, 0.24);
}

.btn-dark {
    border-color: var(--line);
    background: rgba(200, 155, 60, 0.08);
    color: var(--or-clair);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--or-clair);
    background: rgba(15, 13, 12, 0.24);
}

.btn-small {
    min-height: 38px;
    padding: 0 12px;
    border-color: var(--line);
    background: var(--or);
    color: var(--noir);
}

.full-width {
    width: 100%;
}

.section-strip,
.page-shell,
.split-band,
.story-band,
.contact-band,
.product-detail {
    width: min(1180px, 90vw);
    margin: 0 auto;
}

.section-strip,
.page-shell {
    padding: 76px 0;
}

.compact-section {
    padding-top: 28px;
}

.section-heading,
.page-heading {
    max-width: 680px;
    margin-bottom: 32px;
}

.section-heading h2,
.page-heading h1,
.split-band h2,
.story-copy h2,
.contact-band h2,
.detail-copy h1 {
    font-size: 2.85rem;
}

.section-heading p,
.feature-list p,
.detail-copy p,
.page-heading p,
.story-copy p,
.contact-band p,
.product-content p {
    color: rgba(231, 214, 190, 0.72);
    line-height: 1.75;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.small-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.cart-line,
.summary-panel,
.empty-panel,
.success-panel,
.admin-panel,
.stat-card,
.login-panel {
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(32, 23, 19, 0.9), rgba(15, 13, 12, 0.94));
    box-shadow: var(--shadow);
}

.product-card {
    overflow: hidden;
    border-color: var(--line);
}

.product-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--noir-2);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease, filter 420ms ease;
}

.product-card:hover .product-media img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.04);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(15, 13, 12, 0.84);
    color: var(--or-clair);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-content {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.product-category {
    margin-bottom: 0;
    color: var(--or);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-content h3 {
    margin-bottom: 0;
    color: var(--ivoire-2);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.42rem;
}

.product-content p {
    margin-bottom: 0;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-meta span,
.product-meta strong {
    padding: 8px 10px;
    border: 1px solid rgba(200, 155, 60, 0.24);
    border-radius: 4px;
    background: rgba(200, 155, 60, 0.08);
    color: var(--ivoire);
    font-size: 0.8rem;
}

.product-meta strong {
    margin-left: auto;
    background: rgba(200, 155, 60, 0.18);
    color: var(--or-clair);
}

.inline-form {
    margin: 0;
}

.story-band {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 28px;
    align-items: stretch;
    padding: 72px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.story-copy {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 18px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 13, 12, 0.72);
}

.story-copy h2,
.story-copy p {
    margin-bottom: 0;
}

.story-media {
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% center;
}

.split-band {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 42px;
    padding: 72px 0;
    border-bottom: 1px solid var(--line);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.icon-grid article {
    min-height: 190px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 13, 12, 0.68);
}

.icon-grid h3 {
    margin-bottom: 0;
    color: var(--or-clair);
    font-size: 0.92rem;
    text-transform: uppercase;
}

.icon-grid p {
    margin-bottom: 0;
    color: rgba(231, 214, 190, 0.68);
    font-size: 0.88rem;
    line-height: 1.6;
}

.line-icon {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    border: 1px solid var(--or);
    border-radius: 50%;
}

.line-icon::before,
.line-icon::after {
    content: "";
    position: absolute;
    border: 1px solid var(--or);
}

.line-icon.artisan::before {
    left: 15px;
    top: 8px;
    width: 13px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(45deg);
}

.line-icon.leaf::before {
    left: 11px;
    top: 11px;
    width: 22px;
    height: 22px;
    border-radius: 0 100% 0 100%;
}

.line-icon.glass::before {
    left: 13px;
    top: 8px;
    width: 18px;
    height: 22px;
    border-radius: 3px 3px 12px 12px;
}

.line-icon.glass::after {
    left: 20px;
    top: 29px;
    height: 8px;
}

.line-icon.heart::before,
.line-icon.heart::after {
    top: 14px;
    width: 16px;
    height: 16px;
    border-radius: 16px 16px 0 16px;
}

.line-icon.heart::before {
    left: 9px;
    transform: rotate(-45deg);
}

.line-icon.heart::after {
    right: 9px;
    transform: rotate(135deg);
}

.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 54px 0 78px;
}

.contact-band div {
    max-width: 700px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1.2fr;
    gap: 24px;
    padding: 34px 5vw;
    border-top: 1px solid var(--line);
    background: #0a0807;
    color: var(--ivoire);
}

.site-footer strong {
    color: var(--or-clair);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.6rem;
}

.site-footer p {
    margin-bottom: 0;
    color: rgba(231, 214, 190, 0.68);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: start;
}

.footer-links a {
    color: var(--or-clair);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-note {
    justify-self: end;
    max-width: 560px;
}

.flash-zone,
.admin-flash {
    position: fixed;
    right: 24px;
    top: 88px;
    z-index: 40;
    display: grid;
    gap: 10px;
}

.flash {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 800;
}

.flash-success {
    background: #152016;
    color: var(--success);
}

.flash-error {
    background: #25100f;
    color: var(--danger);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) 1fr;
    gap: 44px;
    padding: 72px 0;
}

.detail-media {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--noir-2);
    box-shadow: var(--shadow);
}

.detail-media img {
    width: 100%;
    height: 100%;
    min-height: 590px;
    object-fit: cover;
}

.detail-copy {
    align-self: center;
}

.back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--or-clair);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lead {
    color: var(--ivoire-2) !important;
    font-size: 1.15rem;
}

.tasting-notes {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(200, 155, 60, 0.06);
}

.tasting-notes h2 {
    margin-bottom: 10px;
    color: var(--or-clair);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.tasting-notes p {
    margin-bottom: 0;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 28px 0;
}

.detail-specs div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 13, 12, 0.72);
}

.detail-specs dt {
    color: rgba(231, 214, 190, 0.66);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-specs dd {
    margin: 6px 0 0;
    color: var(--or-clair);
    font-weight: 900;
}

.detail-buy {
    display: grid;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.detail-buy > strong {
    color: var(--or-clair);
    font-size: 2rem;
}

.page-shell {
    padding: 62px 0 86px;
}

.narrow-page {
    max-width: 800px;
}

.empty-panel,
.success-panel {
    display: grid;
    gap: 18px;
    padding: 34px;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 26px;
    align-items: start;
}

.cart-lines {
    display: grid;
    gap: 14px;
}

.cart-line {
    display: grid;
    grid-template-columns: 126px 1fr auto;
    gap: 18px;
    padding: 14px;
    align-items: center;
}

.cart-line img {
    width: 126px;
    height: 132px;
    border: 1px solid var(--line);
    border-radius: 6px;
    object-fit: cover;
}

.cart-line h2 {
    margin-bottom: 8px;
    color: var(--or-clair);
    font-size: 1.25rem;
}

.cart-line p {
    color: rgba(231, 214, 190, 0.68);
}

.quantity-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
}

.line-total {
    display: grid;
    gap: 14px;
    justify-items: end;
}

.summary-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.summary-panel h2 {
    margin-bottom: 4px;
    color: var(--or-clair);
}

.summary-panel p,
.stock-list p,
.detail-list p,
.order-total p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
}

.summary-total {
    color: var(--or-clair);
    font-size: 1.14rem;
}

.clean-summary {
    box-shadow: none;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ivoire-2);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(15, 13, 12, 0.9);
    color: var(--ivoire);
    padding: 12px 13px;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--or-clair);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.18);
}

label small,
.field-error {
    color: var(--danger);
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.span-2 {
    grid-column: span 2;
}

.checkout-form,
.admin-form {
    display: grid;
    gap: 22px;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.check-line input {
    width: 18px;
    height: 18px;
}

.form-errors {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(199, 91, 79, 0.35);
    border-radius: 8px;
    background: rgba(199, 91, 79, 0.1);
    color: var(--danger);
    font-weight: 800;
}

.link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--or-clair);
    font-weight: 800;
}

.danger {
    color: var(--danger);
}

.empty-state {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 13, 12, 0.72);
}

.login-shell {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 100vh;
}

.login-visual {
    position: relative;
    overflow: hidden;
}

.login-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 13, 12, 0.18), rgba(15, 13, 12, 0.82));
}

.login-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-panel {
    align-self: center;
    width: min(460px, 88vw);
    margin: 0 auto;
    padding: 34px;
    border-color: var(--line);
}

.login-panel .brand-mark small,
.admin-brand small {
    color: rgba(231, 214, 190, 0.66);
}

.login-panel h1 {
    margin: 30px 0 24px;
    font-size: 2.4rem;
}

.login-panel form {
    display: grid;
    gap: 18px;
}

.admin-body {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px;
    border-right: 1px solid var(--line);
    background: rgba(10, 8, 7, 0.96);
    color: var(--ivoire);
}

.admin-nav {
    flex-direction: column;
    align-items: stretch;
}

.admin-nav a {
    justify-content: flex-start;
    border: 1px solid var(--line-soft);
}

.admin-main {
    min-width: 0;
    padding: 30px;
}

.admin-topbar {
    margin-bottom: 24px;
}

.admin-topbar h1 {
    margin-bottom: 0;
    font-size: 2.25rem;
}

.admin-user {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(15, 13, 12, 0.76);
    color: var(--or-clair);
    font-weight: 800;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border-color: var(--line);
}

.stat-card span {
    color: rgba(231, 214, 190, 0.66);
    font-weight: 800;
}

.stat-card strong {
    color: var(--or-clair);
    font-size: 1.8rem;
}

.admin-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.two-columns {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

.admin-panel {
    padding: 22px;
    overflow: hidden;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.panel-heading h2 {
    margin-bottom: 0;
    color: var(--or-clair);
    font-size: 1.2rem;
}

.panel-heading a {
    color: var(--or-clair);
    font-weight: 800;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line-soft);
    color: rgba(231, 214, 190, 0.82);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--or);
    font-size: 0.76rem;
    text-transform: uppercase;
}

td a {
    color: var(--or-clair);
    font-weight: 800;
}

.table-product {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 220px;
}

.table-product img {
    width: 48px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 6px;
    object-fit: cover;
}

.actions-cell {
    display: flex;
    gap: 12px;
    align-items: center;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    background: rgba(231, 214, 190, 0.08);
    color: var(--ivoire);
    font-size: 0.78rem;
    font-weight: 900;
}

.status-pending {
    background: rgba(200, 155, 60, 0.12);
    color: var(--or-clair);
}

.status-confirmed,
.status-preparing {
    background: rgba(111, 127, 82, 0.16);
    color: var(--success);
}

.status-delivered {
    background: rgba(111, 127, 82, 0.22);
    color: var(--sauge);
}

.status-cancelled {
    background: rgba(196, 135, 152, 0.14);
    color: var(--rose);
}

.stock-list,
.detail-list {
    display: grid;
    gap: 4px;
}

.sales-bars {
    display: flex;
    gap: 18px;
    align-items: end;
    height: 220px;
    padding-top: 22px;
}

.sales-bars div {
    display: grid;
    flex: 1;
    height: 100%;
    align-items: end;
    gap: 8px;
}

.sales-bars span {
    display: block;
    min-height: 8px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--or-clair), var(--cuivre));
}

.sales-bars small {
    text-align: center;
    color: rgba(231, 214, 190, 0.66);
    font-weight: 800;
}

.upload-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    align-items: center;
}

.image-preview {
    overflow: hidden;
    width: 180px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--noir-2);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-row span {
    color: rgba(231, 214, 190, 0.6);
    font-size: 0.86rem;
    font-weight: 600;
}

.order-total {
    width: min(420px, 100%);
    margin: 18px 0 0 auto;
}

.order-total p:last-child {
    color: var(--or-clair);
    font-size: 1.25rem;
}

.status-form {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

nav[role="navigation"] {
    margin-top: 18px;
}

nav[role="navigation"] a,
nav[role="navigation"] span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(15, 13, 12, 0.72);
}

@media (max-width: 1100px) {
    .product-grid,
    .small-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-layout,
    .checkout-layout,
    .two-columns,
    .product-detail,
    .split-band,
    .story-band {
        grid-template-columns: 1fr;
    }

    .icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-media img {
        min-height: 440px;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(15, 13, 12, 0.98);
    }

    .site-nav.is-open {
        display: flex;
    }

    .home-hero {
        min-height: 72vh;
    }

    .home-hero-image {
        object-position: 62% center;
    }

    .home-hero-overlay {
        background: linear-gradient(180deg, rgba(15, 13, 12, 0.38), rgba(15, 13, 12, 0.94));
    }

    .hero-content {
        align-self: end;
        padding: 118px 24px 48px;
    }

    .hero-content h1 {
        font-size: 3.25rem;
    }

    .hero-signals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 32px;
    }

    .section-heading h2,
    .page-heading h1,
    .split-band h2,
    .story-copy h2,
    .contact-band h2,
    .detail-copy h1 {
        font-size: 2.1rem;
    }

    .section-strip,
    .page-shell,
    .split-band,
    .story-band,
    .contact-band,
    .product-detail {
        width: min(100% - 32px, 1180px);
    }

    .product-grid,
    .small-grid,
    .stats-grid,
    .form-grid,
    .icon-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .cart-line {
        grid-template-columns: 86px 1fr;
    }

    .cart-line img {
        width: 86px;
        height: 96px;
    }

    .line-total {
        grid-column: 1 / -1;
        justify-items: start;
    }

    .site-footer,
    .login-shell,
    .upload-row {
        grid-template-columns: 1fr;
    }

    .legal-note {
        justify-self: start;
    }

    .contact-band,
    .panel-heading,
    .actions-cell,
    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-visual {
        min-height: 34vh;
    }

    .login-panel {
        margin: 24px auto;
    }

    .admin-main {
        padding: 18px;
    }

    .flash-zone,
    .admin-flash {
        left: 16px;
        right: 16px;
        top: 84px;
    }
}
