/* ==========================================================================
   Gökçe'nin Çiftliği — mağaza stilleri (WooCommerce'in kendi stilleri kapalıdır)
   1. Ortak  2. Ürün kartı ve liste  3. Ürün detayı  4. Sepet çekmecesi
   5. Sepet  6. Ödeme  7. Hesabım
   ========================================================================== */

/* ---------- 1. Ortak ---------- */

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .wc-block-components-notice-banner {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
	list-style: none; margin: 0 0 24px; padding: 16px 20px 16px 52px;
	background: var(--mint); border: 1px solid var(--mint-line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .woocommerce-noreviews::before {
	content: ""; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.woocommerce-info::before, .woocommerce-noreviews::before { background-color: var(--gold-dark); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2e19' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E"); }
.woocommerce-info, .woocommerce-noreviews { background: var(--cream); border-color: var(--cream-line); }
.woocommerce-error { background: #fdecea; border-color: #f5c6c1; color: var(--danger); display: block; }
.woocommerce-error::before { background-color: var(--danger); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E"); }
.woocommerce-error li { color: var(--danger); }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { order: 2; margin-left: auto; }

.button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .wc-forward, #review_form #submit, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 10px 24px; border: 2px solid transparent; border-radius: var(--radius-sm);
	background: var(--green); color: var(--white); font-weight: 600; font-size: .94rem; line-height: 1.2; text-align: center;
	cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, #review_form #submit:hover, input[type="submit"]:hover { background: var(--forest); color: var(--white); }
.button.alt, .button.checkout-button, #place_order { min-height: 58px; width: 100%; font-size: 1.02rem; }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }
.button.loading { opacity: .7; pointer-events: none; }

.price { color: var(--ink); font-weight: 700; }
.price del { color: var(--muted); font-weight: 500; font-size: .82em; margin-right: 6px; }
.price ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { font-weight: 600; }

.star-rating { position: relative; display: inline-block; overflow: hidden; width: 5.4em; height: 1.2em; font-size: .95rem; line-height: 1.2; letter-spacing: .08em; white-space: nowrap; }
.star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: #d4dcd5; }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; height: 100%; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--gold-dark); }

.quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.quantity .qty { width: 56px; min-height: 54px; padding: 0; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 1.05rem; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 44px; height: 54px; padding: 0; border: 0; background: transparent; color: var(--ink); transition: color .2s, background-color .2s; }
.qty-btn:hover { color: var(--green); background: var(--mint); }
.qty-btn--minus { border-radius: 6px 0 0 6px; }
.qty-btn--plus { border-radius: 0 6px 6px 0; }
.quantity:has(.qty[type="hidden"]) { display: none; }

.blockUI.blockOverlay { background: rgba(255, 255, 255, .7) !important; border-radius: var(--radius); }

/* ---------- 2. Ürün kartı ve liste ---------- */

ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
ul.products::before, ul.products::after { display: none; }

/* Hareket: tek yumuşak eğri ve tek süre; kart, görsel ve gölge birbirine yetişir, kopuk durmaz.
   Görsel geçişinde alttaki görsel solmaz, üstteki üzerine biner (arada boş zemin görünmez). */
.product-card { --card-ease: cubic-bezier(.33, 1, .68, 1); --card-time: .6s; position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--card-time) var(--card-ease), transform var(--card-time) var(--card-ease), border-color .4s ease; }
.product-card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mint); isolation: isolate; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); backface-visibility: hidden; transition: transform 1.1s var(--card-ease); }
.product-card__media .product-card__hover-img { position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: 1; transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform 1.1s var(--card-ease); }
@media (hover: hover) {
	.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c9d6cc; }
	.product-card:hover .product-card__media img { transform: scale(1.045); }
	.product-card:hover .product-card__media.has-hover-image .product-card__hover-img { opacity: 1; }
}
.product-card:focus-within .product-card__media.has-hover-image .product-card__hover-img { opacity: 1; }
.product-card__badges { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }

/* Tükenen ürün: görsel tam renkli kalır, altına buzlu cam bant gelir (katman görselle aynı oranda). */
.product-card__soldout { position: absolute; inset: 0 0 auto; aspect-ratio: 3 / 4; z-index: 2; display: flex; align-items: flex-end; padding: 14px; pointer-events: none; }
.product-card__soldout span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); background: rgba(var(--forest-rgb), .58); -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); color: var(--white); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.product-card__soldout span::before, .product-card__soldout span::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .55; }
.product-card.outofstock .product-card__cart-price { color: var(--muted); }
.product-card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 18px 20px 20px; }
.product-card__cat { font-size: .78rem; font-weight: 600; color: var(--green); letter-spacing: .02em; }
.product-card__title { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--green); }
.product-card__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.product-card__price { display: grid; gap: 2px; }
.product-card__price .price { font-size: 1.22rem; line-height: 1.2; }
.product-card__cart-price { font-size: .8rem; font-weight: 600; color: var(--green); }
.product-card__cart-price .amount { font-weight: 700; }
/* "Sepete Ekle" düğmesi: ikon + yazı; sığmazsa fiyatın altına iner ve sağa yaslanır. */
.product-card__add, .product-card a.product-card__add.button { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--gold); color: var(--forest); font-size: .86rem; font-weight: 700; line-height: 1; white-space: nowrap; transition: background-color .35s ease, color .35s ease, transform .35s cubic-bezier(.33, 1, .68, 1), box-shadow .35s ease; }
.product-card__add:hover, .product-card a.product-card__add.button:hover { background: var(--forest); color: var(--gold); transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(var(--forest-rgb), .6); }
.product-card__add:active, .product-card a.product-card__add.button:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.product-card__add-icon { position: relative; display: grid; place-items: center; width: 18px; height: 18px; }
.product-card__add-icon > .icon { transition: opacity .2s; }
.product-card__add-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s var(--ease); }
.product-card__add-done { display: none; }
.product-card__add.loading { pointer-events: none; opacity: .65; }
.product-card__add.added, .product-card a.product-card__add.button.added { background: var(--green); color: var(--white); }
.product-card__add.added .product-card__add-icon > .icon { opacity: 0; }
.product-card__add.added .product-card__add-check { opacity: 1; transform: none; }
.product-card__add.added .product-card__add-text { display: none; }
.product-card__add.added .product-card__add-done { display: inline; }
.added_to_cart { display: none !important; }

