/* ============================================================================
   Herbal — Commerce (ürün detay · sepet · ödeme · hesap + WooCommerce köprüsü)
   "product register": yoğunluk + dönüşüm; sade form, net hiyerarşi.
   ============================================================================ */

/* ════════ ÜRÜN DETAY ════════ */
.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: var(--s-5); }
@media (max-width: 920px) { .product-layout { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: var(--s-3); position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-main { aspect-ratio: 1; background: var(--surface-2); border-radius: var(--r-xl); overflow: hidden; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: clamp(20px, 4vw, 48px); }
.gallery-thumbs { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.gallery-thumb { width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; }
.gallery-thumb.is-active { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.pd-info { display: grid; gap: var(--s-4); align-content: start; }
.pd-info h1 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
.pd-rate { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink-2); }
.pd-price { display: flex; align-items: baseline; gap: 12px; padding-block: var(--s-2); }
.pd-price .now { font-size: 2rem; font-weight: 700; color: var(--green-700); font-family: var(--font-body); }
.pd-price .was { font-size: 1.1rem; color: var(--ink-3); text-decoration: line-through; }
.pd-price .save { font-size: 0.78rem; font-weight: 700; color: #fff; background: var(--sale); padding: 4px 9px; border-radius: var(--r-pill); }
.pd-short { color: var(--ink-2); max-width: 54ch; }
.pd-meta { display: grid; gap: 8px; padding: var(--s-4); background: var(--surface-2); border-radius: var(--r-md); font-size: 0.86rem; }
.pd-meta div { display: flex; justify-content: space-between; gap: 12px; }
.pd-meta .k { color: var(--ink-3); }
.pd-buy { display: flex; gap: var(--s-3); align-items: stretch; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; }
.qty-stepper button { width: 44px; height: 52px; font-size: 1.2rem; color: var(--ink-2); }
.qty-stepper button:hover { color: var(--green); background: var(--green-softer); }
.qty-stepper input { width: 48px; height: 52px; text-align: center; border: 0; padding: 0; background: transparent; }
.pd-buy .btn { flex: 1; }
@media (max-width: 420px) {
    .pd-buy { flex-wrap: wrap; }
    .pd-buy .btn { flex: 1 1 100%; order: 3; }
    .qty-stepper { order: 1; }
    .pd-fav { order: 2; }
}
.pd-fav { flex: 0 0 auto; width: 52px; height: 52px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface-2); display: grid; place-items: center; color: var(--ink-2); transition: color .2s, background .2s, border-color .2s; }
.pd-fav:hover { color: var(--sale); border-color: var(--sale); }
.pd-fav svg { width: 22px; height: 22px; }
.pd-fav.is-fav { color: var(--sale); border-color: var(--sale); }
.pd-fav.is-fav svg path { fill: currentColor; }
.pd-fav.is-loading { pointer-events: none; opacity: .6; }
.pd-assure { display: flex; gap: var(--s-5); flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-2); padding-top: var(--s-2); }
.pd-assure span { display: inline-flex; align-items: center; gap: 7px; }
.pd-assure svg { width: 18px; height: 18px; color: var(--green); }

/* Sekmeler */
.tabs { margin-top: var(--s-8); }
.tabs-nav { display: flex; gap: var(--s-2); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { padding: 14px 6px; font-weight: 600; font-size: 0.95rem; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-active { color: var(--green-700); border-color: var(--green); }
.tab-panel { display: none; padding-top: var(--s-5); }
.tab-panel.is-active { display: block; }

/* ════════ SEPET ════════ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-6); align-items: start; padding-top: var(--s-5); }
@media (max-width: 920px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.cart-line-thumb { width: 88px; height: 88px; border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; }
.cart-line-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-line-name { font-weight: 500; }
.cart-line-name a:hover { color: var(--green-700); }
.cart-line-remove { font-size: 0.8rem; color: var(--ink-3); margin-top: 6px; display: inline-flex; gap: 5px; }
.cart-line-remove:hover { color: var(--sale); }
.cart-line-end { text-align: right; display: grid; gap: 10px; justify-items: end; }
.cart-line-price { font-weight: 700; color: var(--green-700); }
@media (max-width: 480px) {
    .cart-line { grid-template-columns: 72px 1fr; grid-template-areas: "thumb main" "thumb end"; gap: var(--s-2) var(--s-3); }
    .cart-line-thumb { width: 72px; height: 72px; grid-area: thumb; align-self: start; }
    .cart-line-main { grid-area: main; }
    .cart-line-end { grid-area: end; justify-items: start; text-align: left; }
}
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--s-3); }
.summary h3 { font-size: 1.15rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; }
.summary-total { display: flex; justify-content: space-between; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: 1.15rem; font-weight: 700; }
.summary-total .v { color: var(--green-700); }
.coupon-row { display: flex; gap: 8px; }

/* ════════ ÖDEME ════════ */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--s-6); align-items: start; padding-top: var(--s-5); }
@media (max-width: 920px) { .checkout-layout { grid-template-columns: 1fr; } }
.co-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); margin-bottom: var(--s-4); }
.co-section h3 { font-size: 1.1rem; margin-bottom: var(--s-4); }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-items: start; }
/* WC form-row sınıflarını grid'e eşle: yarım hücreler priority sırasına göre
   auto-flow ile çiftlenir; gizli (display:none) alanlar akıştan düşer →
   Bireysel/Kurumsal geçişinde çiftler kendiliğinden yeniden hizalanır. */
