:root {
  --background: #fafafa;
  --foreground: #0f172a;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --border: #e2e8f0;
  --muted: #64748b;
  --gold: #b45309;
  --gold-light: #d97706;
  --accent-soft: #fff7ed;
  --radius: 0.75rem;
  --shadow: 0 4px 6px -1px rgb(15 23 42 / 0.07);
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container-page { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.font-display { font-family: "Plus Jakarta Sans", Inter, sans-serif; }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0;
}
.header-actions {
  display: inline-flex; align-items: center; gap: .45rem;
  flex-shrink: 0;
}
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; display:inline-flex; align-items:center; line-height:1; }
.brand span { display:block; font-size:.72rem; font-weight:600; color:var(--muted); }
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
}
.nav {
  display:flex; gap:.45rem; align-items:center; flex-wrap:wrap;
  justify-content:flex-end;
  margin-left: auto;
}
.nav-pill {
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.45rem .75rem;
  border:1px solid var(--border);
  border-radius:.7rem;
  background:#fff;
  font-size:.86rem; font-weight:600;
  color:var(--foreground);
  transition: .15s ease;
  line-height:1;
  white-space:nowrap;
}
.nav-pill:hover {
  color: var(--gold);
  border-color: rgba(180,83,9,.35);
  background: var(--accent-soft);
}
.nav-ico { width:1rem; height:1rem; flex-shrink:0; }
.nav-icon-btn {
  display:inline-flex; align-items:center; justify-content:center;
  width:2.35rem; height:2.35rem;
  border:1px solid var(--border);
  border-radius:.7rem;
  background:#fff;
  color:#E1306C;
  transition:.15s ease;
}
.nav-icon-btn svg { width:1.15rem; height:1.15rem; }
.nav-icon-btn:hover {
  background:#fff0f5;
  border-color: rgba(225,48,108,.35);
  color:#c13584;
}
.nav-pill-cart { position: relative; padding-right: .9rem; }
.cart-link { position: relative; font-weight: 600; }
.cart-badge {
  position:absolute; top:-7px; right:-7px;
  background: var(--gold); color:#fff; border-radius:999px;
  font-size:.68rem; min-width:1.05rem; height:1.05rem;
  display:inline-flex; align-items:center; justify-content:center; padding:0 .22rem;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(180,83,9,.12), transparent 40%),
    linear-gradient(180deg, #fff, #f8fafc);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height:1.1; margin:0 0 1rem; }
.hero p { max-width: 36rem; color: var(--muted); font-size:1.05rem; }

/* —— Home hero (photo showcase) —— */
.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.hero-marquee {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: .14;
  pointer-events: none;
}
.hero-marquee-row {
  display: flex; width: max-content; gap: 1rem; padding: .5rem 0;
}
.hero-marquee-item {
  position: relative;
  width: 7rem; height: 7rem;
  flex-shrink: 0; overflow: hidden; border-radius: .9rem;
}
@media (min-width: 640px) {
  .hero-marquee-item { width: 9rem; height: 9rem; }
}
.hero-marquee-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-marquee-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--background), rgba(250,250,250,.9), var(--background));
}
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-left { animation: marquee-left 45s linear infinite; }
.marquee-right { animation: marquee-right 50s linear infinite; }

.home-hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: 2.5rem;
  padding: 2.5rem 0 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .home-hero-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
    padding: 3.5rem 0;
  }
}
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hero-pill {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(180,83,9,.25);
  background: var(--accent-soft);
  color: var(--gold);
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
}
.home-hero-copy h1 {
  margin: 1.15rem 0 0;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.06; letter-spacing: -.02em;
}
.home-hero-copy h1 .text-gold { display: block; }
.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-cat-grid {
  margin-top: 1.75rem;
  display: grid; gap: .75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .hero-cat-grid { grid-template-columns: 1fr 1fr; }
}
.hero-cat-card {
  display: block; overflow: hidden;
  border: 1px solid var(--border); border-radius: 1rem;
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hero-cat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(180,83,9,.3);
  box-shadow: 0 10px 20px rgb(15 23 42 / .08);
}
.hero-cat-media {
  position: relative; height: 7rem; overflow: hidden;
  background: var(--surface-muted);
}
@media (min-width: 640px) { .hero-cat-media { height: 8rem; } }
.hero-cat-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.hero-cat-card:hover img { transform: scale(1.05); }
.hero-cat-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.2), rgba(0,0,0,.75));
  color: #fff;
}
.hero-cat-kicker {
  margin: 0; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7);
}
.hero-cat-name { margin: .15rem 0 0; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.hero-cat-arrow {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.95); color: var(--foreground); flex-shrink: 0;
}

