:root {
    --ink: #171411;
    --muted: #746d65;
    --cream: #f7f2e9;
    --paper: #fffdf9;
    --wine: #7d1420;
    --wine2: #a4212d;
    --gold: #c79a43;
    --line: #e8dfd2;
    --green: #2c7656;
    --shadow-sm: 0 2px 8px rgba(36, 24, 16, .04);
    --shadow: 0 12px 40px rgba(36, 24, 16, .08);
    --shadow-lg: 0 24px 70px rgba(36, 24, 16, .12);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --transition: .28s cubic-bezier(.4, 0, .2, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased
}

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

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

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

/* ---------- HEADER ---------- */
.site-header {
    height: 80px;
    padding: 0 max(5vw, 24px);
    display: flex;
    align-items: center;
    gap: 36px;
    position: sticky;
    top: 0;
    background: rgba(255, 253, 249, .88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 30;
    border-bottom: 1px solid rgba(232, 223, 210, .7)
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    font: 700 28px 'Playfair Display';
    color: var(--wine);
    background: linear-gradient(135deg, #fff, var(--cream));
    box-shadow: inset 0 0 0 3px #fff, var(--shadow-sm)
}

.brand b {
    font: 700 19px 'Playfair Display';
    letter-spacing: .14em;
    color: var(--wine);
    display: block
}

.brand small {
    font-size: 8px;
    letter-spacing: .35em;
    color: var(--muted)
}

.site-header nav {
    display: flex;
    gap: 6px;
    margin-left: auto
}

.site-header nav a {
    font-size: 14px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition)
}

.site-header nav a:hover {
    background: var(--cream);
    color: var(--wine)
}

.cart-pill {
    background: var(--ink);
    color: #fff;
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition), box-shadow var(--transition)
}

.cart-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(23, 20, 17, .2)
}

.cart-pill span {
    background: var(--gold);
    color: #111;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 800
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 24px;
    cursor: pointer
}

/* ---------- HERO ---------- */
.hero {
    min-height: 640px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: linear-gradient(120deg, #f9f4eb 0%, #f3eadb 55%, #e8d4bd 100%);
    overflow: hidden
}

.hero-copy {
    padding: 100px 7vw 80px
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .24em;
    color: var(--wine);
    display: inline-block
}

.eyebrow.light {
    color: #f0d7a0
}

.hero h1,
.page-hero h1,
.special-hero h1 {
    font: 700 clamp(46px, 6vw, 78px)/.98 'Playfair Display';
    letter-spacing: -.04em;
    margin: 18px 0 24px
}

.hero h1 em {
    color: var(--wine);
    font-style: italic
}

.hero-copy > p {
    font-size: 17px;
    line-height: 1.75;
    color: #5e574f;
    max-width: 620px
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 34px 0;
    flex-wrap: wrap
}

/* ---------- BUTTONS ---------- */
.btn {
    border: 0;
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition)
}

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

.btn:active {
    transform: translateY(0)
}

.btn.primary {
    background: linear-gradient(135deg, var(--wine2), var(--wine));
    color: #fff;
    box-shadow: 0 8px 22px rgba(125, 20, 32, .25)
}

.btn.primary:hover {
    box-shadow: 0 12px 30px rgba(125, 20, 32, .35)
}

.btn.ghost {
    border: 1.5px solid #cfc1af;
    background: transparent
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, .6);
    border-color: var(--wine)
}

.btn.cream {
    background: linear-gradient(135deg, #f8ead2, #f0dcbd);
    color: var(--wine)
}

.btn.full {
    width: 100%
}

.btn.small {
    padding: 10px 14px;
    font-size: 12px
}

.trust-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #5f574e;
    font-size: 13px
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

/* ---------- HERO ART ---------- */
.hero-art {
    position: relative;
    background: radial-gradient(circle at 60% 40%, #a52b35 0 12%, #74121c 45%, #3a090d 100%);
    clip-path: ellipse(78% 80% at 78% 50%)
}

.hero-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 60px, rgba(255, 255, 255, .03) 61px 62px)
}

.hero-badge {
    position: absolute;
    left: 18%;
    top: 20%;
    color: #fff;
    text-align: center
}

.hero-badge span {
    font: 700 150px 'Playfair Display';
    display: block;
    line-height: .8;
    text-shadow: 0 10px 40px rgba(0, 0, 0, .3)
}

