/* Veljji Incense — revised design system */
:root {
    --bg: #f4efe4;
    --ink: #241f18;
    --ink-soft: #4a4437;
    --muted: #6b6255;
    --faint: #9a8f7c;
    --line: #ece4d2;
    --line-strong: #ddd3bf;
    --forest: #202b1f;
    --forest-deep: #1b2419;
    --forest-mid: #23361f;
    --maroon: #7a1f2b;
    --ember: #c65a3f;
    --gold: #c9a882;
    --white: #ffffff;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', system-ui, sans-serif;
    --wrap: 1280px;
    --shop-wrap: 1360px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
::selection { background: var(--maroon); color: var(--bg); }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.55;
}

main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 40px;
}
.wrap-shop { max-width: var(--shop-wrap); }

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 3px;
    padding: 15px 30px;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
    background: var(--bg);
    color: var(--forest-deep);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.btn-maroon {
    background: var(--maroon);
    color: var(--bg);
}
.btn-maroon:hover { box-shadow: 0 10px 22px rgba(122,31,43,0.35); }
.btn-forest {
    background: var(--forest);
    color: var(--bg);
}
.btn-outline {
    background: transparent;
    color: var(--bg);
    border: 1px solid rgba(244,239,228,0.4);
}
.btn-outline:hover { background: rgba(244,239,228,0.1); }
.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ----- Eyebrow ----- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--maroon);
    flex-shrink: 0;
}
.eyebrow-dot.accent { background: var(--ember); }
.eyebrow span {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--maroon);
    text-transform: uppercase;
    font-weight: 600;
}
.eyebrow.light span { color: var(--gold); }

.display {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin: 0;
}
.lead { font-size: 15px; color: var(--muted); margin: 0; }

