/*
Theme Name: Goksoy Mühendislik
Theme URI: https://goksoy.local
Author: Goksoy
Description: Sade, teknik bir mağaza teması. Ölçü etiketi motifli fiyat plakaları, petrol mürekkep paleti ve Barlow tipografisi.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: goksoy
Tags: e-commerce, custom-colors, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
	--ink: #0f2b2e;
	--ink-soft: #2c4448;
	--paper: #ffffff;
	--wash: #f4f7f6;
	--wash-deep: #e9efed;
	--line: #dce5e3;
	--line-strong: #c3d1ce;
	--amber: #e39a1e;
	--amber-deep: #c07f0c;
	--amber-wash: #fdf5e6;
	--sale: #b23a2e;
	--muted: #6c7e7d;

	--font: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-num: "Barlow Condensed", "Barlow", "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 3px;
	--step-0: 0.9375rem;
	--step-1: 1.0625rem;
	--step-2: 1.375rem;
	--step-3: 1.75rem;
	--step-4: clamp(2rem, 4vw, 2.75rem);
	--step-5: clamp(2.5rem, 6vw, 4rem);
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--amber-deep); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ink);
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }

p { margin: 0 0 1em; max-width: 68ch; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

strong, b { font-weight: 600; }

:focus-visible {
	outline: 2px solid var(--amber-deep);
	outline-offset: 2px;
	border-radius: 1px;
}

::selection { background: var(--amber); color: var(--ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 8px; left: 8px;
	z-index: 999;
	width: auto; height: auto;
	clip: auto;
	clip-path: none;
	background: var(--ink);
	color: #fff;
	padding: 10px 18px;
	font-weight: 600;
}

/* =========================================================
   3. LAYOUT PRIMITIVES
   ========================================================= */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-main { min-height: 40vh; }

.section { padding-block: clamp(32px, 5vw, 64px); }
.section--wash { background: var(--wash); }
.section--tight { padding-block: clamp(24px, 3vw, 40px); }

/* Bölüm başlığı: ölçü şeridi motifi yalnızca burada ve fiyat plakasında */
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	position: relative;
}
.section-head::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 56px; height: 3px;
	background: var(--amber);
}
.section-head h2 {
	margin: 0;
	font-size: var(--step-3);
	letter-spacing: -0.02em;
}
.section-head .section-link {
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: 2px;
}
.section-head .section-link:hover { border-color: var(--amber); }

/* =========================================================
   4. HEADER
   ========================================================= */
.utility {
	background: var(--ink);
	color: #cfe0dd;
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
}
.utility .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 36px;
	padding-block: 6px;
}
.utility ul {
	display: flex;
	gap: 22px;
	margin: 0; padding: 0;
	list-style: none;
	flex-wrap: wrap;
}
.utility li { display: flex; align-items: center; gap: 7px; }
.utility a { color: inherit; }
.utility a:hover { color: #fff; }
.utility .dot {
	width: 5px; height: 5px;
	background: var(--amber);
	border-radius: 50%;
	flex: none;
}

.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 90;
}

.masthead {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	padding-block: 16px;
}

.brand { flex: none; display: flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--ink); }
.brand-mark {
	width: 38px; height: 38px;
	flex: none;
	background: var(--ink);
	color: var(--amber);
	display: grid;
	place-items: center;
	font-family: var(--font-num);
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1;
	border-radius: var(--radius);
}
.brand-word {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.brand-name {
	font-family: var(--font-num);
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}
.brand-sub {
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 3px;
}

/* Arama */
.searchform { flex: 1 1 auto; max-width: 620px; }
.searchform .search-inner {
	display: flex;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
	transition: border-color 0.15s ease;
}
.searchform .search-inner:focus-within { border-color: var(--ink); }
.searchform input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 11px 16px;
	font: inherit;
	font-size: 0.9375rem;
	color: var(--ink);
}
.searchform input[type="search"]::placeholder { color: var(--muted); }
.searchform input[type="search"]:focus { outline: none; }
.searchform button {
	flex: none;
	border: 0;
	background: var(--ink);
	color: #fff;
	padding: 0 20px;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.15s ease;
}
.searchform button:hover { background: var(--amber-deep); }
.searchform button svg { width: 18px; height: 18px; }