.hero-badge small {
    letter-spacing: .35em
}

.meat-card {
    position: absolute;
    right: 7%;
    bottom: 8%;
    background: #fff;
    padding: 14px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg)
}

.meat-photo {
    font-size: 40px;
    background: var(--cream);
    padding: 12px;
    border-radius: var(--radius-sm)
}

.meat-card strong {
    display: block;
    font-size: 14px
}

.meat-card small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-size: 12px
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 80px max(6vw, 28px)
}

.section.narrow {
    max-width: 1150px;
    margin: auto
}

.section-head,
.card-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 34px;
    flex-wrap: wrap
}

.section-head h2,
.special-banner h2,
.form-card h2 {
    font: 700 clamp(30px, 4vw, 48px) 'Playfair Display';
    margin: 8px 0;
    letter-spacing: -.02em
}

.section-head > a,
.card-head > a {
    color: var(--wine);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition)
}

.section-head > a:hover,
.card-head > a:hover {
    gap: 10px
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    position: relative
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8)
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(199, 154, 67, .4)
}

.product-image {
    height: 240px;
    background: linear-gradient(135deg, #f3e7d8, #e8d3bc);
    position: relative;
    display: grid;
    place-items: center;
    font-size: 72px;
    overflow: hidden;
    flex-shrink: 0
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1)
}

.product-card:hover .product-image img {
    transform: scale(1.06)
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 20, 17, .06), transparent 40%);
    z-index: 1;
    pointer-events: none
}

.tag {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--wine);
    box-shadow: var(--shadow-sm);
    z-index: 2
}

.tag.plain {
    position: static;
    background: var(--cream);
    box-shadow: none
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.product-body h3 {
    font: 700 21px 'Playfair Display';
    margin: 0 0 8px;
    letter-spacing: -.01em
}

.product-body p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    min-height: 42px;
    margin: 0
}

.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    margin-top: 18px
}

.product-foot strong {
    font-size: 20px;
    color: var(--wine);
    font-weight: 800;
    letter-spacing: -.02em
}

.product-foot small {
    color: var(--muted);
    font-size: 12px
}

.round-btn {
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 22px;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    flex-shrink: 0
}

.round-btn:hover {
    background: var(--wine);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(125, 20, 32, .3)
}

.stock-note {
    font-size: 11px;
    color: var(--green);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px
}

.stock-note::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(44, 118, 86, .15)
}

/* ---------- SPECIAL BANNER ---------- */
.special-banner {
    margin: 20px max(3vw, 20px);
    padding: 70px max(5vw, 30px);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #74121c, #3b080d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden
}

.special-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(ellipse at 80% 50%, transparent 0 80px, rgba(255, 255, 255, .02) 81px 82px)
}

.special-banner > * {
    position: relative
}

.special-banner p {
    max-width: 680px;
    color: #ead6d8;
    line-height: 1.7;
    font-size: 15px
}

/* ---------- STATS ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 50px;
    padding-bottom: 50px
}

.stats-strip div {
    padding: 20px 30px;
    border-right: 1px solid var(--line)
}

.stats-strip div:last-child {
    border-right: 0
}

.stats-strip strong {
    font: 700 34px 'Playfair Display';
    color: var(--wine);
    display: block;
    letter-spacing: -.02em
}

.stats-strip span {
    font-size: 12px;
    color: var(--muted)
}

/* ---------- FOOTER ---------- */
footer {
    background: #171411;
    color: #e8e0d8;
    padding: 70px max(6vw, 28px) 28px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px
}

.footer-grid p {
    color: #aaa29a;
    line-height: 1.7
}

.footer-grid a {
    display: block;
    color: #aaa29a;
    margin: 10px 0;
    transition: color var(--transition)
}

.footer-grid a:hover {
    color: var(--gold)
}

.footer-brand b {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid #38332e;
    margin-top: 45px;
    padding-top: 22px;
    color: #766f69;
    font-size: 12px
}

/* ---------- PAGE HERO ---------- */
.page-hero {
    padding: 90px max(6vw, 28px);
    background: var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(199, 154, 67, .08), transparent 60%)
}

.page-hero > * {
    position: relative
}

.page-hero.compact {
    padding: 65px 25px
}

.page-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 14px
}

.page-hero p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7
}

/* ---------- FILTERS ---------- */
.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 34px
}

.chip {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition)
}

