:root {
    --gold: #dca62a;
    --gold-deep: #b8791f;
    --yellow: #f7c843;
    --orange: #e67a21;
    --brown: #6d3f1e;
    --brown-soft: #8b5328;
    --navy: #0f2f55;
    --navy-soft: #163d68;
    --green: #1f5d48;
    --green-deep: #184938;
    --cream: #fff8e8;
    --cream-strong: #fff2d4;
    --paper: #fffdf7;
    --muted: #7b684f;
    --ink: #2a1b10;
    --line: #eadab8;
    --shadow: 0 22px 60px rgba(109, 63, 30, .16);
    --soft-shadow: 0 12px 32px rgba(109, 63, 30, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 248, 232, 1) 0%, rgba(255, 253, 247, 1) 48%, rgba(255, 242, 212, 1) 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    letter-spacing: 0;
}

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

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

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

main {
    min-height: 62vh;
    overflow: hidden;
}

.offer-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 36px;
    padding: 8px 5vw;
    color: var(--cream);
    background: linear-gradient(90deg, var(--green-deep), var(--navy), var(--brown));
    font-size: .88rem;
    font-weight: 800;
    text-align: center;
}

.offer-strip strong {
    color: var(--yellow);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 247, .96);
    border-bottom: 1px solid rgba(234, 218, 184, .9);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(109, 63, 30, .08);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(260px, 520px) auto;
    align-items: center;
    gap: 22px;
    width: min(1240px, 90vw);
    margin: 0 auto;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    color: var(--cream);
    background: linear-gradient(145deg, var(--orange), var(--brown));
    border: 3px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(109, 63, 30, .18);
    font-weight: 900;
    font-size: 1.35rem;
}

.brand-logo-wrap {
    overflow: hidden;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.site-header .brand-logo-wrap {
    width: clamp(132px, 14vw, 168px);
    height: clamp(106px, 11.2vw, 135px);
}

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

.brand strong {
    color: var(--brown);
    font-size: 1.05rem;
    font-weight: 900;
}

.brand small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
}

.header-search {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    height: 48px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(220, 166, 42, .12);
    overflow: hidden;
}

.header-search button {
    display: grid;
    height: 100%;
    place-items: center;
    border: 0;
    color: var(--brown);
    background: var(--cream-strong);
    cursor: pointer;
}

.header-search svg,
.cart-link svg,
.product-wish svg,
.empty-icon svg,
.category-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.header-search input {
    height: 100%;
    border: 0;
    background: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    color: var(--brown);
    font-weight: 800;
}

.main-nav a {
    padding: 8px 0;
    transition: color .18s ease, transform .18s ease;
}

.main-nav a:hover {
    color: var(--green);
    transform: translateY(-1px);
}

.cart-link {
    position: relative;
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--cream);
    background: var(--green);
    border-radius: 8px;
    box-shadow: 0 12px 22px rgba(31, 93, 72, .25);
}

.cart-link span {
    position: absolute;
    top: -8px;
    right: -8px;
    display: grid;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    place-items: center;
    color: var(--brown);
    background: var(--yellow);
    border: 2px solid var(--paper);
    border-radius: 8px;
    font-size: .78rem;
}

.mobile-cart-link {
    display: none;
}

