/* Turquoise Tassel – tema stilleri
   Renk: derin turkuaz (ip), mürekkep, sis; tek vurgu: safran (yalnız "yeni/anahtarlık").
   Yazı: Marcellus (başlık, oyma harf hissi) + Figtree (metin).
   Motif: dikiş çizgisi (kesik hat) – yalnız bölüm başlıklarında ve çekmecelerde. */

:root {
    --ink: #16292b;
    --ink-2: #4a5d5f;
    --teal: #1f7a80;
    --teal-d: #175e63;
    --teal-l: #3aa3ab;
    --mist: #e8f1f0;
    --paper: #ffffff;
    --stone: #f3f5f4;
    --line: #d5e1df;
    --saffron: #d6962a;
    --danger: #b3261e;
    --ok: #1e6b34;
    --f-head: "Marcellus", "Cormorant Garamond", Georgia, serif;
    --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1280px;
    --gut: clamp(16px, 4vw, 40px);
    --r: 6px;
    --stitch: repeating-linear-gradient(90deg, var(--teal) 0 7px, transparent 7px 12px);
    --shadow: 0 10px 30px rgba(22, 41, 43, .12);

    /* Taşınan sepet/ödeme/hesabım tasarımının (checkout.css) kullandığı adlar.
       Dosyayı değiştirmemek için burada temanın kendi değerlerine bağlanıyor. */
    --muted: var(--ink-2);
    --radius: var(--r);
    --gutter: var(--gut);
    --header-h: 60px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --sale: var(--danger);
    --tape: var(--saffron);
    --fs-sm: 13px;
    --fs-base: 15px;
    --fs-h3: 17px;
    --fs-h2: clamp(20px, 2.2vw, 24px);
    --fs-h1: clamp(24px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: clamp(30px, 4.2vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.icon { display: block; width: 20px; height: 20px; flex: none; }

/* ---------------- düğmeler ---------------- */
.btn, .button, button.button, a.button, input.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px; border: 1px solid var(--teal); border-radius: var(--r);
    background: var(--teal); color: #fff; font: 600 15px/1.2 var(--f-body); text-decoration: none; letter-spacing: .01em;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover {
    background: var(--teal-d); border-color: var(--teal-d); color: #fff;
}
.btn--line, .woocommerce a.button.btn--line { background: transparent; color: var(--teal); }
.btn--line:hover { background: var(--teal); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--teal-d); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--teal-d); }
.btn--sm { min-height: 40px; padding: 8px 18px; }
.woocommerce button.button.alt.disabled, .woocommerce button.button:disabled, .woocommerce button.button.disabled { background: var(--teal); opacity: .45; color: #fff; }
.button.loading { opacity: .7; pointer-events: none; }
.button.loading::after { display: none !important; }


.drawer-empty { text-align: center; padding: 40px 0; }
.drawer-empty .icon { width: 40px; height: 40px; color: var(--teal); margin: 0 auto 10px; display: block; }

/* ---------------- açılış ---------------- */
.hero { position: relative; display: grid; background: var(--mist); overflow: hidden; }
/* Tum slaytlar ayni grid hucresinde durur: bolumun yuksekligi en uzun slayta gore sabitlenir,
   gecislerde zipmaz. Gorunurluk opaklikla degisir. */
.hero__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s ease, visibility .5s; }
.hero__slide.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.hero__media { margin: 0; order: -1; aspect-ratio: 5 / 4; height: auto; max-height: 60vh; overflow: hidden; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
.hero__copy { padding: 22px var(--gut) 46px; }
.hero__title { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 12px; }
.hero__text { font-size: 16px; color: var(--ink-2); max-width: 34ch; }
.hero__dots { position: absolute; z-index: 2; left: var(--gut); bottom: 22px; display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(22, 41, 43, .2); border-radius: 2px; }
.hero__dots button.is-on { background: var(--teal); }
@media (min-width: 900px) {
    /* Yükseklik SABİTLENİR. Daha önce min-height veriliyordu; o bir alt sınır olduğu için
       dikey slayt görselleri bölümü kendi boyuna göre uzatıyordu ve ayar işe yaramıyordu. */
    .hero { height: min(78vh, 750px); }
    .hero__slide { grid-template-columns: 1fr 1fr; min-height: 0; height: 100%; }
    .hero__media { order: 0; height: 100%; aspect-ratio: auto; max-height: none; }
    .hero__copy { align-self: center; padding: 40px clamp(32px, 5vw, 80px); }
    .hero__dots { left: clamp(40px, 7vw, 110px); bottom: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__slide.is-on .hero__copy { animation: rise .7s ease both; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}


/* ---------------- bölümler ---------------- */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sec__title { position: relative; padding-bottom: 14px; margin-bottom: 28px; }
.sec__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 2px; background: var(--stitch); }
.sec__link { font-weight: 600; text-decoration: none; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(6, 1fr); gap: 18px; } }

.tiles a { display: block; color: var(--ink); text-decoration: none; }
.tiles__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.tiles__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tiles a:hover .tiles__img img { transform: scale(1.04); }
.tiles__name { display: block; margin-top: 10px; font: 400 19px/1.2 var(--f-head); }
.tiles__sub { display: block; font-size: 13px; color: var(--ink-2); }
.tiles__item--new .tiles__name::after { content: "Yeni"; margin-left: 8px; vertical-align: 3px; font: 700 10px/1 var(--f-body); background: var(--saffron); color: #fff; border-radius: 3px; padding: 3px 5px; }

/* anahtarlık vitrini */
.keys { background: var(--teal); color: #fff; padding: clamp(48px, 7vw, 90px) 0; }
/* Başlık bloğu solda yarı genişlikte, "Tüm anahtarlıklar" düğmesi sağında;
   ürün kutuları altında üç sütun. */
.keys__in { display: grid; gap: 28px; }
.keys__intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; }
.keys__copy { flex: 0 1 50%; min-width: 0; }
@media (max-width: 699px) { .keys__copy { flex-basis: 100%; } }

.keys h2, .keys h3, .keys a { color: #fff; }
/* .keys a (0,1,1) özgüllüğü .btn--light (0,1,0) kuralını eziyordu: açık düğme beyaz
   zeminde beyaz yazıya düşüyordu. Vitrin içindeki düğmelerin rengi burada geri veriliyor. */
.keys a.btn--light { color: var(--teal-d); }
.keys a.btn--light:hover { color: var(--teal-d); }
.keys a.btn--line { color: #fff; border-color: rgba(255, 255, 255, .6); }
.keys__img { margin: 0 0 24px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.keys__img img { width: 100%; height: 100%; object-fit: cover; }
.keys__title { font-size: clamp(30px, 3.6vw, 44px); }
.keys__intro p { color: rgba(255, 255, 255, .88); font-size: 17px; }
.keys__price { font-weight: 600; color: #fff !important; margin-bottom: 0; }
/* Kutular üç sütun; dar ekranda tek sütuna iner. Yükseklik içeriğe göre belirlenir:
   tek satır renk içeren kutular kısa kalır, uzatılmaz. Renk kareleri sabit dört sütun
   olduğu için 5-8 renkli kutuların hepsi tam iki satır olur ve birbiriyle aynı biter. */
.keys__list { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 700px) { .keys__list { grid-template-columns: repeat(3, 1fr); } }

.keycard { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r); padding: 18px; }
.keycard__name { font-size: 22px; margin: 0 0 2px; }
.keycard__name a { text-decoration: none; }
.keycard__price { margin: 0 0 12px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.keycard__price .amount { color: #fff; font-weight: 600; }
/* Sabit 4 sütun: renk sayısı 5-8 olan bütün kutular tam iki satır olur ve aynı
   yükseklikte biter; 4 ve altı renkli kutular tek satır kalır. */
.keycard__colors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.keycard__colors a { display: block; text-decoration: none; font-size: 12px; text-align: center; color: rgba(255, 255, 255, .9); }
.keycard__colors img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 2px solid transparent; transition: border-color .15s; }
.keycard__colors a:hover img { border-color: #fff; }
/* Renk adları bir ya da iki satır olabiliyordu; iki satırlık yer ayrılır ki kare sıraları
   ve dolayısıyla kutular (7 renkli Nazar Boncuğu ile 8 renkli Tığ İşi gibi) aynı yükseklikte bitsin. */
.keycard__colors span { display: block; margin-top: 5px; line-height: 1.25; min-height: 2.5em; }
/* hikâye */
.story { background: var(--stone); padding: clamp(48px, 7vw, 90px) 0; }
.story__in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .story__in { grid-template-columns: 1fr 1fr; gap: 70px; } }

.story__img { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__copy p { font-size: 18px; color: var(--ink-2); max-width: 46ch; }

/* güvence şeridi */
.promise { border-top: 1px solid var(--line); background: #fff; }
.promise__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 30px; padding-bottom: 30px; }
@media (min-width: 900px) { .promise__in { grid-template-columns: repeat(4, 1fr); } }

.promise p { display: flex; gap: 12px; margin: 0; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.promise .icon { width: 26px; height: 26px; color: var(--teal); }
.promise strong { display: block; color: var(--ink); font-size: 15px; }

/* ---------------- ürün listesi ---------------- */
.shop { padding-top: 22px; padding-bottom: 70px; }
.crumbs { font-size: 13px; color: var(--ink-2); margin: 0 0 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs__sep { margin: 0 8px; opacity: .5; }
.woocommerce-products-header__title, .shop .page-title { margin-bottom: 8px; }
/* Açıklama 64ch ile daraltılınca 6-7 satıra yayılıp sayfayı uzatıyordu; ürün alanı kadar geniş. */
.term-description { color: var(--ink-2); max-width: none; }
.term-description p { margin-bottom: .6em; }
/* Alt kategoriler tek satırda kalır, sığmazsa yana kaydırılır: iki satıra taşınca
   sayfa başlığı gereğinden çok uzuyordu. */
.chips { display: flex; flex-wrap: nowrap; gap: 8px; margin: 18px 0 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; flex: 0 0 auto; white-space: nowrap; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; font-size: 14px; background: #fff; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.woocommerce .woocommerce-ordering { margin: 0 0 22px; }
.woocommerce .woocommerce-ordering select { max-width: 100%; }
@media (max-width: 699px) { .woocommerce .woocommerce-ordering { margin: 0 0 16px; } .woocommerce .woocommerce-ordering select { width: 100%; } }

.woocommerce .woocommerce-ordering select { min-height: 40px; border: 1px solid var(--line); border-radius: 20px; padding: 0 14px; background: #fff; font: inherit; font-size: 14px; }

ul.products, .woocommerce ul.products, .woocommerce-page ul.products {
    list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px;
}
ul.products::before, ul.products::after { display: none !important; }
/* WooCommerce'in ".woocommerce .products ul::before{content:" ";display:table}" kuralı,
   ul.products İÇİNDEKİ her listeyi de yakalıyor. Renk kareleri listesi grid olduğu için
   bu sahte öğe ilk hücreyi kaplıyor ve kareler bir kutu kayarak başlıyordu.
   (Ana sayfada <body> .woocommerce sınıfını taşımadığı için orada görünmüyordu.) */
.card__swatches::before, .card__swatches::after,
.woocommerce .products ul.card__swatches::before, .woocommerce .products ul.card__swatches::after { content: none !important; display: none !important; }
@media (min-width: 760px) { ul.products, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 42px 24px; } }

@media (min-width: 1100px) { ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); } }

ul.products.products--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { ul.products.products--3 { grid-template-columns: repeat(3, 1fr); } }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 0; }

.card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.card__media .card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: opacity .35s ease; }
.card__img--alt { opacity: 0; }
@media (hover: hover) { .card:not(.is-swatching) .card__media.has-alt:hover .card__img--alt { opacity: 1; } }

.badge { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 3px; }
.badge--muted { background: rgba(255, 255, 255, .92); color: var(--ink-2); }
/* Kartlar: renk karelerinin 1 ya da 2 satır olması kartın alt kısmını kaydırıyordu.
   Kart bir sütun kutusu; renk kareleri esnek alanı doldurur, "Sepete ekle" en alta sabitlenir,
   böylece satırdaki bütün kartların düğmesi aynı hizada durur. */
.card { display: flex; flex-direction: column; height: 100%; }
.card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding-top: 12px; }
.card__colors { flex: 1 1 auto; }

.woocommerce ul.products li.product .card__title, .card__title { font: 500 16px/1.35 var(--f-body); margin: 0 0 4px; padding: 0; }
/* Ürün adı bir ya da iki satır olabiliyor; iki satırlık yer ayrılır ki alttaki renk
   kareleri bütün kartlarda aynı hizadan başlasın. */
.card__title { min-height: 2.5em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--teal); }
.card__price, .woocommerce ul.products li.product .price { margin: 0; color: var(--ink); font-size: 15px; }
.card__price del { color: var(--ink-2); opacity: .7; }
.card__colors { margin-top: 12px; padding-bottom: 4px; }
.card__colorname { margin: 0 0 8px; min-height: 1.4em; font-size: 13px; color: var(--ink-2); }
.card__colorname strong { color: var(--ink); font-weight: 600; }
.card__colorname em { font-style: normal; color: var(--danger); font-weight: 600; margin-left: 4px; }
/* Renk kareleri sabit sütun sayısıyla dizilir: kart genişliği cihaza göre değiştiğinde
   bir üründe 4, diğerinde 3 kare çıkmasını önler.
   Ölçü <li> üzerinde: kare <li> içinde olduğu için genişliği butona vermek, içeriğe göre
   daralan <li> ile birleşince ilk kutuyu boş gösteriyordu. */
.card__swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.card__swatches > li { width: 100%; max-width: 48px; }
@media (min-width: 760px) { .card__swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

@media (min-width: 760px) { .card__swatches { grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 8px; } }

.sw { display: block; width: 100%; aspect-ratio: 1; padding: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--stone); transition: border-color .15s, box-shadow .15s; }
.sw img { width: 100%; height: 100%; object-fit: cover; }
.sw:hover { border-color: var(--teal-l); }
.sw[aria-checked="true"] { border-color: var(--teal); box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px var(--teal); }
.sw--more { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
/* Varyasyonun kendi fotoğrafı yoksa kare yerine rengin adı yazılır. */
.card__swatches > li:has(.sw--txt) { grid-column: span 2; max-width: none; }
.sw--txt { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 44px; padding: 0 10px; aspect-ratio: auto; height: 44px; font-size: 12px; font-weight: 600; line-height: 1.15; text-align: center; color: var(--ink-2); background: #fff; }
.sw--txt:hover { color: var(--teal); }
.card.needs-color .card__swatches { animation: nudge .35s; }
.card.needs-color .card__colorname { color: var(--danger); }
.card__buy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 12px; border: 1px solid var(--teal); border-radius: var(--r); background: #fff; color: var(--teal); font-weight: 600; font-size: 14px; text-decoration: none; transition: background .15s, color .15s; }
.card__buy:hover { background: var(--teal); color: #fff; }
.card__buy .icon { width: 18px; height: 18px; }
.card__buy.is-busy { opacity: .6; pointer-events: none; }
.card__buy.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }
.card__buy.is-done span { font-size: 0; }
.card__buy.is-done span::after { content: "Sepete eklendi"; font-size: 14px; }
.card__buy--link { border-style: dashed; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; padding: 10px; border-radius: 20px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }

/* ---------------- ürün sayfası ---------------- */
/* .gal masaüstünde sticky, yani konumlandırılmış bir kutu. CSS boyama sırasında konumlandırılmış
   kutular, konumlandırılmamış kardeşlerinin ÜSTÜNE boyanır; bu yüzden sayfa kaydırılınca galeri
   alttaki sekme/özellik bölümünün üzerine biniyordu. Alt bölüme kendi katmanı ve zemini veriliyor. */
.woocommerce div.product > .tabs,
.woocommerce div.product > .details,
.woocommerce div.product > .band { position: relative; z-index: 1; background: var(--paper); }
.woocommerce div.product { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); position: relative; }
@media (min-width: 960px) {
    .woocommerce div.product { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: start; }
    .woocommerce div.product > .details, .woocommerce div.product > .tabs, .woocommerce div.product > .band { grid-column: 1 / -1; }
}

.woocommerce div.product div.summary, .woocommerce div.product div.images { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce span.onsale { display: none; }
.gal__main { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); border-radius: var(--r); overflow: hidden; position: relative; cursor: zoom-in; aspect-ratio: 1; }
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; }
.gal__thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.gal__thumbs button { display: block; width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: none; flex: none; }
.gal__thumbs button.is-on { border: 2px solid var(--teal); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16, 28, 30, .94); display: flex; align-items: center; justify-content: center; padding: 50px 10px; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; }
.lightbox__nav--next { right: 12px; top: 50%; }

.single-col { display: inline-block; margin-bottom: 8px; font-size: 13px; color: var(--teal); text-decoration: none; font-weight: 600; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 22px; font-weight: 600; margin-bottom: 20px; }

/* renk kareleri */
.tq-attr { margin: 0 0 22px; }
.tq-attr__head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; font-size: 15px; }
.tq-attr__head span { color: var(--ink-2); }
.tq-attr__count { margin-left: auto; font-size: 13px; }
.tq-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.tq-tiles--img { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px 10px; }
@media (min-width: 960px) { .tq-tiles--img { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } }

.tq-tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0; text-align: center; transition: border-color .15s, box-shadow .15s; }
.tq-tile--img { padding: 4px 4px 8px; }
.tq-tile__img { display: block; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--stone); }
.tq-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tq-tile__name { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.25; color: var(--ink); }
.tq-tile:hover { border-color: var(--teal-l); }
.tq-tile.is-on { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.tq-tile.is-on .tq-tile__name { font-weight: 600; }
.tq-tile.is-na, .tq-tile.is-oos { opacity: .4; }
.tq-tile.is-na { cursor: not-allowed; }
.tq-tile--text { min-height: 46px; min-width: 64px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; }
.tq-tile--text .tq-tile__name { margin: 0; font-size: 14px; }
label.tq-tile--text { cursor: pointer; }
label.tq-tile--text input { position: absolute; opacity: 0; pointer-events: none; }
label.tq-tile--text:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); font-weight: 600; }
label.tq-tile--text:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.tq-attr--extra.is-missing .tq-tiles { animation: nudge .35s; }
.tq-attr--extra.is-missing .tq-attr__head span { color: var(--danger); }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tq-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.woocommerce div.product form.cart .variations { margin: 0; border: 0; }
.woocommerce div.product .woocommerce-variation-price .price { font-size: 22px; }
.lowstock { color: var(--danger); font-weight: 600; font-size: 14px; margin: -8px 0 12px; }
.woocommerce div.product .stock { color: var(--ok); font-size: 14px; }
.woocommerce div.product .out-of-stock { color: var(--danger); }
.woocommerce div.product form.cart { margin-bottom: 18px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.woocommerce div.product form.cart .tq-attr--extra { flex-basis: 100%; }
.woocommerce .quantity .qty { width: 72px; min-height: 48px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; text-align: center; }
.woocommerce div.product form.cart .button.single_add_to_cart_button { flex: 1 1 180px; }
.buy-now.button { flex: 1 1 140px; background: var(--ink) !important; border-color: var(--ink) !important; }
.buy-now.button:hover { background: #000 !important; }
.ask { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 14px; margin: 4px 0 16px; }
.ask .icon { color: #1f9e57; width: 24px; height: 24px; }
.ask:hover { border-color: #1f9e57; color: var(--ink); }
.assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure .icon { color: var(--teal); }

.details { max-width: 880px; margin-top: 30px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font: 400 21px/1.2 var(--f-head); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 300 26px/1 var(--f-body); color: var(--teal); }
.acc[open] summary::after { content: "–"; }
.acc__body { padding: 0 0 22px; color: var(--ink-2); }
.specs table { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs td, .specs th { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs td:first-child, .specs th:first-child { width: 38%; color: var(--ink); font-weight: 600; padding-right: 16px; }
.acc__imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.acc__imgs img { border-radius: var(--r); }

.band { padding-top: 60px; }
.band__head { margin-bottom: 24px; }
.band__head h2 { margin-bottom: 6px; }
.band__head p { color: var(--ink-2); margin: 0; }
.band--keys { margin-top: 50px; padding: 40px clamp(18px, 3vw, 40px); background: var(--mist); border-radius: var(--r); }

/* ---------------- sayfalar ---------------- */
.wrap.page { padding-top: 40px; padding-bottom: 80px; }
.page__title { margin-bottom: 28px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; }
.prose h2 { margin-top: 1.6em; }
.prose h3, .prose .tq-tab-title { margin-top: 1.6em; font-size: 23px; }
.prose img, .prose video { border-radius: var(--r); margin: 1.4em 0; max-width: 100%; }
.tq-lead { font: 400 22px/1.45 var(--f-head); color: var(--ink); }
.tq-page-img { margin: 0 0 1.4em; }
.tq-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 1.4em 0; }
.tq-gallery figure { margin: 0; }
.tq-gallery img { margin: 0; aspect-ratio: 1; object-fit: cover; width: 100%; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- sepet / ödeme / hesabım ---------------- */
.page--shop .page__title { font-size: clamp(28px, 3vw, 38px); }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; }
.woocommerce table.shop_table th { font-weight: 600; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--line); padding: 14px 12px; }
.woocommerce table.cart img { width: 72px; border-radius: 4px; }
.woocommerce a.remove { color: var(--ink-2) !important; }
.woocommerce a.remove:hover { background: var(--danger); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 460px; float: right; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .input-text, .select2-container .select2-selection--single {
    min-height: 48px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; font: inherit; background: #fff;
}
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 500; }
.woocommerce form .form-row .required { color: var(--danger); }
.woocommerce-checkout #payment { background: var(--stone); border-radius: var(--r); }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
#place_order { width: 100%; min-height: 54px; font-size: 16px; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top: 0; border-left: 3px solid var(--teal); background: var(--mist); color: var(--ink); border-radius: var(--r); }
.woocommerce-error { border-left-color: var(--danger); background: #fdf1f0; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--teal); }
.woocommerce-message .button { float: right; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--mist); margin: 0 0 24px; font-size: 14px; color: var(--ink-2); }
.note .icon { color: var(--teal); width: 26px; height: 26px; }
.note strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.note p { margin: 0; }
.note--line { background: #fff; border: 1px dashed var(--line); margin: 16px 0 0; align-items: center; }
.trustline { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--ink-2); margin: 12px 0 0; }
.trustline .icon { width: 16px; height: 16px; }
.badges { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.badges li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.badges strong { display: block; font-size: 13.5px; color: var(--ink); }
.badges .icon { color: var(--teal); }
.cards { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.cards span, .foot__pay span { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink-2); }
.steps { list-style: none; counter-reset: s; margin: 26px 0 10px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.steps li { counter-increment: s; padding: 16px 16px 16px 56px; position: relative; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.steps strong { display: block; color: var(--ink); }
.steps__help { font-size: 14px; color: var(--ink-2); }
.empty { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.empty__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; text-align: left; }
.empty__links a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.empty__links a:hover { border-color: var(--teal); }
.empty__links span { display: block; font-size: 13px; color: var(--ink-2); }
.cart-empty.woocommerce-info { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 13px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--mist); font-weight: 600; color: var(--teal-d); }

/* ---------------- alt kısım ---------------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 14px; padding: 56px 0 24px; }
.foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

.foot__brand p { margin: 16px 0; max-width: 38ch; }
.foot__ig { display: inline-flex; gap: 8px; align-items: center; }
.foot__h { font: 400 19px/1.2 var(--f-head); color: #fff; margin-bottom: 14px; }
.foot__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot__contact a, .foot__contact span { display: inline-flex; gap: 9px; align-items: flex-start; }
.foot__contact .icon { width: 18px; height: 18px; margin-top: 2px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; }
.foot__bottom p { margin: 0; }
.foot__pay { display: flex; gap: 6px; }
.foot__pay span { background: transparent; color: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .25); }


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


/* Kart düğmesi her zaman kartın en altında; renk kareleri iki satıra taştığında
   düğmeye yapışmasın diye en az 16px boşluk bırakılır. */
.card__buy { margin-top: auto; }
.card__colors + .card__buy { margin-top: 16px; }

/* ---------------- ürün sekmeleri ---------------- */
.tabs { margin-top: 32px; }
.tabs__nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
    flex: none; padding: 14px 14px 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
    background: none; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; cursor: pointer;
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn[aria-selected="true"] { color: var(--teal); border-bottom-color: var(--teal); }
.tabs__panel { max-width: 880px; padding: 24px 0 8px; font-size: 15px; color: var(--ink-2); }
/* JavaScript açıkken yalnız seçili bölüm görünür; kapalıysa hepsi alt alta okunur. */
.js .tabs__panel[data-inactive] { display: none; }
html:not(.js) .tabs__nav { display: none; }
.tabs__panel > :first-child { margin-top: 0; }
.tabs__panel { overflow-wrap: anywhere; }
.tabs__panel img, .tabs__panel iframe, .tabs__panel video { max-width: 100%; height: auto; }
@media (min-width: 960px) { .tabs { margin-top: 56px; } .tabs__btn { padding: 16px 20px 14px; } }

/* Sepet/ödeme toplamlarındaki "(… KDV dahil)" eki.
   checkout.css'teki .cart_totals .order-total .amount kuralı (0,3,0) bu ekin içindeki
   tutarı da 20px yapıyordu. Küçültürken tutara display:block verilmişti; bu, tutarı ve
   parantezleri ayrı satırlara düşürüp eki dört satır yapıyordu. Ek tek satır, içindeki
   her şey satır içi. */
.cart_totals .includes_tax,
.woocommerce-checkout-review-order-table .includes_tax,
.shop_table .includes_tax {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--muted);
    white-space: nowrap;
}
.cart_totals .includes_tax *,
.cart_totals .order-total .includes_tax *,
.woocommerce-checkout-review-order-table .includes_tax *,
.shop_table .includes_tax * {
    display: inline;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}

/* Taşınan başlık ve çekmecelerin kullandığı sınıflar (modacho main.css'ten).
   Dosya sonunda: temanın kendi .btn kuralı kaynak sırasında sonra geldiği için
   varyantları eziyordu. Renkler temanın değişkenlerinden gelir. */
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn--ghost:hover { background: var(--stone); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: var(--paper); }
.btn--outline-light:hover { border-color: var(--paper); }
.btn--whatsapp { background: #0f8a44; border-color: #0f8a44; color: #fff; }
.btn--whatsapp:hover { background: #0c7439; border-color: #0c7439; }
.btn--block { width: 100%; }
.cart-btn__icon { position: relative; display: block; }
.cart-btn__count {
    position: absolute; top: -6px; right: -9px;
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--tape); color: var(--ink);
    font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.btn--ghost.is-loading::after { border-color: #000 #000 transparent transparent; }
.cart-btn__count.is-bump { animation: bump .45s var(--ease); }
/* Bildirim */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 70;
    display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px);
    padding: 14px 18px; background: var(--ink); color: var(--paper); border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: 14px;
    opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s ease, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--tape); font-weight: 700; white-space: nowrap; }
.toast__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); font-weight: 800; line-height: 1; }
.single-product .toast { bottom: 90px; }
@media (min-width: 960px) {
.toast { left: auto; right: 24px; transform: translate(0, 16px); }
.toast.is-visible { transform: none; }
.single-product .toast { bottom: 24px; }
}
.toast { z-index: 71; }
@media (min-width: 960px) {
.toast { bottom: 96px; }
.single-product .toast { bottom: 96px; }
}
.site-main { flex: 1 0 auto; }

/* Bildirim kutusu (modacho main.css'ten). Seçiciye göre ayıklamada yalnız medya
   sorgusu ezmeleri gelmişti; temel kural olmadan kutu görünmüyordu. */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 70;
    display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px);
    padding: 14px 18px; background: var(--ink); color: var(--paper); border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: 14px;
    opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s ease, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--tape); font-weight: 700; white-space: nowrap; }
