/* ==========================================================
   Umudum Çiçek Evi — modern vitrin tasarımı
   ========================================================== */

:root {
    --cream: #fbf6f1;
    --paper: #ffffff;
    --ink: #2a2321;
    --muted: #6f6560;
    --line: #eadfd6;
    --green: #2f4a3c;
    --green-dark: #213529;
    --rose: #c8326b;
    --rose-dark: #a32356;
    --rose-soft: #fbe6ee;
    --wa: #1faa59;
    --radius: 18px;
    --shadow: 0 10px 30px -12px rgba(47, 30, 20, .22);
    --shadow-lg: 0 24px 60px -20px rgba(47, 30, 20, .35);
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: 15px; transition: .2s ease; white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--primary { background: var(--rose); color: #fff; box-shadow: 0 8px 20px -8px rgba(200, 50, 107, .7); }
.btn--primary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--rose-soft); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(.93); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--green); color: #e9f0eb; font-size: 13px; }
.topbar__inner { display: flex; justify-content: center; gap: 14px; padding: 9px 0; text-align: center; flex-wrap: wrap; }
.topbar__sep { opacity: .5; }

.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 246, 241, .86);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(47, 30, 20, .35); }
.header__inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--green); }
.brand__mark { width: 36px; height: 36px; color: var(--rose); stroke: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: .2px; }
.brand__text small { font-size: 11px; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 500; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--rose); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
    position: relative; width: 42px; height: 42px; border-radius: 50%;
    border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--rose); color: var(--rose); }
.icon-btn[aria-pressed="true"] { background: var(--rose-soft); border-color: var(--rose); color: var(--rose); }
.icon-btn[aria-pressed="true"] svg { fill: var(--rose); }
.badge {
    position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 99px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700;
    display: grid; place-items: center;
}

/* ---------- Hero ---------- */
.hero { padding: 54px 0 34px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 99px;
    background: var(--rose-soft); color: var(--rose-dark);
    font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.eyebrow--light { background: rgba(255, 255, 255, .14); color: #fff; }
.hero h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(36px, 5.2vw, 62px); color: var(--green-dark); letter-spacing: -.5px; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero__lead { margin: 20px 0 28px; color: var(--muted); font-size: 17px; max-width: 520px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; list-style: none; padding: 0; margin: 38px 0 0; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--green); }
.hero__stats span { font-size: 13px; color: var(--muted); }

.hero__art { position: relative; height: 520px; }
.hero__img { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: #eee; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--a { width: 56%; height: 70%; top: 0; left: 4%; transform: rotate(-3deg); }
.hero__img--b { width: 46%; height: 52%; right: 0; top: 8%; transform: rotate(4deg); }
.hero__img--c { width: 50%; height: 46%; right: 10%; bottom: 0; transform: rotate(-2deg); }
.hero__tag {
    position: absolute; left: 0; bottom: 14%; display: flex; align-items: center; gap: 9px;
    background: #fff; padding: 11px 18px; border-radius: 99px; box-shadow: var(--shadow);
    font-size: 13.5px; font-weight: 600; color: var(--green);
}
.hero__tag svg { width: 22px; height: 22px; color: var(--rose); }

/* ---------- Perks ---------- */
.perks { padding: 10px 0 26px; }
.perks__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
}
.perk { display: flex; align-items: center; gap: 14px; }
.perk svg { width: 34px; height: 34px; flex: none; color: var(--rose); }
.perk strong { display: block; font-size: 14.5px; }
.perk span { font-size: 12.5px; color: var(--muted); }

/* ---------- Catalog ---------- */
.catalog { padding: 56px 0 70px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 4vw, 44px); color: var(--green-dark); }
.section-head p:last-child { color: var(--muted); margin: 12px 0 0; }