.chip:hover {
    border-color: var(--wine);
    color: var(--wine)
}

.chip.active {
    background: var(--wine);
    color: #fff;
    border-color: var(--wine);
    box-shadow: 0 6px 16px rgba(125, 20, 32, .25)
}

/* ---------- PANELS & CARDS ---------- */
.panel,
.order-summary,
.form-card,
.admin-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm)
}

/* ---------- CART ---------- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 25px
}

.cart-line {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

.cart-line:last-child {
    border-bottom: 0
}

.cart-thumb {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--cream), #ede0cd);
    border-radius: var(--radius-sm);
    font-size: 26px;
    flex-shrink: 0
}

.grow {
    flex: 1
}

.cart-line small,
.details small,
td small {
    display: block;
    color: var(--muted);
    margin-top: 4px
}

.qty {
    width: 68px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: border-color var(--transition)
}

.qty:focus {
    outline: none;
    border-color: var(--wine)
}

.link-btn {
    border: 0;
    background: none;
    color: var(--wine);
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    font-size: 13px;
    transition: opacity var(--transition)
}

.link-btn:hover {
    opacity: .7
}

.order-summary > div {
    display: flex;
    justify-content: space-between;
    margin: 14px 0
}

.order-summary .total {
    font-size: 20px;
    font-weight: 800;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--wine)
}

.cash-note {
    background: linear-gradient(135deg, #eef8f1, #e2f2e8);
    color: #286345;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 12px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    border: 1px solid rgba(44, 118, 86, .15)
}

.cash-note::before {
    content: '✓';
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px
}

.cash-note.big {
    font-size: 14px;
    padding: 18px 20px
}

/* ---------- EMPTY & SUCCESS ---------- */
.empty-state,
.success-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 70px 30px;
    box-shadow: var(--shadow-sm)
}

.empty-state > span {
    font-size: 50px;
    display: block;
    margin-bottom: 18px
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6f5eb, #d4ecdd);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 32px;
    margin: 0 auto 22px;
    box-shadow: 0 8px 24px rgba(44, 118, 86, .15)
}

.order-code {
    display: inline-block;
    padding: 16px 28px;
    background: var(--cream);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .12em;
    border-radius: var(--radius-sm);
    border: 1.5px dashed var(--gold);
    color: var(--wine)
}

/* ---------- FORMS ---------- */
.form-wrap {
    max-width: 900px;
    margin: auto
}

.form-card label,
.stack-form label,
.login-card label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .02em;
    color: #443c35
}

.form-card input,
.form-card textarea,
.form-card select,
.stack-form input,
.stack-form textarea,
.stack-form select,
.login-card input,
.inline-form select,
.special-admin input,
.special-admin select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fdfbf7;
    margin-top: 8px;
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    font-size: 14px
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus,
.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus,
.login-card input:focus {
    border-color: var(--wine);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(125, 20, 32, .08)
}

.form-card textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px
}

.span2 {
    grid-column: span 2
}

/* ---------- SPECIAL HERO ---------- */
.special-hero {
    padding: 110px max(7vw, 30px);
    background: linear-gradient(120deg, #7a131e, #310609);
    color: #fff;
    position: relative;
    overflow: hidden
}

.special-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(ellipse at 70% 30%, transparent 0 90px, rgba(255, 255, 255, .025) 91px 92px)
}

.special-hero > div {
    max-width: 880px;
    position: relative
}

.special-hero p {
    font-size: 17px;
    color: #e4cdd0;
    line-height: 1.75
}

/* ---------- TRACKING ---------- */
.track-search {
    display: flex;
    max-width: 550px;
    margin: 30px auto 0;
    gap: 8px
}

.track-search input {
    flex: 1;
    border: 1.5px solid var(--line);
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition)
}

.track-search input:focus {
    outline: none;
    border-color: var(--wine);
    box-shadow: 0 0 0 4px rgba(125, 20, 32, .08)
}

.order-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

/* ---------- STATUS BADGES ---------- */
.status {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eee;
    letter-spacing: .05em;
    display: inline-block
}

.status.delivered,
.status.paid {
    background: #e4f4e9;
    color: #27714b
}

.status.cancelled {
    background: #fae7e7;
    color: #a02c35
}

.status.preparing,
.status.delivery {
    background: #fff0d4;
    color: #8b5b00
}

.status.new {
    background: #e8eefb;
    color: #2c4a8b
}