.co-grid > .form-row { width: auto; float: none; margin: 0; grid-column: auto; }
.co-grid > .form-row-wide,
.co-grid > .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .co-grid { grid-template-columns: 1fr; } }

/* Fatura Türü artık dropdown */
.herbal-customer-type .woocommerce-input-wrapper,
.herbal-customer-type select { width: 100%; }

/* Telefon alanları — TR bayrak prefix'i (Robotistan) */
.herbal-phone-intl .woocommerce-input-wrapper { position: relative; display: block; }
.herbal-phone-intl .woocommerce-input-wrapper::before {
    content: "🇹🇷";
    position: absolute; left: 1px; top: 1px; bottom: 1px; width: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2); border-right: 1px solid var(--line);
    border-radius: var(--r-md) 0 0 var(--r-md);
    font-size: 1.05rem; line-height: 1; pointer-events: none; z-index: 1;
}
.herbal-phone-intl input.input-text { padding-left: 58px; }

/* "T.C. Uyruklu değilim" — TC alanının sağ üstünde inline */
.herbal-tc-row { position: relative; }
.herbal-tc-foreign {
    position: absolute; top: 1px; right: 0;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 500; color: var(--ink-2);
    cursor: pointer; user-select: none;
}
.herbal-tc-foreign input { accent-color: var(--green); width: 14px; height: 14px; margin: 0; }
.herbal-tc-disabled input.input-text { opacity: .55; background: var(--surface-2); cursor: not-allowed; }
@media (max-width: 520px) { .herbal-tc-foreign { position: static; margin-top: 6px; } }

