/* Tesbih Sepetim — tasarım sistemi
   Palet: koyu patina yeşili (marka), pirinç/kehribar (vurgu), gümüş nötr —
   gümüş takı ve kehribar/oltu taşı malzemelerinden türetildi. */

:root {
	--ts-bg: #f7f3ea;
	--ts-surface: #ffffff;
	--ts-ink: #201b15;
	--ts-ink-soft: #5c5548;
	--ts-ink-faint: #8a8272;
	--ts-border: #e5ded0;
	--ts-border-strong: #d3c9b4;

	--ts-patina: #33493c;
	--ts-patina-deep: #202f27;
	--ts-patina-tint: #eaeee7;
	--ts-brass: #ab7233;
	--ts-brass-deep: #8a5a26;
	--ts-silver: #7d7f7c;
	--ts-danger: #a23b2e;

	--ts-font-serif: 'Fraunces', Georgia, 'Iowan Old Style', serif;
	--ts-font-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--ts-radius: 3px;
	--ts-radius-lg: 4px;
	--ts-container: 1320px;
	--ts-header-h: 72px;
	--ts-header-h-mobile: 60px;
	--ts-ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
	margin: 0;
	font-family: var(--ts-font-sans);
	color: var(--ts-ink);
	background: var(--ts-bg);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--ts-font-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 .45em;
	color: var(--ts-ink);
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ts-brass); outline-offset: 2px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.ts-skip-link {
	position: fixed; top: -50px; left: 0; z-index: 1000;
	background: var(--ts-ink); color: #fff; padding: 10px 16px;
	transition: top .15s;
}
.ts-skip-link:focus { top: 0; position: fixed; width: auto; height: auto; clip: auto; }

.ts-container { max-width: var(--ts-container); margin: 0 auto; padding: 0 24px; }
.ts-section-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 28px; }

/* ------------------------------------------------------------------ Butonlar */
.ts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: var(--ts-radius); font-weight: 600; font-size: .95rem;
	border: 1px solid transparent; transition: background .18s var(--ts-ease), color .18s, border-color .18s, transform .12s;
}
.ts-btn--primary { background: var(--ts-patina); color: #fff; }
.ts-btn--primary:hover { background: var(--ts-patina-deep); }
.ts-btn--outline { border-color: var(--ts-ink); color: var(--ts-ink); background: transparent; }
.ts-btn--outline:hover { background: var(--ts-ink); color: #fff; }
.ts-btn:active { transform: scale(.98); }

/* ------------------------------------------------------------------ Güven şeridi (footer üstü, tüm sayfalarda) */
.ts-trustbar { background: var(--ts-surface); border-top: 1px solid var(--ts-border); margin-top: 72px; }
.ts-trustbar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 32px; padding: 26px 24px; }
.ts-trustbar__item { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; color: var(--ts-ink); }
.ts-trustbar__item svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--ts-patina-tint); color: var(--ts-patina); }

/* ------------------------------------------------------------------ Bölüm başlığı (tekrar kullanılan desen) */
.ts-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.ts-section-head .ts-section-title { margin: 0; }
.ts-section-link { font-size: .88rem; font-weight: 600; color: var(--ts-patina); white-space: nowrap; }
.ts-section-link:hover { color: var(--ts-patina-deep); }

/* ------------------------------------------------------------------ Tekil ürün */
.woocommerce div.product { padding: 8px 0 60px; }
.woocommerce div.product .summary { display: flex; flex-direction: column; }
.woocommerce div.product .summary > * { margin: 0 0 4px; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px !important; }
.woocommerce div.product p.price { font-family: var(--ts-font-serif); font-size: 1.7rem; color: var(--ts-patina); font-weight: 600; margin-bottom: 4px !important; }
.woocommerce div.product p.price del { color: var(--ts-ink-faint); font-size: .6em; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ts-ink-soft); margin-bottom: 8px !important; }
.woocommerce div.product form.cart .button {
	background: var(--ts-patina); color: #fff; border: none; border-radius: var(--ts-radius);
	padding: 14px 30px; font-weight: 700; font-size: .95rem;
}
.woocommerce div.product form.cart .button:hover { background: var(--ts-patina-deep); }
.woocommerce div.product form.cart { display: flex; gap: 14px; align-items: center; margin: 10px 0 4px !important; }
.woocommerce div.product .quantity input { border: 1px solid var(--ts-border-strong); border-radius: var(--ts-radius); padding: 12px; width: 64px; text-align: center; }
.woocommerce-product-details__short-description + .product_meta,
.product_meta { font-size: .85rem; color: var(--ts-ink-faint); padding-top: 14px !important; margin-top: 6px !important; border-top: 1px solid var(--ts-border); }
.product_meta a { color: var(--ts-patina); font-weight: 600; }