/* ----- Header ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--forest);
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(244,239,228,0.08);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; object-fit: contain; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}
.site-nav a {
    font-size: 14.5px;
    color: rgba(244,239,228,0.72);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    letter-spacing: 0.01em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--bg);
    border-bottom-color: rgba(244,239,228,0.55);
    text-decoration: none;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
.header-search {
    display: none;
    background: rgba(244,239,228,0.1);
    border: 1px solid rgba(244,239,228,0.25);
    border-radius: 4px;
    color: var(--bg);
    padding: 8px 12px;
    font-size: 13.5px;
    width: 220px;
    outline: none;
}
.header-search.open { display: block; }
.header-search::placeholder { color: rgba(244,239,228,0.45); }
.icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.9;
    color: var(--bg);
    position: relative;
}
.search-icon {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--bg);
    border-radius: 50%;
    position: relative;
    display: block;
}
.search-icon::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 8px;
    height: 1.5px;
    background: var(--bg);
    transform: rotate(45deg);
}
.cart-icon {
    width: 19px;
    height: 15px;
    border: 1.5px solid var(--bg);
    border-radius: 0 0 3px 3px;
    position: relative;
    margin-top: 4px;
    display: block;
}
.cart-icon::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 3px;
    width: 11px;
    height: 8px;
    border: 1.5px solid var(--bg);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -9px;
    background: var(--maroon);
    color: var(--bg);
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 28px;
    height: 20px;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    height: 1.5px;
    width: 100%;
    background: var(--bg);
    border-radius: 1px;
}

/* ----- Hero ----- */
.hero {
    background: linear-gradient(160deg, #232f22 0%, #1b2419 100%);
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: center;
}
.hero-glow {
    position: absolute;
    left: 8%;
    top: 18%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198,90,63,0.22) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    animation: pulse-glow 5s ease-in-out infinite;
}
.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 54%;
    z-index: 1;
    overflow: hidden;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media-fade {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 220px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, #1b2419 0%, rgba(27,36,25,0.85) 25%, rgba(27,36,25,0) 100%);
}
.hero-media-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(200deg, rgba(27,36,25,0.15) 0%, rgba(27,36,25,0) 30%);
}
.hero-content {
    max-width: var(--wrap);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 60px 40px;
}
.hero-copy { max-width: 480px; }
.hero-copy h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 58px;
    line-height: 1.08;
    color: var(--bg);
    margin: 0 0 22px;
}
.hero-copy p {
    font-size: 16.5px;
    line-height: 1.6;
    color: rgba(244,239,228,0.72);
    max-width: 460px;
    margin: 0 0 28px;
}
.hero-notes {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}
.hero-notes span {
    font-size: 13px;
    color: rgba(244,239,228,0.65);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Smoke animations */
.smoke-plume {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}
.smoke-plume span {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(to top, rgba(244,239,228,0.55) 0%, rgba(244,239,228,0.28) 35%, rgba(244,239,228,0) 85%);
    filter: blur(9px);
}
.smoke-left { left: -30px; bottom: 30px; width: 34px; height: 240px; }
.smoke-left span:nth-child(1) { left: 0; width: 34px; height: 220px; animation: smoke-in-left 9s ease-out infinite; }
.smoke-left span:nth-child(2) { left: 0; width: 28px; height: 200px; filter: blur(8px); opacity: 0.85; animation: smoke-in-left 10.5s ease-out infinite; animation-delay: 3.2s; }
.smoke-right { right: -30px; bottom: 30px; width: 34px; height: 240px; }
.smoke-right span:nth-child(1) { right: 0; width: 34px; height: 220px; animation: smoke-in-right 9.5s ease-out infinite; animation-delay: 1.5s; }
.smoke-right span:nth-child(2) { right: 0; width: 28px; height: 200px; filter: blur(8px); animation: smoke-in-right 11s ease-out infinite; animation-delay: 4.6s; }
.smoke-hero {
    left: 50%;
    top: 36%;
    width: 34px;
    height: 300px;
    z-index: 3;
}
.smoke-hero span {
    filter: blur(6px);
    background: linear-gradient(to top, rgba(244,238,224,0.8) 0%, rgba(244,238,224,0.4) 35%, rgba(244,238,224,0) 85%);
}
.smoke-hero span:nth-child(1) { left: 0; width: 28px; height: 260px; animation: rise-smoke-1 6.4s ease-out infinite; }
.smoke-hero span:nth-child(2) { left: 5px; width: 24px; height: 240px; animation: rise-smoke-2 7.8s ease-out infinite; animation-delay: 2.3s; }
.smoke-hero span:nth-child(3) { left: 2px; width: 22px; height: 250px; animation: rise-smoke-3 7s ease-out infinite; animation-delay: 4.4s; }

@keyframes pulse-glow { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes rise-smoke-1 { 0% { transform: translate(0,0) rotate(0deg) scaleX(1); opacity: 0; } 8% { opacity: 0.55; } 45% { transform: translate(22px,-140px) rotate(8deg) scaleX(1.6); opacity: 0.4; } 100% { transform: translate(-14px,-320px) rotate(-6deg) scaleX(2.4); opacity: 0; } }
@keyframes rise-smoke-2 { 0% { transform: translate(0,0) rotate(0deg) scaleX(1); opacity: 0; } 8% { opacity: 0.5; } 50% { transform: translate(-26px,-160px) rotate(-10deg) scaleX(1.7); opacity: 0.36; } 100% { transform: translate(16px,-340px) rotate(7deg) scaleX(2.5); opacity: 0; } }
@keyframes rise-smoke-3 { 0% { transform: translate(0,0) rotate(0deg) scaleX(1); opacity: 0; } 8% { opacity: 0.45; } 48% { transform: translate(14px,-150px) rotate(6deg) scaleX(1.5); opacity: 0.32; } 100% { transform: translate(-20px,-330px) rotate(-8deg) scaleX(2.3); opacity: 0; } }
@keyframes smoke-in-left { 0% { transform: translate(0,20px) rotate(0deg) scaleX(1); opacity: 0; } 12% { opacity: 0.5; } 55% { transform: translate(160px,-80px) rotate(20deg) scaleX(1.8); opacity: 0.35; } 100% { transform: translate(340px,-200px) rotate(34deg) scaleX(2.6); opacity: 0; } }
@keyframes smoke-in-right { 0% { transform: translate(0,20px) rotate(0deg) scaleX(1); opacity: 0; } 12% { opacity: 0.5; } 55% { transform: translate(-160px,-80px) rotate(-20deg) scaleX(1.8); opacity: 0.35; } 100% { transform: translate(-340px,-200px) rotate(-34deg) scaleX(2.6); opacity: 0; } }

/* ----- Trust strip ----- */
.trust-strip {
    background: var(--forest-deep);
    padding: 26px 40px;
    text-align: center;
    border-top: 1px solid rgba(244,239,228,0.08);
}
.trust-strip .quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    color: rgba(244,239,228,0.75);
    margin: 0 0 20px;
    letter-spacing: 0.01em;
}
.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: rgba(244,239,228,0.7);
    letter-spacing: 0.02em;
}
.trust-item .t-icon { font-size: 18px; line-height: 1; }