/* ════════ HESABIM ════════ */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-6); align-items: start; padding-top: var(--s-5); }
@media (max-width: 820px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.account-nav a { display: flex; align-items: center; gap: 11px; padding: 13px 18px; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.account-nav a:last-child { border-bottom: 0; }
.account-nav a:hover { background: var(--surface-2); color: var(--green-700); }
.account-nav a.is-active { background: var(--green); color: #fff; }
.account-nav svg { width: 18px; height: 18px; }
.account-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }

/* ── Mobil hesap menüsü: ikonla açılır toggle (820px altı) ── */
.account-nav-toggle { display: none; }
@media (max-width: 820px) {
    .account-layout { gap: var(--s-4); }
    .account-nav-toggle {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        width: 100%; text-align: left; cursor: pointer; font: inherit;
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
        padding: 13px 16px; color: var(--ink); -webkit-tap-highlight-color: transparent;
        transition: border-color .15s, box-shadow .15s;
    }
    .account-nav-toggle:hover { border-color: var(--line-strong); }
    .account-layout.is-nav-open .account-nav-toggle { border-color: var(--green-soft); box-shadow: 0 0 0 3px var(--green-softer); }
    .account-nav-toggle__lead { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .account-nav-toggle__menu { width: 22px; height: 22px; color: var(--green-700); flex: none; }
    .account-nav-toggle__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
    .account-nav-toggle__eyebrow { font-size: 0.66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
    .account-nav-toggle__current { font-size: 0.95rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .account-nav-toggle__chevron { width: 22px; height: 22px; color: var(--ink-3); flex: none; transition: transform .2s ease; }
    .account-layout.is-nav-open .account-nav-toggle__chevron { transform: rotate(180deg); }

    /* Menü varsayılan kapalı; toggle ile açılır */
    .account-layout .account-nav { display: none; }
    .account-layout.is-nav-open .account-nav { display: block; animation: acc-nav-in .18s ease both; }
    @keyframes acc-nav-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* ════════ WooCommerce varsayılan sınıf köprüsü ════════ */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; border-radius: var(--r-md); padding: 14px 18px; margin: 0 0 var(--s-4); font-size: 0.92rem; border: 1px solid var(--line); background: var(--surface); }
.woocommerce-message { border-color: var(--green-soft); background: var(--green-softer); color: var(--green-700); }
.woocommerce-error { border-color: var(--sale-soft); background: var(--sale-soft); color: var(--error); }
.woocommerce-info { border-color: var(--line-strong); }

/* ════════ Bildirim / Uyarı kutuları (notice/success/error/info) ════════ */
.herbal-notices { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 24px); margin-block: var(--s-4); }
.herbal-notice { display: flex; align-items: flex-start; gap: var(--s-3); padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 0.92rem; line-height: 1.55; margin-bottom: var(--s-3); }
.herbal-notice:last-child { margin-bottom: 0; }
.herbal-notice:focus, .herbal-notice:focus-visible { outline: none !important; outline-offset: 0 !important; } /* etkileşimli değil — yeşil focus halkası gösterme */
.herbal-notice .herbal-notice-body { flex: 1 1 auto; min-width: 0; }
.herbal-notice .herbal-notice-body > * { margin: 0; }
.herbal-notice .herbal-notice-body > * + * { margin-top: 6px; }
.herbal-notice a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.herbal-notice .button, .herbal-notice .wc-forward { margin-left: auto; }
.herbal-notice-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.herbal-notice-icon svg { width: 20px; height: 20px; }
.herbal-notice--error   { border-color: var(--sale-soft);  background: var(--sale-soft);    color: var(--error); }
.herbal-notice--success { border-color: var(--green-soft); background: var(--green-softer); color: var(--green-700); }
.herbal-notice--info    { border-color: var(--line-strong); background: var(--surface-2);   color: var(--ink); }

/* ════════ KVKK / Veri İndirme · Hesap Silme sayfası ════════ */
.herbal-privacy-page { padding-block: var(--s-6); }
.herbal-privacy-card { max-width: 640px; margin-inline: auto; }
.herbal-privacy-actions { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-5); flex-wrap: wrap; }
.herbal-privacy-legal { margin-top: var(--s-5); }
.btn.btn-danger { background: var(--error); border-color: var(--error); color: #fff; }
.btn.btn-danger:hover { opacity: 0.92; }

/* ════════ Hesap · Adresler sayfası (WC edit-address listesi) ════════ */
.woocommerce-MyAccount-content > p:first-of-type { color: var(--ink-2); margin-bottom: var(--s-4); }
.woocommerce-Addresses.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-4); }
.woocommerce-Addresses .woocommerce-Address,
.woocommerce-Address { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); }
.woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { font-size: 1.1rem; margin: 0; }
.woocommerce-Address-title .edit { font-size: 0.85rem; font-weight: 600; color: var(--green); text-decoration: none; white-space: nowrap; }
.woocommerce-Address-title .edit:hover { text-decoration: underline; }
.woocommerce-Address address { font-style: normal; line-height: 1.7; color: var(--ink); font-size: 0.95rem; margin: 0; }
.woocommerce-Address address:empty { display: none; }
@media (max-width: 760px) { .woocommerce-Addresses.col2-set { grid-template-columns: 1fr; } }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #place_order,
.wc-block-components-button, .wp-block-button__link {
    background: var(--green); color: #fff; border: 0; border-radius: var(--r-pill); min-height: 44px; padding: 12px 24px; font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: background .2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #place_order:hover, .woocommerce input.button:hover { background: var(--green-700); }
.woocommerce .button.alt { background: var(--green); }
.woocommerce form .form-row { margin-bottom: var(--s-3); display: grid; gap: 6px; }
.woocommerce form .form-row label { font-size: 0.82rem; color: var(--ink-2); font-weight: 500; }
.woocommerce .quantity input.qty { width: 64px; min-height: 44px; text-align: center; padding: 10px; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); }
.woocommerce table.shop_table th { background: var(--surface-2); padding: 14px; font-size: 0.82rem; }
.woocommerce table.shop_table td { padding: 14px; border-top: 1px solid var(--line); }
.woocommerce .price del { color: var(--ink-3); font-weight: 400; }
.woocommerce .price ins { text-decoration: none; color: var(--green-700); }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 2px; }
.woocommerce-breadcrumb { display: none; }
.star-rating span::before, .star-rating::before { color: var(--star); }