/* Hesap / sepet */
.masthead-actions {
	display: flex;
	align-items: center;
	gap: clamp(8px, 1.5vw, 20px);
	margin-left: auto;
	flex: none;
}
.action {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 6px 4px;
	font-size: 0.8125rem;
	line-height: 1.25;
	color: var(--ink);
	background: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
}
.action:hover { color: var(--amber-deep); }
.action svg { width: 22px; height: 22px; flex: none; stroke-width: 1.6; }
.action-text { display: flex; flex-direction: column; }
.action-text small {
	font-size: 0.6875rem;
	color: var(--muted);
	letter-spacing: 0.02em;
}
.action--cart {
	background: var(--wash);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 8px 14px;
	font-weight: 500;
	gap: 10px;
}
.action--cart:hover { background: var(--amber-wash); border-color: var(--amber); }
.cart-count {
	background: var(--ink);
	color: #fff;
	font-family: var(--font-num);
	font-weight: 700;
	font-size: 0.9375rem;
	min-width: 22px;
	height: 21px;
	padding: 0 5px;
	display: grid;
	place-items: center;
	border-radius: var(--radius);
	line-height: 1;
}
.cart-total { font-family: var(--font-num); font-weight: 600; font-size: 1rem; }

/* Kategori rayı */
.cat-rail { border-top: 1px solid var(--line); background: var(--paper); }
.cat-rail .wrap {
	display: flex;
	align-items: center;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-block: 0;
}
.cat-rail .wrap::-webkit-scrollbar { display: none; }
.cat-rail a {
	flex: none;
	padding: 12px 14px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ink-soft);
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.cat-rail a:hover { color: var(--ink); border-color: var(--line-strong); }
.cat-rail a.is-current { color: var(--ink); border-color: var(--amber); }
.cat-rail .rail-all {
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 7px;
}

/* Mobil menü düğmesi */
.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: none;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 9px 12px;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	color: var(--ink);
}
.nav-toggle svg { width: 18px; height: 18px; }

/* =========================================================
   5. HERO
   ========================================================= */
.hero {
	background: var(--wash);
	border-bottom: 1px solid var(--line);
	position: relative;
	overflow: hidden;
}
.hero .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	padding-block: clamp(36px, 6vw, 76px);
}
.hero-copy { max-width: 34ch; }
.hero h1 {
	font-size: var(--step-5);
	line-height: 1.03;
	letter-spacing: -0.03em;
	margin-bottom: 18px;
}
.hero p {
	font-size: var(--step-1);
	color: var(--ink-soft);
	max-width: 42ch;
	margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0;
	overflow: hidden;
}
.hero-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 26px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: #fff; }
.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn--amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: #fff; }
.btn--full { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 0.875rem; }

/* =========================================================
   6. GÜVEN ŞERİDİ
   ========================================================= */