/* ----- Sections ----- */
.section { padding: 80px 0 40px; }
.section-tight { padding: 40px 0 90px; }
.section-head { margin-bottom: 36px; }
.section-head h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 38px;
    margin: 0 0 8px;
    color: var(--ink);
}
.section-head p { font-size: 15px; color: var(--muted); margin: 0; }
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ----- Collections (Find your fragrance) ----- */
.collections-section {
    background: var(--bg);
    padding: 80px 0 90px;
    position: relative;
}
.collections-head h2 {
    color: var(--ink);
}
.collections-head p {
    color: var(--muted);
}
.collections-head .eyebrow.light span {
    color: var(--maroon);
}
.collections-head .eyebrow-dot.accent {
    background: var(--maroon);
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.collection-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    min-height: 280px;
    text-decoration: none;
    color: #f4efe4;
    isolation: isolate;
}
.collection-card:nth-child(5) {
    grid-column: 1 / 2;
}
.collection-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.collection-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 16, 12, 0.88) 0%,
        rgba(20, 16, 12, 0.35) 45%,
        rgba(20, 16, 12, 0.08) 100%
    );
    z-index: 1;
}
.collection-card-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 22px 24px;
}
.collection-card .label {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 6px;
    color: #f4efe4;
}
.collection-card .sub {
    font-size: 13.5px;
    color: rgba(244,239,228,0.72);
    letter-spacing: 0.01em;
}
.collection-card:hover {
    text-decoration: none;
    transform: none;
}
.collection-card:hover img {
    transform: scale(1.06);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.cat-tile {
    border-radius: 8px;
    padding: 30px 26px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: var(--bg);
}
.cat-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgba(0,0,0,0.18);
    text-decoration: none;
}
.cat-tile .label {
    font-family: var(--serif);
    font-size: 23px;
    margin-bottom: 6px;
}
.cat-tile .sub {
    font-size: 12.5px;
    color: rgba(244,239,228,0.65);
}