.toast__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); font-weight: 800; line-height: 1; }
.toast { z-index: 71; }

/* ==========================================================================
   Sepet sayfası: ürün tablosu tam genişlik, toplamlar onun altında tam genişlik.
   WooCommerce'in float/genişlik kuralları ve temizleyici sahte öğeleri etkisizleştirilir.
   ========================================================================== */
.woocommerce-cart .wcpage > .cart-collaterals,
.woocommerce-cart .woocommerce .cart-collaterals,
.woocommerce-cart .woocommerce-page .cart-collaterals {
    width: 100%;
    max-width: none;
    margin: 28px 0 0;
    float: none;
}
.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after { content: none; display: none; }
.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}
/* Toplam satırları: etiket solda, tutar sağda, hepsi aynı hizada. */
.cart_totals .shop_table th,
.cart_totals .shop_table td { vertical-align: top; text-align: left; }
.cart_totals .shop_table td { text-align: right; }
.cart_totals .shop_table th { width: 50%; }

/* ==========================================================================
   Ödeme formu düzeni
   WooCommerce .col2-set içindeki fatura (.col-1) ve teslimat (.col-2) bloklarını
   %48 genişlikte yan yana yaslıyor; ödeme sayfasının zaten dar olan sol sütununda
   bu alanlar iç içe geçmiş gibi görünüyordu. Alt alta, tam genişlik yapılıyor.
   ========================================================================== */