/* ════════ 404 / arama ════════ */
.empty-state { text-align: center; padding: var(--s-9) 0; display: grid; gap: var(--s-4); justify-items: center; }
.empty-state .code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: oklch(0.82 0.08 152); }
.empty-state h1 { margin: 0; }
.empty-state .es-search { max-width: 460px; width: 100%; }

/* ════════ İskelet / yükleniyor durumu ════════ */
.skeleton, .skel {
    position: relative; overflow: hidden; background: var(--surface-2);
    border-radius: var(--r-md); color: transparent !important; user-select: none; pointer-events: none;
}
.skeleton::after, .skel::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.55), transparent);
    transform: translateX(-100%); animation: skel-shimmer 1.3s ease-in-out infinite;
}
.skel-line { height: 0.9em; border-radius: var(--r-sm); }
.skel-text { display: grid; gap: 8px; }
@keyframes skel-shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skeleton::after, .skel::after { animation: none; } }

/* ── Ajan sarmalayıcı sınıfları (parlatma) ── */
.cart-line-main { display: grid; gap: 4px; }
.summary-items { display: grid; gap: 10px; margin-bottom: var(--s-2); }
.summary-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: 0.86rem; }
.summary-item-thumb { width: 44px; height: 44px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.summary-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.summary-item-qty { color: var(--ink-3); font-size: 0.78rem; }
.summary-item-price { color: var(--green-700); font-weight: 600; white-space: nowrap; }
.checkout-main { display: grid; gap: 0; min-width: 0; }
.payment-title { font-size: 1.1rem; margin-bottom: var(--s-3); }
.legal-consents { display: grid; gap: 8px; margin: var(--s-3) 0; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; font-size: 0.82rem; color: var(--ink-2); }
.consent-row input { margin-top: 3px; }
.no-payment { padding: var(--s-4); }
.coupon-toggle, .coupon-toggle-link { font-size: 0.9rem; }
.coupon-toggle-link { color: var(--green-700); cursor: pointer; font-weight: 600; }
.thankyou-detail { margin-top: var(--s-5); }
.thankyou-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }
.no-print { font-size: 0.86rem; color: var(--ink-3); }

/* ── Güvenlik ağı: ticaret/hesap alanlarındaki boyutsuz inline SVG ikonlar şişmesin ── */
.cart-layout svg, .checkout-layout svg, .account-layout svg,
.summary svg, .co-section svg, .cart-line svg,
.cart-line-remove svg, .coupon-toggle svg, .coupon-toggle-text svg,
.coupon-toggle-row svg, .consent-row svg, .pd-meta svg, .thankyou-actions svg {
    width: 18px; height: 18px; flex: none;
}
.empty-state svg:not(.code) { width: 22px; height: 22px; }
/* 2FA QR kodu güvenlik-ağı kuralından muaf — taranabilir boyutta kalmalı */
.account-layout svg[aria-label="2FA QR kodu"],
.account-card svg[aria-label="2FA QR kodu"] { width: 220px; height: 220px; max-width: 100%; flex: initial; }

/* ════════ ÖDEME — form bileşenleri (radio · select · date · onay) ════════ */
/* Fatura Türü: segmented pill radio */
.herbal-customer-type .woocommerce-input-wrapper { display: flex; gap: 10px; flex-wrap: wrap; }
.herbal-customer-type label.radio { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s; }
.herbal-customer-type label.radio:has(input:checked) { border-color: var(--green); background: var(--green-softer); color: var(--green-700); }
.herbal-customer-type input[type="radio"] { accent-color: var(--green); width: 15px; height: 15px; margin: 0; }

/* Select ve tarih alanları input'larla aynı dile gelsin */
.woocommerce form .form-row select,
.woocommerce form .form-row input[type="date"] {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md);
    background: var(--surface); font: inherit; font-size: 0.92rem; color: var(--ink);
    transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.woocommerce form .form-row select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px;
}
.woocommerce form .form-row select:focus,
.woocommerce form .form-row input[type="date"]:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-softer); }
.woocommerce form .form-row input[type="date"] { min-height: 46px; }