/* ----- Product grid / cards ----- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}
.product-tile {
    display: block;
    transition: transform 0.25s ease;
    color: inherit;
}
.product-tile:hover {
    transform: translateY(-6px);
    text-decoration: none;
}
.product-media {
    position: relative;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 4px;
    height: 260px;
}
.product-media .tile-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}
.product-tile:hover .tile-visual { transform: scale(1.06); }
.tile-visual .initials {
    font-family: var(--serif);
    font-size: 42px;
    color: rgba(244,239,228,0.85);
    letter-spacing: 0.04em;
}
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--maroon);
    color: var(--bg);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
}
.badge.oos { background: #5a5348; }
.product-brand {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--faint);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.product-name {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.25;
    font-weight: 500;
}
.product-cat {
    font-size: 12.5px;
    color: var(--faint);
    margin-bottom: 6px;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.price { font-size: 15px; font-weight: 700; color: var(--ink); }
.mrp { font-size: 12.5px; color: #b5aa96; text-decoration: line-through; }
.price-request { font-size: 13px; color: var(--muted); }

.tone-0 { background: linear-gradient(160deg, #4b5c42 0%, #333f2c 100%); }
.tone-1 { background: linear-gradient(160deg, #3c4d37 0%, #2a3626 100%); }
.tone-2 { background: linear-gradient(160deg, #566a4c 0%, #3a4733 100%); }
.tone-3 { background: linear-gradient(160deg, #2c3a29 0%, #1e281b 100%); }
.tone-4 { background: linear-gradient(160deg, #6b5a3e 0%, #4a3d29 100%); }

/* ----- How it works ----- */
.how-section {
    background: var(--forest-deep);
    padding: 70px 40px;
    text-align: center;
}
.how-section h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 32px;
    color: var(--bg);
    margin: 0 0 40px;
}
.how-steps {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.how-step {
    background: rgba(244,239,228,0.05);
    border: 1px solid rgba(244,239,228,0.12);
    border-radius: 6px;
    padding: 24px 34px;
    min-width: 200px;
}
.how-step .t {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--bg);
    margin-bottom: 6px;
}
.how-step .d {
    font-size: 12.5px;
    color: rgba(244,239,228,0.55);
}
.how-note {
    font-size: 13px;
    color: rgba(244,239,228,0.45);
    margin: 0;
}

/* ----- Shop ----- */
.shop-page { padding: 50px 40px 100px; }
.shop-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.shop-top h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 44px;
    margin: 0 0 6px;
}
.shop-search {
    display: flex;
    gap: 10px;
}
.shop-search input,
.field input,
.field textarea,
.field select,
.filter-panel select,
.filter-panel input[type="text"],
.filter-panel input[type="number"],
.sort-select,
.qty-stepper input {
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    padding: 13px 16px;
    font-size: 13.5px;
    background: var(--white);
    color: var(--ink);
    outline: none;
}
.shop-search input { width: 260px; }
.shop-search button {
    background: var(--forest);
    color: var(--bg);
    border: none;
    padding: 13px 26px;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
}
.chip-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}
.chip {
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 13px;
    background: var(--white);
    color: var(--ink-soft);
    border: 1px solid var(--line-strong);
    cursor: pointer;
    text-decoration: none;
}
.chip:hover { text-decoration: none; border-color: var(--ink); }
.chip.active {
    background: var(--forest);
    color: var(--bg);
    border-color: var(--forest);
}
.chip span { opacity: 0.6; }

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: flex-start;
}
.filter-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}
.filter-panel h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 20px;
}
.filter-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--faint);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.filter-panel select,
.filter-panel input[type="text"],
.filter-panel input[type="number"] {
    width: 100%;
    padding: 11px 10px;
    margin-bottom: 22px;
}
.price-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.price-inputs input { width: 50%; margin-bottom: 0 !important; }
.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 22px;
    cursor: pointer;
}
.filter-panel .btn { width: 100%; margin-bottom: 10px; padding: 13px; }
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 16px;
    flex-wrap: wrap;
}
.result-count { font-size: 14px; color: var(--muted); margin: 0; }
.toolbar-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}
.sort-select { padding: 9px 12px; font-size: 13px; }
.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.filter-tag {
    background: var(--line);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12.5px;
}
.clear-all {
    font-size: 12.5px;
    color: var(--maroon);
    text-decoration: underline;
}
.filter-toggle-btn { display: none; margin-bottom: 16px; }
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 44px;
}
.pagination a {
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    font-size: 13px;
    color: var(--ink);
}
.pagination a.active,
.pagination a:hover {
    background: var(--forest);
    color: var(--bg);
    border-color: var(--forest);
    text-decoration: none;
}