.assurance {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}
.assurance .wrap {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.assurance-item {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 20px 20px 20px 0;
	border-right: 1px solid var(--line);
}
.assurance-item:last-child { border-right: 0; }
.assurance-item:not(:first-child) { padding-left: 24px; }
.assurance-item svg {
	width: 26px; height: 26px;
	flex: none;
	color: var(--amber-deep);
	stroke-width: 1.5;
}
.assurance-item strong {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
}
.assurance-item span {
	display: block;
	font-size: 0.8125rem;
	color: var(--muted);
	line-height: 1.35;
}

/* =========================================================
   7. KATEGORİ KAROLARI
   ========================================================= */
.cat-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.cat-card {
	background: var(--paper);
	padding: 22px 16px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	transition: background 0.15s ease;
}
.cat-card:hover { background: var(--wash); color: var(--ink); }
.cat-card .cat-thumb {
	width: 56px; height: 56px;
	display: grid;
	place-items: center;
	background: var(--wash);
	border-radius: 50%;
	color: var(--ink);
	transition: background 0.15s ease, color 0.15s ease;
}
.cat-card:hover .cat-thumb { background: var(--amber-wash); color: var(--amber-deep); }
.cat-card .cat-thumb svg { width: 26px; height: 26px; stroke-width: 1.4; }
.cat-card .cat-name {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
}
.cat-card .cat-count {
	font-size: 0.75rem;
	color: var(--muted);
	font-family: var(--font-num);
	letter-spacing: 0.02em;
}

/* =========================================================
   8. ÜRÜN KARTI
   ========================================================= */
/* Izgara çizgileri kartların kendi kenarlıklarıyla çizilir; böylece
   son satır eksik kaldığında boş hücreler renkli blok olarak görünmez. */
ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
/* WooCommerce kendi clearfix pseudo-elementlerini basar. CSS grid içinde
   bunlar birer grid öğesine dönüşüp ilk hücreyi boş bırakıyor — tamamen kaldır. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
.woocommerce .products ul::before,
.woocommerce .products ul::after,
ul.products::before,
ul.products::after {
	content: none;
	display: none;
}
.woocommerce ul.products,
.woocommerce-page ul.products { margin: 0; }

.product-card {
	position: relative;
	background: var(--paper);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
	transition: background 0.15s ease;
}
.product-card:hover { background: #fcfdfd; }

.product-media {
	position: relative;
	display: block;
	background: var(--wash);
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.product-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.product-card:hover .product-media img { transform: scale(1.035); }

.badges {
	position: absolute;
	top: 10px; left: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	z-index: 2;
	pointer-events: none;
}
.badge {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: 3px 8px;
	border-radius: 2px;
	background: var(--ink);
	color: #fff;
	line-height: 1.5;
	align-self: flex-start;
}
.badge--sale { background: var(--sale); }
.badge--new { background: var(--amber); color: var(--ink); }
.badge--out { background: var(--muted); }

.product-body {
	padding: 14px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 auto;
}
.product-brand {
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 500;
}
.product-title {
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
	letter-spacing: 0;
}
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--amber-deep); }

.rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	color: var(--muted);
	line-height: 1;
}
.rating .stars { color: var(--amber); letter-spacing: 0.06em; font-size: 0.8125rem; }

/* Ölçü etiketi fiyat plakası — temanın imza öğesi */
.price-plate {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}
.price {
	font-family: var(--font-num);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--ink);
	position: relative;
	padding-bottom: 7px;
}
/* ölçü çentikleri */
.price::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 4px;
	background-image:
		linear-gradient(to right, var(--line-strong) 1px, transparent 1px),
		linear-gradient(to right, var(--line) 1px, transparent 1px);
	background-size: 10px 4px, 5px 2px;
	background-position: 0 0, 0 0;
	background-repeat: repeat-x;
	opacity: 0.9;
}
.price ins {
	text-decoration: none;
	color: var(--sale);
}
.price del {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted);
	text-decoration: line-through;
	display: block;
	padding-bottom: 2px;
}
.price small { font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-left: 2px; }

.product-cta {
	margin-top: 12px;
}
.product-cta .btn { width: 100%; padding: 10px 14px; font-size: 0.875rem; }
.product-cta .added_to_cart {
	display: block;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--amber-deep);
	margin-top: 6px;
	font-weight: 500;
}
.stock-note {
	font-size: 0.75rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 6px;
}
.stock-note::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #4f8a5b;
	flex: none;
}
.stock-note--low { color: var(--amber-deep); }
.stock-note--low::before { background: var(--amber); }
.stock-note--out { color: var(--sale); }
.stock-note--out::before { background: var(--sale); }

/* =========================================================
   9. DİJİTAL ÜRÜN BANDI
   ========================================================= */
.digital-band {
	background: var(--ink);
	color: #e7efed;
	border-radius: var(--radius);
	padding: clamp(26px, 4vw, 44px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
}
.digital-band h2 {
	color: #fff;
	font-size: var(--step-3);
	margin-bottom: 8px;
}
.digital-band p {
	color: #b9cdc9;
	margin: 0;
	max-width: 58ch;
	font-size: 0.9375rem;
}
.digital-band .btn--amber { color: var(--ink); }
.digital-band .btn--amber:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* =========================================================
   10. FOOTER
   ========================================================= */
.site-footer {
	background: var(--ink);
	color: #b9cdc9;
	margin-top: 0;
	font-size: 0.875rem;
}
.footer-main {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	padding-block: clamp(36px, 5vw, 56px);
}
.site-footer h3 {
	color: #fff;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 16px;
	font-weight: 600;
}
.site-footer a { color: #b9cdc9; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand-mark { background: var(--amber); color: var(--ink); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8aa5a1; }
.footer-about p { margin: 16px 0 0; max-width: 34ch; line-height: 1.65; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-block: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.8125rem;
	color: #8aa5a1;
}
.pay-marks { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-marks span {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	padding: 3px 9px;
	font-family: var(--font-num);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #cfe0dd;
}

/* =========================================================
   11. WOOCOMMERCE — GENEL
   ========================================================= */
.woocommerce .woocommerce-breadcrumb {
	font-size: 0.8125rem;
	color: var(--muted);
	margin: 0 0 20px;
	padding: 0;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--amber-deep); }

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews {
	border: 1px solid var(--line);
	border-top: 2px solid var(--amber);
	background: var(--wash);
	color: var(--ink);
	border-radius: var(--radius);
	padding: 14px 18px;
	margin: 0 0 24px;
	list-style: none;
	font-size: 0.9375rem;
}
.woocommerce-error { border-top-color: var(--sale); }
.woocommerce-message { border-top-color: #4f8a5b; }
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before { display: none; }
.woocommerce-message .button,
.woocommerce-info .button {
	float: right;
	margin-left: 12px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--ink);
	color: #fff;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 11px 22px;
	line-height: 1.2;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--amber-deep);
	border-color: var(--amber-deep);
	color: #fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: #fff; }

.woocommerce .quantity .qty,
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 10px 12px;
	font-family: inherit;
	font-size: 0.9375rem;
	background: var(--paper);
	color: var(--ink);
	height: auto;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--ink); outline: none; }