.mobile-drawer-search,
.mobile-drawer-tabs,
.mobile-drawer-categories {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

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

.flash-stack {
    position: fixed;
    top: 94px;
    right: 5vw;
    z-index: 70;
    display: grid;
    gap: 10px;
    width: min(360px, 90vw);
}

.flash {
    padding: 13px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.flash-success {
    border-left-color: var(--green);
}

.flash-warning,
.flash-error {
    border-left-color: var(--orange);
}

.hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    padding: 86px 5vw 116px;
    color: var(--cream);
    background-image:
        linear-gradient(90deg, rgba(42, 27, 16, .88) 0%, rgba(109, 63, 30, .62) 42%, rgba(31, 93, 72, .18) 78%),
        var(--hero-image, url('../images/hero-krunch.png'));
    background-position: center, center right;
    background-size: cover, cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

.premium-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 82px;
    background: var(--cream);
    border-radius: 55% 55% 0 0 / 70% 70% 0 0;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 42px;
    align-items: center;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.hero-content {
    width: min(720px, 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--yellow);
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: 4rem;
    line-height: 1.02;
    font-weight: 900;
}

.hero p {
    width: min(600px, 100%);
    margin: 22px 0 30px;
    color: #fff3d0;
    font-size: 1.16rem;
}

.hero-actions,
.product-actions,
.form-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-proof span {
    padding: 10px 12px;
    color: var(--cream);
    background: rgba(255, 248, 232, .14);
    border: 1px solid rgba(255, 248, 232, .28);
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.hero-proof strong {
    color: var(--yellow);
}

.hero-visual {
    position: relative;
    min-height: 430px;
}

.hero-product-stack {
    position: relative;
    min-height: 430px;
}

.hero-pack {
    position: absolute;
    width: 240px;
    filter: drop-shadow(0 24px 34px rgba(42, 27, 16, .34));
    animation: floatPack 5s ease-in-out infinite;
}

.hero-pack-1 {
    left: 35%;
    top: 20px;
    z-index: 3;
}

.hero-pack-2 {
    left: 6%;
    top: 105px;
    width: 210px;
    z-index: 2;
    animation-delay: .35s;
}

.hero-pack-3 {
    right: 0;
    top: 138px;
    width: 205px;
    z-index: 1;
    animation-delay: .7s;
}

.hero-shape,
.crunch-chip,
.gallery-chip {
    position: absolute;
    pointer-events: none;
}

.hero-shape-one {
    width: 260px;
    height: 74px;
    right: 6vw;
    top: 84px;
    background: rgba(247, 200, 67, .32);
    border: 1px solid rgba(255, 248, 232, .34);
    border-radius: 100px 8px 100px 8px;
    transform: rotate(-16deg);
}

.hero-shape-two {
    width: 320px;
    height: 92px;
    right: 18vw;
    bottom: 110px;
    background: rgba(31, 93, 72, .34);
    border: 1px solid rgba(255, 248, 232, .24);
    border-radius: 8px 120px 8px 120px;
    transform: rotate(12deg);
}

.crunch-chip,
.gallery-chip {
    width: 72px;
    height: 48px;
    background: var(--yellow);
    border: 4px solid var(--orange);
    border-radius: 52% 48% 60% 40%;
    box-shadow: 0 12px 22px rgba(42, 27, 16, .22);
}

.chip-one {
    left: 10%;
    top: 38px;
    transform: rotate(-18deg);
    animation: floatChip 4.8s ease-in-out infinite;
}

.chip-two {
    right: 10%;
    top: 52px;
    transform: rotate(19deg);
    animation: floatChip 5.2s ease-in-out infinite .4s;
}

.chip-three {
    left: 48%;
    bottom: 38px;
    transform: rotate(8deg);
    animation: floatChip 4.6s ease-in-out infinite .8s;
}

@keyframes floatPack {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes floatChip {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-12px) rotate(13deg); }
}

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(109, 63, 30, .18);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    color: var(--ink);
    background: linear-gradient(180deg, var(--yellow), var(--gold));
    border-color: #e2b031;
}

.btn-dark {
    color: var(--cream);
    background: linear-gradient(180deg, var(--brown-soft), var(--brown));
}

.btn-green {
    color: var(--cream);
    background: linear-gradient(180deg, var(--green), var(--green-deep));
}

.btn-light {
    color: var(--brown);
    background: var(--paper);
    border-color: var(--line);
}

.btn-outline {
    color: var(--brown);
    background: transparent;
    border-color: var(--brown);
}

.section {
    padding: 70px 5vw;
}

.section-alt {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 242, 212, 1), rgba(255, 248, 232, 1));
}

.section-alt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5vw;
    right: 5vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    width: min(1240px, 100%);
    margin: 0 auto 28px;
}