/* Mağaza ve kategori başlığı: solda metin ve özellikler, sağda yırtık kenarlı görsel. */
.page-hero--shop .page-hero__inner { display: flex; align-items: center; min-height: clamp(240px, 18vw, 280px); padding-block: clamp(22px, 2.4vw, 30px) clamp(26px, 2.8vw, 36px); }
.page-hero--shop .breadcrumb { margin-bottom: 12px; }
.page-hero--shop .display { font-size: clamp(1.8rem, 3vw, 2.6rem); }
/* Metin, görselin başladığı yere kadar (görsel genişliği %42) uzanabilir. */
.page-hero--shop .page-hero__content { max-width: calc(58vw - max(var(--gutter), (100vw - var(--container)) / 2) - 48px); }
.page-hero--shop .eyebrow { margin-bottom: 6px; font-size: .95rem; }
.page-hero--shop .page-hero__text { max-width: 36em; margin-top: 10px; font-size: 1rem; }
.page-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; background: var(--mint); }
.page-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero__media::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; z-index: 1; width: 30px; background: var(--cream); -webkit-mask: url("../img/edge-v.svg") left top / 100% 1100px repeat-y; mask: url("../img/edge-v.svg") left top / 100% 1100px repeat-y; }
.page-hero__badge { position: absolute; left: 0; bottom: 28px; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; transform: translateX(-50%); border: 6px solid var(--cream); border-radius: 50%; background: var(--gold); color: var(--forest); }

/* Rozetler tek satırda kalır: sığmayan rozet alt satıra geçip gizlenir. */
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px 8px; max-height: 38px; overflow: hidden; margin: 18px 0 0; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .82rem; font-weight: 600; line-height: 1.3; }
.hero-chips__icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--green); }

.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.cat-chips__item { padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .92rem; background: var(--white); transition: border-color .2s, background-color .2s, color .2s; }
.cat-chips__item:hover { border-color: var(--green); color: var(--green); }
.cat-chips__item.is-current { background: var(--forest); border-color: var(--forest); color: var(--white); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.shop-toolbar .woocommerce-notices-wrapper { flex: 1 1 100%; }
.woocommerce-result-count { margin: 0; color: var(--muted); font-size: .92rem; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 46px; padding-block: 8px; width: auto; font-weight: 600; font-size: .92rem; }
.woocommerce-no-products-found { max-width: 620px; }

/* ---------- 3. Ürün detayı ---------- */

.pdp-wrap { padding-block: 26px clamp(56px, 7vw, 96px); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.16fr) 292px; gap: 28px; align-items: start; }

.pdp-card { position: relative; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }

.woocommerce-product-gallery { position: relative; transition: opacity .25s; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius); overflow: hidden; }
.woocommerce-product-gallery__image { border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.woocommerce-product-gallery .zoomImg { background: var(--white); aspect-ratio: auto !important; max-width: none; }
.woocommerce-product-gallery__trigger { position: absolute; right: 12px; top: 12px; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); font-size: 0; color: transparent; overflow: hidden; }
.woocommerce-product-gallery__trigger img { display: none !important; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2e19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.300-4.300M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; }
.flex-control-thumbs li { margin: 0; }
.flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid transparent; border-radius: 10px; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.flex-control-thumbs img:hover, .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--green); }

.pdp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.pdp-facts__item { padding: 14px 18px; background: var(--mint); border-radius: var(--radius-sm); }
.pdp-facts dt { font-size: .82rem; color: var(--muted); font-weight: 500; }
.pdp-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); line-height: 1.35; }

.pdp-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; font-weight: 700; color: var(--ink); }
.pdp-share__links { display: flex; gap: 8px; }
.pdp-share__links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--forest); }
.pdp-share__links a:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }

.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.pdp__cat { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--forest); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.pdp__cat:hover { background: var(--green); color: var(--white); }
.pdp .product_title { font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 12px; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.woocommerce-review-link { color: var(--muted); }
.woocommerce-product-details__short-description { color: var(--text); font-size: 1.02rem; margin-bottom: 18px; }
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

.pdp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 22px; }
.pdp-price .price { margin: 0; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -.02em; }
.pdp-price__cart { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: var(--forest); font-size: .9rem; font-weight: 600; }
.pdp-price__cart strong { color: var(--forest); font-weight: 800; }
/* Avantajlı paket: tek tek alım toplamı ile paket fiyatı (alan boşsa hiç basılmaz). */
.pack-savings { margin: 0; font-size: .86rem; line-height: 1.4; color: var(--text); }
.pack-savings s { color: var(--muted); }
.pack-savings strong { color: var(--ink); font-weight: 700; }
.pack-savings__gain { color: var(--green); font-weight: 700; white-space: nowrap; }
.pdp-price .pack-savings { flex: 1 1 100%; order: 3; font-size: 1rem; }

.pdp-family { margin-bottom: 22px; }
.pdp-family__title { display: block; margin-bottom: 10px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.pdp-family__options { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-family__option { display: grid; gap: 1px; min-width: 96px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); line-height: 1.3; transition: border-color .2s, background-color .2s; }
.pdp-family__option:hover { border-color: var(--green); color: var(--ink); }
.pdp-family__option.is-current { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }
.pdp-family__label { font-weight: 700; font-size: .92rem; }
.pdp-family__price { font-size: .82rem; color: var(--muted); font-weight: 600; }

.pdp form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.pdp form.cart .single_add_to_cart_button { flex: 1 1 200px; min-height: 58px; font-size: 1.08rem; font-weight: 700; }
.pdp .stock { margin: 0 0 12px; font-weight: 600; font-size: .9rem; color: var(--green); }
.pdp .stock.out-of-stock { color: var(--danger); }
/* Kargoya veriliş notu (panelde girilen gerçek kesim saati): sepete ekle düğmesinin hemen altında. */
.pdp-dispatch { display: flex; align-items: flex-start; gap: 8px; margin: -8px 0 22px; font-size: .9rem; font-weight: 600; color: var(--green); }
.pdp-dispatch .icon { flex: none; margin-top: 1px; }

.pdp-contents { margin-bottom: 22px; padding: 20px 22px; border: 1px dashed #bccabf; border-radius: var(--radius); background: var(--cream); }
.pdp-contents__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1rem; letter-spacing: 0; }
.pdp-contents ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pdp-contents li { position: relative; padding-left: 20px; font-size: .95rem; color: var(--ink); font-weight: 500; }
.pdp-contents li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.woocommerce-tabs { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.woocommerce-tabs ul.tabs { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li + li { border-left: 1px solid var(--line); }
.woocommerce-tabs ul.tabs a { display: block; padding: 16px 10px; text-align: center; color: var(--text); font-weight: 600; font-size: .92rem; transition: background-color .2s, color .2s; }
.woocommerce-tabs ul.tabs a:hover { color: var(--green); }
.woocommerce-tabs ul.tabs li.active a { background: var(--mint); color: var(--ink); font-weight: 700; }
.woocommerce-Tabs-panel { padding: 26px 26px 10px; font-size: .97rem; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-Tabs-panel > *:last-child { margin-bottom: 16px; }
.shop_attributes { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.shop_attributes th, .shop_attributes td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.shop_attributes tr:last-child th, .shop_attributes tr:last-child td { border-bottom: 0; }
.shop_attributes th { width: 38%; color: var(--muted); font-weight: 500; }
.shop_attributes td { color: var(--ink); font-weight: 600; }
.shop_attributes p { margin: 0; }

.pdp-side__title { margin: 2px 0 12px; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--text); }
.campaign-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; margin-bottom: 10px; border: 1px solid var(--mint-line-dark); border-radius: var(--radius); background: var(--mint); color: var(--green); }
.campaign-card strong { display: block; line-height: 1.35; margin-bottom: 4px; }
.campaign-card span { display: block; font-size: .84rem; line-height: 1.45; color: var(--text); }
.feature-list { list-style: none; margin: 14px 0 10px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature-list li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: .88rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.feature-list li + li { border-top: 1px solid var(--line); }
.feature-list__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--green); border-radius: 50%; color: var(--green); }
.help-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--forest); color: #dfe9e2; font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.help-card:hover { background: var(--green); color: var(--white); }
.help-card strong { display: block; color: var(--gold); font-size: .84rem; font-weight: 600; }
.help-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--forest); }