/* ----- Product detail ----- */
.product-page { padding: 50px 40px 100px; }
.crumbs {
    font-size: 13px;
    color: var(--faint);
    margin-bottom: 18px;
}
.crumbs a:hover { color: var(--ink); }
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.product-detail-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 520px;
}
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-thumbs {
    display: flex;
    gap: 10px;
}
.product-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--line);
    flex-shrink: 0;
}
.product-thumb.is-active {
    border-color: var(--forest, #202b1f);
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.photo-slot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.photo-slot-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
@media (max-width: 720px) {
    .photo-slots {
        grid-template-columns: 1fr;
    }
}
.product-detail-media .tile-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-detail-media .initials {
    font-family: var(--serif);
    font-size: 72px;
    color: rgba(244,239,228,0.85);
}
.product-detail h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 38px;
    margin: 0 0 8px;
}
.detail-meta {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 22px;
}
.detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}
.detail-price .price {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
}
.detail-price .mrp { font-size: 16px; }
.detail-facts {
    font-size: 14px;
    line-height: 2.1;
    color: var(--ink-soft);
    margin-bottom: 24px;
}
.add-to-cart-form {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--white);
}
.qty-stepper button {
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    color: var(--ink);
}
.qty-stepper input {
    width: 40px;
    border: none;
    padding: 0;
    text-align: center;
    font-size: 15px;
    -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.detail-note {
    font-size: 12.5px;
    color: var(--faint);
    line-height: 1.6;
    margin: 0;
}
.related-block { margin-top: 90px; }
.related-block h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 32px;
    margin: 0 0 30px;
}

.sticky-bag {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
    padding: 14px 40px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sticky-bag.visible { display: flex; }
.sticky-bag-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.sticky-thumb {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sticky-thumb .initials {
    font-family: var(--serif);
    font-size: 16px;
    color: rgba(244,239,228,0.9);
}
.sticky-bag-info .name {
    font-family: var(--serif);
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}
.sticky-bag-info .price { font-size: 14px; font-weight: 700; }

/* ----- About / Contact ----- */
.page-hero-pad { padding: 60px 40px 100px; }
.page-hero-pad h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 46px;
    margin: 0 0 40px;
}
.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.about-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 28px;
}
.about-body p {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--ink-soft);
    margin: 0 0 22px;
}
.about-visual,
.contact-visual {
    border-radius: 10px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-visual { height: 220px; border-radius: 8px; margin-top: 0; }
.about-visual .initials,
.contact-visual .initials {
    font-family: var(--serif);
    font-size: 48px;
    color: rgba(244,239,228,0.8);
}
.contact-block { margin-bottom: 28px; }
.contact-block .label {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--faint);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.contact-block .value { font-size: 15.5px; color: var(--ink); }
.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px;
}
.field { margin-bottom: 18px; }
.field label,
.field .label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--faint);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.field input,
.field textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}
.field textarea { resize: vertical; min-height: 100px; }

/* ----- Cart / Checkout / Success ----- */
.cart-page, .checkout-page { padding: 50px 40px 100px; }
.cart-page h1, .checkout-page h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 44px;
    margin: 0 0 8px;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    margin-top: 32px;
}
.cart-rows { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px 24px; }
.cart-row {
    display: grid;
    grid-template-columns: 66px 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: none; }
.cart-thumb {
    width: 66px;
    height: 66px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-thumb .initials {
    font-family: var(--serif);
    font-size: 18px;
    color: rgba(244,239,228,0.9);
}
.cart-row-brand {
    font-size: 11px;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.cart-row-name {
    font-family: var(--serif);
    font-size: 15.5px;
    margin-bottom: 6px;
}
.cart-row-name a:hover { text-decoration: underline; }
.cart-remove {
    background: none;
    border: none;
    color: #b5aa96;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
}
.cart-summary, .order-summary-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}
.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 15.5px;
}
.total-row span:last-child { font-weight: 700; }
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-top: 32px;
    align-items: start;
}
.checkout-form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 34px;
}
.checkout-form-card h2 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 6px;
}
.checkout-form-card .sub {
    font-size: 13px;
    color: var(--faint);
    margin: 0 0 24px;
}
.order-summary-box ul { list-style: none; padding: 0; margin: 0 0 16px; }
.order-summary-box li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.form-actions .btn { flex: 1; }
.form-actions .btn-forest { flex: 2; }