/* ---------- TIMELINE ---------- */
.timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 40px 0;
    position: relative
}

.time-step {
    text-align: center;
    position: relative;
    font-size: 10px;
    color: #aaa;
    font-weight: 600
}

.time-step::before {
    content: '';
    position: absolute;
    height: 2px;
    background: #e5ded4;
    left: 0;
    right: 0;
    top: 8px
}

.time-step:first-child::before {
    left: 50%
}

.time-step:last-child::before {
    right: 50%
}

.time-step i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e5ded4;
    display: block;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
    border: 3px solid #fff;
    box-sizing: content-box;
    transition: background var(--transition)
}

.time-step.done::before,
.time-step.done i {
    background: var(--wine)
}

.time-step.done {
    color: var(--wine)
}

/* ---------- ORDER ITEMS ---------- */
.order-items > div {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px
}

.order-items > div:last-child {
    border-bottom: 0
}

.order-items .total {
    font-size: 18px;
    font-weight: 800;
    color: var(--wine);
    border-top: 2px solid var(--line);
    padding-top: 16px;
    margin-top: 6px
}

/* ---------- ALERTS ---------- */
.alert {
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    margin: 15px 0;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    border: 1px solid transparent
}

.alert.danger {
    background: #fce8e8;
    color: #8b1f28;
    border-color: rgba(139, 31, 40, .15)
}

.alert.warning {
    background: #fff3d9;
    color: #74500b;
    border-color: rgba(116, 80, 11, .15)
}

/* ---------- LOGIN ---------- */
.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 20%, #fff7e8, #eee3d4)
}

.login-card {
    width: min(430px, 92vw);
    background: #fff;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg)
}

.brand.center {
    justify-content: center
}

.login-card h1 {
    text-align: center;
    font: 700 38px 'Playfair Display';
    margin-bottom: 6px;
    letter-spacing: -.02em
}

.login-card > p {
    text-align: center;
    color: var(--muted);
    margin-bottom: 30px
}

/* ---------- ADMIN ---------- */
.admin-body {
    background: #f5f3ef
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    background: linear-gradient(180deg, #1a1714, #171411);
    color: #fff;
    padding: 26px 18px;
    display: flex;
    flex-direction: column;
    z-index: 40
}

.admin-brand {
    padding: 5px 10px 30px
}

.admin-brand b {
    color: #fff
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    color: #c5beb6;
    font-size: 13px;
    font-weight: 500;
    margin: 3px 0;
    transition: background var(--transition), color var(--transition)
}

.sidebar nav a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff
}

.logout {
    margin-top: auto;
    padding: 13px;
    color: #d3a9ad;
    font-size: 13px;
    transition: color var(--transition)
}

.logout:hover {
    color: #fff
}

.admin-main {
    margin-left: 260px;
    min-height: 100vh
}

.admin-top {
    height: 88px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 20
}

.admin-top h1 {
    font: 700 24px 'Playfair Display';
    margin: 3px 0;
    letter-spacing: -.02em
}

.admin-top small {
    font-size: 9px;
    letter-spacing: .2em;
    color: var(--muted)
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600
}

.admin-user span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wine2), var(--wine));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(125, 20, 32, .25)
}

.sidebar-toggle {
    display: none
}

.admin-content {
    padding: 32px
}

/* ---------- KPI ---------- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px
}

.kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden
}

.kpi:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.kpi span,
.kpi small {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600
}

.kpi strong {
    display: block;
    font: 700 26px 'Playfair Display';
    margin: 10px 0;
    letter-spacing: -.02em
}

.kpi.accent {
    background: linear-gradient(135deg, var(--wine2), var(--wine));
    color: #fff;
    border-color: transparent
}

.kpi.accent span,
.kpi.accent small {
    color: #e7cdd0
}

/* ---------- ADMIN GRID ---------- */
.admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px
}

.admin-card.span2 {
    grid-column: span 2
}

.admin-card h2 {
    font: 700 22px 'Playfair Display';
    margin: 0 0 20px;
    letter-spacing: -.01em
}

/* ---------- TABLES ---------- */
.table-wrap {
    overflow: auto;
    border-radius: var(--radius-sm)
}

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

th {
    text-align: left;
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--muted);
    text-transform: uppercase;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    background: #fdfbf7
}

td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    vertical-align: middle
}