.pdp-reviews, .related.products, .upsells.products { margin-top: clamp(48px, 6vw, 80px); }
.related.products > h2, .upsells.products > h2, .woocommerce-Reviews-title, .pdp-reviews #reply-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; margin-bottom: 26px; }
.woocommerce-Reviews { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.woocommerce-Reviews #comments, .woocommerce-Reviews #review_form_wrapper { min-width: 0; }
.woocommerce-Reviews .commentlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.woocommerce-Reviews .comment_container { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-Reviews .avatar { width: 48px; height: 48px; border-radius: 50%; }
.woocommerce-Reviews .comment-text { flex: 1; }
.woocommerce-Reviews .meta { margin: 6px 0 8px; font-size: .86rem; color: var(--muted); }
.woocommerce-Reviews .description p:last-child { margin: 0; }
#review_form_wrapper { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
#review_form .comment-reply-title { display: block; font-size: 1.2rem !important; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
#review_form p { margin-bottom: 14px; }
#review_form label { display: block; margin-bottom: 6px; }
#review_form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
#review_form .comment-form-cookies-consent input { margin-top: 5px; accent-color: var(--green); }
#review_form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
p.stars { margin: 0 0 12px; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a { font-size: 0; }
p.stars a::before { content: "★"; font-size: 1.7rem; line-height: 1; color: var(--gold-dark); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: #cfd8d1; }
p.stars:not(.selected):not(:hover) a::before { color: #cfd8d1; }
/* Değerlendirmesi olmayan üründe "henüz değerlendirme yok" yazısı ve boş form gösterilmez (boş sosyal kanıt caydırır);
   yalnızca formu açan düğme durur. JS yoksa form açık kalır. */
.review-toggle { display: none; }
.js .review-toggle[aria-expanded="false"] { display: inline-flex; width: auto; }
.js .review-toggle[aria-expanded="false"] + #respond { display: none; }
.js #review_form_wrapper:has(.review-toggle[aria-expanded="false"]) { padding: 0; border: 0; background: none; }
.woocommerce-Reviews:has(.woocommerce-noreviews) { grid-template-columns: minmax(0, 1fr); }
.woocommerce-Reviews:has(.woocommerce-noreviews) #comments { display: none; }

/* Telefonda alta sabitlenen "sepete ekle" çubuğu (kurallar aşağıda, 820 px altında). */
.pdp-bar { display: none; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--cream); padding-block: 16px; }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: gc-marquee 60s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text); font-weight: 500; }
.marquee__track .icon { color: var(--green); }
@keyframes gc-marquee { to { transform: translateX(-50%); } }

/* ---------- 4. Sepet çekmecesi ---------- */

.cart-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(var(--forest-rgb), .55); opacity: 0; transition: opacity .35s; }
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer__panel { position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(440px, 100vw); background: var(--white); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease); }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.2rem; }
.cart-drawer__content { display: flex; flex-direction: column; flex: 1; min-height: 0; transition: opacity .2s; }
.cart-drawer__content.is-loading { opacity: .5; pointer-events: none; }
.cart-drawer__content > .ukc-bar { margin: 16px 22px 0; }
.cart-drawer__items { list-style: none; flex: 1; min-height: 0; overflow-y: auto; margin: 0; padding: 6px 22px; }
.cart-drawer__empty { display: grid; justify-items: center; gap: 16px; margin: auto; padding: 40px 22px; text-align: center; color: var(--muted); }
.cart-drawer__empty .icon-bag { color: #b7c5bb; }
.cart-drawer__empty p { margin: 0; font-size: 1.05rem; }
.cart-item { position: relative; display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item__thumb { flex: none; width: 76px; }
.cart-item__thumb img { width: 76px; height: 101px; object-fit: cover; border-radius: 10px; background: var(--mint); }
.cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-right: 26px; }
.cart-item__name { color: var(--ink); font-weight: 700; font-size: .94rem; line-height: 1.35; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.cart-item__price { font-weight: 700; color: var(--ink); }
.cart-item__remove { position: absolute; right: -6px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.cart-item__remove:hover { background: #fdecea; color: var(--danger); }
.qty-mini { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; }
.qty-mini__btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--ink); }
.qty-mini__btn:hover:not(:disabled) { color: var(--green); }
.qty-mini__btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-mini__value { min-width: 26px; text-align: center; font-weight: 700; font-size: .92rem; }
.cart-drawer__summary { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--cream); }
.cart-drawer__line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: .95rem; }
.cart-drawer__line--discount { color: var(--green); font-weight: 600; }
.cart-drawer__line--total { margin: 12px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.cart-drawer__note { margin: 0 0 14px; font-size: .82rem; color: var(--muted); }
.cart-drawer__summary .btn + .btn { margin-top: 8px; }

.ukc-bar { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--cream-line); color: var(--ink); font-size: .9rem; }
.ukc-bar p { margin: 0; line-height: 1.4; }
.ukc-bar .icon { color: var(--green); }
.ukc-bar__track { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--cream-line-dark); overflow: hidden; }
.ukc-bar__track span { display: block; height: 100%; border-radius: inherit; background: var(--gold-dark); transition: width .5s var(--ease); }
.ukc-bar.is-complete { background: var(--mint); border-color: var(--mint-line); }
.ukc-bar.is-complete .ukc-bar__track span { background: var(--green); }
.ukc-bar__link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 700; color: var(--green); }
.ukc-bar__link:hover { color: var(--green-dark); }
/* Ödeme sayfası: masaüstünde "Siparişiniz" kutusunun başında (krem zeminde kaybolmasın diye beyaz), 980 px altında formun üstünde. */
.ukc-bar--checkout-top { display: none; }
.ukc-bar--checkout-review { margin: 6px 0 10px; background: var(--white); }
/* Çubuk yokken basılan boş yer tutucu (Ücretsiz Kargo Çubuğu eklentisi); telefondaki "display: grid" kuralı gizliliği ezmesin. */
.ukc-bar--checkout-top[hidden] { display: none; }

