/* Siestatime Home Collection — mağaza stili */
:root {
  --ink: #2b2228;
  --text: #3d3439;
  --muted: #7a6f74;
  --line: #efe4e8;
  --bg: #fffafb;
  --paper: #ffffff;
  --blush: #fbeff3;
  --pink: #c8186e;
  --pink-dark: #a01157;
  --gold: #a88a3c;
  --gold-soft: #f4ecd8;
  --ok: #1f8a4c;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(43,34,40,.05), 0 10px 30px rgba(43,34,40,.07);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 600; margin: 0 0 .55em; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(23px, 2.8vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Duyuru şeridi */
.promo { background: var(--ink); color: #fbe9f1; font-size: 13.5px; }
.promo .wrap { display: flex; justify-content: center; gap: 28px; min-height: 38px; align-items: center; flex-wrap: wrap; }
.promo b { color: #fff; }
.promo span::before { content: "✓"; color: #f07ab0; margin-right: 7px; font-weight: 700; }

/* Başlık */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.logo img { height: 72px; width: auto; }
.search { flex: 1; max-width: 420px; position: relative; }
.search input { width: 100%; padding: 11px 16px 11px 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: inherit; font-size: 15px; color: var(--text); }
.search input:focus { outline: 2px solid var(--pink); outline-offset: 1px; background: #fff; }
.search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); }
.search .results { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 380px; overflow: auto; z-index: 60; }
.search .results.open { display: block; }
.search .results a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; color: var(--ink); font-size: 14.5px; }
.search .results a:hover, .search .results a.on { background: var(--blush); text-decoration: none; }
.search .results img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.search .results p { margin: 0; padding: 12px; color: var(--muted); font-size: 14px; }
.head-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer; position: relative; }
.icon-btn:hover { border-color: var(--pink); color: var(--pink-dark); text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 21px; height: 21px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.menu-toggle { display: none; }

/* Kategori menüsü */
.catnav { background: var(--paper); border-bottom: 1px solid var(--line); }
.catnav ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--wrap); display: flex; gap: 0; flex-wrap: wrap; justify-content: space-between; }
.catnav li { position: relative; }
.catnav > ul > li > a { display: block; padding: 13px 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.catnav > ul > li > a:hover, .catnav > ul > li.on > a { color: var(--pink); text-decoration: none; }
.catnav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; z-index: 55; }
.catnav li:hover > .sub, .catnav li:focus-within > .sub { display: block; }
.catnav .sub a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.catnav .sub a:hover { background: var(--blush); text-decoration: none; color: var(--pink-dark); }
.catnav .sub small { color: var(--muted); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; }
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18914a; }
.btn-line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--pink); color: var(--pink-dark); }
.btn-block { width: 100%; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* Hero */
.hero { background: linear-gradient(120deg, #fff 0%, var(--blush) 55%, #f8e3ec 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.hero .collage img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; background: #fff; }


.eyebrow { display: block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--pink); margin-bottom: 10px; }

/* Güven şeridi */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 26px 0; }
.perk { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.perk i { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--blush); color: var(--pink); display: grid; place-items: center; font-style: normal; font-size: 20px; }
.perk b { display: block; color: var(--ink); font-size: 15px; }
.perk span { font-size: 13.5px; color: var(--muted); }

/* Bölümler */
.section { padding: 56px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }

/* Kategori kartları */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.cat-card:hover { box-shadow: var(--shadow); text-decoration: none; }
.cat-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .body { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cat-card h3 { margin: 0; font-size: 20px; }
.cat-card span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }

/* Ürün kartları */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.prod-card:hover { box-shadow: var(--shadow); }
.prod-card .img { display: block; aspect-ratio: 1; background: var(--blush); overflow: hidden; }
.prod-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-card:hover .img img { transform: scale(1.04); }
.prod-card .body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card .name { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.4; }
.prod-card .name:hover { color: var(--pink-dark); text-decoration: none; }
.prod-card .price { margin-top: auto; font-weight: 800; color: var(--ink); font-size: 17px; min-height: 26px; }
.prod-card .price small { font-weight: 600; color: var(--muted); font-size: 13px; }
.prod-card .btn { padding: 10px 14px; font-size: 14px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 18px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.toolbar select { font: inherit; font-size: 14.5px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.chips a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; }
.chips a:hover, .chips a.on { border-color: var(--pink); color: var(--pink-dark); text-decoration: none; background: var(--blush); }

/* Kırıntı */
.crumbs { font-size: 13.5px; color: var(--muted); padding-top: 18px; padding-bottom: 8px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: #c9bcc2; }
.crumbs a { color: var(--muted); }

/* Ürün sayfası */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; padding: 10px 0 36px; align-items: start; }
.gallery { position: sticky; top: 110px; }
.gallery .main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product h1 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 8px; }
.code { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.big-price { font-size: 32px; font-weight: 800; color: var(--ink); margin: 6px 0 4px; min-height: 44px; }
.price-note { font-size: 14px; color: var(--ok); font-weight: 700; margin-bottom: 18px; }
.buy { display: flex; gap: 10px; align-items: stretch; margin-bottom: 14px; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 42px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--blush); }
.qty input { width: 52px; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .btn { flex: 1; min-width: 200px; }
.assure { list-style: none; margin: 18px 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; font-size: 15px; }
.assure li::before { content: "✓"; color: var(--pink); font-weight: 800; margin-right: 9px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin-top: 1.2em; }
.prose h3 { font-size: 21px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 9px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody th { width: 38%; color: var(--ink); background: var(--bg); }

/* Sepet */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 60px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { font-size: 23px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.cart-item .t { color: var(--ink); font-weight: 600; }
.cart-item .u { font-size: 13.5px; color: var(--muted); }
.cart-item .r { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-item .rm { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; }
.cart-item .qty button { width: 34px; font-size: 17px; }
.cart-item .qty input { width: 40px; }
.sum { display: grid; gap: 8px; margin: 14px 0; font-size: 15.5px; }
.sum div { display: flex; justify-content: space-between; }
.sum .tot { font-size: 20px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; }
.free { color: var(--ok); font-weight: 700; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .field { margin-bottom: 12px; }
.form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid #e2d3da; border-radius: 10px; background: #fff; color: var(--text); }
.form textarea { min-height: 80px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.pay { display: grid; gap: 10px; margin: 8px 0 14px; }
.pay label { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; }
.pay label:has(input:checked) { border-color: var(--pink); background: var(--blush); }
.pay input { width: auto; accent-color: var(--pink); }
.pay small { display: block; font-weight: 400; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; }
.check input { width: auto; margin-top: 4px; accent-color: var(--pink); }
.hp { position: absolute; left: -5000px; }
.alert { padding: 13px 15px; border-radius: 10px; margin-bottom: 14px; font-size: 15px; }
.alert.err { background: #fdecec; color: #8a2525; }
.alert.ok { background: #e8f6ee; color: #1d5e33; }
.empty { text-align: center; padding: 50px 20px; }
.done { text-align: center; padding: 40px 20px 70px; max-width: 640px; margin: 0 auto; }
.done .big { font-size: 56px; }

/* Bilgi kutusu */
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--pink); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0 28px; }

/* Alt bilgi */
.site-footer { background: var(--ink); color: #d9cdd2; font-size: 15px; padding: 50px 0 0; margin-top: 30px; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer h3 { font-family: var(--sans); color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #f3e6eb; }
.site-footer .flogo { background: #fff; border-radius: 12px; padding: 10px; display: inline-block; margin-bottom: 12px; }
.site-footer .flogo img { height: 64px; }
.site-footer .legal { font-size: 13px; color: #b6a8ae; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 38px; padding: 16px 0; font-size: 13px; color: #a39398; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.wa-float svg { width: 29px; height: 29px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 12px; box-shadow: var(--shadow); z-index: 70; transition: transform .25s; display: flex; gap: 14px; align-items: center; font-size: 15px; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast a { color: #ffb3d4; font-weight: 700; }

@media (max-width: 980px) {
  .hero .wrap, .product, .cart-layout { grid-template-columns: 1fr; gap: 26px; }
  .hero .collage { display: none; }
  .gallery { position: static; }
  .perks { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-header .wrap { flex-wrap: wrap; gap: 12px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 54px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .menu-toggle { display: inline-flex; }
  .catnav { display: none; }
  .catnav.open { display: block; }
  .catnav ul { flex-direction: column; padding: 6px 20px 14px; }
  .catnav > ul > li > a { padding: 11px 2px; border-bottom: 1px solid var(--line); }
  .catnav .sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 6px 12px; }
}
@media (max-width: 600px) {
  .promo .wrap { gap: 6px 16px; font-size: 12.5px; padding: 6px 12px; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod-card .body { padding: 10px; }
  .prod-card .name { font-size: 14px; }
  .perks { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item .r { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .icon-btn .lbl { display: none; }
  .wa-head { display: none; }
  .logo img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