tbody tr {
    transition: background var(--transition)
}

tbody tr:hover {
    background: #fdfbf7
}

/* ---------- QUICK ACTIONS ---------- */
.quick-actions {
    display: grid;
    gap: 10px
}

.quick-actions a {
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.quick-actions a::after {
    content: '→';
    opacity: .4;
    transition: transform var(--transition), opacity var(--transition)
}

.quick-actions a:hover {
    border-color: var(--wine);
    color: var(--wine);
    background: #fdfbf7
}

.quick-actions a:hover::after {
    transform: translateX(4px);
    opacity: 1
}

/* ---------- INLINE FORM ---------- */
.inline-form {
    display: flex;
    gap: 6px;
    align-items: center
}

.inline-form select {
    margin: 0;
    min-width: 110px;
    padding: 9px 12px
}

.inline {
    display: inline
}

/* ---------- MINI BUTTONS ---------- */
.mini-btn {
    border: 0;
    background: var(--wine);
    color: #fff;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    transition: background var(--transition), transform var(--transition)
}

.mini-btn:hover {
    background: var(--wine2);
    transform: translateY(-1px)
}

.mini-btn.ghosty {
    background: #f2eee8;
    color: #443c35
}

.mini-btn.ghosty:hover {
    background: #e8e2d8
}

.icon-danger {
    border: 0;
    background: #f9e5e5;
    color: #9b2630;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition)
}

.icon-danger:hover {
    background: #f5d5d5;
    transform: translateY(-1px)
}

/* ---------- CRUD ---------- */
.crud-grid {
    display: grid;
    grid-template-columns: 340px 1fr 1fr;
    gap: 18px
}

.stack-form .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.checks {
    display: flex;
    gap: 18px
}

.checks label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer
}

.checks input {
    width: auto;
    margin: 0
}

/* ---------- DETAILS ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px
}

.pack-line {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
}

.pack-line small {
    display: block;
    color: var(--muted);
    margin-top: 5px
}

.pack-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    padding-top: 22px;
    font-weight: 800;
    color: var(--wine)
}

.details dt {
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--muted);
    margin-top: 18px;
    font-weight: 800;
    text-transform: uppercase
}

.details dd {
    margin: 6px 0;
    font-size: 14px
}

/* ---------- SPECIAL ROWS ---------- */
.special-list {
    display: grid;
    gap: 14px
}

.special-row {
    display: flex;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    transition: box-shadow var(--transition), border-color var(--transition)
}

.special-row:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(199, 154, 67, .4)
}

.date-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--wine2), var(--wine));
    color: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(125, 20, 32, .25)
}

.date-box b {
    font-size: 22px;
    line-height: 1
}

.date-box span {
    font-size: 10px;
    letter-spacing: .05em
}

.special-row h3 {
    margin: 5px 0
}

.special-row p {
    color: var(--muted);
    font-size: 12px;
    max-width: 600px;
    line-height: 1.6
}

.special-admin {
    width: 240px;
    display: grid;
    gap: 6px
}

.special-admin input,
.special-admin select {
    margin: 0;
    padding: 9px 12px
}

.page-actions {
    align-items: center
}