.ts-product-trust { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px !important; padding: 16px 18px; background: var(--ts-patina-tint); border-radius: var(--ts-radius-lg); }
.ts-product-trust span { font-size: .85rem; color: var(--ts-patina-deep); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ts-product-trust span::before { content: "✓"; }

.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--ts-border); display: flex; gap: 26px; margin: 36px 0 24px; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { list-style: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0; display: block; font-weight: 600; color: var(--ts-ink-faint); border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ts-ink); border-color: var(--ts-brass); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 640px; color: var(--ts-ink-soft); }
.woocommerce div.product .woocommerce-tabs .panel p { max-width: none; }

.ts-description-body p { margin-bottom: 12px; }
.ts-description-body--inline { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--ts-border); max-width: 460px; }
.ts-description-body--inline .ts-spec-list { grid-template-columns: 1fr 1fr; }
.ts-spec-heading { font-family: var(--ts-font-sans); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ts-patina); margin: 22px 0 10px; }
.ts-spec-heading:first-child { margin-top: 0; }
.ts-spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 24px; margin: 0 0 16px; }
.ts-spec-list li { position: relative; padding-left: 16px; font-size: .93rem; color: var(--ts-ink-soft); line-height: 1.7; }
.ts-spec-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--ts-brass); }

.related.products { margin-top: 56px; }
.related.products > h2 { font-size: 1.5rem; }

.woocommerce-product-gallery__wrapper {
	border-radius: var(--ts-radius-lg); overflow: hidden; background: var(--ts-patina-tint);
	border: 1px solid var(--ts-border); padding: 22px;
}
.woocommerce-product-gallery__image img { border-radius: var(--ts-radius); filter: drop-shadow(0 16px 28px rgba(32,27,21,.14)); }
.woocommerce-product-gallery a { cursor: zoom-in; }
.flex-control-thumbs { display: flex; gap: 10px; margin-top: 14px; padding: 0; }
.flex-control-thumbs li { list-style: none; width: 72px; }
.flex-control-thumbs img {
	border-radius: var(--ts-radius); border: 2px solid transparent; cursor: pointer; opacity: .7;
	background: var(--ts-patina-tint); transition: border-color .15s, opacity .15s, transform .15s;
}
.flex-control-thumbs img:hover { opacity: 1; transform: translateY(-1px); }
.flex-control-thumbs img.flex-active { border-color: var(--ts-patina); opacity: 1; }

/* ------------------------------------------------------------------ WooCommerce genel (sepet/ödeme/hesabım) */
.woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments {
	background: var(--ts-patina-tint); border: 1px solid var(--ts-border-strong); color: var(--ts-patina-deep);
	border-radius: var(--ts-radius); padding: 14px 18px; list-style: none; display: flex; align-items: center; gap: 10px;
	font-size: .9rem; margin-bottom: 20px;
}
.woocommerce-info, .woocommerce-message { flex-wrap: wrap; line-height: 1.5; border-left: 4px solid var(--ts-patina) !important; padding-left: 16px !important; }
/* WooCommerce'in ikon yazı tipiyle çizdiği simge (yazı tipi yüklenmediğinde metnin üstüne binen kutu) */
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { content: none !important; display: none !important; }
/* Bildirim içindeki düğme (ör. "E-posta adresini onayla", "Sepeti görüntüle"): metnin sağında, dikeyde ortalı */
.woocommerce-info .button, .woocommerce-message .button, .woocommerce-error .button {
	order: 2; margin-left: auto !important; float: none !important; flex: none;
	display: inline-flex !important; align-items: center; justify-content: center;
	height: auto !important; min-height: 40px; padding: 9px 18px !important; line-height: 1.2 !important; white-space: nowrap;
}
@media (max-width: 600px) {
	.woocommerce-info .button, .woocommerce-message .button { order: 0; width: 100%; margin-left: 0 !important; }
}
.woocommerce-error { background: #f7e9e6; border: 1px solid #e3b6ac; color: var(--ts-danger); border-radius: var(--ts-radius); padding: 14px 18px; margin-bottom: 20px; font-size: .9rem; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--ts-patina); color: #fff; border: none; border-radius: var(--ts-radius);
	padding: 12px 24px; font-weight: 600; font-size: .9rem;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--ts-patina-deep); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--ts-brass); }
.woocommerce a.button.alt:hover { background: var(--ts-brass-deep); }