.toolbar { display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.search { flex: 1 1 320px; position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input, .select select {
    width: 100%; height: 50px; border-radius: 99px; border: 1.5px solid var(--line);
    background: #fff; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: .2s;
}
.search input { padding: 0 20px 0 46px; }
.search input:focus, .select select:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }
.select { flex: 0 0 240px; }
.select select { padding: 0 18px; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f6560' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center; padding-right: 42px; }

.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
    border-radius: 99px; border: 1.5px solid var(--line); background: #fff;
    font-weight: 600; font-size: 14px; transition: .2s;
}
.chip span { font-size: 12px; font-weight: 600; background: var(--cream); color: var(--muted); padding: 2px 8px; border-radius: 99px; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.chip.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }

.result-info { margin: 6px 2px 18px; font-size: 14px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
    background: var(--paper); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 3 / 4; background: #f1e9e2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__cat {
    position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 99px;
    background: rgba(255, 255, 255, .92); color: var(--green); font-size: 11.5px; font-weight: 700; letter-spacing: .2px;
}
.card__cat--static { position: static; display: inline-block; background: var(--rose-soft); color: var(--rose-dark); }
.fav {
    position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; transition: .2s;
}
.fav svg { width: 19px; height: 19px; }
.fav:hover { transform: scale(1.1); color: var(--rose); }
.fav[aria-pressed="true"] { color: var(--rose); }
.fav[aria-pressed="true"] svg { fill: var(--rose); }
.card__quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px; border: 0; border-radius: 12px;
    background: rgba(33, 53, 41, .92); color: #fff; font-weight: 600; font-size: 14px;
    transform: translateY(150%); transition: transform .3s ease;
}
.card:hover .card__quick, .card__quick:focus-visible { transform: none; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__title { font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: .1px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--rose-dark); white-space: nowrap; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { width: 56px; height: 56px; color: var(--rose); margin-bottom: 8px; }
.empty h3 { font-family: var(--font-head); font-size: 26px; color: var(--green-dark); }
.empty p { margin: 10px 0 22px; }

/* ---------- Services ---------- */
.services { padding: 70px 0; background: #fff; border-block: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 28px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); transition: .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rose); }
.service svg { width: 40px; height: 40px; color: var(--rose); margin-bottom: 16px; }
.service h3 { font-family: var(--font-head); font-size: 20px; color: var(--green-dark); margin-bottom: 8px; }
.service p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Info ---------- */
.info { padding: 80px 0; background: var(--green); color: #fff; }
.info__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.info h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 26px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 58px; color: #dfe9e2; }
.steps li strong { color: #fff; }
.steps li::before {
    content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%;
    background: var(--rose); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); font-size: 18px;
}
.note { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 30px; }
.note h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 12px; }
.note p { margin: 0 0 14px; color: #dfe9e2; font-size: 15px; }
.note .note__ship { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--green-dark); color: #c9d6cd; padding: 44px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer strong { font-family: var(--font-head); color: #fff; font-size: 22px; }
.footer p { margin: 6px 0 0; font-size: 14px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; }
.footer__links a:hover { color: #fff; }
.footer__copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; opacity: .8; }

/* Sabit WhatsApp düğmesi
   - Masaüstü/tablet: yazılı hap düğme
   - Mobil (≤640px): yuvarlak, yalnızca ikon (yazı ekran okuyucular için durur)
   Nabız efekti pseudo-element yerine box-shadow ile yapılır; böylece hiçbir
   zaman ekran kenarından taşmaz. */
.wa-float {
    --wa-ring: 0 0 0 3px rgba(255, 255, 255, .85);
    position: fixed; z-index: 60;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    max-width: calc(100vw - 36px);
    padding: 14px 22px 14px 16px; border-radius: 999px;
    background: var(--wa); color: #fff; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
    box-shadow: 0 12px 26px -10px rgba(31, 170, 89, .85), var(--wa-ring), 0 0 0 0 rgba(31, 170, 89, .5);
    animation: wa-pulse 2.6s ease-out infinite;
    transition: transform .2s, filter .2s;
    -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: translateY(-2px); filter: brightness(.95); animation-play-state: paused; }
.wa-float svg { width: 26px; height: 26px; flex: none; fill: currentColor; stroke: none; }
.wa-float span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@keyframes wa-pulse {
    0%   { box-shadow: 0 12px 26px -10px rgba(31, 170, 89, .85), var(--wa-ring), 0 0 0 0 rgba(31, 170, 89, .5); }
    70%, 100% { box-shadow: 0 12px 26px -10px rgba(31, 170, 89, .85), var(--wa-ring), 0 0 0 12px rgba(31, 170, 89, 0); }
}
@media (max-width: 640px) {
    .wa-float {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 58px; height: 58px; padding: 0; gap: 0;
    }
    .wa-float svg { width: 32px; height: 32px; }
    .wa-float span { display: none; }   /* yazı gizli; erişilebilirlik için a[aria-label] var */
    .page-order .wa-float { display: none; } /* sipariş formunun kendisi zaten WhatsApp'a gider */
}
@media (max-width: 520px) {
    .footer { padding-bottom: 96px; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(24, 18, 16, .6); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal__dialog {
    position: relative; width: min(880px, 100%); max-height: 92vh; overflow: auto;
    background: #fff; border-radius: 24px; display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg); animation: pop .25s ease;
}
.modal__media { background: #f1e9e2; min-height: 320px; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 38px 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.modal__body h2 { font-family: var(--font-head); font-size: 28px; color: var(--green-dark); }
.modal__price { margin: 0; font-family: var(--font-head); font-size: 32px; font-weight: 600; color: var(--rose-dark); }
.modal__list { margin: 4px 0 10px; padding-left: 20px; color: var(--muted); font-size: 14.5px; display: grid; gap: 6px; }
.modal__actions { display: grid; gap: 10px; }
.modal__close {
    position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .95); display: grid; place-items: center; box-shadow: var(--shadow);
}
.modal__close svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* ---------- Reveal ---------- */
.js .card { opacity: 0; transform: translateY(18px); }
.js .card.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease, box-shadow .25s; }
.js .card.is-in:hover { transform: translateY(-5px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .perks__grid { grid-template-columns: repeat(2, 1fr); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nav { display: none; }
    .header__actions { margin-left: auto; }
    .hero__inner { grid-template-columns: 1fr; gap: 30px; }
    .hero__art { height: 420px; max-width: 520px; margin: 0 auto; width: 100%; }
    .info__inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 720px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .card__body { padding: 12px 12px 14px; gap: 10px; }
    .card__title { font-size: 13px; }
    .price { font-size: 17px; }
    .card__foot { flex-direction: column; align-items: stretch; }
    .card__foot .btn { width: 100%; }
    .card__quick { display: none; }
    .select { flex: 1 1 100%; }
    .modal__dialog { grid-template-columns: 1fr; }
    .modal__media { min-height: 0; height: 280px; }
    .modal__body { padding: 24px 22px 28px; }
    .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .topbar__sep { display: none; }
    .brand__text small { display: none; }
    .hero { padding-top: 34px; }
    .hero__art { height: 340px; }
    .perks__grid, .services__grid { grid-template-columns: 1fr; }
    .header__actions .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .card { opacity: 1; transform: none; }
}

.card__media.no-img::after {
    content: 'Görsel yüklenemedi'; position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 13px; color: var(--muted); background: #f1e9e2;
}

/* ==========================================================
   Sipariş sayfası
   ========================================================== */
.btn--block { width: 100%; padding: 16px 26px; font-size: 16px; }
.btn--wa svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.btn[disabled] { opacity: .65; cursor: progress; }

.order { padding: 26px 0 80px; }
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--rose); }
.order__head { max-width: 680px; margin-bottom: 30px; }
.order__head h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 4.4vw, 48px); color: var(--green-dark); letter-spacing: -.3px; }
.order__head h1 em { font-style: italic; color: var(--rose); }
.order__head p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16.5px; }

.order__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: start; }