.section-header h2,
.page-hero h1,
.auth-card h1,
.admin-topbar h1 {
    margin: 0;
}

.section-header h2 {
    color: var(--brown);
    font-size: 2rem;
    line-height: 1.12;
}

.section-header p,
.page-hero p {
    margin: 8px 0 0;
    color: var(--muted);
}

.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 72px 5vw 48px;
    background:
        linear-gradient(115deg, rgba(255, 242, 212, .96), rgba(255, 253, 247, .92)),
        linear-gradient(135deg, rgba(220, 166, 42, .24), rgba(31, 93, 72, .12));
    border-bottom: 1px solid var(--line);
}

.page-hero > div {
    width: min(760px, 100%);
}

.page-hero h1 {
    color: var(--brown);
    font-size: 3.25rem;
}

.hero-mini-card {
    width: min(250px, 100%);
    padding: 18px;
    color: var(--cream);
    background: linear-gradient(160deg, var(--navy), var(--green));
    border: 1px solid rgba(255, 248, 232, .28);
    border-radius: 8px;
    box-shadow: var(--soft-shadow);
}

.hero-mini-card span,
.hero-mini-card small {
    display: block;
    color: #fff0cb;
}

.hero-mini-card strong {
    display: block;
    color: var(--yellow);
    font-size: 1.45rem;
}

.grid {
    display: grid;
    gap: 20px;
    width: min(1240px, 100%);
    margin: 0 auto;
}

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

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

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

.category-card,
.offer-card,
.review-card,
.auth-card,
.summary-box,
.contact-panel,
.metric-card,
.admin-panel,
.cart-table-wrap,
.product-gallery,
.product-info {
    background: rgba(255, 253, 247, .96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--soft-shadow);
}

.category-card {
    position: relative;
    min-height: 196px;
    padding: 20px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 253, 247, .98) 0%, rgba(255, 248, 232, .98) 58%, rgba(255, 242, 212, .95) 100%);
    border-color: rgba(220, 166, 42, .34);
    box-shadow: 0 18px 40px rgba(109, 63, 30, .11);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--green), var(--brown));
}

.category-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -42px;
    width: 142px;
    height: 112px;
    background:
        radial-gradient(circle at 36% 34%, rgba(247, 200, 67, .30), transparent 34%),
        linear-gradient(145deg, rgba(255, 242, 212, .95), rgba(255, 253, 247, .35));
    border: 1px solid rgba(220, 166, 42, .42);
    border-radius: 999px 18px 999px 18px;
    transform: rotate(-12deg);
}

.category-card:hover,
.product-card:hover,
.offer-card:hover,
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(220, 166, 42, .7);
}

.category-icon {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff8e8;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .34), transparent 26%),
        linear-gradient(145deg, var(--gold), var(--brown));
    border: 1px solid rgba(255, 248, 232, .44);
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(109, 63, 30, .20);
    z-index: 1;
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.category-card h3,
.offer-card h3 {
    position: relative;
    margin: 18px 0 7px;
    color: var(--brown);
    font-size: 1.02rem;
    line-height: 1.25;
    z-index: 1;
}

.category-card p {
    position: relative;
    max-width: 92%;
    margin: 0;
    font-size: .91rem;
    line-height: 1.55;
    z-index: 1;
}

.category-card p,
.offer-card p,
.review-card p,
.product-card p,
.muted {
    color: var(--muted);
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(109, 63, 30, .09);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-media {
    position: relative;
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 242, 212, .96), rgba(255, 253, 247, 1));
}

.product-media img {
    width: 100%;
    height: 198px;
    object-fit: contain;
    transform: scale(.98);
    transition: transform .2s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.04) rotate(-1deg);
}

.product-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--brown);
    background: rgba(255, 253, 247, .9);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.seller-badge,
.discount-badge,
.tag {
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 8px;
    font-size: .76rem;
    font-weight: 900;
}

.seller-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--cream);
    background: var(--green);
}

.discount-badge,
.tag {
    color: var(--brown);
    background: var(--yellow);
}

.discount-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
}

.inline-badge {
    position: static;
}

