/* OleaVela vitrin teması — palet şişe etiketinden alınmıştır */
:root {
    --krem: #f6f1e4;
    --krem-2: #efe6cf;
    --kagit: #fffdf7;
    --lacivert: #1f3a6e;
    --lacivert-koyu: #16284a;
    --zeytin: #5b6b2f;
    --zeytin-acik: #8ea05a;
    --alev: #e0a52e;
    --metin: #2b2b26;
    --soluk: #736d5c;
    --cizgi: #e3d9c0;
    --hata: #a8321f;
    --serif: 'Lora', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    --genislik: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--metin); background: var(--krem); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lacivert); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--lacivert); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--genislik); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--soluk); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 1.5px solid var(--lacivert); background: var(--lacivert); color: #fff; font: 600 .95rem var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; border-radius: 2px; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--lacivert-koyu); border-color: var(--lacivert-koyu); color: #fff; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--lacivert); }
.btn-ghost:hover { background: var(--lacivert); color: #fff; }
.btn-olive { background: var(--zeytin); border-color: var(--zeytin); }
.btn-olive:hover { background: #48561f; border-color: #48561f; }
.btn-danger { background: transparent; border-color: var(--hata); color: var(--hata); }
.btn-danger:hover { background: var(--hata); border-color: var(--hata); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--lacivert); text-decoration: underline; cursor: pointer; font: inherit; }

/* Duyuru şeridi */
.announce { background: var(--lacivert); color: #f3ecd8; font-size: .82rem; letter-spacing: .04em; overflow: hidden; white-space: nowrap; }
.announce-track { display: inline-flex; gap: 64px; padding: 8px 0; animation: kay 38s linear infinite; }
.announce-track span::before { content: "✦"; color: var(--alev); margin-right: 12px; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes kay { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }

/* Üst bilgi */
.site-header { background: var(--kagit); border-bottom: 1px solid var(--cizgi); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo img { height: 58px; width: auto; }
.main-nav { display: flex; gap: 26px; margin: 0 auto; }
.main-nav a { color: var(--metin); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--lacivert); border-bottom-color: var(--alev); }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: .9rem; }
.header-actions a { color: var(--metin); text-decoration: none; }
.header-actions a:hover { color: var(--lacivert); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--lacivert); color: var(--lacivert) !important; font-weight: 600; border-radius: 2px; }
.cart-link:hover { background: var(--lacivert); color: #fff !important; }
.cart-count { background: var(--alev); color: #2b2b26; border-radius: 999px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; padding: 0 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--lacivert); margin: 5px 0; }

/* Slider */
.hero { position: relative; background: var(--lacivert-koyu); color: #fff; overflow: hidden; }
.hero-slide { display: none; min-height: 520px; position: relative; }
.hero-slide.active { display: block; }
/* Görsel dikey bir fotoğraf olduğu için sağ yarıya yerleşir; sol yarı lacivert zemin üzerinde metindir. */
.hero-slide .bg { position: absolute; top: 0; bottom: 0; right: 0; width: 54%; background-size: cover; background-position: center 47%; }
.hero-slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--lacivert-koyu) 0%, rgba(22,40,74,.55) 22%, rgba(22,40,74,0) 55%); }
.hero-slide .wrap { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 48px; padding-bottom: 64px; }
.hero-kicker { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--alev); margin-bottom: 14px; }
.hero h1 { color: #fffdf7; max-width: 560px; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 16px; }
.hero p { max-width: 480px; font-size: 1.1rem; color: #e6e0cf; margin-bottom: 28px; }
.hero .btn { background: var(--alev); border-color: var(--alev); color: #20201b; }
.hero .btn:hover { background: #f0b944; border-color: #f0b944; color: #20201b; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--alev); }

/* Bölümler */
.section { padding: 72px 0; }
.section.alt { background: var(--kagit); border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); }
.section.navy { background: var(--lacivert); color: #e9e3d2; }
.section.navy h2, .section.navy h3 { color: #fffdf7; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--soluk); max-width: 560px; }
.kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--zeytin); font-weight: 600; margin-bottom: 8px; display: block; }
.section.navy .kicker { color: var(--alev); }

/* Ürün ızgarası ve kartı */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.product-card { background: var(--kagit); border: 1px solid var(--cizgi); display: flex; flex-direction: column; position: relative; }
.product-card .thumb { display: block; aspect-ratio: 1; background: var(--krem); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card h3 { font-size: 1.05rem; margin: 0; }
.product-card h3 a { text-decoration: none; color: var(--lacivert); }
.product-card .meta { font-size: .82rem; color: var(--soluk); }
.price { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; font-family: var(--serif); }
.price .now { font-size: 1.3rem; font-weight: 600; color: var(--metin); white-space: nowrap; }
.price .was { color: var(--soluk); text-decoration: line-through; font-size: .95rem; white-space: nowrap; }
.product-card form { margin-top: auto; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--alev); color: #20201b; font-size: .75rem; font-weight: 700; padding: 4px 10px; letter-spacing: .04em; z-index: 1; }
.badge.out { background: #6b6657; color: #fff; }

/* Değer şeridi */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.value { text-align: center; padding: 8px 12px; }
.value svg { width: 44px; height: 44px; stroke: var(--zeytin); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 12px; display: block; }
.value h3 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; }
.value p { color: var(--soluk); font-size: .93rem; margin: 0; }

/* Hikâye ve adımlar */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border: 1px solid var(--cizgi); width: 100%; max-height: 560px; object-fit: cover; }
.quote { font-family: var(--serif); font-size: 1.45rem; font-style: italic; color: var(--lacivert); border-left: 3px solid var(--alev); padding-left: 20px; margin: 0 0 22px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; counter-reset: adim; }
.step { counter-increment: adim; padding: 26px; background: var(--krem); border: 1px solid var(--cizgi); }
.step::before { content: counter(adim, decimal-leading-zero); font-family: var(--serif); font-size: 2.2rem; color: var(--alev); display: block; margin-bottom: 6px; }
.step p { margin: 0; color: var(--soluk); }
.coop { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.coop .figure { border: 1px solid rgba(255,255,255,.2); padding: 30px; text-align: center; }
.coop .figure strong { display: block; font-family: var(--serif); font-size: 3rem; color: var(--alev); line-height: 1; }

/* Yazı kartları */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.article-card { background: var(--kagit); border: 1px solid var(--cizgi); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s; }
.article-card:hover { box-shadow: 0 12px 30px rgba(31,58,110,.1); }
.article-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.article-card .body { padding: 18px; }
.article-card h3 { font-size: 1.1rem; }
.article-card p { color: var(--soluk); font-size: .92rem; margin: 0; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--zeytin); font-weight: 700; margin-bottom: 6px; }

/* Sayfa başlığı ve ekmek kırıntısı */
/* .wrap ile aynı öğede kullanıldığı için yalnızca dikey boşluk verilir; yatay boşluğu .wrap sağlar. */
.page-head { padding-top: 44px; padding-bottom: 26px; }
.page-head h1 { margin-bottom: 6px; }
.crumbs { font-size: .85rem; color: var(--soluk); margin-bottom: 12px; }
.crumbs a { color: var(--soluk); text-decoration: none; }
.crumbs a:hover { color: var(--lacivert); }
.page-body { padding-bottom: 80px; }

/* Filtre çipleri */
.chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.chip { padding: 7px 16px; border: 1px solid var(--cizgi); background: var(--kagit); color: var(--metin); text-decoration: none; font-size: .88rem; border-radius: 999px; }
.chip:hover { border-color: var(--lacivert); }
.chip.active { background: var(--lacivert); border-color: var(--lacivert); color: #fff; }
.chips .spacer { flex: 1; }
.chips select { padding: 7px 12px; border: 1px solid var(--cizgi); background: var(--kagit); font: inherit; font-size: .88rem; }

/* Ürün detayı */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
.gallery .main { background: var(--kagit); border: 1px solid var(--cizgi); aspect-ratio: 1; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumbs button { width: 76px; height: 76px; padding: 0; border: 1.5px solid var(--cizgi); background: var(--kagit); cursor: pointer; overflow: hidden; }
.gallery .thumbs button.active { border-color: var(--lacivert); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info .price .now { font-size: 2rem; }
.stock { font-size: .9rem; font-weight: 600; margin: 10px 0 20px; }
.stock.in { color: var(--zeytin); }
.stock.low { color: #a66a00; }
.stock.out { color: var(--hata); }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 22px; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1.5px solid var(--cizgi); background: var(--kagit); }
.qty button { width: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--lacivert); }
.qty input { width: 52px; border: 0; text-align: center; font: inherit; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--soluk); padding: 14px 0; border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); margin-bottom: 22px; }
.trust span::before { content: "✓ "; color: var(--zeytin); font-weight: 700; }
.highlights { padding-left: 20px; margin: 0 0 22px; }
.highlights li { margin-bottom: 5px; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--cizgi); font-size: .93rem; }
.spec th { width: 38%; color: var(--soluk); font-weight: 500; background: var(--kagit); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }
.stars { color: var(--alev); letter-spacing: 2px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--cizgi); }
.review .who { font-weight: 600; }

/* Kart, form */
.card { background: var(--kagit); border: 1px solid var(--cizgi); padding: 26px; margin-bottom: 22px; }
.card h2, .card h3 { margin-top: 0; }
.card.tight { padding: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: #45443c; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field select, .field textarea,
.input { width: 100%; padding: 11px 13px; border: 1.5px solid var(--cizgi); background: #fff; font: inherit; color: var(--metin); border-radius: 2px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--lacivert); box-shadow: 0 0 0 3px rgba(31,58,110,.12); }
.field .hint { font-size: .8rem; color: var(--soluk); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 8px 0; }
.check input { margin-top: 5px; width: 17px; height: 17px; flex: none; accent-color: var(--lacivert); }
.field-validation-error, .validation-summary-errors { color: var(--hata); font-size: .85rem; }
.field-validation-error { display: block; margin-top: 4px; }
.validation-summary-errors ul { margin: 0 0 16px; padding: 12px 16px 12px 32px; background: #f9e4df; border-left: 3px solid var(--hata); }
.validation-summary-valid { display: none; }
.input-validation-error { border-color: var(--hata) !important; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap; }

/* Bildirimler */
.alert { padding: 13px 18px; margin: 0 0 20px; border-left: 3px solid; background: var(--kagit); font-size: .95rem; }
.alert-ok { border-color: var(--zeytin); background: #edf2df; }
.alert-err { border-color: var(--hata); background: #f9e4df; }
.alert-warn { border-color: var(--alev); background: #fbf1d8; }
.alert-info { border-color: var(--lacivert); background: #e6ecf7; }

/* Sepet */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--kagit); border: 1px solid var(--cizgi); }
.cart-table th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soluk); padding: 14px 16px; border-bottom: 1px solid var(--cizgi); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--cizgi); vertical-align: middle; }
.cart-table td:nth-child(2) { white-space: nowrap; }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-table .prod { display: flex; gap: 14px; align-items: center; }
.cart-table .prod img { width: 72px; height: 72px; object-fit: cover; background: var(--krem); border: 1px solid var(--cizgi); }
.cart-table .prod a { color: var(--lacivert); text-decoration: none; font-weight: 600; font-family: var(--serif); }
.cart-table .num { text-align: right; white-space: nowrap; }
.summary { position: sticky; top: 110px; }
.summary h2 { font-size: 1.25rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .95rem; }
.sum-row.total { border-top: 1px solid var(--cizgi); margin-top: 10px; padding-top: 14px; font-size: 1.2rem; font-weight: 700; font-family: var(--serif); }
.sum-row .neg { color: var(--zeytin); }
.sum-item { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: .9rem; }
.sum-item img { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--cizgi); background: var(--krem); }
.sum-item .t { flex: 1; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon-form input { flex: 1; text-transform: uppercase; }
.ship-bar { background: var(--krem-2); height: 6px; margin: 8px 0 4px; }
.ship-bar i { display: block; height: 100%; background: var(--zeytin); }
.empty { text-align: center; padding: 70px 20px; }
.empty svg { width: 70px; height: 70px; stroke: var(--cizgi); fill: none; stroke-width: 1.4; margin: 0 auto 18px; display: block; }

/* Ödeme */
.steps-bar { display: flex; gap: 8px; margin-bottom: 26px; font-size: .85rem; flex-wrap: wrap; }
.steps-bar span { padding: 6px 14px; border: 1px solid var(--cizgi); background: var(--kagit); color: var(--soluk); }
.steps-bar span.on { background: var(--lacivert); color: #fff; border-color: var(--lacivert); }
.steps-bar span.done { color: var(--zeytin); border-color: var(--zeytin); }
.card-form { max-width: 520px; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--soluk); margin-top: 16px; }
.secure-note svg { width: 20px; height: 20px; stroke: var(--zeytin); fill: none; stroke-width: 1.8; flex: none; margin-top: 2px; }
.sim-box { max-width: 560px; margin: 60px auto; }
.sim-actions { display: grid; gap: 10px; }
.sim-banner { background: #fbf1d8; border: 1px dashed var(--alev); padding: 10px 14px; font-size: .88rem; margin-bottom: 18px; }

/* Sipariş ve hesap */
.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 34px; align-items: start; }
.account-nav { background: var(--kagit); border: 1px solid var(--cizgi); }
.account-nav a, .account-nav button { display: block; width: 100%; text-align: left; padding: 13px 18px; border: 0; border-bottom: 1px solid var(--cizgi); background: none; color: var(--metin); text-decoration: none; font: inherit; cursor: pointer; }
.account-nav > :last-child, .account-nav form:last-child button { border-bottom: 0; }
.account-nav a.active { background: var(--lacivert); color: #fff; }
.account-nav a:hover:not(.active), .account-nav button:hover { background: var(--krem); }
.table { width: 100%; border-collapse: collapse; background: var(--kagit); border: 1px solid var(--cizgi); }
.table th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soluk); padding: 12px 16px; border-bottom: 1px solid var(--cizgi); }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--cizgi); font-size: .93rem; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.status { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--krem-2); color: #4d4a3d; white-space: nowrap; }
.status.ok { background: #e2ecce; color: #3f5416; }
.status.info { background: #dfe7f6; color: var(--lacivert); }
.status.warn { background: #fbecc7; color: #7a5200; }
.status.bad { background: #f6dcd6; color: #8f241a; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; border-left: 2px solid var(--cizgi); margin-left: 7px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--kagit); border: 2px solid var(--lacivert); }
.timeline .when { font-size: .82rem; color: var(--soluk); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.address-card { background: var(--kagit); border: 1px solid var(--cizgi); padding: 18px; }
.address-card h3 { font-size: 1rem; font-family: var(--sans); font-weight: 700; color: var(--metin); }
.auth-box { max-width: 460px; margin: 0 auto; }

/* Alt bilgi */
.site-footer { background: var(--lacivert-koyu); color: #c5cde0; padding: 60px 0 0; font-size: .92rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #fffdf7; margin-bottom: 16px; }
.site-footer a { color: #c5cde0; text-decoration: none; }
.site-footer a:hover { color: var(--alev); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-logo { height: 54px; width: auto; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8f9bb8; }
.pay-note { display: inline-flex; gap: 8px; align-items: center; }

/* WhatsApp ve çerez bildirimi */
.wa { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.22); z-index: 60; }
.wa svg { width: 30px; height: 30px; fill: #fff; }
.cookie { position: fixed; left: 20px; bottom: 20px; max-width: 380px; background: var(--kagit); border: 1px solid var(--cizgi); box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 16px 18px; font-size: .86rem; z-index: 61; }
.cookie p { margin: 0 0 10px; }

@media (max-width: 960px) {
    .split, .coop, .product-detail, .cart-layout, .checkout-layout, .account-layout, .grid-2 { grid-template-columns: 1fr; gap: 28px; }
    .summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: block; margin-left: auto; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--kagit); border-bottom: 1px solid var(--cizgi); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
    .header-actions .hide-sm { display: none; }
    .site-header .wrap { min-height: 68px; gap: 14px; }
    .logo img { height: 46px; }
    .hero-slide, .hero-slide .wrap { min-height: 440px; }
    .hero-slide .bg { width: 100%; }
    .hero-slide .bg::after { background: linear-gradient(90deg, rgba(22,40,74,.92) 0%, rgba(22,40,74,.7) 55%, rgba(22,40,74,.35) 100%); }
    .section { padding: 52px 0; }
}
@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .price .now { font-size: 1.1rem; }
    .product-card .body { padding: 12px; }
    .product-card h3 { font-size: .95rem; }
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { border-bottom: 1px solid var(--cizgi); padding: 10px 0; }
    .cart-table td { border: 0; padding: 6px 14px; }
    .cart-table .num { text-align: left; }
    .card { padding: 18px; }
    .cookie { left: 10px; right: 10px; bottom: 84px; max-width: none; }
}

/* ================================================================== */
/* Hareket ve sayfa yenilenmeden çalışma                                */
/* ================================================================== */

/* Üstteki yükleme çubuğu */
.nav-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--alev), #f6d27a); z-index: 200; opacity: 0; pointer-events: none; box-shadow: 0 0 10px rgba(224,165,46,.7); }
.nav-progress.on { opacity: 1; width: 82%; transition: width 6s cubic-bezier(.1,.6,.2,1), opacity .15s; }
.nav-progress.on.done { width: 100%; opacity: 0; transition: width .2s ease-out, opacity .3s .15s; }
body.is-loading main { opacity: .6; transition: opacity .2s .15s; }

/* Sayfa geçişi: üst bilgi yerinde kalır, içerik yumuşakça değişir */
.site-header { view-transition-name: ust-bilgi; }
::view-transition-old(root) { animation: sayfa-cik .18s ease-in both; }
::view-transition-new(root) { animation: sayfa-gir .32s ease-out both; }
@keyframes sayfa-cik { to { opacity: 0; transform: translateY(-6px); } }
@keyframes sayfa-gir { from { opacity: 0; transform: translateY(10px); } }

/* Kaydırınca beliren bölümler (yalnızca betik çalışıyorsa gizlenir) */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms), translate .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.reveal.in { opacity: 1; translate: 0 0; }

/* Ürün kartı: imlece göre eğilme, parıltı, ikinci görsele geçiş */
.product-grid { perspective: 1400px; }
.product-card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s; will-change: transform; }
.product-card:hover { --lift: -6px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); box-shadow: 0 22px 44px rgba(31,58,110,.16); }
.product-card.tilting { transition: transform .08s linear, box-shadow .3s; }
.product-card .thumb { position: relative; }
.product-card .thumb img { transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .45s; }
.product-card:hover .thumb .main-img { transform: scale(1.07); }
.product-card .thumb .alt-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.12); object-position: center 46%; }
.product-card:hover .thumb .alt-img { opacity: 1; transform: scale(1.02); }
.product-card .glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,253,247,.42), transparent 55%); }
.product-card.tilting .glare { opacity: 1; }
.product-card .badge { transform: translateZ(26px); }
.product-card h3 a { background: linear-gradient(var(--alev), var(--alev)) 0 100% / 0 2px no-repeat; transition: background-size .35s; padding-bottom: 2px; }
.product-card:hover h3 a { background-size: 100% 2px; }