/* Onay kutuları (sözleşmeler, hesap oluştur) */
.woocommerce form .form-row input[type="checkbox"],
.consent-row input[type="checkbox"],
.herbal-checkbox-inline input[type="checkbox"] { accent-color: var(--green); width: 16px; height: 16px; flex: 0 0 16px; }
.herbal-checkbox-inline { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 0.88rem; color: var(--ink-2); cursor: pointer; }

/* Sipariş notu textarea */
.woocommerce form .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font: inherit; font-size: 0.92rem; min-height: 110px; resize: vertical; }
.woocommerce form .form-row textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-softer); }

/* ════════ YORUMLAR / DEĞERLENDİRME FORMU ════════ */
/* WC'nin select→yıldız dönüşümü (p.stars): metni gizle, ★ göster */
.herbal-reviews p.stars { display: inline-flex; gap: 4px; margin: 4px 0 0; }
.herbal-reviews p.stars span { display: inline-flex; gap: 4px; }
.herbal-reviews p.stars a {
    position: relative; width: 26px; height: 26px; display: inline-block;
    text-indent: -9999px; overflow: hidden; text-decoration: none;
}
.herbal-reviews p.stars a::before {
    content: "★"; position: absolute; inset: 0; text-indent: 0;
    font-size: 24px; line-height: 26px; color: var(--line-strong); text-align: center;
    transition: color .12s;
}
.herbal-reviews p.stars:hover a::before { color: var(--star); }
.herbal-reviews p.stars a:hover ~ a::before { color: var(--line-strong); }
.herbal-reviews p.stars.selected a.active::before,
.herbal-reviews p.stars.selected a.active ~ a::before { color: var(--line-strong); }
.herbal-reviews p.stars.selected a::before { color: var(--star); }
.herbal-reviews p.stars.selected a.active::before { color: var(--star); }
.herbal-reviews p.stars.selected a.active ~ a::before { color: var(--line-strong); }

/* Gönder butonu */
.herbal-reviews .form-submit input[type="submit"],
.herbal-review-submit {
    background: var(--green); color: #fff; border: 0; border-radius: var(--r-pill);
    min-height: 44px; padding: 12px 28px; font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
    transition: background .2s;
}
.herbal-reviews .form-submit input[type="submit"]:hover { background: var(--green-700); }

/* Dosya yükleme alanı */
.herbal-reviews input[type="file"] { font: inherit; font-size: 0.86rem; color: var(--ink-2); }
.herbal-reviews input[type="file"]::file-selector-button {
    background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-pill);
    padding: 9px 18px; font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; margin-right: 12px;
    transition: background .15s;
}
.herbal-reviews input[type="file"]::file-selector-button:hover { background: var(--line); }

/* Form genel düzeni */
.herbal-reviews #review_form_wrapper { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); margin-top: var(--s-5); }
.herbal-reviews .comment-form { display: grid; gap: 4px; }
.herbal-reviews .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 0.85rem; color: var(--ink-2); }
.herbal-reviews .comment-form-cookies-consent input { accent-color: var(--green); margin-top: 3px; }
.herbal-reviews .comment-form-cookies-consent label { font-size: 0.85rem; }

/* ds.css'teki genel .stars (★★★★★ ::before) kuralını yorum formundaki
   p.stars'ta etkisizleştir — yoksa çift yıldız şeridi görünür. */
.herbal-reviews p.stars::before,
.herbal-reviews p.stars::after { content: none; }

/* ============================================================================
   Ürün geliştirme batch v2.1.0 — dönüşüm bileşenleri
   pd-share · pd-sticky · lightbox · cart-crosssell · bottom-nav · undo toast
   ============================================================================ */

:root { --bottom-nav-h: 62px; }