.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
    margin: 0;
}
.woocommerce-checkout .col2-set .col-2 { margin-top: 8px; }
.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after { content: none; display: none; }

/* Ad/Soyad gibi ikili alanlar taşmasın */
.woocommerce-checkout form .form-row-first,
.woocommerce-checkout form .form-row-last { float: none; }

/* Teslimat adresi başlığı ve kutusu */
#ship-to-different-address { margin: 18px 0 10px; }
#ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
#ship-to-different-address input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.woocommerce-shipping-fields .shipping_address { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--stone); }

/* ==========================================================================
   Kabuk: sayfadan sayfaya kayan değerlerin sabitlenmesi
   ========================================================================== */

/* Logo boyutu. woocommerce-layout.css'teki ".woocommerce img" kuralı (0,1,1)
   .logo__img kuralını (0,1,0) ezdiği için mağaza/kategori/sepet sayfalarında logo
   doğal boyuna çıkıyordu. Buradaki seçiciler (0,2,0) ile her sayfada aynı kalır. */
.header .logo__img { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; }
@media (min-width: 960px) { .header .logo__img { height: 38px; max-width: 190px; } }
.drawer__head .logo__img { height: 28px; width: auto; }
.footer__logo .logo__img { height: 34px; width: auto; }

/* Kabuktaki bağlantılar kendi kaplarının rengini devralır.
   Temanın genel "a { color: var(--teal) }" kuralı, koyu zeminli üst banttaki
   WhatsApp yazısını görünmez yapıyor, başlık ve çekmecelerdeki bağlantıları da
   turkuaza boyuyordu. modacho'da genel kural "a { color: inherit }". */