.page-actions p {
    color: var(--muted)
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1000px) {
    .site-header nav {
        display: none
    }

    .nav-toggle {
        display: block
    }

    .nav-open .site-header nav {
        display: flex;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow);
        border-bottom: 1px solid var(--line)
    }

    .nav-open .site-header nav a {
        padding: 14px
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero-art {
        min-height: 420px;
        clip-path: none
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kpi-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .crud-grid {
        grid-template-columns: 1fr
    }

    .admin-card.span2 {
        grid-column: auto
    }

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

    .detail-grid {
        grid-template-columns: 1fr
    }

    .special-row {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .special-admin {
        width: 100%;
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:720px) {
    .site-header {
        height: 72px;
        padding: 0 16px
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 24px
    }

    .brand b {
        font-size: 16px
    }

    .brand small {
        font-size: 7px
    }

    .cart-pill {
        margin-left: auto;
        padding: 9px 14px
    }

    .hero-copy {
        padding: 60px 24px
    }

    .hero {
        min-height: auto
    }

    .hero h1 {
        font-size: 44px
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%
    }

    .hero-art {
        min-height: 300px
    }

    .hero-badge span {
        font-size: 100px
    }

    .meat-card {
        right: 5%;
        bottom: 6%;
        padding: 10px
    }

    .meat-photo {
        font-size: 30px;
        padding: 8px
    }

    .section {
        padding: 55px 20px
    }

    .product-grid {
        grid-template-columns: 1fr
    }

    .product-image {
        height: 220px
    }

    .special-banner {
        padding: 45px 25px;
        flex-direction: column;
        align-items: flex-start
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr
    }

    .stats-strip div {
        padding: 16px;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .checkout-grid,
    .form-grid {
        grid-template-columns: 1fr
    }

    .span2 {
        grid-column: auto
    }

    .timeline {
        overflow: auto;
        grid-template-columns: repeat(6, 110px)
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-lg)
    }

    .side-open .sidebar {
        transform: none
    }

    .admin-main {
        margin-left: 0
    }

    .sidebar-toggle {
        display: block
    }

    .admin-top {
        padding: 0 16px;
        height: 76px
    }

    .admin-top h1 {
        font-size: 20px
    }

    .admin-content {
        padding: 16px
    }

    .kpi-grid {
        grid-template-columns: 1fr
    }

    .crud-grid {
        display: block
    }

    .crud-grid > .admin-card {
        margin-bottom: 15px
    }

    .special-admin {
        grid-template-columns: 1fr
    }

    .login-card {
        padding: 35px 25px
    }
}
/* ---------- PRODUCT GRID ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(199, 154, 67, .4)
}

/* Image area — compact 4:3 ratio */
.product-image {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: #f0e6d6;
    flex-shrink: 0
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1)
}

.product-card:hover .product-image img {
    transform: scale(1.05)
}

/* Fallback when no image is uploaded */
.product-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 25%, rgba(199, 154, 67, .18), transparent 55%),
        linear-gradient(135deg, #f7efe2, #ead9c0);
    color: var(--wine)
}

.product-image .placeholder svg {
    width: 46px;
    height: 46px;
    opacity: .5
}

/* Category tag */
.tag {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--wine);
    box-shadow: var(--shadow-sm);
    z-index: 2
}

/* Body — tighter spacing */
.product-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.product-body h3 {
    font: 700 16px 'Playfair Display';
    margin: 0 0 4px;
    letter-spacing: -.01em;
    line-height: 1.3
}

.product-body p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.stock-note {
    font-size: 10px;
    color: var(--green);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px
}

.stock-note::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 2.5px rgba(44, 118, 86, .15)
}

.stock-note.out-stock {
    color: var(--wine)
}

.stock-note.out-stock::before {
    background: var(--wine);
    box-shadow: 0 0 0 2.5px rgba(125, 20, 32, .15)
}

/* Footer — price + cart button */
.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line)
}

.product-foot .price {
    display: flex;
    align-items: baseline;
    gap: 3px
}

.product-foot strong {
    font-size: 15px;
    color: var(--wine);
    font-weight: 800;
    letter-spacing: -.01em
}

.product-foot small {
    color: var(--muted);
    font-size: 10px
}

/* Cart icon button */
.cart-btn {
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition)
}

.cart-btn svg {
    width: 16px;
    height: 16px
}

.cart-btn:hover {
    background: var(--wine);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(125, 20, 32, .3)
}

.cart-btn:active {
    transform: translateY(0)
}

.cart-btn.disabled {
    background: #d8d2c9;
    cursor: not-allowed;
    opacity: .7
}

.cart-btn.disabled:hover {
    transform: none;
    background: #d8d2c9;
    box-shadow: none
}
/* ---------- LOADING SCREEN ---------- */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 40%, #7d1420, #3a090d 70%);
    transition: opacity .6s ease, visibility .6s ease
}

#loader.hidden {
    opacity: 0;
    visibility: hidden
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center
}

.loader-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(199, 154, 67, .35), 0 20px 60px rgba(0, 0, 0, .5);
    animation: logoPulse 2s ease-in-out infinite
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px rgba(199, 154, 67, .35), 0 0 0 0 rgba(199, 154, 67, .35) }
    50% { transform: scale(1.05); box-shadow: 0 0 0 2px rgba(199, 154, 67, .55), 0 0 0 24px rgba(199, 154, 67, 0) }
}

.loader-bar {
    width: 180px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
    position: relative
}

.loader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: loaderSlide 1.4s ease-in-out infinite
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%) }
    100% { transform: translateX(350%) }
}