.hero-quick { margin-top: 1.75rem; }
.hero-quick-label {
  margin: 0; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.hero-quick-grid {
  margin-top: .75rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
}
.hero-quick-item {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: .75rem; border: 1px solid var(--border);
  background: var(--surface-muted);
}
.hero-quick-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.hero-quick-item:hover img { transform: scale(1.1); }
.hero-quick-tag {
  position: absolute; left: .35rem; top: .35rem;
  background: rgba(0,0,0,.55); color: #fff;
  border-radius: .35rem; padding: .15rem .35rem;
  font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  backdrop-filter: blur(4px);
}
.hero-quick-price {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .35rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-size: .6rem; font-weight: 600;
  opacity: 0; transition: opacity .2s ease;
}
.hero-quick-item:hover .hero-quick-price { opacity: 1; }

.hero-trust {
  margin-top: 1.75rem;
  display: grid; gap: .75rem;
  grid-template-columns: 1fr 1fr;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border); border-radius: 1rem;
  background: var(--surface); box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .hero-trust { grid-template-columns: repeat(4, 1fr); }
}
.hero-trust-item { display: flex; align-items: flex-start; gap: .65rem; }
.hero-trust-item p { margin: 0; font-size: .9rem; font-weight: 700; }
.hero-trust-item small { font-size: .75rem; }
.hero-trust-icon {
  width: 2.25rem; height: 2.25rem; border-radius: .75rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--gold); flex-shrink: 0;
}