.woocommerce form .form-row label { font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft); }

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin: 0; font-size: 0.875rem; }
.woocommerce .woocommerce-ordering select { padding: 9px 12px; }

/* Mağaza üst çubuğu */
.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 16px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.shop-toolbar .woocommerce-result-count { color: var(--muted); }

/* Sayfalama */
.woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: flex;
	gap: 6px;
	margin-top: 28px;
	justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	font-family: var(--font-num);
	font-size: 1rem;
	padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* =========================================================
   12. WOOCOMMERCE — TEK ÜRÜN
   ========================================================= */
.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 52px);
	position: relative;
}
.single-product div.product .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image img {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--wash);
}
.single-product div.product .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .flex-control-thumbs img {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	opacity: 1;
	transition: border-color 0.15s ease;
}
.single-product div.product .flex-control-thumbs img.flex-active,
.single-product div.product .flex-control-thumbs img:hover { border-color: var(--ink); }

.single-product div.product .summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.single-product .product_title {
	font-size: var(--step-4);
	letter-spacing: -0.025em;
	margin-bottom: 10px;
	line-height: 1.1;
}
.single-product .woocommerce-product-rating { margin-bottom: 16px; }
.single-product .woocommerce-product-rating .star-rating { color: var(--amber); }
.single-product .woocommerce-review-link { font-size: 0.8125rem; color: var(--muted); }

.single-product div.product p.price {
	font-family: var(--font-num);
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 6px;
	line-height: 1;
	padding-bottom: 10px;
	position: relative;
	display: inline-block;
}
.single-product div.product p.price::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 4px;
	background-image: linear-gradient(to right, var(--line-strong) 1px, transparent 1px);
	background-size: 10px 4px;
	background-repeat: repeat-x;
}
.single-product div.product p.price del {
	font-size: 1.125rem;
	color: var(--muted);
	font-weight: 500;
	display: block;
	margin-bottom: 4px;
}
.single-product div.product p.price ins { text-decoration: none; color: var(--sale); }

.woocommerce-product-details__short-description {
	color: var(--ink-soft);
	margin: 18px 0 22px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 0.9375rem;
}

