/* NeeDoh Store — hand-written CSS, no framework */
:root {
    --pink: #ff5da2;
    --pink-dark: #e8408a;
    --purple: #2b2440;
    --cream: #fdf9f2;
    --cream-dark: #f5ecd9;
    --mint: #7ee8c7;
    --yellow: #ffd166;
    --muted: #9a90ad;
    --border: #eee3d3;
    --danger: #d63b3b;
    --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--cream); }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--cream);
    color: var(--purple);
    line-height: 1.5;
}
/* Sticky footer: on short pages (checkout, empty cart, 404, contact...) the
   footer must stay pinned to the bottom of the viewport instead of floating
   mid-page with blank space below it. Scoped away from .admin-body, which
   uses its own flex-row shell (.admin-shell) and has no <main>. */
body:not(.admin-body) { min-height: 100vh; display: flex; flex-direction: column; }
body:not(.admin-body) > main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 8px; letter-spacing: -0.02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
code { background: var(--cream-dark); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: transform .1s, background .15s;
}
.btn:hover { background: var(--pink-dark); transform: translateY(-1px); }
.btn.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn.secondary { background: #fff; color: var(--purple); border: 1.5px solid var(--border); }
.btn.secondary:hover { background: var(--cream-dark); }
.btn.danger { background: #fff; color: var(--danger); border: 1.5px solid var(--danger); }
.btn.danger:hover { background: #fdeaea; }
.btn-link { background: none; border: none; color: var(--pink-dark); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.btn-link.danger { color: var(--danger); }

/* ---- Announce bar / header ---- */
.announce-bar { background: var(--purple); color: #fff; text-align: center; font-size: 13px; padding: 8px; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; }
.logo-img { height: 42px; width: auto; display: block; }
.footer-logo-img { height: 34px; width: auto; margin-bottom: 10px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }
#siteNav { display: flex; gap: 22px; flex: 1; }
#siteNav a { font-weight: 600; font-size: 14px; }
#siteNav a:hover { color: var(--pink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; background: var(--cream-dark); border-radius: 999px; padding: 4px 4px 4px 12px; flex-shrink: 1; min-width: 0; }
.header-search input { border: none; background: transparent; font: inherit; font-size: 13px; width: 120px; min-width: 0; outline: none; }
.header-search button { border: none; background: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--purple); flex-shrink: 0; }
.search-box { display: flex; gap: 8px; max-width: 420px; margin: 14px 0; }
.search-box input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--border); font: inherit; }
.nav-search-link { display: none; }
.cart-link { position: relative; padding: 6px; }
.header-account-link { padding: 6px; display: flex; }
.cart-badge { position: absolute; top: -4px; right: -4px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 17px; height: 17px; display: flex; align-items: center; justify-content: center; }

/* ---- Hero ---- */
.hero { background: linear-gradient(135deg, #fff0f6, var(--cream)); padding: 60px 0; }
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-copy { flex: 1; }
.eyebrow { display: inline-block; background: var(--mint); color: #0a5c44; font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.hero-copy h1 { font-size: 46px; margin-bottom: 14px; }
.hero-copy p { font-size: 17px; color: #564d6e; max-width: 480px; margin-bottom: 24px; }
.hero-art { font-size: 100px; line-height: 1; opacity: .85; }

/* ---- Sections ---- */
.section { padding: 56px 0; }
.section-tint { background: var(--cream-dark); }
.section-dark { background: var(--purple); color: #fff; padding: 56px 0; }
.section-dark .muted { color: #c9c1de; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 8px; }
.link-more { font-weight: 700; color: var(--pink-dark); }

/* ---- Product grid / cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform .15s, box-shadow .15s; display: block; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43,36,64,.08); }
.product-thumb { position: relative; aspect-ratio: 1/1; background: var(--cream-dark); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 14px 16px 18px; }
.product-name { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.product-price { display: flex; gap: 8px; align-items: baseline; }
.price-now { font-weight: 800; font-size: 16px; }
.price-was { text-decoration: line-through; color: var(--muted); font-size: 13px; }
.add-to-cart-quick { margin-top: 10px; display: inline-block; }

.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; z-index: 2; }
.badge.sale { background: var(--pink); color: #fff; }
.badge.soldout { background: var(--purple); color: #fff; left: auto; right: 10px; top: 10px; }
.badge.limited { position: static; display: inline-block; background: var(--yellow); color: #6b4e00; margin-bottom: 8px; }
.pd-soldout { margin-bottom: 16px; }

/* ---- Limited drops ---- */
.drops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.drop-card { background: rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.drop-card img { aspect-ratio: 16/9; object-fit: cover; }
.drop-info { padding: 18px; }
.drop-info h3 { color: #fff; }

/* ---- Trust / benefits ---- */
.benefits-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.benefit-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.benefit h3 { font-size: 16px; }
.benefit p { font-size: 13px; margin: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--purple); color: #d9d2ea; padding: 0 0 20px; margin-top: 40px; }
.newsletter-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 32px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.newsletter-band h3 { color: #fff; margin-bottom: 4px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input { padding: 11px 14px; border-radius: 999px; border: none; width: 220px; max-width: 100%; font: inherit; }
.payment-icons { font-size: 12px; color: #d9d2ea; }
.site-footer .footer-grid { padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.footer-grid a { display: block; padding: 4px 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-logo { color: #fff; font-size: 18px; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* ---- Static / collection / product pages ---- */
.static-page { padding: 44px 20px 70px; max-width: 760px; }
.static-content { margin-top: 16px; }
.static-content p { margin: 0 0 14px; }
.collection-head { margin-bottom: 18px; }
.collection-toolbar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.collection-toolbar select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.pagination a { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); }
.pagination a.active { background: var(--pink); color: #fff; border-color: var(--pink); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pd-main-image { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream-dark); aspect-ratio: 1/1; cursor: zoom-in; }
.pd-main-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-zoom-hint { position: absolute; bottom: 10px; right: 10px; background: rgba(43,36,64,.72); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .15s; }
.pd-main-image:hover .pd-zoom-hint { opacity: 1; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pd-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.pd-thumb:hover { border-color: var(--pink); }

.pd-lightbox { position: fixed; inset: 0; background: rgba(20,16,30,.92); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .18s; padding: 30px; }
.pd-lightbox.open { opacity: 1; pointer-events: auto; }
.pd-lightbox img { max-width: min(90vw, 900px); max-height: 85vh; object-fit: contain; border-radius: 12px; cursor: default; }
.pd-lightbox-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.12); color: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.pd-lightbox-close:hover { background: rgba(255,255,255,.22); }
.pd-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.pd-lightbox-nav:hover { background: rgba(255,255,255,.22); }
.pd-lightbox-prev { left: 16px; }
.pd-lightbox-next { right: 16px; }
.pd-lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(255,255,255,.12); padding: 5px 14px; border-radius: 999px; }
.pd-vendor { display: block; color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.pd-info h1 { font-size: 32px; margin: 0 0 6px; line-height: 1.15; }
.pd-breadcrumb { display: inline-block; color: var(--pink-dark); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.pd-price { font-size: 28px; margin: 0 0 22px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pd-price .price-now { font-weight: 800; }
.pd-save-badge { background: var(--mint); color: #0a5c44; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; align-self: center; }
.pd-add-form { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.pd-buy-buttons { display: flex; gap: 12px; flex: 1; min-width: 260px; }
.pd-buy-buttons .btn { flex: 1 1 0; white-space: nowrap; padding-left: 18px; padding-right: 18px; }
.pd-buy-buttons .btn.secondary { background: var(--purple); color: #fff; border-color: var(--purple); }
.pd-buy-buttons .btn.secondary:hover { background: #382f52; }
@media (max-width: 420px) {
    .pd-buy-buttons { flex-direction: column; min-width: 0; }
}
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-stepper button { border: none; background: var(--cream-dark); width: 36px; height: 44px; font-size: 18px; cursor: pointer; }
.qty-stepper input { width: 44px; border: none; text-align: center; font-size: 15px; -moz-appearance: textfield; }
.pd-stock { margin: 0 0 20px; }
.pd-stock.low-stock { color: var(--danger); font-weight: 700; }

/* ---- Bundle & Save tiles ---- */
.bundle-box { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; background: #fff; }
.bundle-box-head { font-weight: 800; font-size: 12px; letter-spacing: .06em; color: var(--pink-dark); margin-bottom: 12px; }
.bundle-tiles { display: flex; flex-direction: column; gap: 10px; }
.bundle-tile { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 2px 12px; border: 2px solid var(--border); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.bundle-tile:hover { border-color: var(--pink); }
.bundle-tile.selected { border-color: var(--pink); background: #fff5fa; }
.bundle-tile.disabled { opacity: .45; cursor: not-allowed; }
.bundle-tile input[type="radio"] { position: absolute; top: 12px; left: 14px; opacity: 0; pointer-events: none; }
.bundle-tile-qty { font-weight: 800; font-size: 15px; }
.bundle-tile-badge { grid-column: 1 / -1; justify-self: start; background: var(--yellow); color: #6b4e00; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; margin-bottom: 2px; }
.bundle-tile-price { font-weight: 800; text-align: right; }
.bundle-tile-compare { font-weight: 400; color: var(--muted); margin-left: 6px; }
.bundle-tile-unit { grid-column: 1 / span 1; color: var(--muted); font-size: 12px; }
.bundle-line-badge { display: inline-block; background: var(--mint); color: #0a5c44; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; width: fit-content; }
.cart-qty-fixed { font-size: 13px; color: var(--muted); text-align: center; }
.pd-description { margin: 18px 0; }
.pd-trust { list-style: none; padding: 0; margin: 18px 0 0; color: #564d6e; font-size: 14px; }
.pd-trust li { padding: 3px 0; }

/* ---- Cart / checkout ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 60px 1fr 90px 80px 30px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; }
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.cart-line-info { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 14px; }
.cart-qty-form input { width: 60px; padding: 6px; border-radius: 8px; border: 1px solid var(--border); }
.cart-line-total { font-weight: 700; text-align: right; }
.cart-remove { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.checkout-note { font-size: 12px; margin-top: 12px; }

.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.checkout-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.checkout-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #564d6e; }
.checkout-form [hidden] { display: none !important; }
.checkout-form input, .checkout-form select { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--border); font: inherit; font-weight: 400; color: var(--purple); }
.checkout-form .form-row { display: grid; grid-template-columns: 1fr 100px 120px; gap: 12px; }
.summary-line { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: #564d6e; }
.zip-hint { font-size: 12px; margin: -6px 0 0; }

.auth-page { display: flex; justify-content: center; padding: 56px 20px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; width: 100%; max-width: 400px; box-shadow: 0 10px 30px rgba(43,36,64,.06); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-subtitle { margin: 0 0 22px; font-size: 14px; }
.auth-link { margin-top: 16px; font-size: 14px; }
.auth-link:first-of-type { margin-top: 22px; }

.track-form, .contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.track-form label, .contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.track-form input, .contact-form input, .contact-form textarea { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--border); font: inherit; }

/* ---- Canlı Ziyaretçiler (admin) ---- */
.nowrap { white-space: nowrap; }
.small { font-size: 12px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 0 rgba(31,157,85,.5); animation: live-pulse 1.6s infinite; }
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(31,157,85,.5); }
    70% { box-shadow: 0 0 0 8px rgba(31,157,85,0); }
    100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); }
}
.live-modal-backdrop { position: fixed; inset: 0; background: rgba(20,16,30,.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.live-modal-backdrop.hidden { display: none; }
.live-modal { background: #fff; border-radius: var(--radius); width: 100%; max-width: 520px; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.live-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; }
.live-modal-head h3 { margin: 0; font-size: 16px; }
.live-modal-close { background: transparent; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.live-modal-close:hover { color: var(--purple); }
.live-modal-body { padding: 18px 20px; }
.live-detail-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.live-detail-row:last-of-type { border-bottom: 0; }
.live-detail-row span { color: var(--muted); flex-shrink: 0; }
.live-detail-row strong { text-align: right; }
.live-page-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.live-page-table th, .live-page-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.live-page-table th { color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .02em; }
.live-page-table tr:last-child td { border-bottom: 0; }
.page-cell { max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.account-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.panel-like { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.account-orders-table { width: 100%; }
.account-orders-table th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; padding-bottom: 8px; }
.header-account-link { font-weight: 700; font-size: 14px; }

.order-summary-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.order-summary-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.order-items-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.order-items-table td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.order-items-table .total-row td { font-weight: 800; border-bottom: none; padding-top: 12px; }

.status-timeline { display: flex; gap: 6px; margin: 18px 0; }
.tl-step { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.tl-dot { display: block; width: 100%; height: 6px; border-radius: 3px; background: var(--border); margin-bottom: 6px; }
.tl-step.done .tl-dot { background: var(--pink); }
.tl-step.done { color: var(--purple); font-weight: 700; }

.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pending_payment { background: #fdecc8; color: #8a5a00; }
.status-paid { background: #d9f7e6; color: #12703b; }
.status-processing { background: #dce8ff; color: #1f4fa8; }
.status-shipped { background: #e2dcff; color: #4b2fb0; }
.status-delivered { background: #d9f7e6; color: #12703b; }
.status-cancelled { background: #f1e3e3; color: #7a3b3b; }
.status-refunded { background: #f1e3e3; color: #7a3b3b; }

/* ---- Flash ---- */
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-size: 14px; }
.flash.success { background: #d9f7e6; color: #12703b; }
.flash.error { background: #fde2e2; color: #b42318; }

/* ---- Admin ---- */
.admin-body { background: var(--cream-dark); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 230px; background: var(--purple); color: #fff; display: flex; flex-direction: column; padding: 20px 0; flex-shrink: 0; }
.admin-sidebar .brand { padding: 0 20px 20px; font-weight: 800; font-size: 17px; }
.brand-tag { background: var(--pink); font-size: 10px; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.nav-group { margin-bottom: 18px; }
.nav-group-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #a89bc9; padding: 0 20px; margin-bottom: 6px; }
.admin-sidebar a { display: flex; align-items: center; gap: 10px; padding: 9px 20px; color: #d9d2ea; font-size: 14px; font-weight: 600; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.08); color: #fff; }
.nav-badge { margin-left: auto; background: var(--pink); font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.nav-logout { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px !important; }
.admin-main { flex: 1; padding: 30px 36px; max-width: 1200px; }
.page-title { font-size: 24px; margin-bottom: 20px; }
.page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { background: #fff; border-radius: 14px; padding: 18px; border: 1px solid var(--border); }
.stat-card.warn { border-color: var(--yellow); background: #fffaf0; }
.stat-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.stat-value { font-size: 24px; font-weight: 800; }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel { background: #fff; border-radius: 16px; border: 1px solid var(--border); padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 16px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
.admin-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tr:hover td { background: var(--cream-dark); }

.admin-search { display: flex; gap: 10px; margin-bottom: 18px; }
.admin-search input, .admin-search select { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); font: inherit; }
.admin-search input { flex: 1; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #564d6e; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid input, .form-grid select, .form-grid textarea {
    padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--border); font: inherit; font-weight: 400; color: var(--purple); background: #fff;
}
.checkbox-label { flex-direction: row !important; align-items: center; gap: 8px !important; }
.checkbox-label input { width: auto; }

.image-manager { display: flex; gap: 12px; flex-wrap: wrap; }
.image-manager-item { text-align: center; }
.image-manager-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }

.page-list-link { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; margin-bottom: 4px; }
.page-list-link.active, .page-list-link:hover { background: var(--cream-dark); }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-box { background: #fff; border-radius: 20px; padding: 36px; width: 340px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.login-box label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.login-box input { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--border); font: inherit; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .header-search { display: none; }
    .nav-search-link { display: block; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .drops-grid { grid-template-columns: 1fr; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-copy p { margin-left: auto; margin-right: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-form .form-row { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .admin-two-col { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: span 1; }
    #siteNav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px; border-bottom: 1px solid var(--border); }
    #siteNav.open { display: flex; }
    .nav-toggle { display: block; }
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; flex-direction: row; overflow-x: auto; padding: 10px; }
    .admin-sidebar .nav-group { display: flex; align-items: center; margin-bottom: 0; }
    .admin-sidebar .nav-group-label { display: none; }
    .admin-main { padding: 20px; }
}
@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cart-line { grid-template-columns: 50px 1fr 60px; }
    .cart-qty-form, .cart-line-total { grid-column: span 1; }
    .header-search input { width: 70px; }
    .newsletter-band { flex-direction: column; align-items: flex-start; }
}