.home-hero-showcase { position: relative; }
.hero-showcase-empty {
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 1rem; background: var(--surface-muted);
}
.hero-showcase-main {
  display: block; overflow: hidden;
  border: 1px solid var(--border); border-radius: 1rem;
  background: var(--surface); box-shadow: 0 12px 28px rgb(15 23 42 / .12);
}
.hero-showcase-frame {
  position: relative; aspect-ratio: 4/5; background: var(--surface-muted);
}
@media (min-width: 640px) { .hero-showcase-frame { aspect-ratio: 5/6; } }
.hero-showcase-frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .7s ease;
}
.hero-showcase-frame > img.is-active { opacity: 1; }
.hero-showcase-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.12), rgba(0,0,0,.72));
  pointer-events: none;
}
.hero-showcase-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.35rem; color: #fff;
}
.hero-showcase-cat {
  display: inline-flex; border-radius: .4rem;
  background: rgba(255,255,255,.95); color: var(--foreground);
  padding: .25rem .6rem; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.hero-showcase-meta h2 {
  margin: .75rem 0 0; font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-showcase-price { margin: .5rem 0 0; font-size: 1.5rem; font-weight: 800; }
.hero-showcase-cta {
  display: inline-flex; margin-top: 1rem;
  font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.9);
}
.hero-nav {
  position: absolute; top: 42%; transform: translateY(-50%);
  z-index: 2; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.95); box-shadow: var(--shadow);
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--foreground);
}
.hero-nav:hover { background: #fff; }
.hero-nav-prev { left: .75rem; }
.hero-nav-next { right: .75rem; }
.hero-thumbs {
  display: flex; gap: .5rem; overflow-x: auto; margin-top: 1rem; padding-bottom: .25rem;
}
.hero-thumb {
  position: relative; width: 4rem; height: 4rem; flex-shrink: 0;
  border: 2px solid transparent; border-radius: .65rem; overflow: hidden;
  padding: 0; background: var(--surface-muted); cursor: pointer; opacity: .7;
}
.hero-thumb.is-active { border-color: var(--gold); opacity: 1; box-shadow: var(--shadow); }
.hero-thumb:hover { opacity: 1; }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.4rem;
  border:0; border-radius:.7rem; padding:.75rem 1.15rem; cursor:pointer;
  font-weight:700; transition:.15s ease;
}
.btn-brand { background: var(--gold); color:#fff; }
.btn-brand:hover { background: var(--gold-light); }
.btn-dark { background: var(--foreground); color:#fff; }
.btn-outline { background:#fff; border:1px solid var(--border); }
.btn:disabled { opacity:.55; cursor:not-allowed; }

.grid { display:grid; gap:1.25rem; }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product-card { overflow:hidden; transition: transform .15s ease, box-shadow .15s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgb(15 23 42 / .08); }
.product-card .thumb {
  aspect-ratio: 1; background: var(--surface-muted);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.product-card .thumb img { width:100%; height:100%; object-fit:cover; }
.product-card .body { padding:1rem; }
.product-card h3 { margin:0 0 .35rem; font-size:1rem; }
.price { font-weight:800; }
.compare { color:var(--muted); text-decoration:line-through; margin-left:.35rem; font-size:.9rem; }

.toolbar {
  display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; justify-content:space-between;
  margin: 1.5rem 0;
}
.chips { display:flex; gap:.5rem; flex-wrap:wrap; }
.chip {
  border:1px solid var(--border); background:#fff; border-radius:999px;
  padding:.4rem .8rem; font-size:.9rem; cursor:pointer;
}
.chip.active { background: var(--accent-soft); border-color:#fdba74; color:var(--gold); }

.product-detail { display:grid; gap:2rem; grid-template-columns:1.1fr .9fr; align-items:start; padding:2rem 0 1.25rem; }
.gallery { display:grid; gap:.75rem; position:sticky; top:5.5rem; }
.product-teaser {
  margin: 1.15rem 0 0;
  line-height: 1.55;
  font-size: .92rem;
}
.product-teaser a {
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.product-teaser a:hover { text-decoration: underline; }
.product-trust {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: .55rem;
}
.product-trust li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.4;
}
.product-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--gold);
}
.product-description { padding: .25rem 0 2.5rem; max-width: 72ch; scroll-margin-top: 5.5rem; }
.product-description h2 { margin:0 0 .75rem; font-size:1.25rem; }
.product-description-body { line-height:1.7; }
.category-intro-block {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.category-intro-block h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.category-intro-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .category-intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .category-intro-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.category-intro-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  height: 100%;
}
.category-intro-card-head {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.category-intro-icon {
  width: 2rem;
  height: 2rem;
  border-radius: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--gold);
  flex-shrink: 0;
}
.category-intro-card h3 {
  margin: .15rem 0 0;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.35;
}
.category-intro-card p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--muted);
}
.category-intro { line-height: 1.75; max-width: 72ch; }
.gallery-main {
  border-radius: var(--radius); overflow:hidden; background:var(--surface-muted);
  aspect-ratio:1; border:1px solid var(--border);
}
.gallery-main img { width:100%; height:100%; object-fit:cover; }
.gallery-thumbs { display:flex; gap:.5rem; flex-wrap:wrap; }
.gallery-thumbs button {
  width:72px; height:72px; border:1px solid var(--border); border-radius:.5rem;
  overflow:hidden; padding:0; background:#fff; cursor:pointer;
}
.gallery-thumbs img { width:100%; height:100%; object-fit:cover; }
.field { display:grid; gap:.35rem; margin-top:1rem; }
.field label { font-weight:600; font-size:.92rem; }
.field input, .field textarea, .field select {
  width:100%; border:1px solid var(--border); border-radius:.65rem;
  padding:.7rem .8rem; background:#fff;
}
.field .error { color:#dc2626; font-size:.82rem; margin:0; }
.qty { display:inline-flex; border:1px solid var(--border); border-radius:.65rem; overflow:hidden; }
.qty button { border:0; background:#fff; padding:.55rem .85rem; cursor:pointer; }
.qty span { min-width:2.5rem; text-align:center; padding:.55rem 0; border-inline:1px solid var(--border); }

.cart-layout, .checkout-layout { display:grid; gap:1.5rem; grid-template-columns:1.4fr .8fr; padding:2rem 0 3rem; }
.cart-item { display:grid; grid-template-columns:96px 1fr auto; gap:1rem; padding:1rem; }
.cart-item img, .cart-item .ph {
  width:96px; height:96px; object-fit:cover; border-radius:.55rem; background:var(--surface-muted);
}
.summary { padding:1.25rem; position:sticky; top:5rem; height:fit-content; }
.summary .row { display:flex; justify-content:space-between; margin:.45rem 0; }
.summary .total { font-size:1.15rem; font-weight:800; border-top:1px solid var(--border); padding-top:.75rem; margin-top:.75rem; }

.site-footer {
  margin-top:3.5rem;
  border-top: 1px solid #1e293b;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(217,119,6,.12), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 3.25rem 0 1.25rem;
}
.footer-top {
  display:grid;
  gap:2.25rem 2rem;
  grid-template-columns: 1.35fr .75fr .85fr 1.15fr;
  align-items:start;
}
.footer-brand p {
  margin:.85rem 0 0;
  color:#94a3b8;
  font-size:.92rem;
  line-height:1.65;
  max-width:28rem;
}
.footer-logo-wrap {
  display:inline-flex;
  align-items:center;
  padding:.55rem .7rem;
  background:#fff;
  border-radius:.65rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.footer-logo {
  display:block;
  max-height:44px;
  width:auto;
  max-width:min(220px, 70vw);
  object-fit:contain;
  object-position:left center;
}
.footer-contact {
  display:grid; gap:.6rem; margin-top:1.25rem;
}
.footer-contact a {
  display:inline-flex !important; align-items:center; gap:.55rem;
  color:#cbd5e1 !important; margin:0 !important;
  font-size:.9rem;
}
.footer-contact a:hover { color:#fff !important; }
.footer-contact svg { width:1rem; height:1rem; color:#d97706; flex-shrink:0; }
.footer-address {
  display:block;
  color:#94a3b8;
  font-size:.88rem;
  line-height:1.45;
}
.footer-ig-link svg { color:#E1306C !important; }
.site-footer h4 {
  margin:0 0 .9rem;
  color:#fff;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.site-footer a {
  display:block; color:#94a3b8; margin:.38rem 0; font-size:.9rem;
  transition: color .2s ease;
}
.site-footer a:hover { color:#fff; }
.footer-ig-head {
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  margin-bottom:.85rem;
}
.footer-ig-head h4 { margin:0; }
.footer-ig-head a {
  margin:0 !important; color:#d97706 !important;
  font-size:.78rem; font-weight:600; letter-spacing:.02em;
}
.footer-ig-head a:hover { color:#fbbf24 !important; }
.ig-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:.5rem;
}
.ig-tile {
  display:block !important; margin:0 !important;
  aspect-ratio:1; overflow:hidden; border-radius:.6rem;
  background:#1e293b; position:relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.ig-tile::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35));
  opacity:0; transition: opacity .25s ease; pointer-events:none;
}
.ig-tile:hover::after { opacity:1; }
.ig-tile img {
  width:100%; height:100%; object-fit:cover;
  transition: transform .45s ease;
}
.ig-tile:hover img { transform: scale(1.08); }
.ig-empty {
  display:flex !important; align-items:center; justify-content:center;
  min-height:8rem; border:1px dashed rgba(255,255,255,.18);
  border-radius:.75rem; color:#94a3b8 !important; text-align:center;
  padding:1rem; margin:0 !important;
}
.footer-bottom {
  margin-top:2.25rem; padding-top:1.15rem;
  border-top:1px solid rgba(148,163,184,.18);
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  color:#64748b; font-size:.82rem;
}
.footer-bottom a { display:inline !important; margin:0 !important; color:#64748b !important; }
.footer-bottom a:hover { color:#fff !important; }

.admin-shell { display:grid; grid-template-columns:240px 1fr; min-height:100vh; }
.admin-nav { background:#0f172a; color:#fff; padding:1.25rem; }
.admin-nav .admin-brand { font-weight:800; margin-bottom:1rem; letter-spacing:-.02em; }
.admin-nav a { display:block; color:#cbd5e1; padding:.55rem .7rem; border-radius:.5rem; margin:.15rem 0; }
.admin-nav a:hover, .admin-nav a.active { background:rgba(255,255,255,.08); color:#fff; }
.admin-nav .btn { color:#fff !important; border-color:rgba(255,255,255,.25); }
.admin-nav .btn:hover { background:rgba(255,255,255,.08); }
.admin-main { padding:1.5rem; background:#f8fafc; min-width:0; }
.admin-flash {
  padding:1rem; margin-bottom:1rem; background:#f0fdf4; border:1px solid #bbf7d0;
  border-radius:var(--radius); color:#166534;
}
.admin-form { padding:1.25rem; }
.admin-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.admin-checks { display:flex; gap:1rem; flex-wrap:wrap; margin:1rem 0; }
.admin-form-actions { display:flex; gap:.75rem; flex-wrap:wrap; align-items:center; }
.admin-danger-zone { margin-top:1rem; }
.btn.danger, .img-card-actions .danger { color:#dc2626 !important; }
.btn-sm { padding:.35rem .65rem; font-size:.82rem; }
.admin-modal {
  position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:1rem;
}
.admin-modal[hidden] { display:none !important; }
.admin-modal-backdrop { position:absolute; inset:0; background:rgba(15,23,42,.55); }
.admin-modal-panel {
  position:relative; z-index:1; width:min(520px,100%); max-height:90vh; overflow:auto;
  background:#fff; border-radius:1rem; padding:1.25rem; box-shadow:0 25px 50px rgba(15,23,42,.25);
}
.product-card-carousel { position:relative; }
.product-card-carousel img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .45s ease;
}
.product-card-carousel img.active { opacity:1; }
.product-card-carousel-dots {
  position:absolute; bottom:.45rem; left:50%; transform:translateX(-50%);
  display:flex; gap:.25rem; z-index:2;
}
.product-card-carousel-dots span {
  width:.35rem; height:.35rem; border-radius:999px; background:rgba(255,255,255,.45);
}
.product-card-carousel-dots span.active { background:#fff; width:.65rem; }
.product-faq { margin-top:2.5rem; padding-top:2rem; border-top:1px solid var(--border); }
.product-faq-item { border:1px solid var(--border); border-radius:var(--radius); background:#fff; margin-bottom:.65rem; overflow:hidden; }
.product-faq-item button {
  width:100%; display:flex; justify-content:space-between; gap:1rem; align-items:center;
  padding:1rem 1.1rem; background:none; border:none; text-align:left; font-weight:600; cursor:pointer;
}
.product-faq-item .answer { border-top:1px solid var(--border); padding:1rem 1.1rem; color:var(--muted); font-size:.92rem; line-height:1.6; }
.img-manager-bar {
  display:flex; align-items:center; gap:1rem; flex-wrap:wrap;
  border:1px solid var(--border); border-radius:.75rem; padding:1rem; background:#fff;
}
.img-manager-cover {
  width:72px; height:72px; border-radius:.55rem; overflow:hidden; flex-shrink:0;
  background:var(--surface-muted); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
}
.img-manager-cover img { width:100%; height:100%; object-fit:cover; }
.img-manager-empty-icon { color:#94a3b8; font-size:1.4rem; }
.img-manager-meta { flex:1; min-width:180px; }
.img-manager-meta strong { display:block; margin-bottom:.2rem; }
.img-manager-meta span { color:var(--muted); font-size:.85rem; }
.img-dialog {
  border:none; border-radius:1rem; padding:0; width:min(720px, 94vw);
  box-shadow:0 25px 50px rgba(15,23,42,.25);
}
.img-dialog::backdrop { background:rgba(15,23,42,.55); }
.img-dialog-inner { padding:1.25rem; }
.img-dialog-head { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:1rem; }
.img-dialog-head h3 { margin:0 0 .25rem; }
.img-dialog-head p { margin:0; color:var(--muted); font-size:.9rem; }
.img-dropzone {
  border:1.5px dashed #cbd5e1; border-radius:.75rem; padding:1.25rem; text-align:center;
  background:#f8fafc; margin-bottom:1rem;
}
.img-dropzone.drag { border-color:#d97706; background:#fffbeb; }
.img-dropzone p { margin:.2rem 0; }
.img-error { color:#dc2626; font-size:.9rem; margin:.25rem 0 .75rem; }
.img-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.img-card {
  position:relative; border:1px solid var(--border); border-radius:.65rem; overflow:hidden; background:#fff;
}
.img-card img { display:block; width:100%; aspect-ratio:1; object-fit:cover; }
.img-badge {
  position:absolute; left:.45rem; top:.45rem;
  background:#d97706; color:#fff; font-size:.7rem; font-weight:700;
  padding:.2rem .45rem; border-radius:999px;
}
.img-badge.pending { left:auto; right:.45rem; background:#0f172a; }
.img-card-actions {
  display:flex; flex-wrap:wrap; gap:.3rem; padding:.4rem;
  background:rgba(15,23,42,.88);
}
.img-card-actions button {
  flex:1; min-width:2rem; border:1px solid rgba(255,255,255,.2); background:transparent;
  color:#fff; border-radius:.4rem; padding:.3rem .35rem; font-size:.72rem; cursor:pointer;
}
.img-card-actions button:hover { background:rgba(255,255,255,.1); }
.admin-toolbar { display:flex; gap:.75rem; flex-wrap:wrap; align-items:center; margin-bottom:1rem; }
.admin-toolbar .grow { flex:1; min-width:180px; }
.admin-toolbar input[type="search"] {
  width:100%; border:1px solid var(--border); border-radius:.55rem; padding:.55rem .75rem; background:#fff;
}
.table { width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.table th, .table td { padding:.75rem; border-bottom:1px solid var(--border); text-align:left; font-size:.92rem; }
.badge { display:inline-block; padding:.2rem .5rem; border-radius:999px; font-size:.75rem; font-weight:700; }
.badge-green { background:#dcfce7; color:#166534; }
.badge-red { background:#fee2e2; color:#991b1b; }
.badge-blue { background:#dbeafe; color:#1e40af; }
.badge-gray { background:#f1f5f9; color:#475569; }
.badge-gold { background:#fef3c7; color:#92400e; }

.login-wrap { min-height:100vh; display:grid; place-items:center; padding:1rem; }
.login-card { width:min(400px,100%); padding:1.5rem; }

.toast {
  position:fixed; right:1rem; bottom:1rem; z-index:60;
  background:#0f172a; color:#fff; padding:1rem 1.1rem; border-radius:.8rem;
  box-shadow:0 10px 30px rgb(0 0 0 / .2); display:none; max-width:320px;
}
.toast.show { display:block; animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity:0; transform:translateY(8px);} to { opacity:1; transform:none;} }

.whatsapp {
  position:fixed; right:1rem; bottom:1.25rem; z-index:80;
  background:#25D366; color:#fff !important;
  width:3.4rem; height:3.4rem; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgb(37 211 102 / .45);
  transition: transform .2s ease, bottom .2s ease;
  line-height:0;
}
.whatsapp svg { display:block; width:1.45rem; height:1.45rem; flex-shrink:0; }
.whatsapp:hover { transform: translateY(-2px) scale(1.04); color:#fff !important; }
/* Çerez bandı açıkken WhatsApp üstte kalsın (JS gerekmez) */
.cookie-banner:not([hidden]) ~ .whatsapp,
body.has-cookie-banner .whatsapp { bottom: 9.5rem; }

.header-search { position:relative; flex:1; max-width:280px; min-width:140px; margin:0; }
.header-search input {
  width:100%; height:2.4rem; border:1px solid var(--border); border-radius:999px;
  padding:.4rem 1rem; background:#fff;
}
.search-dropdown {
  position:absolute; right:0; top:calc(100% + .4rem); z-index:50;
  width:min(100vw - 2rem, 22rem); background:#fff; border:1px solid var(--border);
  border-radius:.85rem; box-shadow:0 12px 30px rgb(15 23 42 / .12); overflow:hidden;
}
.search-dropdown ul { list-style:none; margin:0; padding:.35rem 0; max-height:20rem; overflow:auto; }
.search-dropdown a { display:flex; gap:.75rem; align-items:center; padding:.65rem .85rem; }
.search-dropdown a:hover { background:var(--surface-muted); }
.search-dropdown img, .search-dropdown .ph {
  width:2.75rem; height:2.75rem; border-radius:.45rem; object-fit:cover; background:var(--surface-muted); flex-shrink:0;
}
.search-dropdown strong { display:block; font-size:.9rem; line-height:1.25; }
.search-dropdown small { color:var(--muted); }
.search-msg { margin:0; padding:.9rem 1rem; color:var(--muted); font-size:.9rem; }

.cookie-banner {
  position:fixed; inset-inline:0; bottom:0; z-index:65;
  background:rgba(255,255,255,.96); border-top:1px solid var(--border);
  box-shadow:0 -8px 30px rgb(15 23 42 / .08); backdrop-filter:blur(8px);
  padding:1rem;
}
.cookie-inner { display:flex; gap:1rem; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.cookie-inner p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.5; max-width:48rem; }
.cookie-inner a { color:var(--gold); font-weight:600; }

.breadcrumb {
  display:flex; flex-wrap:wrap; gap:.4rem; align-items:center;
  font-size:.85rem; color:var(--muted); padding-bottom:0;
}
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb [aria-current="page"] {
  color:var(--foreground); max-width:min(100%, 28rem);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.legal-body { color:var(--muted); line-height:1.75; }
.legal-body h2 { color:var(--foreground); font-size:1.15rem; margin:1.75rem 0 .65rem; }
.legal-body p, .legal-body ul { margin:.65rem 0; }
.legal-body ul { padding-left:1.2rem; }
.contact-cards { display:grid; gap:1rem; margin-top:1.5rem; }
.contact-card { padding:1.25rem; }
.contact-label { margin:0 0 .35rem; font-weight:700; color:var(--foreground); }

.desktop-only { }
@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .nav-desktop-only { display: none !important; }
}

/* Desktop header order: brand · search · nav · actions */
@media (min-width: 901px) {
  .site-header .brand { order: 1; }
  .site-header .header-search { order: 2; }
  .site-header .nav { order: 3; margin-left: auto; }
  .site-header .header-actions { order: 4; }
}

@media (max-width: 900px) {
  .product-detail, .cart-layout, .checkout-layout, .admin-shell { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .admin-nav { display:flex; gap:.5rem; overflow:auto; align-items:center; }
  .admin-nav .admin-brand { margin:0 .5rem 0 0; white-space:nowrap; }
  .admin-nav form { margin:0 !important; }
  .admin-form-grid { grid-template-columns:1fr; }
  .img-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Compact sticky header */
  .site-header .inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "search search"
      "nav nav";
    gap: .55rem .65rem;
    padding: .55rem 0 .65rem;
    align-items: center;
  }
  .brand { grid-area: brand; min-width: 0; }
  .header-actions { grid-area: actions; }
  .header-search { grid-area: search; max-width: none; width: 100%; min-width: 0; }
  .header-search input { height: 2.2rem; font-size: 16px; }
  .nav {
    grid-area: nav;
    width: 100%;
    margin-left: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: .4rem;
    padding-bottom: .1rem;
  }
  .nav::-webkit-scrollbar { display: none; }
  .brand-logo { height: 28px; max-width: min(150px, 42vw); }
  .nav-pill { padding: .4rem .65rem; font-size: .8rem; }
  .nav-pill span { font-size: .78rem; }
  .nav-cart-label { display: none; }
  .nav-pill-cart { width: 2.35rem; height: 2.35rem; padding: 0; justify-content: center; }
  .nav-icon-btn, .nav-pill-cart { width: 2.25rem; height: 2.25rem; }

  /* Home: shorter copy, smaller images */
  .home-hero-inner {
    gap: .85rem;
    padding: .85rem 0 1.15rem;
  }
  .home-hero-showcase { order: 1; }
  .home-hero-copy { order: 2; }
  .hero-badges { display: none; }
  .hero-trust { display: none; }
  .hero-thumbs { display: none; }
  .hero-cat-grid { display: none; }
  .home-hero-copy h1 {
    margin: .15rem 0 0;
    font-size: clamp(1.15rem, 5vw, 1.35rem);
    line-height: 1.2;
  }
  .home-hero-copy h1 .text-gold { display: inline; }
  .hero-lead { margin: .35rem 0 0; font-size: .85rem; line-height: 1.4; }

  .hero-showcase-frame {
    aspect-ratio: auto;
    height: min(48vw, 200px);
  }
  .hero-showcase-empty {
    aspect-ratio: auto;
    height: min(40vw, 170px);
  }
  .hero-showcase-meta { padding: .7rem .85rem; }
  .hero-showcase-meta h2 { margin-top: .35rem; font-size: .92rem; -webkit-line-clamp: 1; }
  .hero-showcase-price { margin-top: .25rem; font-size: 1.05rem; }
  .hero-showcase-cta { margin-top: .4rem; font-size: .78rem; }
  .hero-nav { width: 1.85rem; height: 1.85rem; font-size: 1.05rem; top: 40%; }
  .hero-nav-prev { left: .35rem; }
  .hero-nav-next { right: .35rem; }

  .section-featured { padding-top: 1.1rem; }
  .grid { gap: .75rem; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card .body { padding: .7rem .75rem .85rem; }
  .product-card h3 { font-size: .88rem; line-height: 1.3; }
  .price { font-size: .95rem; }
  .compare { font-size: .78rem; }

  .gallery-main { aspect-ratio: 1; max-height: min(70vw, 340px); margin-inline: auto; width: 100%; }
  .gallery-thumbs button { width: 56px; height: 56px; }
  .product-detail { gap: 1.25rem; padding: 1.15rem 0 2rem; }
  .cart-item { grid-template-columns: 72px 1fr; gap: .75rem; padding: .85rem; }
  .cart-item > :last-child { grid-column: 1 / -1; }
  .cart-item img, .cart-item .ph { width: 72px; height: 72px; }
  .summary { position: static; }

  .cookie-banner { padding: .55rem .75rem .7rem; }
  .cookie-inner { gap: .5rem; align-items: stretch; flex-wrap: nowrap; }
  .cookie-inner p {
    font-size: .72rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .cookie-inner .btn { flex-shrink: 0; width: auto; padding: .55rem .85rem; font-size: .82rem; }
  .cookie-banner:not([hidden]) ~ .whatsapp,
  body.has-cookie-banner .whatsapp { bottom: 5.75rem; }

  .whatsapp { right: .65rem; bottom: .85rem; width: 2.85rem; height: 2.85rem; }
  .container-page { padding-inline: .9rem; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-showcase-frame { height: min(44vw, 185px); }
  .section-featured { padding: 1.25rem 0 !important; }
  .site-header .inner { gap: .45rem .55rem; padding: .45rem 0 .55rem; }
  .header-search input { height: 2.05rem; }
}

.section-featured {
  padding: 2.5rem 0;
}
.section-featured-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 900px) {
  .section-featured-head { margin-bottom: .85rem; }
  .section-featured-head h2 { font-size: 1.2rem; }
  .section-featured-head p { font-size: .85rem; }
}

.legal-page { padding: 1.25rem 0 3rem; }
.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.guide-index-card { padding: 1.25rem; display: block; }
.guide-index-card h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
.guide-index-card p { margin: 0; font-size: .9rem; }

.home-seo { padding: 0 0 3rem; }
.home-seo > h2 { margin: 0 0 .75rem; }
.home-seo > p { color: var(--muted); line-height: 1.75; max-width: 72ch; margin: 0 0 1.25rem; }
.home-seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.home-seo-card { padding: 1.15rem; }
.home-seo-card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.home-seo-card p, .home-seo-card ol { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.home-seo-card ol { padding-left: 1.15rem; }
.home-seo-card a { display: inline-block; margin-top: .7rem; font-weight: 600; color: var(--gold); }
.home-seo-links { margin: 1.25rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.home-seo-links a { font-weight: 600; }
.product-guide-links { margin: 1.15rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.7; }
.product-guide-links a { font-weight: 600; }