/* Sepete ekle düğmesi: dolma, bekleme ve "eklendi" durumları */
.btn-add { position: relative; overflow: hidden; z-index: 0; }
.btn-add::before { content: ""; position: absolute; inset: 0; background: var(--lacivert); transform: translateX(-101%); transition: transform .35s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.btn-ghost.btn-add:hover { background: transparent; }
.btn-ghost.btn-add:hover::before, .btn-ghost.btn-add.busy::before { transform: none; }
.btn-add.busy { color: #fff; pointer-events: none; }
.btn-add.busy span { opacity: .75; }
.btn-add.busy span::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 9px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; vertical-align: -1px; animation: don .6s linear infinite; }
.btn-add.done, .btn-add.done:hover { background: var(--zeytin); border-color: var(--zeytin); color: #fff; opacity: 1; }
.btn-add.done::before { background: var(--zeytin); transform: none; }
.btn-add.done span::before { content: "✓ "; }
.btn-add:disabled { opacity: 1; }
@keyframes don { to { transform: rotate(360deg); } }

/* Sepete uçan ürün */
.fly { position: fixed; z-index: 150; pointer-events: none; }
.fly-inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 14px 34px rgba(22,40,74,.32); background: var(--krem); }
.fly-inner img { width: 100%; height: 100%; object-fit: cover; }
.cart-count.bump { animation: ziplat .5s cubic-bezier(.3,1.6,.5,1); }
.cart-link.catch { animation: yakala .55s ease-out; }
@keyframes ziplat { 0% { transform: scale(1); } 35% { transform: scale(1.75); } 100% { transform: scale(1); } }
@keyframes yakala { 0% { box-shadow: 0 0 0 0 rgba(224,165,46,.75); } 100% { box-shadow: 0 0 0 16px rgba(224,165,46,0); } }

/* Yandan açılan sepet paneli */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(22,40,74,.42); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 120; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); background: var(--krem); box-shadow: -18px 0 50px rgba(22,40,74,.22); transform: translateX(104%); visibility: hidden; transition: transform .42s cubic-bezier(.2,.8,.2,1), visibility .42s; z-index: 130; display: flex; flex-direction: column; outline: none; }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; visibility: visible; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--cizgi); background: var(--kagit); }
.drawer-head h2 { margin: 0; font-size: 1.35rem; }
.drawer-x { border: 0; background: none; font-size: 1.9rem; line-height: 1; color: var(--lacivert); cursor: pointer; padding: 0 6px; transition: transform .25s; }
.drawer-x:hover { transform: rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; transition: opacity .2s; }
.drawer-body.loading { opacity: .5; pointer-events: none; }
.drawer-body:empty::before { content: ""; display: block; width: 28px; height: 28px; margin: 60px auto; border: 3px solid var(--cizgi); border-top-color: var(--lacivert); border-radius: 50%; animation: don .7s linear infinite; }
.mini { display: flex; flex-direction: column; min-height: 100%; }
.mini > .alert { margin: 14px 24px 0; }
.mini-ship { padding: 14px 24px; font-size: .88rem; background: var(--kagit); border-bottom: 1px solid var(--cizgi); }
.mini-ship .ship-bar { margin: 8px 0 0; }
.ship-bar i { transition: width .6s cubic-bezier(.2,.8,.2,1); }
.mini-items { list-style: none; margin: 0; padding: 6px 24px; flex: 1; }
.mini-items li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--cizgi); animation: satir-gir .4s cubic-bezier(.2,.7,.2,1) both; }
.mini-items li:nth-child(2) { animation-delay: .05s; } .mini-items li:nth-child(3) { animation-delay: .1s; } .mini-items li:nth-child(n+4) { animation-delay: .15s; }
.mini-items img { width: 70px; height: 70px; object-fit: cover; background: var(--kagit); border: 1px solid var(--cizgi); }
.mini-items .t { flex: 1; min-width: 0; }
.mini-items .t > a { display: block; font-family: var(--serif); font-weight: 600; color: var(--lacivert); text-decoration: none; font-size: .95rem; line-height: 1.3; margin-bottom: 8px; }
.mini-items .p { text-align: right; white-space: nowrap; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.qty-sm button { width: 30px; font-size: 1rem; }
.qty-sm input { width: 38px; font-size: .9rem; padding: 4px 0; }
.mini-foot { padding: 18px 24px 24px; background: var(--kagit); border-top: 1px solid var(--cizgi); position: sticky; bottom: 0; }
.mini-foot .btn { margin-top: 10px; }
.mini-empty { text-align: center; padding: 70px 30px; }
.mini-empty svg { width: 74px; height: 74px; fill: none; stroke: var(--cizgi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 14px; display: block; }
@keyframes satir-gir { from { opacity: 0; transform: translateX(22px); } }

/* Bildirimler */
.toasts { position: fixed; top: 96px; right: 20px; z-index: 160; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--lacivert-koyu); color: #fffdf7; padding: 13px 18px; font-size: .92rem; max-width: 340px; border-left: 3px solid var(--zeytin-acik); box-shadow: 0 12px 30px rgba(22,40,74,.25); opacity: 0; transform: translateX(30px); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.toast.in { opacity: 1; transform: none; }
.toast-warn { border-left-color: var(--alev); }
.toast-err { border-left-color: #e2705c; }

/* Sayfa içi bildirimler ve galeri */
.alert { animation: bildirim-gir .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bildirim-gir { from { opacity: 0; transform: translateY(-8px); } }
.gallery .main img { transition: opacity .16s, transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery .main img.swap { opacity: 0; }
.gallery .main:hover img { transform: scale(1.04); }
.gallery .thumbs button { transition: border-color .2s, transform .2s; }
.gallery .thumbs button:hover { transform: translateY(-3px); }

/* Slider: yavaş yakınlaşma ve sırayla giren yazılar */
.hero-slide.active .bg { animation: yakinlas 14s ease-out both; }
.hero-slide.active .hero-kicker, .hero-slide.active h1, .hero-slide.active h2, .hero-slide.active p, .hero-slide.active .btn { animation: yukari-gir .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-slide.active h1, .hero-slide.active h2 { animation-delay: .12s; }
.hero-slide.active p { animation-delay: .24s; }
.hero-slide.active .btn { animation-delay: .36s; }
@keyframes yakinlas { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes yukari-gir { from { opacity: 0; transform: translateY(26px); } }

/* Küçük dokunuşlar */
.btn { transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .2s; }
.btn:not(.disabled):not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(22,40,74,.16); }
.btn:not(.disabled):not(:disabled):active { transform: translateY(0); box-shadow: none; }
.chip { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.chip:hover { transform: translateY(-2px); }
.article-card { transition: box-shadow .3s, transform .35s cubic-bezier(.2,.7,.2,1); overflow: hidden; }
.article-card:hover { transform: translateY(-5px); }
.article-card img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.article-card:hover img { transform: scale(1.06); }
.value svg { transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.value:hover svg { transform: translateY(-6px) scale(1.08); }
.step { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.step:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(31,58,110,.1); }
.logo img { transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.logo:hover img { transform: scale(1.04); }
.wa { transition: transform .3s cubic-bezier(.3,1.5,.5,1); animation: wa-nabiz 3.2s ease-in-out 2s infinite; }
.wa:hover { transform: scale(1.12); }
@keyframes wa-nabiz { 0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 14px rgba(37,211,102,0); } }

/* Ödeme alındığında yağan zeytin yaprakları */
.leaves { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 170; }
.leaves i { position: absolute; top: -40px; width: var(--size, 18px); height: calc(var(--size, 18px) * .42); background: var(--zeytin-acik); border-radius: 100% 0 100% 0; opacity: 0; animation: yaprak 4s cubic-bezier(.3,.1,.6,1) forwards; }
.leaves i:nth-child(odd) { background: var(--zeytin); }
.leaves i.gold { background: var(--alev); border-radius: 50%; width: 8px; height: 8px; }
@keyframes yaprak { 0% { opacity: 0; transform: translate(0, 0) rotate(0deg); } 8% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--drift, 0px), 108vh) rotate(var(--spin, 360deg)); } }

@media (max-width: 640px) {
    .toasts { top: 78px; right: 10px; left: 10px; }
    .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; translate: none; }
}

/* Dar masaüstü: üst bilgi tek satırda kalsın, sepet ve ödeme düzeni taşmasın */
.main-nav a, .header-actions a { white-space: nowrap; }
.cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 380px; }
.cart-table .prod > div { min-width: 0; }
@media (max-width: 1240px) {
    .site-header .wrap { gap: 18px; }
    .main-nav { gap: 18px; }
    .header-actions { gap: 14px; }
    .header-actions .hide-sm { display: none; }
}
@media (max-width: 1100px) {
    .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .summary { position: static; }
}