.topbar a:not(.btn), .header a:not(.btn), .drawer a:not(.btn), .hdrop a:not(.btn),
.mega a:not(.btn), .drawer-cart a:not(.btn), .dacc a:not(.btn), .mnav a:not(.btn) { color: inherit; }
.topbar a:not(.btn):hover, .header a:not(.btn):hover { color: inherit; }
/* Düğmeler kendi renklerini korur. */
.header .btn--primary, .drawer .btn--primary, .hdrop .btn--primary, .drawer-cart .btn--primary { color: var(--paper); }
.header .btn--whatsapp, .drawer .btn--whatsapp, .hdrop .btn--whatsapp { color: #fff; }

/* Mobil menüdeki alt kategori aç/kapa düğmesi (JavaScript ile ekleniyor,
   hiçbir stil dosyasında karşılığı yoktu). */
.drawer .submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 50px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-2);
    cursor: pointer;
}
.drawer .submenu-toggle .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.drawer .menu-item-has-children.is-open > .submenu-toggle .icon { transform: rotate(90deg); }
.drawer .submenu-toggle:hover { color: var(--teal); }

/* Kategori sayfası araç çubuğu: alt kategoriler solda, sıralama sağda, tek satır. */
.shop-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px 20px;
    align-items: center;
    margin: 18px 0 22px;
}
@media (min-width: 760px) {
    .shop-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
}
.shop-toolbar .chips { margin: 0; min-width: 0; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
@media (max-width: 759px) {
    .shop-toolbar .woocommerce-ordering select { width: 100%; }
}

/* Ödeme sayfası: boş ödeme açıklama kutusu.
   PayTR yönteminin payment_box'ı boş geliyor; kutunun kendi dolgusu ve zemini
   olduğu için "Kredi Kartı ile Ödeme" altında beyaz bir dikdörtgen olarak görünüyordu. */
#payment .payment_box:empty { display: none !important; }

/* Şartlar ve koşullar onay kutusu ile yazısı aynı hizada. */
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox,
.woocommerce form .form-row label.checkbox,
.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    line-height: 1.45;
}
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__input-checkbox,
.woocommerce form .form-row label.checkbox input[type="checkbox"],
.woocommerce-form__input-checkbox {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--teal);
}
.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text { display: inline; }