.success-box {
    max-width: 480px;
    margin: 60px auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 40px;
}
.success-check {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--forest-mid);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
}
.success-box h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 26px;
    margin: 0 0 10px;
}
.success-box p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 16px;
}
.order-number {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink) !important;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}
.alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin: 16px 0;
    font-size: 14px;
}
.alert-error { background: #f8e6e8; color: var(--maroon); }
.alert-success { background: #e7efe4; color: var(--forest-deep); }

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--forest);
    color: var(--bg);
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 13.5px;
    z-index: 90;
    animation: toast-in 0.25s ease;
    pointer-events: none;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Footer ----- */
.site-footer {
    background: var(--forest);
    padding: 60px 40px 24px;
}
.footer-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(244,239,228,0.1);
}
.footer-logo { height: 36px; width: auto; margin-bottom: 14px; }
.footer-brand p {
    font-size: 13px;
    color: rgba(244,239,228,0.55);
    line-height: 1.7;
    max-width: 300px;
    margin: 0;
}
.footer-col h3 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--bg);
    margin: 0 0 16px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a,
.footer-col span {
    font-size: 13.5px;
    color: rgba(244,239,228,0.6);
}
.footer-col a:hover { color: var(--bg); text-decoration: none; }
.footer-bottom {
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    font-size: 12.5px;
    color: rgba(244,239,228,0.4);
    flex-wrap: wrap;
    gap: 8px;
}

/* ===================== Admin ===================== */
.admin-body {
    background: #f0ebe0;
    color: var(--ink);
    min-height: 100vh;
}
.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--forest);
    color: var(--bg);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
}
.admin-brand img { height: 36px; width: auto; }
.admin-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.admin-brand-text strong {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--bg);
}
.admin-brand-text span {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244,239,228,0.45);
}
.admin-side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.admin-side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: rgba(244,239,228,0.65);
    text-decoration: none;
}
.admin-side-nav a:hover {
    background: rgba(244,239,228,0.08);
    color: var(--bg);
    text-decoration: none;
}
.admin-side-nav a.active {
    background: rgba(244,239,228,0.12);
    color: var(--bg);
    font-weight: 600;
}
.admin-side-footer {
    padding: 8px;
    border-top: 1px solid rgba(244,239,228,0.1);
    padding-top: 18px;
}
.admin-side-footer .user {
    font-size: 13px;
    color: rgba(244,239,228,0.55);
    margin-bottom: 10px;
}
.admin-side-footer a {
    font-size: 13px;
    color: rgba(244,239,228,0.7);
}
.admin-side-footer a:hover { color: var(--bg); }