.single-product div.product form.cart {
	border-top: 1px solid var(--line);
	padding-top: 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.single-product div.product form.cart .quantity { flex: none; }
.single-product div.product form.cart .quantity .qty { width: 84px; text-align: center; font-family: var(--font-num); font-size: 1rem; }
.single-product div.product form.cart .button { flex: 1 1 200px; padding: 14px 24px; }
.single-product div.product form.cart .variations { margin-bottom: 16px; width: 100%; }
.single-product div.product form.cart .variations th,
.single-product div.product form.cart .variations td {
	display: block;
	padding: 0 0 6px;
	text-align: left;
	background: none;
}
.single-product div.product form.cart .variations label { font-size: 0.8125rem; font-weight: 600; }
.single-product div.product form.cart .variations select { min-width: 240px; }
.single-product div.product form.cart .reset_variations { font-size: 0.8125rem; }
.single-product .stock.in-stock { color: #3f7550; font-size: 0.875rem; }
.single-product .stock.out-of-stock { color: var(--sale); font-size: 0.875rem; font-weight: 500; }

.product_meta {
	border-top: 1px solid var(--line);
	padding-top: 16px;
	font-size: 0.8125rem;
	color: var(--muted);
	display: grid;
	gap: 6px;
}
.product_meta > span { display: block; }
.product_meta a { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.product_meta a:hover { color: var(--amber-deep); border-color: var(--amber); }

/* Sekmeler */
.woocommerce div.product .woocommerce-tabs {
	margin-top: clamp(32px, 5vw, 56px);
	clear: both;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 0;
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 4px;
	overflow-x: auto;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: none;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 13px 18px;
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--muted);
	border-bottom: 2px solid transparent;
	display: block;
	white-space: nowrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: none;
	border: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--ink);
	border-bottom-color: var(--amber);
	font-weight: 600;
}
.woocommerce div.product .woocommerce-tabs .panel {
	padding: 26px 0 0;
	margin: 0;
	border: 0;
	box-shadow: none;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: var(--step-2);
	margin-bottom: 12px;
}

/* Yorumlar */
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li { margin-bottom: 18px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar {
	width: 40px; height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	padding: 0;
	background: var(--wash);
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-left: 58px;
	padding: 14px 18px;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
	font-size: 0.8125rem;
	color: var(--muted);
}
.woocommerce #review_form #respond textarea {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 12px;
}
.woocommerce p.stars a { color: var(--amber); }

/* İlgili ürünler */
.woocommerce .related.products,
.woocommerce .upsells.products {
	margin-top: clamp(32px, 5vw, 56px);
	clear: both;
}
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
	font-size: var(--step-3);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 24px;
}

/* =========================================================
   13. WOOCOMMERCE — SEPET / ÖDEME / HESAP
   ========================================================= */
.woocommerce-cart .shop_table,
.woocommerce-checkout .shop_table,
.woocommerce-account .shop_table {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
.woocommerce table.shop_table th {
	background: var(--wash);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-soft);
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
}
.woocommerce table.shop_table td {
	padding: 14px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}
.woocommerce table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce table.cart img { width: 64px; border-radius: var(--radius); border: 1px solid var(--line); }
.woocommerce table.cart a.remove {
	color: var(--muted) !important;
	font-size: 1.125rem;
	width: 26px; height: 26px;
	line-height: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}
.woocommerce table.cart a.remove:hover { background: var(--sale); color: #fff !important; border-color: var(--sale); }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce table.cart td.actions .coupon .input-text { width: 180px; }

.cart-collaterals { margin-top: 28px; }
.woocommerce .cart-collaterals .cart_totals {
	width: 100% !important;
	float: none !important;
	max-width: 460px;
	margin-left: auto;
}
.woocommerce .cart-collaterals .cart_totals h2 {
	font-size: var(--step-2);
	margin-bottom: 14px;
}
.woocommerce .cart-collaterals .cart_totals table { border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce .cart-collaterals .cart_totals .order-total td,
.woocommerce .cart-collaterals .cart_totals .order-total th {
	font-family: var(--font-num);
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--ink);
}
.woocommerce .wc-proceed-to-checkout a.checkout-button { margin-top: 14px; padding: 15px; font-size: 1rem; }

/* Ödeme sayfası */
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr; gap: 0; }
.woocommerce-checkout #customer_details { margin-bottom: 32px; }
.woocommerce-checkout h3 {
	font-size: var(--step-2);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 20px;
}
.woocommerce-checkout #order_review_heading { margin-top: 8px; }
#payment {
	background: var(--wash);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
#payment ul.payment_methods {
	border-bottom: 1px solid var(--line);
	padding: 16px 18px;
	list-style: none;
	margin: 0;
}
#payment ul.payment_methods li {
	margin-bottom: 10px;
	font-size: 0.9375rem;
}
#payment ul.payment_methods li:last-child { margin-bottom: 0; }
#payment div.payment_box {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink-soft);
	font-size: 0.875rem;
	margin: 8px 0 0;
	padding: 12px 14px;
}
#payment div.payment_box::before { display: none; }
#payment div.form-row { padding: 16px 18px; }

/* Hesap */
.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 100% !important;
	float: none !important;
	margin-bottom: 24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 1px solid var(--line);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 11px 16px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--muted);
	border-bottom: 2px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	color: var(--ink);
	border-bottom-color: var(--amber);
	font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	max-width: 460px;
	background: var(--wash);
}

/* =========================================================
   14. SAYFA / YAZI / ARAMA
   ========================================================= */