.loader-text {
    font: 700 11px 'DM Sans';
    letter-spacing: .4em;
    color: #f0d7a0;
    text-transform: uppercase;
    opacity: .8
}

/* ---------- FADE-IN REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.4, 0, .2, 1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

/* ---------- HERO IMAGE (real photo) ---------- */
.hero-art {
    position: relative;
    overflow: hidden;
    background: #3a090d
}

.hero-art img.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 18s ease-in-out infinite alternate
}

@keyframes slowZoom {
    0% { transform: scale(1) }
    100% { transform: scale(1.12) }
}

.hero-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(58, 9, 13, .55), rgba(58, 9, 13, .15))
}

.hero-badge,
.meat-card {
    z-index: 2;
    position: absolute
}

.hero-badge img {
    width: 130px;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    border: 2px solid rgba(199, 154, 67, .5)
}

.meat-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px
}

/* ---------- GALLERY / IMAGE STRIP ---------- */
.image-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 max(6vw, 28px) 20px
}

.image-strip figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
    box-shadow: var(--shadow)
}

.image-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.4, 0, .2, 1)
}

.image-strip figure:hover img {
    transform: scale(1.08)
}

.image-strip figcaption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: #fff;
    font: 700 14px 'Playfair Display';
    letter-spacing: .02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
    z-index: 2
}

.image-strip figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 55%)
}

@media (max-width: 720px) {
    .image-strip {
        grid-template-columns: 1fr
    }
    .hero-badge img { width: 95px }
}


/* ---------- SPECIAL BANNER with image ---------- */
.special-banner {
    position: relative;
    margin: 20px max(3vw, 20px);
    padding: 70px max(5vw, 30px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: #3b080d;
    color: #fff
}

.special-banner img.banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: bannerPan 24s ease-in-out infinite alternate
}

@keyframes bannerPan {
    0% { transform: scale(1) translate(0, 0) }
    100% { transform: scale(1.15) translate(-2%, -2%) }
}

.special-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(58, 9, 13, .92), rgba(58, 9, 13, .55) 60%, rgba(58, 9, 13, .3));
    z-index: 1
}

.special-banner > div,
.special-banner > a {
    position: relative;
    z-index: 2
}

.special-banner h2 {
    font: 700 clamp(28px, 4vw, 46px)/1.1 'Playfair Display';
    margin: 10px 0 14px;
    letter-spacing: -.02em
}

.special-banner p {
    max-width: 620px;
    color: #ead6d8;
    line-height: 1.7;
    font-size: 15px;
    margin: 0
}

/* ---------- STATS STRIP — centered + animated ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
    position: relative
}

.stats-strip > div {
    padding: 20px 30px;
    border-right: 1px solid var(--line);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.4, 0, .2, 1)
}

.stats-strip.reveal.visible > div {
    opacity: 1;
    transform: none
}

/* Stagger the reveal */
.stats-strip.reveal.visible > div:nth-child(1) { transition-delay: 0ms }
.stats-strip.reveal.visible > div:nth-child(2) { transition-delay: 120ms }
.stats-strip.reveal.visible > div:nth-child(3) { transition-delay: 240ms }
.stats-strip.reveal.visible > div:nth-child(4) { transition-delay: 360ms }

.stats-strip > div:last-child {
    border-right: 0
}

.stats-strip strong {
    font: 700 42px 'Playfair Display';
    color: var(--wine);
    display: block;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 8px;
    position: relative
}

.stats-strip strong::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
    opacity: .6
}

.stats-strip span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .04em;
    font-weight: 500
}

/* Small pulse on the number while revealing */
@keyframes statPop {
    0% { transform: scale(.85); opacity: 0 }
    60% { transform: scale(1.06); opacity: 1 }
    100% { transform: scale(1) }
}

.stats-strip.reveal.visible strong {
    animation: statPop .8s cubic-bezier(.4, 0, .2, 1) both
}

@media (max-width: 720px) {
    .stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 8px 0;
        padding-top: 40px;
        padding-bottom: 40px
    }
    .stats-strip > div {
        padding: 18px 14px
    }
    .stats-strip > div:nth-child(2) {
        border-right: 0
    }
    .stats-strip > div:nth-child(1),
    .stats-strip > div:nth-child(2) {
        border-bottom: 1px solid var(--line)
    }
    .stats-strip strong {
        font-size: 32px
    }
}