/* ── Ürün paylaş (V005) ── */
.pd-share { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pd-share-label { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }
.pd-share-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.pd-share-btn:hover { background: var(--green-softer); color: var(--green-700); border-color: var(--green-soft); }
.pd-share-btn svg { width: 19px; height: 19px; }

/* ── Mobil yapışkan satın alma çubuğu (V001) ── */
.pd-sticky { position: fixed; left: 0; right: 0; bottom: var(--bottom-nav-h); z-index: 80; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(0,0,0,.25); }
.pd-sticky[hidden] { display: none; }
.pd-sticky-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.pd-sticky-thumb { width: 42px; height: 42px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.pd-sticky-text { display: flex; flex-direction: column; min-width: 0; }
.pd-sticky-name { font-size: 0.82rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-sticky-price { font-size: 0.92rem; font-weight: 700; color: var(--green-700); }
.pd-sticky .btn { flex: none; white-space: nowrap; }
@media (min-width: 769px) { .pd-sticky { display: none !important; } }

/* ── Galeri lightbox (V002) ── */
.lightbox { position: fixed; inset: 0; z-index: 9998; display: none; align-items: center; justify-content: center; background: rgba(15, 23, 18, .9); padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 32px; line-height: 1; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) { .lightbox-nav { width: 40px; height: 40px; font-size: 26px; } }

/* ── Sepet çapraz satış (V003) ── */
.cart-crosssell { margin-top: var(--s-6, 40px); }

/* ── "Geri Al" toast (V004) ── */
.herbal-undo-toast { position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + 16px); transform: translate(-50%, 16px); display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 12px 16px 12px 18px; border-radius: var(--r-pill); font-size: 0.88rem; box-shadow: var(--lift); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s cubic-bezier(.22,1,.36,1), visibility .25s; z-index: 120; max-width: calc(100vw - 32px); }
.herbal-undo-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.herbal-undo-toast button { background: transparent; border: none; color: #8fe3b0; font-weight: 700; cursor: pointer; padding: 4px 6px; white-space: nowrap; }
.herbal-undo-toast button:hover { color: #fff; text-decoration: underline; }
@media (min-width: 769px) { .herbal-undo-toast { bottom: 28px; } }

/* ── Thank-you ek bilgiler (V010) ── */
.thankyou-points { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--green-softer); color: var(--green-700); font-weight: 600; font-size: 0.9rem; }
.thankyou-item .thankyou-qty { color: var(--ink-3); font-weight: 500; }

/* ── Mobil alt navigasyon (V006) ── */
.bottom-nav { display: none; }
@media (max-width: 768px) {
    body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
    .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px -10px rgba(0,0,0,.2); padding-bottom: env(safe-area-inset-bottom); }
    .bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 2px; background: none; border: none; cursor: pointer; color: var(--ink-3); font-size: 0.66rem; font-weight: 600; text-decoration: none; min-height: 54px; }
    .bottom-nav-item svg { width: 23px; height: 23px; }
    .bottom-nav-item.is-active { color: var(--green-700); }
    .bottom-nav-cart { position: relative; display: inline-flex; }
    .bottom-nav-badge { position: absolute; top: -6px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--r-pill); background: var(--green); color: #fff; font-size: 0.62rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
    .bottom-nav-badge.is-empty, .bottom-nav-badge[data-count="0"] { display: none; }
    /* WhatsApp float'u alt nav + sticky çubuğun üstüne taşı */
    .wa-float { bottom: calc(var(--bottom-nav-h) + 14px); }
}

/* ============================================================================
   Ürün geliştirme batch v2.1.1 — keşif & dönüşüm
   search typeahead · quick view · dashboard metrikleri
   ============================================================================ */

/* ── Canlı arama / typeahead (V027) ── */
.header-search { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 75; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 6px; max-height: min(70vh, 460px); overflow-y: auto; }
.search-suggest[hidden] { display: none; }
.ss-group { padding: 4px 2px; }
.ss-group + .ss-group { border-top: 1px solid var(--line); margin-top: 4px; }
.ss-head { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding: 6px 10px 4px; }
.ss-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.ss-item img { width: 38px; height: 38px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.ss-item .ss-t { flex: 1; font-size: 0.88rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-item .ss-p { font-size: 0.82rem; font-weight: 700; color: var(--green-700); white-space: nowrap; }
.ss-item--post .ss-t { color: var(--ink-2); }
.ss-item:hover, .ss-item.is-active { background: var(--green-softer); }
.ss-all { display: block; text-align: center; padding: 10px; font-size: 0.82rem; font-weight: 600; color: var(--green-700); text-decoration: none; border-radius: var(--r-md); }
.ss-all:hover, .ss-all.is-active { background: var(--green-softer); }
.ss-empty { padding: 18px 12px; text-align: center; font-size: 0.86rem; color: var(--ink-3); }

/* ── Ürün kartı hızlı bakış butonu (V008) ── */
.pcard-media { position: relative; }
.pcard-quickview { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border: none; border-radius: var(--r-pill); background: rgba(255,255,255,.94); color: var(--ink); font-size: 0.8rem; font-weight: 600; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s, background .15s; box-shadow: 0 4px 14px -6px rgba(0,0,0,.3); }
.pcard-quickview svg { width: 17px; height: 17px; }
.pcard:hover .pcard-quickview { opacity: 1; transform: translateY(0); }
.pcard-quickview:hover { background: #fff; color: var(--green-700); }
@media (hover: none) { .pcard-quickview { opacity: 1; transform: none; } }

/* ── Hızlı bakış modal (V008) ── */
.qv-modal { position: fixed; inset: 0; z-index: 9997; display: none; align-items: center; justify-content: center; background: rgba(15,23,18,.55); padding: 20px; }
.qv-modal.is-open { display: flex; }
.qv-dialog { position: relative; background: var(--surface); border-radius: var(--r-xl); max-width: 760px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--lift); }
.qv-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 38px; height: 38px; border: none; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.qv-close:hover { background: var(--line); }
.qv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.qv-loading { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--ink-3); }
.qv-media { background: var(--surface-2); }
.qv-media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--r-xl) 0 0 var(--r-xl); }
.qv-info { padding: var(--s-6, 32px); display: flex; flex-direction: column; gap: 12px; }
.qv-name { font-family: var(--font-display); font-size: 1.4rem; margin: 0; color: var(--ink); }
.qv-rate { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-3); }
.qv-price { display: flex; align-items: baseline; gap: 10px; }
.qv-price .now { font-size: 1.5rem; font-weight: 700; color: var(--green-700); }
.qv-price .was { font-size: 1rem; color: var(--ink-3); text-decoration: line-through; }
.qv-desc { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }
.qv-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
@media (max-width: 640px) {
    .qv-body { grid-template-columns: 1fr; }
    .qv-media img { aspect-ratio: 16/10; border-radius: var(--r-xl) var(--r-xl) 0 0; }
}