.product-card-body {
    display: grid;
    gap: 9px;
    padding: 16px;
    flex: 1;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
}

.stars {
    color: var(--gold);
    font-size: .9rem;
    letter-spacing: 0;
}

.product-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.24;
}

.product-card p {
    margin: 0;
    min-height: 46px;
    font-size: .92rem;
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.price {
    color: var(--brown);
    font-size: 1.16rem;
    font-weight: 900;
}

.mrp {
    color: var(--muted);
    text-decoration: line-through;
}

.stock {
    color: var(--green);
    font-size: .86rem;
    font-weight: 900;
}

.stock-low {
    color: var(--orange);
}

.mini-form {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 8px;
    margin-top: auto;
}

.mini-form .btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
}

.offer-card,
.review-card,
.metric-card {
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.offer-card {
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--orange);
}

.offer-card::after {
    content: "";
    position: absolute;
    right: -32px;
    top: -34px;
    width: 120px;
    height: 90px;
    background: rgba(247, 200, 67, .32);
    border-radius: 8px 80px 8px 80px;
}

.review-card {
    border-top: 5px solid var(--gold);
}

.review-card strong {
    display: block;
    margin-top: 14px;
    color: var(--brown);
}

.product-toolbar {
    width: min(1240px, 100%);
    margin: 0 auto 28px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--soft-shadow);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: min(1240px, 100%);
    margin: 0 auto 18px;
}

.category-pills a,
.store-note,
.payment-method-strip span,
.summary-trust span,
.product-highlights span,
.footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--brown);
    background: var(--paper);
    font-size: .86rem;
    font-weight: 900;
}

.category-pills a.active,
.category-pills a:hover {
    color: var(--cream);
    background: var(--green);
    border-color: var(--green);
}

.product-layout,
.checkout-layout,
.cart-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.product-layout {
    grid-template-columns: minmax(360px, .95fr) minmax(360px, 1.05fr);
}

.product-gallery {
    padding: 22px;
}

