:root {
  --bg: #faf7f2;
  --bg-alt: #f3ede3;
  --surface: #ffffff;
  --text: #1c1a17;
  --muted: #8a8378;
  --accent: #9a7b4f;
  --accent-dark: #6f5736;
  --line: #e7e0d4;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--text); color: #efe8dc; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.topbar-inner { display: flex; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 24px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-main { font-family: var(--serif); font-size: 26px; letter-spacing: .18em; font-weight: 600; }
.brand-sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 6px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--accent); }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width .3s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.cart-link { position: relative; font-size: 20px; color: var(--text); }
.cart-count { position: absolute; top: -8px; right: -12px; background: var(--accent); color: #fff; font-size: 11px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 86vh; min-height: 540px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(120deg, #2a211a 0%, #4a3a2a 45%, #9a7b4f 100%); }
.hero-bg::after { content: 'AMOUR DE CUIR'; position: absolute; right: -4%; bottom: -6%; font-family: var(--serif); font-size: 22vw; letter-spacing: .1em; color: rgba(255,255,255,0.05); white-space: nowrap; }
.hero-content { position: relative; color: #fff; max-width: 640px; padding: 60px 0; }
.hero-kicker { font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: #d8c9b0; margin-bottom: 22px; }
.hero-title { font-size: 72px; font-weight: 500; letter-spacing: .02em; }
.hero-sub { font-size: 18px; font-weight: 300; margin-top: 20px; max-width: 460px; color: #efe8dc; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 15px 38px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--text); background: transparent; cursor: pointer; transition: all .3s ease; font-family: var(--sans); }
.btn-solid { background: var(--text); color: #fff; }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--text); }
.btn-gold { border-color: var(--accent); color: var(--accent); }
.btn-gold:hover, .btn-gold.solid { background: var(--accent); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 54px; }
.section-kicker { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: 44px; font-weight: 500; }
.section-link { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.section-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-tile { position: relative; height: 520px; overflow: hidden; display: block; }
.cat-tile-bg { position: absolute; inset: 0; transition: transform 1.2s cubic-bezier(.2,.7,.3,1); }
.cat-tile:hover .cat-tile-bg { transform: scale(1.06); }
.cat-tile-info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; color: #fff; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55)); }
.cat-tile-info h3 { font-size: 30px; letter-spacing: .08em; }
.cat-tile-info span { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; opacity: .85; margin-top: 6px; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.product-card { display: block; }
.product-media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-alt); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.3,1); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-flag { position: absolute; top: 14px; left: 14px; background: var(--text); color: #fff; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; padding: 5px 10px; }
.product-info { text-align: center; padding-top: 18px; }
.product-cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.product-name { font-family: var(--serif); font-size: 20px; margin: 6px 0; }
.product-price { font-size: 15px; color: var(--accent-dark); letter-spacing: .04em; }
.add-cart { display: inline-block; margin-top: 12px; padding: 10px 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: all .3s ease; font-family: var(--sans); }
.add-cart:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Feature band ---------- */
.feature-band { display: flex; justify-content: center; gap: 70px; text-align: center; padding: 48px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-item .icon { font-size: 30px; }
.feature-item h4 { font-size: 18px; margin: 12px 0 4px; }
.feature-item p { font-size: 13px; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--bg-alt); padding: 70px 0 54px; text-align: center; }
.page-hero h1 { font-size: 46px; }
.breadcrumb { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.pd-media { aspect-ratio: 4/5; background: var(--bg-alt); overflow: hidden; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.pd-title { font-size: 46px; margin: 14px 0; }
.pd-price { font-size: 24px; color: var(--accent-dark); margin-bottom: 26px; }
.pd-desc { color: var(--muted); margin-bottom: 30px; }
.pd-features { list-style: none; margin-bottom: 34px; }
.pd-features li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.pd-qty input { width: 70px; padding: 12px; text-align: center; border: 1px solid var(--line); font-family: var(--sans); font-size: 15px; background: var(--surface); }
.pd-meta { margin-top: 26px; font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* ---------- Cart / forms ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 100px; height: 125px; overflow: hidden; background: var(--bg-alt); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row h4 { font-size: 19px; }
.cart-row .price { color: var(--accent-dark); }
.qty-form { display: flex; align-items: center; gap: 8px; }
.qty-form input { width: 52px; padding: 8px; text-align: center; border: 1px solid var(--line); }
.qty-form button { width: 32px; height: 32px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.remove-link { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.remove-link:hover { color: #b0493a; }

.summary-box { background: var(--surface); border: 1px solid var(--line); padding: 30px; position: sticky; top: 110px; }
.summary-box h3 { font-size: 26px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 16px; font-size: 18px; font-family: var(--serif); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field textarea, .form-field select { padding: 14px; border: 1px solid var(--line); font-family: var(--sans); font-size: 15px; background: var(--surface); color: var(--text); width: 100%; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }

/* ---------- Alerts ---------- */
.alert { padding: 16px 20px; margin-bottom: 24px; border: 1px solid; font-size: 14px; }
.alert-success { background: #eef5ec; border-color: #cfe3cd; color: #2e5b2b; }
.alert-error { background: #fbeeec; border-color: #ecc8c3; color: #8c352a; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state h3 { font-size: 28px; color: var(--text); margin-bottom: 12px; }

/* ---------- Admin ---------- */
.admin-body { background: #f4f1ea; }
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--text); color: #efe8dc; padding: 30px 20px; }
.admin-side .brand-main { font-size: 20px; color: #fff; }
.admin-nav { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { padding: 12px 16px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-radius: 4px; color: #cfc7b8; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { padding: 40px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-topbar h1 { font-size: 30px; }
.admin-card { background: #fff; border: 1px solid var(--line); padding: 28px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--line); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.admin-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:hover td { background: #faf8f3; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: #fff; border: 1px solid var(--line); padding: 24px; }
.stat-card .num { font-family: var(--serif); font-size: 40px; }
.stat-card .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.admin-thumb { width: 52px; height: 62px; object-fit: cover; background: var(--bg-alt); }
.badge { display: inline-block; padding: 4px 10px; font-size: 11px; letter-spacing: .08em; border-radius: 3px; text-transform: uppercase; }
.badge-beklemede { background: #fbf1dc; color: #8a6a1e; }
.badge-onaylandi { background: #e3efe2; color: #2e5b2b; }
.badge-kargoda { background: #e2ecf7; color: #24547a; }
.badge-teslim { background: #efe8f5; color: #5b3a8a; }
.badge-iptal { background: #f6e3e1; color: #8c352a; }

/* ---------- Login ---------- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, #2a211a, #4a3a2a); }
.login-card { background: #fff; padding: 48px; width: 100%; max-width: 400px; border-radius: 2px; }
.login-card .brand { text-align: center; margin-bottom: 30px; }
.login-card .brand-main { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: #cfc7b8; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; padding-top: 70px; padding-bottom: 60px; }
.footer-brand .brand-main { color: #fff; }
.footer-brand .brand-sub { color: #8a8378; }
.footer-about { font-size: 14px; color: #9d958a; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-family: var(--sans); font-weight: 500; }
.footer-col a { display: block; font-size: 14px; color: #b9b0a2; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.newsletter { display: flex; margin-top: 8px; }
.newsletter input { flex: 1; padding: 13px; border: 1px solid #3a342c; background: transparent; color: #fff; font-family: var(--sans); }
.newsletter button { padding: 13px 20px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.footer-bottom { border-top: 1px solid #3a342c; padding-top: 26px; padding-bottom: 26px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8a8378; }

/* ---------- Search & account ---------- */
.search-box { position: relative; }
.search-form { display: flex; align-items: center; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s ease, box-shadow .3s ease; }
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(154,123,79,.12); }
.search-form input { border: none; padding: 10px 16px; font-family: var(--sans); font-size: 13px; width: 190px; background: transparent; color: var(--text); letter-spacing: .02em; }
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: var(--muted); letter-spacing: .08em; }

.search-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 380px; max-width: 92vw; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(28,26,23,.14); z-index: 150; max-height: 440px; overflow-y: auto; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.search-item:last-of-type { border-bottom: none; }
.search-item:hover, .search-item.active { background: var(--bg-alt); }
.s-gorsel { flex: 0 0 46px; width: 46px; height: 58px; overflow: hidden; background: var(--bg-alt); }
.s-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.s-bilgi { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s-ad { font-family: var(--serif); font-size: 16px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-kat { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.s-fiyat-kutu { text-align: right; font-size: 14px; color: var(--accent-dark); white-space: nowrap; }
.s-fiyat { font-family: var(--serif); font-size: 15px; }
.s-eski { text-decoration: line-through; color: var(--muted); font-size: 12px; margin-right: 4px; }
.search-empty { padding: 22px; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.search-footer { display: block; padding: 13px; text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); background: var(--bg-alt); }
.search-footer:hover { color: var(--accent-dark); }

.account-link { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.account-link:hover { color: var(--accent); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); font-size: 13px; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination span.active { background: var(--text); color: #fff; border-color: var(--text); }

/* ---------- Product gallery thumbs ---------- */
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 72px; height: 88px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); cursor: pointer; padding: 0; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--accent); }

/* ---------- Quick view ---------- */
.quickview-btn { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(28,26,23,.85); color: #fff; border: none; padding: 8px 16px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; opacity: 0; transition: opacity .3s ease; font-family: var(--sans); }
.product-media { position: relative; }
.product-media:hover .quickview-btn { opacity: 1; }
.qv-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 200; align-items: center; justify-content: center; padding: 20px; }
.qv-box { background: #fff; max-width: 720px; width: 100%; padding: 30px; position: relative; }
.qv-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.qv-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.qv-layout img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--bg-alt); }
.qv-layout h3 { font-size: 24px; margin-bottom: 10px; }
.qv-desc { color: var(--muted); margin: 12px 0 18px; }
@media (max-width: 600px) { .qv-layout { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.blog-card { display: block; }
.blog-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.3,1); }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-placeholder { width: 100%; height: 100%; background: linear-gradient(120deg, #2a211a, #9a7b4f); }
.blog-info { padding: 18px 0; }
.blog-tarih { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.blog-info h3 { font-size: 22px; margin: 8px 0; }
.blog-info p { font-size: 14px; color: var(--muted); }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-form input { width: 110px; }
  .search-dropdown { width: 320px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-toggle { display: block; }
  .header-inner { gap: 12px; }
  .brand-main { font-size: 20px; letter-spacing: .12em; }
  .brand-sub { font-size: 8px; }
  .header-actions { gap: 12px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .search-form input { width: 100px; }
  .search-dropdown { width: 90vw; right: auto; left: 50%; transform: translateX(-50%); }
  .account-link { display: none; }

  .topbar-inner { gap: 8px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .topbar-note { font-size: 9px; }

  .hero { height: auto; min-height: 0; padding: 60px 0; }
  .hero-title { font-size: 42px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn { padding: 13px 28px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 34px; }
  .section-title { font-size: 30px; }
  .page-hero { padding: 46px 0 36px; }
  .page-hero h1 { font-size: 32px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .product-name { font-size: 17px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { height: 320px; }

  .feature-band { flex-direction: column; gap: 30px; padding: 36px 0; }

  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .pd-title { font-size: 32px; }
  .pd-price { font-size: 21px; }

  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .summary-box { position: static; }
  .cart-row { grid-template-columns: 64px 1fr; align-items: start; row-gap: 8px; }
  .cart-thumb { grid-row: span 3; width: 64px; height: 80px; }
  .cart-row h4 { font-size: 16px; }

  .form-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 48px; padding-bottom: 40px; }
  .site-footer { margin-top: 50px; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { padding: 16px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; margin-top: 16px; }
  .admin-nav a { padding: 9px 12px; font-size: 12px; }
  .admin-main { padding: 20px 14px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-topbar h1 { font-size: 24px; }
  .admin-card { padding: 18px 14px; overflow-x: auto; }
  .login-card { padding: 30px 22px; margin: 0 16px; }
  .qv-box { padding: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .brand-main { font-size: 17px; letter-spacing: .1em; }
  .brand-sub { letter-spacing: .2em; }
  .search-form input { width: 72px; font-size: 12px; padding: 9px 10px; }
  .cart-link { font-size: 18px; }
  .hero-title { font-size: 34px; }
  .hero-kicker { font-size: 10px; letter-spacing: .35em; }
  .section-title { font-size: 26px; }
  .product-grid { gap: 22px 10px; }
  .product-name { font-size: 15px; }
  .product-cat { font-size: 9px; }
  .product-price { font-size: 13px; }
  .pd-title { font-size: 27px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card .num { font-size: 30px; }
  .pagination a, .pagination span { min-width: 34px; height: 34px; }
}