.woocommerce table.shop_table {
	border-collapse: collapse; width: 100%; border: 1px solid var(--ts-border); border-radius: var(--ts-radius-lg); overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--ts-patina-tint); text-align: left; padding: 12px 14px; font-size: .82rem; font-weight: 700; color: var(--ts-patina-deep); }
.woocommerce table.shop_table td { padding: 14px; border-top: 1px solid var(--ts-border); font-size: .9rem; }
.woocommerce table.shop_table td.product-name a { font-weight: 600; }
.woocommerce .quantity input.qty { border: 1px solid var(--ts-border-strong); border-radius: var(--ts-radius); padding: 8px; width: 56px; text-align: center; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea {
	border: 1px solid var(--ts-border-strong); border-radius: var(--ts-radius); padding: 11px 13px; width: 100%; font-size: .92rem; background: var(--ts-surface);
}
.woocommerce form .form-row label { font-size: .85rem; font-weight: 600; color: var(--ts-ink-soft); margin-bottom: 5px; display: block; }
.woocommerce-checkout #payment { background: var(--ts-surface); border: 1px solid var(--ts-border); border-radius: var(--ts-radius-lg); padding: 4px 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--ts-patina-tint); }
.woocommerce-billing-fields h3, #order_review_heading, .woocommerce-shipping-fields h3 { font-family: var(--ts-font-serif); font-size: 1.3rem; margin: 24px 0 16px; }

.woocommerce-MyAccount-navigation ul { border: 1px solid var(--ts-border); border-radius: var(--ts-radius-lg); overflow: hidden; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--ts-border); }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; font-size: .9rem; font-weight: 600; color: var(--ts-ink-soft); }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--ts-patina); background: var(--ts-patina-tint); }
.woocommerce-MyAccount-content { margin-top: 24px; }
.woocommerce-account .addresses .title h3 { font-size: 1.1rem; }

/* ------------------------------------------------------------------ Statik sayfa */
.ts-page { padding: 24px 0 64px; }
.ts-page__title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.ts-page__content { max-width: 820px; color: var(--ts-ink-soft); }
.ts-page__content p { max-width: none; }
/* 404: arama + hızlı bağlantılar + öneriler */
.ts-404 { padding-bottom: 56px; }
.ts-404__hero { position: relative; overflow: hidden; padding: 56px 0 48px; margin-bottom: 36px; background: linear-gradient(135deg, var(--ts-patina-tint, #eef2ee) 0%, var(--ts-bg, #faf8f4) 70%); border-bottom: 1px solid var(--ts-border); }
.ts-404__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ts-404__eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px; background: var(--ts-surface); border: 1px solid var(--ts-border); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ts-brass-deep, var(--ts-brass)); }
.ts-404 h1 { margin: 0 0 12px; font-family: var(--ts-font-serif); font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; color: var(--ts-ink); }
.ts-404__lead { margin: 0 0 22px; max-width: 520px; color: var(--ts-ink-soft); font-size: 1.02rem; line-height: 1.6; }
.ts-404 .ts-404__search { max-width: 560px; height: 56px; margin: 0 0 22px; padding: 0 6px 0 4px; background: var(--ts-surface); border: 1.5px solid var(--ts-border-strong, var(--ts-border)); border-radius: 14px; box-shadow: 0 12px 32px -20px rgba(20, 24, 30, .45); } /* header.css'teki genel arama kutusu kuralını ezmek için .ts-404 ile */
.ts-404 .ts-404__search:focus-within { border-color: var(--ts-patina); box-shadow: 0 0 0 4px var(--ts-patina-tint, rgba(0,0,0,.06)), 0 12px 32px -20px rgba(20, 24, 30, .45); }
.ts-404 .ts-404__search input { font-size: 1rem; padding: 0 14px; }
.ts-404 .ts-404__search button { height: 44px; padding: 0 20px; border-radius: 10px; }
.ts-404__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 560px; }
.ts-404__links::before { content: 'Hızlı bağlantılar:'; margin-right: 4px; font-size: .82rem; font-weight: 700; color: var(--ts-ink-faint); }
.ts-404__links a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--ts-surface); border: 1px solid var(--ts-border); color: var(--ts-ink); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s, transform .15s; }
.ts-404__links a:hover { border-color: var(--ts-patina); color: var(--ts-patina); transform: translateY(-1px); }
.ts-404__art { display: flex; justify-content: center; gap: .04em; font-family: var(--ts-font-serif); font-weight: 700; font-size: clamp(6rem, 15vw, 12rem); line-height: 1; letter-spacing: -.02em; user-select: none; }
.ts-404__art span { color: transparent; -webkit-text-stroke: 2px var(--ts-patina); text-shadow: 6px 8px 0 var(--ts-patina-tint, rgba(0,0,0,.05)); }
.ts-404__art span:nth-child(2) { color: var(--ts-brass); -webkit-text-stroke: 0; transform: translateY(-.06em) rotate(-6deg); display: inline-block; }
.ts-404__sec { margin-bottom: 40px; }
@media (max-width: 860px) {
	.ts-404__hero { padding: 30px 0 28px; margin-bottom: 26px; }
	.ts-404__grid { grid-template-columns: 1fr; gap: 6px; }
	.ts-404__art { order: -1; justify-content: flex-start; font-size: 5.2rem; }
	.ts-404 .ts-404__search { height: 52px; }
	.ts-404 .ts-404__search button { padding: 0 14px; }
	.ts-404 .ts-404__search button span { display: none; }
	.ts-404__links::before { width: 100%; }
	.ts-404__sec { margin-bottom: 30px; }
}