/* Ücretsiz kargoyu tamamlatan ürün önerileri (çubuğun altında, kutunun içinde). Masaüstünde alt alta satırlar;
   telefonda formu aşağı itmesin diye tek sırada yana kayan kartlar (aşağıda, --checkout-top). */
.ukc-suggest { grid-column: 1 / -1; min-width: 0; margin-top: 2px; }
.ukc-bar p.ukc-suggest__title { margin: 0 0 2px; font-size: .8rem; font-weight: 700; color: var(--ink); }
.ukc-suggest__list { list-style: none; margin: 0; padding: 0; }
.ukc-suggest__item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "thumb name add" "thumb meta add"; align-items: center; gap: 2px 12px; padding: 10px 0 0; margin-top: 10px; border-top: 1px solid var(--line); }
.ukc-suggest__thumb { grid-area: thumb; align-self: start; }
.ukc-suggest__thumb img { display: block; width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--mint); }
.ukc-suggest__name { grid-area: name; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; color: var(--ink); font-size: .84rem; font-weight: 600; line-height: 1.3; }
.ukc-suggest__name:hover { color: var(--green); }
.ukc-suggest__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.ukc-suggest__price { font-size: .86rem; font-weight: 700; color: var(--ink); }
.ukc-suggest__badge { padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .7rem; font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ukc-suggest__add { grid-area: add; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: var(--gold); color: var(--forest); font-size: .82rem; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s; }
.ukc-suggest__add:hover { background: var(--forest); color: var(--gold); }
/* Bedenli/renkli üründe seçenek kutusu: fiyatın altında kendi satırında; formdaki büyük kutular gibi değil, kartın
   satırına sığacak boyda. */
.ukc-suggest__item.has-options { grid-template-areas: "thumb name add" "thumb meta add" "thumb option add"; }
.ukc-suggest__option { grid-area: option; width: 100%; min-height: 34px; margin-top: 6px; padding: 4px 32px 4px 10px; border-radius: 8px; font-size: .8rem; }
.ukc-bar .ukc-suggest__add .icon { color: inherit; }
/* Ekleniyor: simgenin yerinde dönen halka; özet yenilenince kart ya da öneriler yeniden basılır. */
.ukc-suggest__add.loading { opacity: .7; pointer-events: none; }
.ukc-suggest__add.loading .icon { display: none; }
.ukc-suggest__add.loading::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: gc-spin .7s linear infinite; }
@keyframes gc-spin { to { transform: rotate(360deg); } }
/* Telefon: kartlar kutunun kenarına kadar uzanan sırada yana kayar; ikinci kartın ucu görünür. Rozet kartın üst
   kenarına oturur (yükseklik eklemez); sıranın üst boşluğu onu kırpılmaktan korur. */
.ukc-bar--checkout-top .ukc-suggest__list { display: flex; gap: 10px; margin: 0 -16px; padding: 9px 16px 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain; scrollbar-width: none; }
.ukc-bar--checkout-top .ukc-suggest__list::-webkit-scrollbar { display: none; }
.ukc-bar--checkout-top .ukc-suggest__item { flex: 0 0 min(250px, 78%); grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "thumb name name" "thumb meta add"; gap: 4px 10px; margin: 0; padding: 12px 10px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); scroll-snap-align: start; }
/* Seçenekli kart biraz geniş: "Beden / Renk seçin" kutuya sığsın. */
.ukc-bar--checkout-top .ukc-suggest__item.has-options { flex-basis: min(285px, 86%); grid-template-areas: "thumb name name" "thumb meta meta" "option option add"; }
.ukc-bar--checkout-top .ukc-suggest__option { min-height: 32px; margin-top: 4px; padding: 4px 24px 4px 8px; font-size: .78rem; }
.ukc-bar--checkout-top .ukc-suggest__thumb img { width: 48px; height: 48px; }
.ukc-bar--checkout-top .ukc-suggest__add { min-height: 32px; padding: 0 12px 0 8px; }
.ukc-bar--checkout-top .ukc-suggest__badge { position: absolute; top: -9px; left: 10px; max-width: calc(100% - 20px); background: var(--green); color: var(--white); }

/* ---------- 5. Sepet ---------- */

.shop-page { max-width: none; }
.woocommerce-cart .shop-page > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 32px; align-items: start; }
.woocommerce-cart .shop-page > .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .shop-page > .woocommerce > .wc-empty-cart-message, .woocommerce-cart .shop-page > .woocommerce > .return-to-shop, .woocommerce-cart .shop-page > .woocommerce > .cart-empty { grid-column: 1 / -1; }
.woocommerce-cart-form .ukc-bar { margin-bottom: 18px; }