.product-image-stage {
    position: relative;
    display: grid;
    min-height: 520px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(140deg, var(--cream-strong), var(--paper));
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-image-stage img {
    width: min(430px, 88%);
    max-height: 455px;
    object-fit: contain;
    filter: drop-shadow(0 24px 26px rgba(109, 63, 30, .2));
    z-index: 1;
}

.gallery-chip-one {
    left: 34px;
    top: 56px;
    transform: rotate(-18deg);
}

.gallery-chip-two {
    right: 42px;
    bottom: 70px;
    transform: rotate(16deg);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.gallery-thumbs span {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    background: var(--cream-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.gallery-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.product-info,
.summary-box,
.contact-panel {
    padding: 24px;
}

.product-info h1 {
    margin: 10px 0 12px;
    color: var(--brown);
    font-size: 2.5rem;
    line-height: 1.08;
}

.detail-rating {
    margin-top: 14px;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.qty-control {
    display: inline-grid;
    grid-template-columns: 42px 68px 42px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper);
}

.qty-control button {
    border: 0;
    color: var(--brown);
    background: var(--cream-strong);
    cursor: pointer;
    font-weight: 900;
}

.qty-control input {
    width: 100%;
    border: 0;
    text-align: center;
    color: var(--ink);
    background: var(--paper);
}

.cart-panel {
    padding: 0;
    overflow: hidden;
}

.cart-list {
    display: grid;
}

.cart-product {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 110px 120px 120px auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.cart-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.cart-item img,
.summary-product img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background: var(--cream-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cart-item strong {
    color: var(--brown);
}

.cart-item p {
    margin: 4px 0;
}

.cart-price-block {
    display: grid;
    gap: 2px;
}

.cart-price-block span,
.cart-quantity label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-price-block strong {
    color: var(--brown);
}

.cart-quantity input {
    width: 92px;
}

.cart-actions {
    padding: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

th {
    color: var(--brown);
    background: var(--cream-strong);
}

.summary-box {
    position: sticky;
    top: 92px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.summary-row.total {
    color: var(--brown);
    font-size: 1.25rem;
    font-weight: 900;
    border-bottom: 0;
}

.summary-trust,
.payment-method-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.summary-product {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.summary-product img {
    width: 58px;
    height: 58px;
}

.summary-product span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
}

.checkout-premium-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
}

.checkout-card {
    padding: 24px;
}

.checkout-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.checkout-card-head h2 {
    margin: 0;
    color: var(--brown);
}

.checkout-card-head > span {
    padding: 8px 10px;
    color: var(--cream);
    background: var(--brown);
    border-radius: 8px;
    font-weight: 900;
}

.checkout-steps {
    display: flex;
    gap: 8px;
    width: auto;
}

.checkout-steps span {
    padding: 9px 12px;
    color: var(--brown);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
}

.checkout-steps .active {
    color: var(--cream);
    background: var(--green);
    border-color: var(--green);
}

.checkout-pay {
    width: 100%;
    margin-top: 18px;
}

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

.field {
    display: grid;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    color: var(--brown);
    font-weight: 900;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    background: #fffefa;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(220, 166, 42, .22);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.premium-empty {
    width: min(960px, 100%);
    margin: 0 auto;
}

.empty-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    place-items: center;
    color: var(--cream);
    background: var(--green);
    border-radius: 8px;
}

.empty-suggestions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.empty-suggestions article {
    display: grid;
    gap: 8px;
    padding: 14px;
    background: var(--cream-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.empty-suggestions img {
    height: 110px;
    object-fit: contain;
    margin: 0 auto;
}

.empty-state {
    padding: 34px;
    text-align: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--soft-shadow);
}

.checkout-message {
    color: var(--orange);
    font-weight: 900;
}

.auth-shell {
    display: grid;
    min-height: 78vh;
    place-items: center;
    padding: 58px 5vw;
    background: var(--cream-strong);
}

.auth-card {
    width: min(520px, 100%);
    padding: 28px;
}

.auth-card form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.order-status {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.order-step {
    padding: 12px;
    text-align: center;
    background: var(--cream-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
}

.order-step.active {
    color: var(--cream);
    background: var(--green);
    border-color: var(--green);
}

.site-footer {
    position: relative;
    display: block;
    padding: 34px 5vw 26px;
    color: var(--ink);
    background:
        linear-gradient(180deg, #6a3107 0%, #4a260e 48%, #17324e 100%);
    overflow: hidden;
}

.footer-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, .9fr) minmax(260px, 1fr);
    gap: 22px;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 26px;
    background: linear-gradient(180deg, #fff4e4 0%, #fff9ee 100%);
    border: 1px solid rgba(255, 248, 232, .7);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20, 11, 5, .28);
}

.footer-main {
    align-self: start;
    text-align: center;
}

.footer-main p {
    max-width: 360px;
    margin: 16px 0 0;
    color: #5f4938;
    font-weight: 800;
    line-height: 1.6;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--brown);
    font-size: .98rem;
    line-height: 1.2;
}

.footer-brand {
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-brand .brand-mark {
    width: 128px;
    height: 96px;
    margin: 0 auto;
    background: transparent;
    color: var(--brown);
    border-color: transparent;
    box-shadow: none;
}

.footer-brand-copy strong {
    color: var(--brown);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.footer-brand-copy small {
    color: var(--gold-deep);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.footer-accordions {
    display: grid;
    gap: 0;
    align-self: start;
}

.footer-accordion {
    border-bottom: 1px solid rgba(109, 63, 30, .14);
}

.footer-accordion summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.footer-accordion summary::-webkit-details-marker {
    display: none;
}

.footer-accordion summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(109, 63, 30, .38);
    border-bottom: 2px solid rgba(109, 63, 30, .38);
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.footer-accordion[open] summary::after {
    transform: rotate(-135deg);
}

.footer-link-list {
    display: grid;
    gap: 8px;
    padding: 0 0 14px;
}

.footer-link-list a {
    color: #6a4b35;
    font-weight: 800;
}

.footer-map-card {
    min-height: 230px;
    overflow: hidden;
    background: #e8dfcf;
    border: 1px solid rgba(109, 63, 30, .16);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34);
}

.footer-map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    border: 0;
}

.footer-contact-strip {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-contact-strip span {
    padding: 8px 11px;
    color: var(--brown);
    background: rgba(255, 253, 247, .74);
    border: 1px solid rgba(220, 166, 42, .28);
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 900;
}

.footer-bottom-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    background: #fffdf7;
    border: 1px solid rgba(109, 63, 30, .14);
    border-radius: 14px;
}

.footer-bottom-nav a {
    display: grid;
    gap: 4px;
    place-items: center;
    min-height: 52px;
    color: var(--ink);
    font-size: clamp(.62rem, 2.4vw, .72rem);
    font-weight: 900;
    text-align: center;
}

.footer-bottom-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom-nav a:nth-child(4) {
    color: var(--brown);
}

.admin-body {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--cream);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px;
    color: var(--cream);
    background: var(--navy);
}

.admin-sidebar .brand {
    margin-bottom: 28px;
}

.admin-sidebar .brand small,
.admin-sidebar .brand strong {
    color: var(--cream);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar nav a {
    padding: 11px 12px;
    border-radius: 8px;
    color: #f7ecd0;
}

.admin-sidebar nav a:hover {
    background: rgba(247, 200, 67, .16);
}

.admin-main {
    padding: 28px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-topbar p {
    margin: 0 0 4px;
    color: var(--muted);
    font-weight: 900;
}

.admin-panel {
    padding: 20px;
    overflow-x: auto;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.metric-card strong {
    display: block;
    margin-top: 8px;
    color: var(--brown);
    font-size: 1.8rem;
}

.admin-login {
    background: var(--cream-strong);
}

.admin-flashes {
    position: static;
    width: 100%;
    margin-bottom: 16px;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .main-nav {
        gap: 10px;
        font-size: .92rem;
    }

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

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .header-search {
        grid-column: 1 / -1;
        order: 3;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 5vw;
        right: 5vw;
        display: none;
        padding: 16px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

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

    .cart-link {
        width: 100%;
        justify-items: center;
    }

    .hero-grid,
    .product-layout,
    .checkout-layout,
    .cart-layout,
    .contact-layout,
    .checkout-premium-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-product-stack {
        min-height: 330px;
    }

    .hero-pack {
        width: 190px;
    }

    .hero-pack-2,
    .hero-pack-3 {
        width: 165px;
    }

    .summary-box {
        position: static;
    }

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

    .footer-panel {
        grid-template-columns: 1fr 1fr;
    }

    .footer-map-card,
    .footer-contact-strip,
    .footer-bottom-nav {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: 78px;
    }

    .offer-strip {
        flex-direction: column;
        gap: 2px;
        font-size: .78rem;
    }

    .page-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .product-grid,
    .category-grid,
    .offer-grid,
    .review-grid,
    .metric-grid,
    .form-grid,
    .empty-suggestions,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 20px 12px 0;
        background: linear-gradient(180deg, #6a3107 0%, #57301b 52%, #183550 100%);
    }

    .footer-panel {
        display: block;
        margin-bottom: 96px;
        padding: 18px;
        border-radius: 14px;
    }

    .footer-brand .brand-mark {
        width: 118px;
        height: 88px;
        margin: 0;
    }

    .footer-brand-copy strong {
        font-size: 1.22rem;
    }

    .footer-brand-copy small {
        font-size: 1.05rem;
    }

    .footer-main p {
        max-width: none;
        margin: 16px 0 22px;
        font-size: .92rem;
        line-height: 1.55;
    }

    .footer-accordion summary {
        min-height: 54px;
    }

    .footer-map-card {
        min-height: 190px;
        margin-top: 18px;
    }

    .footer-map-card iframe {
        min-height: 190px;
    }

    .footer-contact-strip {
        display: none;
    }

    .footer-bottom-nav {
        display: grid;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 8px;
        z-index: 35;
        width: auto;
        margin-top: 0;
        border-radius: 16px;
        box-shadow: 0 18px 42px rgba(20, 11, 5, .26);
    }

    .footer-map-card {
        margin-bottom: 0;
    }

    body.nav-open .footer-bottom-nav {
        pointer-events: none;
        transform: translateY(calc(100% + 12px));
    }

    .section-header,
    .admin-topbar,
    .checkout-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-image-stage {
        min-height: 360px;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .summary-product {
        grid-template-columns: 58px 1fr;
    }

    .summary-product > strong {
        grid-column: 2;
    }

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

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

    .admin-main {
        padding: 18px;
    }

    table {
        min-width: 720px;
    }
}

@media (max-width: 560px) {
    body.nav-open {
        overflow: hidden;
    }

    body.nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(20, 11, 5, .48);
    }

    .site-header {
        background: linear-gradient(90deg, #562702 0%, #6a3107 52%, #4d2100 100%);
        border-bottom: 0;
        box-shadow: 0 10px 24px rgba(42, 27, 16, .18);
    }

    .offer-strip {
        display: none;
    }

    .header-inner {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        grid-template-areas:
            "menu brand cart";
        width: 100%;
        min-height: 64px;
        gap: 8px;
        padding: 0 16px;
    }

    .site-header .brand {
        grid-area: brand;
        display: flex;
        justify-self: center;
        justify-content: center;
        align-self: center;
        min-width: 0;
        text-align: center;
    }

    .site-header .brand-logo-wrap {
        display: grid;
        width: 116px;
        height: 54px;
        overflow: visible;
        place-items: center;
    }

    .site-header .brand::before {
        display: none;
        content: none;
    }

    .site-header .brand::after {
        display: none;
        content: none;
    }

    .site-header .brand-logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .28));
    }

    .nav-toggle {
        grid-area: menu;
        align-self: center;
        justify-self: start;
        width: 40px;
        height: 40px;
        padding: 9px;
        color: var(--cream);
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .nav-toggle span {
        height: 2px;
        margin: 5px 0;
        background: currentColor;
        transition: transform .22s ease, opacity .18s ease;
        transform-origin: center;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-search {
        display: none;
    }

    .mobile-cart-link {
        position: relative;
        grid-area: cart;
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        justify-self: end;
        align-self: center;
        color: var(--cream);
    }

    .mobile-cart-link svg {
        width: 27px;
        height: 27px;
        fill: currentColor;
    }

    .mobile-cart-link span {
        position: absolute;
        top: 0;
        right: -2px;
        display: grid;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        place-items: center;
        color: var(--brown);
        background: var(--cream);
        border: 1px solid var(--yellow);
        border-radius: 999px;
        font-size: .68rem;
        font-weight: 900;
        line-height: 1;
    }

    .main-nav .cart-link {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        bottom: 0;
        z-index: 90;
        display: flex;
        width: min(78vw, 360px);
        max-width: 360px;
        height: 100dvh;
        max-height: none;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        background:
            radial-gradient(circle at top left, rgba(247, 200, 67, .16), transparent 36%),
            linear-gradient(180deg, #fffdf7 0%, #fff9ea 48%, #fff4d9 100%);
        border: 0;
        border-radius: 0;
        box-shadow: 18px 0 42px rgba(20, 11, 5, .34);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .22s ease, visibility .22s ease;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .main-nav.is-open {
        display: flex;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav::before {
        display: none;
    }

    .mobile-drawer-search {
        display: grid;
        grid-template-columns: 1fr 48px;
        align-items: center;
        min-height: 68px;
        margin: 12px 12px 0;
        overflow: hidden;
        background: rgba(255, 253, 247, .96);
        border: 1px solid rgba(220, 166, 42, .34);
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(109, 63, 30, .08);
    }

    .mobile-drawer-search input {
        min-width: 0;
        height: 100%;
        padding: 0 16px;
        color: var(--ink);
        background: transparent;
        border: 0;
        font-size: .96rem;
        font-weight: 800;
    }

    .mobile-drawer-search button {
        display: grid;
        width: 48px;
        height: 48px;
        place-items: center;
        color: var(--brown);
        background: rgba(255, 242, 212, .78);
        border: 0;
        border-left: 1px solid rgba(220, 166, 42, .24);
    }

    .mobile-drawer-search svg {
        width: 23px;
        height: 23px;
        fill: currentColor;
    }

    .mobile-drawer-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 50px;
        margin: 12px 12px 8px;
        padding: 4px;
        background: rgba(109, 63, 30, .08);
        border: 1px solid rgba(220, 166, 42, .22);
        border-radius: 14px;
    }

    .mobile-drawer-tabs button {
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
        color: var(--muted);
        background: transparent;
        border: 0;
        border-radius: 10px;
        font-size: .86rem;
        font-weight: 900;
        line-height: 1;
        text-transform: uppercase;
        cursor: pointer;
    }

    .mobile-drawer-tabs button.is-active {
        color: var(--ink);
        background: #fffdf7;
        box-shadow: 0 8px 18px rgba(109, 63, 30, .10);
    }

    .mobile-drawer-categories {
        display: grid;
        gap: 8px;
        padding: 0 12px 14px;
    }

    .main-nav.is-menu .mobile-drawer-categories {
        display: none;
    }

    .main-nav:not(.is-menu) > a:not(.cart-link) {
        display: none;
    }

    .main-nav.is-menu > a:not(.cart-link) {
        display: flex;
    }

    .main-nav a {
        position: relative;
        display: flex;
        min-height: 52px;
        align-items: center;
        gap: 0;
        margin: 0 12px 8px;
        padding: 0 16px;
        color: var(--brown);
        background: rgba(255, 253, 247, .94);
        border: 1px solid rgba(220, 166, 42, .20);
        border-radius: 13px;
        font-size: .98rem;
        font-weight: 900;
        box-shadow: 0 10px 22px rgba(109, 63, 30, .07);
        opacity: 0;
        transform: translateX(-14px);
        transition: transform .24s ease, opacity .24s ease, background .18s ease, border-color .18s ease;
    }

    .main-nav.is-open a {
        opacity: 1;
        transform: translateX(0);
    }

    .main-nav.is-open a:nth-of-type(1) {
        transition-delay: .04s;
    }

    .main-nav.is-open a:nth-of-type(2) {
        transition-delay: .08s;
    }

    .main-nav.is-open a:nth-of-type(3) {
        transition-delay: .12s;
    }

    .main-nav.is-open a:nth-of-type(4) {
        transition-delay: .16s;
    }

    .main-nav.is-open a:nth-of-type(5) {
        transition-delay: .20s;
    }

    .main-nav a::before {
        display: none;
    }

    .main-nav a::after {
        content: "";
        display: block;
        width: 7px;
        height: 7px;
        margin-left: auto;
        border-right: 2px solid rgba(109, 63, 30, .34);
        border-bottom: 2px solid rgba(109, 63, 30, .34);
        transform: rotate(-45deg);
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        color: var(--green-deep);
        background: #fff8e8;
        border-color: rgba(247, 200, 67, .70);
        transform: translateX(0);
    }

    .hero {
        padding-top: 28px;
        padding-bottom: 78px;
        background-position: center, center;
    }

    .hero .eyebrow {
        max-width: 18rem;
        font-size: .78rem;
        line-height: 1.35;
    }

    .hero-shape {
        display: none;
    }

    .hero,
    .section,
    .page-hero,
    .auth-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.15rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-proof,
    .checkout-steps,
    .payment-method-strip,
    .summary-trust,
    .product-highlights {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-pack-1 {
        left: 30%;
    }

    .hero-pack-2 {
        left: 0;
    }

    .hero-pack-3 {
        right: -12px;
    }

    .product-card-body,
    .product-info,
    .summary-box,
    .contact-panel,
    .auth-card,
    .admin-panel,
    .checkout-card {
        padding: 16px;
    }

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

    .cart-quantity input {
        width: 100%;
    }
}