.page-hero {
	background: var(--wash);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(26px, 4vw, 44px);
}
.page-hero h1 { margin: 0; font-size: var(--step-4); letter-spacing: -0.025em; }
.page-hero p { margin: 10px 0 0; color: var(--ink-soft); max-width: 62ch; }

.entry-content h2 { font-size: var(--step-3); margin-top: 1.6em; }
.entry-content h3 { font-size: var(--step-2); margin-top: 1.4em; }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--amber);
	color: var(--ink-soft);
	font-size: var(--step-1);
}
.entry-content img { border-radius: var(--radius); }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--wash); font-weight: 600; }

.search-refine .searchform { max-width: 420px; }
.search-refine .search-inner { border-color: var(--line); }

.search-result {
	border-bottom: 1px solid var(--line);
	padding-block: 20px;
}
.search-result:last-child { border-bottom: 0; }
.search-result h2 { font-size: var(--step-2); margin-bottom: 6px; }
.search-result .meta { font-size: 0.8125rem; color: var(--muted); }

.notfound { text-align: left; padding-block: clamp(40px, 8vw, 90px); max-width: 52ch; }
.notfound h1 { font-size: var(--step-4); }
.notfound .btn { margin-top: 12px; }

/* Adet sayacı */
.quantity--stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
}
.quantity--stepper .qty {
	border: 0 !important;
	width: 56px !important;
	text-align: center;
	font-family: var(--font-num);
	font-size: 1rem;
	-moz-appearance: textfield;
}
.quantity--stepper .qty::-webkit-outer-spin-button,
.quantity--stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn {
	width: 34px;
	border: 0;
	background: var(--wash);
	color: var(--ink);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	font-family: var(--font);
	transition: background 0.15s ease;
}
.qty-btn:hover { background: var(--amber-wash); color: var(--amber-deep); }
.qty-btn--minus { border-right: 1px solid var(--line); }
.qty-btn--plus { border-left: 1px solid var(--line); }

.coupon-toggle {
	font-size: 0.875rem;
	color: var(--muted);
	border-bottom: 1px dashed var(--line-strong);
	cursor: pointer;
	background: none;
	border-top: 0; border-left: 0; border-right: 0;
	padding: 0 0 2px;
	font-family: inherit;
	margin-bottom: 10px;
	display: inline-block;
}
.coupon-toggle:hover { color: var(--amber-deep); border-color: var(--amber); }

/* =========================================================
   15. RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.assurance .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.assurance-item:nth-child(2) { border-right: 0; }
	.assurance-item:nth-child(3),
	.assurance-item:nth-child(4) { border-top: 1px solid var(--line); }
	.assurance-item:nth-child(3) { padding-left: 0; }
	.action-text { display: none; }
}

@media (max-width: 860px) {
	.hero .wrap { grid-template-columns: 1fr; }
	.hero-figure img { aspect-ratio: 16 / 9; }
	.hero h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
	.single-product div.product { grid-template-columns: 1fr; }
	.digital-band { grid-template-columns: 1fr; }
	.nav-toggle { display: inline-flex; }
	.cat-rail { display: none; }
	.cat-rail.is-open { display: block; }
	.cat-rail.is-open .wrap { flex-direction: column; align-items: stretch; gap: 0; }
	.cat-rail.is-open a { border-bottom: 1px solid var(--line); border-left: 2px solid transparent; }
	.cat-rail.is-open a.is-current { border-left-color: var(--amber); }
	.masthead { flex-wrap: wrap; }
	.searchform { order: 3; flex-basis: 100%; max-width: none; }
	.masthead-actions { margin-left: auto; }
}

@media (max-width: 640px) {
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-main { grid-template-columns: 1fr; }
	.utility ul li:not(:first-child) { display: none; }
	.assurance .wrap { grid-template-columns: 1fr; }
	.assurance-item { border-right: 0; padding-left: 0 !important; }
	.assurance-item:not(:first-child) { border-top: 1px solid var(--line); }
	.product-body { padding: 12px 12px 14px; }
	.price { font-size: 1.25rem; }
	.woocommerce .cart-collaterals .cart_totals { max-width: none; }
	.woocommerce table.cart td.actions .coupon { flex-direction: column; align-items: stretch; }
	.woocommerce table.cart td.actions .coupon .input-text { width: 100%; }
	.brand-name { font-size: 1.25rem; }
	.hero-actions .btn { flex: 1 1 100%; }
}