/* ── Dashboard hızlı metrikler (V011) ── */
.acc-metric-row { gap: 14px; }
.acc-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; transition: border-color .15s, transform .15s; }
.acc-stat:hover { border-color: var(--green-soft); transform: translateY(-2px); }
.acc-stat-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-softer); color: var(--green-700); }
.acc-stat-ico svg { width: 20px; height: 20px; }
.acc-stat-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1; }
.acc-stat-label { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }

/* ── Taksit notu (V031) ── */
.pd-installment { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 0.84rem; color: var(--green-700); font-weight: 600; }
.pd-installment svg { width: 16px; height: 16px; }

/* ── Ürün seti / bundle (V022) ── */
.bundle-section .section-head { align-items: center; }
.bundle-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--r-pill); background: var(--green-softer); color: var(--green-700); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.bundle-cta { margin-top: 20px; text-align: center; }

/* ── İkmal aboneliği düğmesi (V018) ── */
.pd-sub { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink-2); font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; text-align: left; }
.pd-sub:hover { border-color: var(--green); color: var(--green-700); }
.pd-sub.is-on { border-style: solid; border-color: var(--green); background: var(--green-softer); color: var(--green-700); }
.pd-sub-ico { font-size: 1.1rem; line-height: 1; }

/* ── Checkout kayıtlı adres picker'ı (Herbal_Checkout_Address) ── */
.herbal-addr-picker { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--green-softer); }
.herbal-addr-picker-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.herbal-addr-options { display: grid; gap: 8px; }
.herbal-addr-option { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.herbal-addr-option:hover { border-color: var(--green); }
.herbal-addr-option.is-active { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }
.herbal-addr-option-label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.herbal-addr-option-sum { font-size: .82rem; color: var(--ink-3); }
.herbal-addr-new { border-style: dashed; }
.herbal-addr-manage { display: inline-block; margin-top: 10px; font-size: .82rem; color: var(--green-700); text-decoration: underline; }

/* ── Tur-1 düzeltmeleri ── */
/* #1: Mobil sticky satın-al çubuğu görünürken WhatsApp float'u gizle (CTA'yı kapatmasın) */
@media (max-width: 768px) {
    body.has-sticky-buy .wa-float { display: none; }
    /* #21: Alt-nav etiketleri 2 satıra sarmasın, ikon hizası bozulmasın */
    .bottom-nav-item span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* #20: yeni ürün rozeti (herbal_product_badge helper) */
.badge-new { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: var(--r-sm); background: var(--green); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }

/* #7: Çerez banner'ı mobilde alt-nav + sticky çubuğun üstüne taşı (kapatmasın) */
@media (max-width: 768px) {
    #herbal-cookie-consent { bottom: calc(var(--bottom-nav-h) + 12px) !important; }
}

/* #8/#9: ürün kartı medya yapısı (anchor sadece görseli sarar) + klavye odağında kontrolleri göster */
.pcard-media-link { display: block; }
.pcard-fav:focus-visible,
.pcard-quickview:focus-visible,
.pcard:focus-within .pcard-fav,
.pcard:focus-within .pcard-quickview { opacity: 1 !important; transform: none !important; }
.pcard-fav:focus-visible,
.pcard-quickview:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* #17/#18: ikon boyut yardımcıları — icon-helper svg'lerine boyut verir (eski Tailwind w-/h- sınıfları) */
.w-4{width:1rem}.h-4{height:1rem}
.w-5{width:1.25rem}.h-5{height:1.25rem}
.w-10{width:2.5rem}.h-10{height:2.5rem}
.w-14{width:3.5rem}.h-14{height:3.5rem}
.w-16{width:4rem}.h-16{height:4rem}
.w-20{width:5rem}.h-20{height:5rem}

/* #12: Çerez banner butonları min 44px dokunma hedefi (WCAG 2.5.8) */
#herbal-cookie-consent button { min-height: 44px; }

/* ─── Sayfalama (pagination) — WooCommerce (ürün listesi) + the_posts_pagination (blog/arşiv/arama).
   WC default stili dequeue edildiği için tasarım sistemine uygun stil burada veriliyor.
   Not: WC'de hem <ul> hem <a>/<span> "page-numbers" sınıfını taşır; öğe stilleri a/span'a kapsanır. */
.woocommerce-pagination ul.page-numbers,
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: var(--s-6) 0 0;
    padding: 0;
}
.woocommerce-pagination ul.page-numbers li { list-style: none; margin: 0; }
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers,
.pagination a.page-numbers,
.pagination span.page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}
.woocommerce-pagination a.page-numbers:hover,
.pagination a.page-numbers:hover {
    border-color: var(--green);
    color: var(--green-700);
    background: var(--green-soft, var(--surface-2));
}
.woocommerce-pagination span.page-numbers.current,
.pagination span.page-numbers.current,
.pagination a.page-numbers.current {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.woocommerce-pagination .page-numbers.dots,
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 4px;
}
/* Blog the_posts_pagination "ekran okuyucu" başlığını gizle */
.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─── Select2 (WooCommerce ülke / il "Şehir" açılır menüleri) ───
   WC bu alanları Select2 ile geliştirir; tema bunu stillemediği için bozuk
   görünüyordu. Native input/select görünümüne (44px · --line-strong · --r-md ·
   yeşil focus) eşitle. */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single {
    height: 44px; min-height: 44px;
    display: flex; align-items: center;
    padding: 0 15px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
    line-height: 1.2; padding: 0;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--ink-3); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; right: 12px; }
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-softer);
    outline: none;
}
.select2-dropdown {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    box-shadow: 0 14px 40px -16px rgba(0,0,0,.28);
    overflow: hidden;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 0; padding: 9px 12px; font-size: 0.92rem;
    border: 1px solid var(--line); border-radius: 8px;
}
.select2-container--default .select2-results__option { padding: 9px 14px; font-size: 0.92rem; color: var(--ink); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--green); color: #fff; }
.select2-container--default .select2-results__option[aria-selected=true] { background: var(--surface-2); color: var(--ink); }

/* ── Mobil ürün galerisi düzeltme (≤920px tek kolon) ── */
@media (max-width: 920px) {
  /* Yapışkanlığı kaldır — galeri/özet normal akışta, üst üste binmesin */
  .gallery, .summary { position: static; top: auto; }
  /* Görsel mobilde daha küçük (kareyi 4:3'e indir + iç boşluğu azalt) */
  .gallery-main { aspect-ratio: 4 / 3; }
  .gallery-main img { padding: 16px; }
  .gallery-thumbs { gap: 8px; }
  .gallery-thumb { width: 60px; height: 60px; }
}