.admin-main {
    padding: 36px 40px 60px;
    min-width: 0;
}
.admin-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.admin-topbar h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 34px;
    margin: 0 0 6px;
}
.admin-topbar .sub {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}
.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
}
.admin-card + .admin-card { margin-top: 20px; }
.admin-card h2,
.admin-card h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    margin: 0 0 16px;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 18px;
}
.stat-card .num {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card .lbl {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}
.stat-card a { text-decoration: none; color: inherit; display: block; }
.stat-card a:hover .num { color: var(--maroon); }

.admin-table-wrap { overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.admin-table th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 600;
    padding: 0 12px 12px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: #faf7f0; }
.admin-table .mono { font-variant-numeric: tabular-nums; }
.admin-table .actions {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.admin-table .actions .admin-link,
.admin-table .actions button.admin-link {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
}
.admin-table .actions .admin-link:hover {
    background: rgba(122, 31, 43, 0.08);
    text-decoration: none;
}
.admin-table .actions .admin-link.danger:hover {
    background: rgba(155, 44, 44, 0.1);
}
.admin-table .actions form {
    display: inline;
    margin: 0;
}
.admin-link {
    font-size: 13px;
    color: var(--maroon);
    font-weight: 600;
    text-decoration: none;
}
.admin-link:hover { text-decoration: underline; }
.admin-link.danger { color: #9b2c2c; }
.btn-sm {
    padding: 8px 14px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
}
.btn-ghost {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink-soft);
}
.btn-ghost:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.btn-danger {
    background: #9b2c2c;
    color: #fff;
}
.btn-danger:hover { box-shadow: 0 8px 18px rgba(155,44,44,0.3); }

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--line);
    color: var(--ink-soft);
    text-transform: capitalize;
}
.status-new { background: #e8f0e4; color: #2a4a28; }
.status-contacted { background: #e8eef8; color: #2a4570; }
.status-confirmed { background: #f5ecdc; color: #7a5320; }
.status-fulfilled { background: #e4efe8; color: #1f5a3a; }
.status-cancelled { background: #f6e4e4; color: #8a2a2a; }
.stock-yes { color: #1f5a3a; font-weight: 600; font-size: 12.5px; }
.stock-no { color: #8a2a2a; font-weight: 600; font-size: 12.5px; }

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    align-items: stretch;
}
.admin-filters input[type="search"],
.admin-filters select,
.admin-form input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.admin-form select,
.admin-form textarea {
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    padding: 11px 12px;
    font-size: 13.5px;
    background: var(--white);
    color: var(--ink);
    outline: none;
    height: 44px;
}
.admin-form select {
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6255' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.other-input {
    display: none;
    margin-top: 10px;
}
.other-input.is-open { display: block; }
.other-input input { width: 100%; }
.admin-filters input[type="search"] { min-width: 220px; flex: 1 1 200px; }
.admin-filters select { min-width: 140px; flex: 0 1 auto; }
.admin-filters .btn {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
}
.admin-filters .filter-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--white);
    font-size: 12.5px;
    color: var(--ink-soft);
    white-space: nowrap;
    cursor: pointer;
}
.admin-table th.col-actions,
.admin-table td.actions {
    text-align: left;
    white-space: nowrap;
    width: 1%;
}
.admin-table th.col-num,
.admin-table td.col-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.admin-table th.col-stock,
.admin-table td.col-stock {
    white-space: nowrap;
}

.admin-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #faf7f0;
    margin: 0;
}
.admin-toggle-control {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}
.admin-toggle-control input {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer;
    z-index: 2;
}
.admin-toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cfc6b6;
    transition: background 0.2s ease;
    pointer-events: none;
}
.admin-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    transition: transform 0.2s ease;
}
.admin-toggle-control input:checked + .admin-toggle-track {
    background: var(--forest);
}
.admin-toggle-control input:checked + .admin-toggle-track::after {
    transform: translateX(20px);
}
.admin-toggle-control input:focus-visible + .admin-toggle-track {
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}
.admin-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.admin-toggle-copy .toggle-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
}
.admin-toggle-copy .toggle-hint {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}
.admin-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--line);
    display: block;
}
.admin-thumb-fallback {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 14px;
    color: rgba(244,239,228,0.9);
}
.admin-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}
.admin-product-cell .meta strong { display: block; }
.admin-product-cell .meta .slug {
    font-size: 12px;
    color: var(--faint);
    margin-top: 2px;
}
.image-preview {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--line);
    display: block;
    flex-shrink: 0;
}
.image-preview-fallback {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 28px;
    color: rgba(244,239,228,0.9);
    flex-shrink: 0;
}
.photo-upload {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.photo-upload-controls {
    flex: 1;
    min-width: 200px;
}
.photo-remove {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--ink-soft);
    cursor: pointer;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}
.photo-remove input {
    width: 16px !important;
    height: 16px !important;
    margin: 0;
    accent-color: var(--maroon);
}
.product-media img.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-tile:hover .product-photo { transform: scale(1.06); }
.product-detail-media img.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.admin-chip {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    border: 1px solid var(--line-strong);
    background: var(--white);
    color: var(--ink-soft);
    text-decoration: none;
}
.admin-chip:hover { border-color: var(--ink); text-decoration: none; }
.admin-chip.active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--bg);
}