.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: 24px;
    padding: 34px; box-shadow: var(--shadow); display: grid; gap: 22px;
}
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 14.5px; padding: 0; }
.field label b { color: var(--rose); }
.field label small, .field legend small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.field > small { color: var(--muted); font-size: 12.5px; margin-top: -2px; }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="time"],
.field select, .field textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream);
    padding: 14px 16px; font: inherit; font-size: 15.5px; color: var(--ink); outline: none; transition: .2s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f6560' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px var(--rose-soft); }
.field [aria-invalid="true"] { border-color: #d64545; background: #fff7f7; }
.err { color: #c23030; font-size: 13px; font-weight: 500; }
.err:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2px; }
.choice__item { position: relative; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; inset: 0; }
.choice__item span {
    display: grid; gap: 2px; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line); border-radius: 14px;
    background: var(--cream); transition: .2s; position: relative;
}
.choice__item span::before {
    content: ''; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
    border-radius: 50%; border: 2px solid #cbbfb5; background: #fff; transition: .2s;
}
.choice__item strong { font-size: 14.5px; }
.choice__item em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.choice__item input:checked + span { border-color: var(--rose); background: var(--rose-soft); }
.choice__item input:checked + span::before { border-color: var(--rose); background: radial-gradient(var(--rose) 0 45%, #fff 50%); }
.choice__item input:focus-visible + span { box-shadow: 0 0 0 4px var(--rose-soft); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.alert--warn { background: #fff6e0; border: 1px solid #f0d58a; color: #6d5413; }
.alert code { background: rgba(0, 0, 0, .06); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.form-msg { margin: 0; padding: 13px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.form-msg--error { background: #fdecec; color: #a12727; border: 1px solid #f3c1c1; }
.form-hint { margin: -6px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.order__side { display: grid; gap: 18px; position: sticky; top: 96px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.side-card h3 { font-family: var(--font-head); font-size: 19px; color: var(--green-dark); margin-bottom: 12px; }
.side-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.side-card--note { background: var(--green); border-color: var(--green); }
.side-card--note h3 { color: #fff; }
.side-card--note p { color: #dfe9e2; }
.side-card--product { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px; align-items: center; }
.side-card__img { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='4' fill='%23c8326b'/%3E%3Cg fill='%23c8326b' opacity='.35'%3E%3Cellipse cx='16' cy='7' rx='4' ry='5'/%3E%3Cellipse cx='16' cy='25' rx='4' ry='5'/%3E%3Cellipse cx='7' cy='16' rx='5' ry='4'/%3E%3Cellipse cx='25' cy='16' rx='5' ry='4'/%3E%3C/g%3E%3C/svg%3E") center / 40px no-repeat; }
.side-card__img img { width: 100%; height: 100%; object-fit: cover; }
.side-card__label { font-size: 12px !important; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rose-dark) !important; margin-bottom: 4px !important; }
.side-card--product h2 { font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.side-card--product .price { margin: 6px 0 0; font-size: 22px; }
.side-link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--rose); }
.side-link:hover { text-decoration: underline; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted); }
.ticks li::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--rose-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8326b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.500 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.done { max-width: 560px; margin: 30px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 44px 30px; box-shadow: var(--shadow); }
.done__icon { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: #e6f6ec; color: var(--wa); display: grid; place-items: center; }
.done__icon svg { width: 38px; height: 38px; stroke-width: 2.6; }
.done h2 { font-family: var(--font-head); font-size: 30px; color: var(--green-dark); }
.done p { color: var(--muted); margin: 12px 0 24px; }
.done__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Tarih / saat kutuları tüm tarayıcılarda diğer alanlarla aynı yükseklikte olsun */
.field input[type="date"], .field input[type="time"] {
    -webkit-appearance: none; appearance: none; display: block; min-height: 50px; line-height: 1.3; text-align: left;
}
.field select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.field input, .field select, .field textarea { min-width: 0; }

/* ---- Sipariş sayfası: tablet + mobil ----
   Düzen (yukarıdan aşağı): başlık → seçilen ürün (kompakt) → FORM → teslimat bilgileri.
   Eskiden bilgi kartları formun üstüne geliyor, form ekranın çok altında kalıyordu. */
@media (max-width: 960px) {
    .order__grid { grid-template-columns: 1fr; gap: 16px; }
    .order__side { display: contents; }           /* kartlar doğrudan grid öğesi olur, sırayı biz veririz */
    .side-card--product { order: -1; }
    .form-card { order: 0; }
    .side-card:not(.side-card--product) { order: 1; }
}

@media (max-width: 560px) {
    .container { width: min(1200px, 100% - 32px); }
    .topbar__inner span:nth-child(3) { display: none; }   /* üst bant tek satır olsun */
    .topbar { font-size: 12.5px; }
    .topbar__inner { padding: 8px 0; }

    .order { padding: 14px 0 56px; }
    .crumbs { margin-bottom: 12px; font-size: 13px; }
    .order__head { margin-bottom: 16px; }
    .order__head .eyebrow { margin-bottom: 10px; padding: 5px 12px; font-size: 11.5px; }
    .order__head h1 { font-size: 29px; }
    .order__head p:last-child { margin-top: 10px; font-size: 14.5px; line-height: 1.5; }

    /* seçilen ürün: ince, tek bakışta okunan satır */
    .side-card--product { grid-template-columns: 64px 1fr; gap: 12px; padding: 10px; border-radius: 16px; }
    .side-card__img { border-radius: 10px; }
    .side-card__label { font-size: 11px !important; margin-bottom: 2px !important; }
    .side-card--product h2 { font-size: 14px; }
    .side-card--product .price { font-size: 18px; margin-top: 2px; }
    .side-link { margin-top: 2px; font-size: 13px; }
    .side-card { padding: 18px; border-radius: 16px; }

    .form-card { padding: 20px 16px 18px; border-radius: 20px; gap: 18px; box-shadow: 0 8px 24px -14px rgba(47, 30, 20, .3); }
    .field { gap: 6px; }
    .field label, .field legend { font-size: 14px; }

    /* 16px: iPhone'da alana dokununca sayfanın zoom yapmasını engeller */
    .field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="time"],
    .field select, .field textarea {
        font-size: 16px; padding: 12px 14px; min-height: 50px; border-radius: 12px;
    }
    .field textarea { min-height: 88px; }
    .field select { padding-right: 40px; background-position: right 14px center; }

    /* Hemen / İleri tarihli yan yana, kompakt */
    .choice { grid-template-columns: 1fr 1fr; gap: 10px; }
    .choice__item span { padding: 12px 8px 12px 38px; border-radius: 12px; }
    .choice__item span::before { left: 12px; width: 16px; height: 16px; margin-top: -8px; }
    .choice__item strong { font-size: 14px; line-height: 1.25; }
    .choice__item em { font-size: 12px; line-height: 1.3; }

    .field-row { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; }
    .btn--block { padding: 15px 20px; font-size: 16px; }
    .form-hint { margin-top: -4px; font-size: 12.5px; }
    .alert { font-size: 13px; padding: 12px 14px; }
}
@media (max-width: 359px) {
    .field-row { grid-template-columns: 1fr; }
}