/* ==========================================================================
   Sepet toplamları: tam genişlik (WooCommerce ezilir)
   woocommerce-layout.css: ".woocommerce .cart-collaterals .cart_totals{float:right;width:48%}"
   woocommerce.css:        ".cart_totals table th{width:35%}"
   Bu kurallar kutuyu sağa yaslayıp yarım genişlikte bırakıyordu.
   ========================================================================== */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals,
.woocommerce-cart .cart-collaterals {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 28px 0 0 !important;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}
.woocommerce .cart-collaterals .cart_totals table,
.woocommerce-page .cart-collaterals .cart_totals table {
    width: 100% !important;
    margin: 0 !important;
}
.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce-page .cart-collaterals .cart_totals table th {
    width: 50% !important;
    text-align: left;
}
.woocommerce .cart-collaterals .cart_totals table td,
.woocommerce-page .cart-collaterals .cart_totals table td {
    text-align: right;
}
/* Çapraz satış bloğu da tam genişlik kalsın */
.woocommerce .cart-collaterals .cross-sells,
.woocommerce-page .cart-collaterals .cross-sells { width: 100% !important; float: none !important; }

/* KDV eki daha küçük */
.cart_totals .includes_tax,
.woocommerce-checkout-review-order-table .includes_tax,
.shop_table .includes_tax,
.cart_totals .includes_tax *,
.woocommerce-checkout-review-order-table .includes_tax *,
.shop_table .includes_tax *,
.woocommerce-cart .cart-collaterals .cart_totals p small,
.woocommerce-checkout .cart-collaterals .cart_totals p small {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: var(--muted) !important;
}