/* ------------------------------------------------------------------ Footer */
.ts-footer { background: var(--ts-footer-bg, var(--ts-patina-deep)); color: var(--ts-footer-ink, #ece7da); }
.ts-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 40px; }
.ts-footer .ts-logo__text { color: #fff; }
.ts-footer .ts-logo img { height: 64px; width: 64px; }
.ts-footer .ts-logo__text { font-size: 24px; }
.ts-footer__brand p { color: var(--ts-footer-ink, #cfc9b8); font-size: .88rem; margin: 18px 0 20px; max-width: 34ch; line-height: 1.65; }
.ts-footer .ts-fh { color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--ts-font-sans); font-weight: 700; }
.ts-footer__links li, .ts-footer__contact li { margin-bottom: 10px; font-size: .88rem; color: var(--ts-footer-ink, #cfc9b8); line-height: 1.5; }
.ts-footer__links a, .ts-footer__contact a { transition: color .15s; }
.ts-footer__links a:hover, .ts-footer__contact a:hover { color: #fff; }
.ts-footer__social { display: flex; gap: 10px; }
.ts-footer__social a {
	width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,.22); color: #ece7da; transition: background .15s, color .15s, border-color .15s;
}
.ts-footer__social a:hover { background: var(--ts-brass); border-color: var(--ts-brass); color: #fff; }
.ts-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .8rem; color: #a9a291; }
.ts-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ WhatsApp buton */
.ts-whatsapp-btn {
	position: fixed; bottom: 24px; right: 24px; z-index: 90;
	width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.22);
	transition: transform .15s;
}
.ts-whatsapp-btn:hover { transform: scale(1.06); }

/* ------------------------------------------------------------------ Sepet çekmecesi */
.ts-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw;
	background: var(--ts-surface); box-shadow: -12px 0 32px rgba(0,0,0,.14); z-index: 300;
	transform: translateX(100%); transition: transform .28s var(--ts-ease); display: flex; flex-direction: column;
}
.ts-cart-drawer.is-open { transform: translateX(0); }
.ts-cart-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--ts-border); }
.ts-cart-drawer__head .ts-fh { font-size: 1.2rem; margin: 0; }
.ts-cart-drawer__close { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ts-ink-soft); }
.ts-cart-drawer__body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.ts-cart-drawer__overlay { position: fixed; inset: 0; background: rgba(20,17,12,.45); z-index: 290; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ts-cart-drawer__overlay.is-open { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 960px) {
	.ts-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.ts-trustbar__grid { grid-template-columns: 1fr 1fr; padding: 20px 16px; }
	.ts-trustbar__item { font-size: .82rem; }
	.ts-footer__bottom-inner { flex-direction: column; }
	.ts-footer__grid { grid-template-columns: 1fr; padding: 44px 0 24px; }
	.woocommerce div.product form.cart { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Başlık görünümlü ama başlık olmayan etiketler (footer sütunları, filtre ve çekmece başlıkları) */
.ts-fh { margin-top: 0; }
.ts-cart-drawer__head .ts-fh { font-family: var(--ts-font-serif); font-weight: 600; color: var(--ts-ink); line-height: 1.15; }
.ts-co-step { font-size: 1.05rem; }

/* Çerez tercihi */
.ts-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; padding: 16px 18px; background: #fff; border: 1px solid var(--ts-line, #e4ded2); border-radius: 16px; box-shadow: 0 18px 50px -20px rgba(20, 24, 30, .45); font-size: 14px; line-height: 1.5; }
.ts-consent[hidden] { display: none; }
.ts-consent p { margin: 0 0 12px; }
.ts-consent a { color: var(--ts-patina, #33493c); text-decoration: underline; }
.ts-consent__btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ts-consent__btns .ts-btn { height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 960px) { .ts-consent { bottom: calc(76px + env(safe-area-inset-bottom)); } }