.admin-form .field { margin-bottom: 18px; }
.admin-form .field-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 8px;
    font-weight: 600;
}
.admin-form input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.admin-form select,
.admin-form textarea { width: 100%; }
.admin-form textarea { min-height: 90px; resize: vertical; }
.admin-form input[type="file"] {
    height: auto;
    padding: 10px;
    background: #faf7f0;
    border: 1px dashed var(--line-strong);
    border-radius: 6px;
    cursor: pointer;
}
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.admin-form-grid .full { grid-column: 1 / -1; }
.admin-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.form-hint {
    font-size: 12.5px;
    color: var(--faint);
    margin: 6px 0 0;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.admin-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.admin-meta-row:last-child { border-bottom: none; }
.admin-meta-row .k { color: var(--faint); }
.admin-meta-row .v { font-weight: 600; text-align: right; }

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(122,31,43,0.08), transparent 50%),
        #f0ebe0;
}
.login-box {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 36px 32px;
}
.login-box .login-brand {
    text-align: center;
    margin-bottom: 28px;
}
.login-box .login-brand img {
    height: 40px;
    margin: 0 auto 12px;
}
.login-box h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 26px;
    text-align: center;
    margin: 0 0 6px;
}
.login-box .login-sub {
    text-align: center;
    font-size: 13.5px;
    color: var(--muted);
    margin: 0 0 24px;
}

@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: relative;
        height: auto;
        padding: 16px 20px;
    }
    .admin-side-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .admin-side-nav a { padding: 8px 12px; font-size: 13px; }
    .admin-side-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .admin-side-footer .user { margin: 0; }
    .admin-main { padding: 24px 20px 48px; }
    .admin-form-grid,
    .admin-detail-grid { grid-template-columns: 1fr; }
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .site-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
    }
    .nav-toggle {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        width: 40px;
        height: 40px;
        padding: 10px 8px;
    }
    .brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }
    .brand-logo { height: 36px; }
    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        gap: 12px;
    }
    .header-search.open {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        width: auto;
        z-index: 45;
    }
    .site-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        position: static;
        background: transparent;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0 4px;
        gap: 4px;
        border-bottom: none;
        border-top: 1px solid rgba(244,239,228,0.1);
        margin-top: 4px;
    }
    .site-nav.open { display: flex; }
    .site-nav a {
        padding: 12px 4px;
        width: 100%;
        border-bottom: none;
    }
    .site-nav a[aria-current="page"]::after { display: none; }
    .site-nav a[aria-current="page"] {
        color: var(--bg);
        opacity: 1;
    }
    .hero { min-height: auto; }
    .hero-media { display: none; }
    .hero-copy h1 { font-size: 40px; }
    .hero-content { padding: 48px 24px 64px; }
    .wrap, .shop-page, .product-page, .page-hero-pad,
    .cart-page, .checkout-page, .site-footer { padding-left: 20px; padding-right: 20px; }
    .shop-page, .product-page, .page-hero-pad,
    .cart-page, .checkout-page { padding-top: 36px; }
    .shop-layout,
    .product-detail,
    .about-grid,
    .contact-grid,
    .cart-layout,
    .checkout-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .collection-card,
    .collection-card:nth-child(5) {
        grid-column: auto;
        min-height: 240px;
    }
    .filter-toggle-btn { display: inline-flex; }
    .filter-panel { display: none; }
    .filter-panel.open { display: block; margin-bottom: 24px; }
    .shop-search input { width: 100%; }
    .shop-search { width: 100%; }
    .shop-search input { flex: 1; }
    .product-detail-media { height: 360px; }
    .about-visual { height: 280px; }
    .section-head h2, .shop-top h1 { font-size: 34px; }
    .sticky-bag { padding: 12px 20px; }
    .sticky-bag-info .name { max-width: 160px; }
    .smoke-left, .smoke-right { display: none; }
}

@media (max-width: 560px) {
    .hero-copy h1 { font-size: 34px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
    .product-media { height: 200px; }
    .cart-row { grid-template-columns: 56px 1fr auto; }
    .cart-row .line-total { grid-column: 2; }
    .collections-grid { grid-template-columns: 1fr; gap: 14px; }
    .collection-card { min-height: 220px; }
    .collection-card .label { font-size: 22px; }
}