table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table.shop_table th { padding: 16px 18px; text-align: left; font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table tr:last-child td, table.shop_table tfoot tr:last-child th { border-bottom: 0; }
table.cart .product-remove { width: 44px; padding-right: 0; }
table.cart a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); font-size: 1.4rem; line-height: 1; }
table.cart a.remove:hover { background: #fdecea; color: var(--danger); }
table.cart .product-thumbnail { width: 96px; padding-right: 0; }
table.cart .product-thumbnail img { width: 78px; height: 104px; object-fit: cover; border-radius: 10px; background: var(--mint); }
table.cart .product-name a { color: var(--ink); font-weight: 700; }
table.cart .product-name a:hover { color: var(--green); }
table.cart .product-price { color: var(--text); }
table.cart .product-subtotal { font-weight: 700; color: var(--ink); }
table.cart .quantity .qty { min-height: 44px; width: 46px; }
table.cart .qty-btn { height: 44px; width: 38px; }
table.cart td.actions { padding: 16px 18px; background: var(--cream); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
table.cart td.actions .coupon { display: inline-flex; gap: 8px; }
table.cart td.actions .coupon label { display: none; }
table.cart td.actions .coupon .input-text { width: 190px; min-height: 48px; }
table.cart td.actions > .button { float: right; background: var(--white); color: var(--forest); border-color: var(--line); }
table.cart td.actions > .button:hover:not(:disabled) { background: var(--forest); color: var(--white); border-color: var(--forest); }

.cart-collaterals { position: sticky; top: calc(var(--header-h) + 20px); }
.cart_totals { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.cart_totals h2 { font-size: 1.3rem; margin-bottom: 14px; }
.cart_totals table.shop_table { border: 0; border-radius: 0; background: transparent; margin-bottom: 18px; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 13px 0; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-size: .95rem; vertical-align: top; }
.cart_totals table.shop_table th { color: var(--text); font-weight: 500; width: 52%; }
.cart_totals table.shop_table td { text-align: right; color: var(--ink); font-weight: 600; }
.cart_totals .fee td, .woocommerce-checkout-review-order-table .fee td { color: var(--green); }
.cart_totals table.shop_table .order-total th, .cart_totals table.shop_table .order-total td { border-bottom: 0; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.woocommerce-shipping-methods label { font-weight: 600; }
.woocommerce-shipping-methods input { accent-color: var(--green); margin-right: 6px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { margin: 8px 0 0; font-size: .85rem; font-weight: 400; color: var(--muted); }
.shipping-calculator-form { margin-top: 10px; display: grid; gap: 8px; text-align: left; }
.shipping-calculator-form p { margin: 0; }
.wc-proceed-to-checkout { margin: 0; }
.cart-empty.woocommerce-info { justify-content: center; }
.return-to-shop { text-align: center; }

/* ---------- 6. Ödeme ---------- */

.woocommerce-checkout .shop-page > .woocommerce > .woocommerce-form-coupon-toggle { max-width: none; }
form.checkout_coupon, form.woocommerce-form-login { margin-bottom: 24px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }

/* Giriş: "Hesabınız var mı? Giriş yapın" satırı (woocommerce/checkout/form-login.php); dokununca giriş penceresi açılır
   (aşağıda). Masaüstünde fatura sütunu genişliğinde (özet sütunu 430 px + boşluk 36 px); giriş isteyen diğer ödeme
   adımlarındaki tek başına form da aynı genişlikte. */
.checkout-login { margin: 0 0 24px; border: 1px solid var(--cream-line); border-radius: var(--radius); background: var(--cream); }
.checkout-login__toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 18px; border: 0; border-radius: inherit; background: none; color: var(--ink); font: inherit; font-weight: 500; line-height: 1.4; text-align: left; cursor: pointer; }
.checkout-login__toggle:focus-visible { outline-offset: -3px; }
.checkout-login__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--cream-line); border-radius: 50%; background: var(--white); color: var(--green); }
.checkout-login__text { flex: 1; min-width: 0; }
.checkout-login__question { margin-right: 6px; }
.checkout-login__action { font-weight: 700; color: var(--green); white-space: nowrap; }
.checkout-login__toggle:hover .checkout-login__action { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.checkout-login__toggle > .icon-chevron-right { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.checkout-login__toggle:hover > .icon-chevron-right { transform: translateX(3px); }
@media (min-width: 981px) {
	.checkout-login, .woocommerce-checkout .shop-page > .woocommerce > form.woocommerce-form-login { max-width: calc(100% - 466px); }
}

/* Giriş penceresi (<dialog>, main.js): ortada, en çok 460 px; telefonda kenarlarda 12 px boşluk. Alanlar alt alta,
   düğme tam genişlikte. Pencerenin kendi dolgusu yoktur (içerik iç kutuda): karartılmış zemine dokunmak kapatır.
   Zemin rengi sepet çekmecesininkiyle aynı; ::backdrop eski tarayıcılarda değişkenleri görmediği için açık yazılır. */
.login-dialog { width: min(460px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.login-dialog[open] { animation: login-dialog-in .25s var(--ease); }
.login-dialog::backdrop { background: rgba(10, 46, 25, .55); }
@keyframes login-dialog-in { from { opacity: 0; transform: translateY(14px); } }
.login-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 0 24px; }
.login-dialog__head h2 { margin: 0; font-size: 1.3rem; }
.login-dialog .woocommerce-error { margin: 16px 24px 0; }
.login-dialog form.woocommerce-form-login { margin: 0; padding: 14px 24px 24px; border: 0; border-radius: 0; background: none; }
.login-dialog .woocommerce-form-login__fields { grid-template-columns: minmax(0, 1fr); }
.login-dialog .woocommerce-form-login__fields .form-row { grid-column: 1 / -1; margin-bottom: 12px; }
.login-dialog .woocommerce-form-login__actions { gap: 0 12px; }
.login-dialog .woocommerce-form-login__actions .lost_password { margin-left: auto; }
.login-dialog .woocommerce-form-login__actions .button { flex: 1 1 100%; margin: 6px 0 0; }
/* Kayıtlı e-posta uyarısı (Türkiye Ödeme Formu eklentisi): fatura bilgilerinde e-posta alanının hemen altında, giriş satırıyla aynı zeminde;
   yazı solda, düğme (giriş penceresini açar) sağda. Telefonda düğme yazının altında, tam genişlikte (aşağıda). */
.tof-account-found { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: -6px; padding: 14px 16px; border: 1px solid var(--cream-line); border-radius: var(--radius-sm); background: var(--cream); }
.tof-account-found[hidden] { display: none; }
.tof-account-found__text { flex: 1 1 260px; margin: 0; color: var(--text); font-size: .92rem; line-height: 1.5; }
.tof-account-found__text strong { display: block; color: var(--ink); font-size: .96rem; }
.tof-account-found .button { flex: none; min-height: 46px; padding-inline: 26px; }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1 1 220px; }

/* Telefonda formun üstünde sabit duran katlanır sipariş özeti (980 px altında görünür, aşağıda). */
.checkout-mini { display: none; }

form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; grid-template-rows: auto auto 1fr; gap: 0 36px; align-items: start; }
/* Bildirimler (doğrulama hataları) ızgaranın ilk satırında tam genişlikte; formlar ve sipariş özeti ikinci satırdan başlar (aksi halde bildirim formun altına düşüp özeti aşağı iterdi). */
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; margin-bottom: 24px; }
form.checkout #customer_details { grid-column: 1; grid-row: 2 / span 3; display: grid; gap: 24px; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 2; margin: 0; padding: 26px 26px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--cream); font-size: 1.3rem; }
form.checkout #order_review { grid-column: 2; grid-row: 3; padding: 14px 26px 26px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--cream); }
#customer_details .col-1, #customer_details .col-2 { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
#customer_details h3 { font-size: 1.3rem; margin-bottom: 18px; }
/* Onay kutuları (hesap oluştur, farklı adrese gönder) okunur boyutta; kutu ilk satırla hizalı. "Farklı adrese" kutusu
   WooCommerce'te başlığın (h3) içindedir: başlık biçimi sıfırlanır, diğer onay kutusu gibi görünür. */
#customer_details .woocommerce-form__label-for-checkbox { font-size: .95rem; color: var(--ink); }
#customer_details h3#ship-to-different-address { margin: 0 0 18px; font-size: 1rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; }

.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin: 0 0 16px; grid-column: 1 / -1; }
.form-row-first { grid-column: 1; }
.form-row-last { grid-column: 2; }
.form-row label { display: block; margin-bottom: 6px; }
.form-row .required { color: var(--danger); text-decoration: none; }
.form-row .optional { color: var(--muted); font-weight: 400; }
/* Tek ülkeye satışta ülke satırı gizlenir; WooCommerce'in adres betiği satırı .show() ile açtığı için !important. */
.form-row.is-single-country { display: none !important; }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select { border-color: var(--danger); }
/* Sunucunun döndürdüğü alan hatası (ör. ilçe listede yok, telefon geçersiz) alanın altında; alan düzeltilince WooCommerce kaldırır. */
.checkout-inline-error-message { margin: 6px 0 0; color: var(--danger); font-size: .88rem; }
.form-row input[aria-invalid="true"], .form-row select[aria-invalid="true"], .form-row select[aria-invalid="true"] + .select2-container--default .select2-selection--single { border-color: var(--danger); }
.woocommerce-input-wrapper { display: block; }
.woocommerce-form__label-for-checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.woocommerce-form__label-for-checkbox input { flex: none; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green); }