/* Ödeme yöntemi satırındaki simge (kredi kartı). */
#payment .wc_payment_method > label { display: flex; align-items: center; gap: 10px; }
#payment .wc_payment_method .pm-icon { display: inline-flex; align-items: center; color: var(--ink-2); }
#payment .wc_payment_method .pm-icon .icon { width: 22px; height: 22px; }
#payment .wc_payment_method img { max-height: 22px; width: auto; }

/* "Siparişiniz" başlığı ile tablosu arasındaki fazla boşluk. */
#order_review_heading { margin: 0 0 10px !important; }
#order_review { margin-top: 0; }
#order_review .shop_table { margin-top: 0; }
@media (min-width: 960px) {
    form.checkout { row-gap: 0; }
    #order_review_heading { margin-top: 0 !important; }
}

/* ==========================================================================
   Açık (ghost) düğme
   modacho'dan yalnız ":hover" kuralı taşınmıştı; temel kural olmayınca düğme
   temanın .btn temelini (turkuaz zemin, beyaz yazı) alıyor, hover'da zemin açık
   griye dönüp yazı beyaz kaldığı için okunmuyordu.
   ========================================================================== */
.btn--ghost,
.header .btn--ghost,
.drawer .btn--ghost,
.hdrop .btn--ghost,
.drawer-cart .btn--ghost {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
}
.btn--ghost:hover,
.header .btn--ghost:hover,
.drawer .btn--ghost:hover,
.hdrop .btn--ghost:hover,
.drawer-cart .btn--ghost:hover {
    background: var(--stone);
    border-color: var(--ink-2);
    color: var(--ink);
}
/* Koyu düğme her durumda beyaz yazı */
.btn--primary, .btn--primary:hover,
.header .btn--primary, .header .btn--primary:hover,
.drawer .btn--primary, .drawer .btn--primary:hover,
.hdrop .btn--primary, .hdrop .btn--primary:hover,
.drawer-cart .btn--primary, .drawer-cart .btn--primary:hover { color: var(--paper); }

/* ==========================================================================
   Ödeme sayfası: "Siparişiniz" başlığı ile tablo arasındaki büyük boşluk
   Izgarada sol sütun (müşteri bilgileri) iki satıra yayılıyor ve kendisinden
   uzun olduğu için fazla yükseklik iki satıra paylaştırılıyordu; başlık satırı
   gereğinden çok büyüyordu. Başlık satırı içeriği kadar yapılıyor.
   ========================================================================== */
@media (min-width: 960px) {
    form.checkout {
        grid-template-rows: min-content auto !important;
        align-content: start;
        row-gap: 0 !important;
    }
    #order_review_heading { align-self: start; }
    #order_review { align-self: start; }
}

/* Ödeme yöntemi simgesi yazıdan önce ve ortalı. */
#payment .wc_payment_method > label { display: flex; align-items: center; gap: 10px; line-height: 1.3; }
#payment .wc_payment_method .pm-icon { order: -1; display: inline-flex; align-items: center; flex: none; color: var(--ink-2); }
#payment .wc_payment_method .pm-icon .icon { display: block; width: 24px; height: 24px; }