.select2-container--default .select2-selection--single { height: 52px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 49px; padding-left: 16px; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; right: 10px; }
.select2-dropdown { border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--green); }
.select2-search--dropdown .select2-search__field { min-height: 42px; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #93a399; }
/* İl ve ilçe listesinde seçenekler parmakla rahat seçilsin (yaklaşık 44 px), metin kutudaki yazıyla hizalı. */
.select2-container .select2-results__option { padding: 10px 16px; }
.form-row.woocommerce-invalid .select2-container--default .select2-selection--single { border-color: var(--danger); }
/* İlçe kutusu il seçilene kadar kapalıdır ("Önce il seçin"). */
.select2-container--default.select2-container--disabled .select2-selection--single { background: var(--cream); cursor: not-allowed; }
select:disabled { background: var(--cream); color: var(--muted); cursor: not-allowed; }

.woocommerce-checkout-review-order-table { border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .94rem !important; vertical-align: top; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table td.product-name { color: var(--ink); font-weight: 600; padding-right: 12px !important; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); font-weight: 500; }
.woocommerce-checkout-review-order-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot th { color: var(--text); font-weight: 500; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 1.15rem !important; font-weight: 800; color: var(--ink); }
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods { justify-items: end; }

/* Ödeme sayfasındaki adet seçicisi (sipariş tablosu ve telefondaki özet): adet 1'deyken "−" yerine çarpı, satırı siler.
   Silinen satır özet yenilenene kadar soluk kalır. */
.qty-mini--checkout { background: var(--white); }
.qty-mini--checkout .qty-mini__btn .icon-x, .qty-mini--checkout .qty-mini__btn.is-remove .icon-minus { display: none; }
.qty-mini--checkout .qty-mini__btn.is-remove .icon-x { display: block; }
.qty-mini--checkout .qty-mini__btn.is-remove:hover:not(:disabled) { color: var(--danger); }
.woocommerce-checkout-review-order-table .qty-mini--checkout { display: flex; width: max-content; margin-top: 8px; }
.woocommerce-checkout-review-order-table .cart_item.is-removing, .checkout-mini__items li.is-removing { opacity: .45; pointer-events: none; transition: opacity .2s; }

#payment { margin-top: 16px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
#payment ul.payment_methods > li { padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); }
#payment ul.payment_methods > li:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
#payment ul.payment_methods label { font-size: 1rem; cursor: pointer; }
#payment ul.payment_methods input[type="radio"] { accent-color: var(--green); margin-right: 8px; }
#payment .payment_box { margin-top: 10px; font-size: .9rem; color: var(--text); }
#payment .payment_box p:last-child { margin: 0; }
#payment .woocommerce-privacy-policy-text { font-size: .85rem; color: var(--muted); }
#payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; }

.woocommerce-order { max-width: 860px; }
.woocommerce-thankyou-order-received { padding: 20px 24px; border-radius: var(--radius); background: var(--mint); color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 32px; padding: 0; }
.woocommerce-order-overview li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .82rem; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 1rem; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 1.3rem; }
.woocommerce-customer-details address { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); font-style: normal; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* ---------- 7. Hesabım ---------- */

.woocommerce-account .shop-page > .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.woocommerce-account .shop-page > .woocommerce > .woocommerce-notices-wrapper, .woocommerce-account:not(.logged-in) .shop-page > .woocommerce > * { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; }
.woocommerce-MyAccount-navigation a:hover { background: var(--white); color: var(--green); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--forest); color: var(--white); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.woocommerce-MyAccount-content .woocommerce-Address { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-MyAccount-content .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.woocommerce-MyAccount-content .woocommerce-Address-title h2, .woocommerce-MyAccount-content .woocommerce-Address-title h3 { font-size: 1.15rem; margin: 0 0 10px; }
.woocommerce-MyAccount-content address { font-style: normal; }
.woocommerce-MyAccount-content fieldset { margin: 26px 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-MyAccount-content legend { padding: 0 8px; font-weight: 700; color: var(--ink); }
.woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-EditAccountForm > * { grid-column: 1 / -1; }
.woocommerce-EditAccountForm > .form-row-first { grid-column: 1; }
.woocommerce-EditAccountForm > .form-row-last { grid-column: 2; }
.woocommerce-orders-table .button { min-height: 40px; padding: 6px 16px; font-size: .86rem; }

#customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
#customer_login h2, .woocommerce-account:not(.logged-in) .shop-page > .woocommerce > h2 { font-size: 1.4rem; margin-bottom: 16px; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.woocommerce-account:not(.logged-in) .shop-page > .woocommerce { max-width: 980px; margin-inline: auto; }
.woocommerce-account:not(.logged-in) .shop-page > .woocommerce > .woocommerce-form-login { max-width: 480px; }
.woocommerce-form-login .woocommerce-form-login__rememberme { margin-bottom: 14px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; min-height: 54px; }
.woocommerce-LostPassword { margin: 14px 0 0; font-size: .9rem; }

/* Ödeme adımlarındaki giriş formu (woocommerce/global/form-login.php): e-posta ve parola yan yana, altında
   "Beni hatırla" ve "Parolamı unuttum", düğme sağda. Telefonda alt alta, düğme tam genişlikte (aşağıda). */
.woocommerce-form-login__intro p { margin: 0 0 14px; color: var(--text); font-size: .92rem; line-height: 1.5; }
.woocommerce-form-login__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.woocommerce-form-login__fields .form-row { margin-bottom: 8px; }
.woocommerce-form-login__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.woocommerce-form-login__actions .woocommerce-form-login__rememberme { align-items: center; min-height: 48px; margin: 0; font-size: .92rem; color: var(--ink); }
.woocommerce-form-login__actions .woocommerce-form-login__rememberme input { margin: 0; }
.woocommerce-form-login__actions .lost_password { margin: 0; font-size: .92rem; }
.woocommerce-form-login__actions .lost_password a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.woocommerce-form-login__actions .button { width: auto; min-height: 50px; margin-left: auto; padding-inline: 32px; }

/* Parola göster/gizle (WooCommerce'in woocommerce.js'i parola alanını .password-input ile sarıp düğmeyi ekler):
   alanın sağında göz simgesi; parola görünürken üstü çizili göz. */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 52px; }
.show-password-input { position: absolute; top: 0; right: 2px; display: grid; place-items: center; width: 48px; height: 52px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.show-password-input:hover { color: var(--green); }
.show-password-input::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.73 5.08a10.74 10.74 0 0 1 11.21 6.57 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-1.44 2.49'/%3E%3Cpath d='M14.08 14.16a3 3 0 0 1-4.24-4.24'/%3E%3Cpath d='M17.48 17.5A10.75 10.75 0 0 1 2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 4.45-5.14'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.73 5.08a10.74 10.74 0 0 1 11.21 6.57 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-1.44 2.49'/%3E%3Cpath d='M14.08 14.16a3 3 0 0 1-4.24-4.24'/%3E%3Cpath d='M17.48 17.5A10.75 10.75 0 0 1 2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 4.45-5.14'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E"); }
/* Edge'in kendi parola gösterme düğmesi ikinci bir göz olarak çıkmasın. */
.password-input input::-ms-reveal { display: none; }
.woocommerce-password-strength { margin-top: 8px; font-size: .85rem; font-weight: 600; }

/* ---------- Duyarlı ---------- */

@media (max-width: 1180px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
	.pdp__side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
	.pdp-side__title { grid-column: 1 / -1; margin: 0; }
	.campaign-card, .feature-list, .help-card { margin: 0; }
	.feature-list { grid-row: span 2; }
}

@media (max-width: 980px) {
	.woocommerce-cart .shop-page > .woocommerce, form.checkout.woocommerce-checkout, .woocommerce-account .shop-page > .woocommerce, .woocommerce-Reviews { grid-template-columns: minmax(0, 1fr); }
	form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review, form.checkout > .woocommerce-NoticeGroup { grid-column: 1; grid-row: auto; }
	form.checkout #order_review_heading { margin-top: 24px; }
	/* Tek sütunda ızgara gerekmez; blok akışında özet "sticky" olarak formun üstünde kalabilir. */
	form.checkout.woocommerce-checkout { display: block; }
	.ukc-bar--checkout-review { display: none; }
	.ukc-bar--checkout-top { display: grid; margin: 0 0 12px; }
	.checkout-mini { display: block; position: sticky; top: var(--header-h); z-index: 20; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow-sm); }
	.checkout-mini summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); }
	.checkout-mini summary::-webkit-details-marker { display: none; }
	.checkout-mini__label { display: inline-flex; align-items: center; gap: 8px; }
	.checkout-mini__label .icon { color: var(--green); }
	.checkout-mini__total { margin-left: auto; font-size: 1.1rem; font-weight: 800; white-space: nowrap; }
	.checkout-mini summary > .icon-chevron-down { flex: none; color: var(--muted); transition: transform .25s var(--ease); }
	.checkout-mini[open] summary > .icon-chevron-down { transform: rotate(180deg); }
	.checkout-mini__body { padding: 0 16px 16px; border-top: 1px solid var(--line); }
	.checkout-mini__items { list-style: none; margin: 0; padding: 12px 0 6px; display: grid; gap: 6px; font-size: .92rem; }
	/* Ürün adı tam genişlikte; altında adet seçicisi ve satır tutarı (çekmecedeki gibi). */
	.checkout-mini__items li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
	.checkout-mini__name { grid-column: 1 / -1; font-weight: 600; color: var(--ink); line-height: 1.35; }
	.checkout-mini__price { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
	.checkout-mini__line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: .92rem; }
	.checkout-mini__line--discount { color: var(--green); font-weight: 600; }
	.checkout-mini__line--total { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 800; color: var(--ink); }
	.cart-collaterals { position: static; }
}

@media (max-width: 820px) {
	/* Başlık alanı: görsel metnin altına iner, üst kenarı yırtık. */
	.page-hero--shop .page-hero__inner { display: block; min-height: 0; }
	.page-hero--shop .page-hero__content { max-width: none; }
	.page-hero__media { position: relative; width: auto; height: clamp(130px, 34vw, 220px); }
	.page-hero__media::before { top: -1px; bottom: auto; left: 0; right: 0; width: auto; height: 22px; transform: scaleY(-1); -webkit-mask: url("../img/edge.svg") center / 1100px 100% repeat-x; mask: url("../img/edge.svg") center / 1100px 100% repeat-x; }
	.page-hero__badge { left: auto; right: var(--gutter); top: 0; bottom: auto; width: 56px; height: 56px; transform: translateY(-50%); border-width: 5px; }
	.page-hero__badge .icon { width: 24px; height: 24px; }
	.hero-chips { gap: 8px; margin-top: 16px; }
	.hero-chips li { font-size: .8rem; padding-right: 12px; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
	/* iOS, 16 px'ten küçük yazılı alana odaklanınca sayfayı yakınlaştırır. */
	.woocommerce-ordering select { font-size: 1rem; }
	.pdp { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.pdp__gallery { display: contents; }
	.pdp-card--gallery { order: 1; }
	.pdp__main { order: 2; }
	.pdp-facts { order: 3; margin: 0; }
	.pdp-share { order: 4; margin: 0; }
	.pdp__side { order: 5; grid-template-columns: minmax(0, 1fr); }
	.feature-list { grid-row: auto; }

	/* Alta sabitlenen "sepete ekle" çubuğu: asıl düğme ekranda değilken görünür (main.js). */
	body.has-pdp-bar { --pdp-bar-h: 68px; padding-bottom: calc(var(--pdp-bar-h) + env(safe-area-inset-bottom, 0px)); }
	.pdp-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--line); background: var(--white); box-shadow: 0 -10px 30px -18px rgba(var(--forest-rgb), .35); transform: translateY(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
	.pdp-bar.is-visible { transform: none; visibility: visible; }
	.pdp-bar__inner { display: flex; align-items: center; gap: 16px; min-height: calc(var(--pdp-bar-h) - 1px); }
	.pdp-bar__info { flex: none; display: grid; gap: 2px; line-height: 1.2; }
	.pdp-bar__price .price { font-size: 1.22rem; white-space: nowrap; }
	.pdp-bar__cart { font-size: .8rem; font-weight: 600; color: var(--green); white-space: nowrap; }
	.pdp-bar__cart .amount { font-weight: 700; }
	.pdp-bar__btn { flex: 1; font-size: 1rem; font-weight: 700; }
	/* WhatsApp düğmesi çubuğun üstünde durur; sepet ve ödemede form alanlarını örtmemesi için gizlenir. */
	body.has-pdp-bar .whatsapp-fab { transition: transform .25s var(--ease), bottom .3s var(--ease); }
	body.pdp-bar-visible .whatsapp-fab { bottom: calc(var(--pdp-bar-h) + env(safe-area-inset-bottom, 0px) + 12px); }
	.woocommerce-cart .whatsapp-fab, .woocommerce-checkout:not(.woocommerce-order-received) .whatsapp-fab { display: none; }

	/* Formu açan düğme telefonda tam genişlikte. */
	.js .review-toggle[aria-expanded="false"] { display: flex; width: 100%; }

	/* Sepet tablosu → kartlar */
	table.cart thead { display: none; }
	table.cart, table.cart tbody, table.cart tr, table.cart td { display: block; }
	table.cart tr.cart_item { position: relative; display: grid; grid-template-columns: 78px 1fr auto; gap: 6px 14px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
	table.cart tr.cart_item td { padding: 0; border: 0; }
	table.cart .product-thumbnail { grid-row: 1 / span 3; width: auto; }
	table.cart .product-name { grid-column: 2 / span 2; padding-right: 34px !important; }
	table.cart .product-price { display: none; }
	table.cart .product-quantity { grid-column: 2; }
	table.cart .product-subtotal { grid-column: 3; text-align: right; }
	table.cart .product-remove { position: absolute; right: 10px; top: 10px; width: auto; }
	table.cart td.actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
	table.cart td.actions .coupon { display: flex; }
	table.cart td.actions .coupon .input-text { flex: 1; width: auto; min-width: 0; }
	table.cart td.actions .coupon .button { flex: none; }
	table.cart td.actions > .button { float: none; width: 100%; }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
	.pdp-bar, body.has-pdp-bar .whatsapp-fab { transition: none; }
}

@media (max-width: 600px) {
	.product-card__body { padding: 14px 14px 16px; }
	.product-card__title { font-size: .92rem; }
	.product-card__price .price { font-size: 1.05rem; }
	.product-card__foot { gap: 10px; }
	.product-card__add, .product-card a.product-card__add.button { width: 100%; justify-content: center; min-height: 42px; }
	.product-card__badges { left: 10px; top: 10px; }
	/* Özellik rozetleri tek satırda yana kaydırılır. */
	.hero-chips { flex-wrap: nowrap; max-height: none; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; scrollbar-width: none; }
	.hero-chips::-webkit-scrollbar { display: none; }
	.hero-chips li { flex: none; }
	/* Kategori düğmeleri de tek satırda, ekran kenarına kadar uzanır; seçili olan main.js ile görünür yere kaydırılır. */
	.cat-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; scrollbar-width: none; }
	.cat-chips::-webkit-scrollbar { display: none; }
	.cat-chips__item { flex: none; white-space: nowrap; }
	.product-card__soldout { padding: 10px; }
	.product-card__soldout span { gap: 8px; padding: 10px 8px; letter-spacing: .14em; }
	.product-card__soldout span::before, .product-card__soldout span::after { width: 10px; }
	.woocommerce-tabs ul.tabs a { padding: 14px 6px; font-size: .82rem; }
	.woocommerce-Tabs-panel { padding: 20px 18px 6px; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { grid-template-columns: 1fr; }
	.form-row-first, .form-row-last, .woocommerce-EditAccountForm > .form-row-first, .woocommerce-EditAccountForm > .form-row-last { grid-column: 1 / -1; }
	/* Giriş formu: alanlar alt alta; "Parolamı unuttum" kutunun satırında sağda, düğme altta tam genişlikte. */
	.checkout-login__toggle { padding-inline: 16px; }
	.login-dialog__head { padding: 14px 14px 0 18px; }
	.login-dialog .woocommerce-error { margin-inline: 18px; }
	.login-dialog form.woocommerce-form-login { padding: 12px 18px 18px; }
	.woocommerce-form-login__fields .form-row { margin-bottom: 12px; }
	.woocommerce-form-login__actions { gap: 0 12px; }
	.woocommerce-form-login__actions .lost_password { margin-left: auto; }
	.woocommerce-form-login__actions .button { flex: 1 1 100%; margin: 4px 0 0; }
	.tof-account-found .button { flex: 1 1 100%; }
	#customer_details .col-1, #customer_details .col-2, form.checkout #order_review, .cart_totals { padding: 20px; }
	form.checkout #order_review_heading { padding: 20px 20px 0; }
	.pdp form.cart .quantity { flex: none; }

	/* Ürün başlığı ilk ekranda görünsün: galeri kısalır (görsel kırpılmaz), küçük görseller sağda dikey dizilir. */
	.pdp-wrap { padding-top: 14px; }
	.pdp-wrap > .breadcrumb { margin-bottom: 12px; }
	.pdp { gap: 16px; }
	.pdp__meta { margin-bottom: 12px; }
	.pdp-card--gallery { padding: 8px; }
	.woocommerce-product-gallery__image a img { height: min(80vw, 420px); aspect-ratio: auto; object-fit: contain; }
	@supports selector(:has(a)) {
		.woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(2)) { padding-right: 56px; }
		.woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(2)) .woocommerce-product-gallery__trigger { right: 66px; top: 10px; }
		.flex-control-thumbs { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; width: 48px; margin: 0; overflow-y: auto; scrollbar-width: none; }
		.flex-control-thumbs::-webkit-scrollbar { display: none; }
		.flex-control-thumbs li { flex: 0 1 48px; min-height: 44px; }
		.flex-control-thumbs img { height: 100%; aspect-ratio: auto; }
	}
}
