/*
Theme Name: Ufak3D
Author: Ufak3D
Description: A dark, playful WooCommerce theme for the Ufak3D 3D printing brand.
Version: 1.22.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ufak3d
Tags: e-commerce, custom-logo, custom-menu, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--blue: #02bbfe;
	--blue-dark: #009fe0;
	--blue-soft: #16224f;
	--bg: #080f2a;
	--surface: #101a42;
	--ink: #080f2a;
	--accent: #02bbfe;
	--pop: #02bbfe;
	--heading: #fff;
	--navy: #0b1b4d;
	--text: #d3dbf5;
	--muted: #8e9ac4;
	--white: #fff;
	--yellow: #ffd43b;
	--red: #ff5a6e;
	--sale: #d92f4a; /* white text on it: 4.7:1 */
	--green: #19b97a;
	--border: #25336e;
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 8px 24px rgba(0, 0, 0, .28);
	--shadow-lg: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 2px rgba(2, 187, 254, .35);
	--font-head: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--heading); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--heading);
	line-height: 1.15;
	margin: 0 0 .5em;
	font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }
.site-main { padding-top: 36px; padding-bottom: 64px; min-height: 50vh; }
.home-main { padding: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--surface); color: var(--heading); padding: 10px 16px; border-radius: 10px;
}

/* ---------- Buttons ---------- */
.button, button.button, input[type="submit"], .wp-block-button__link,
.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,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--navy); color: var(--white);
	font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
	padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
	text-decoration: none;
}
.button:hover, button.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover,
.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,
.wc-block-components-button:not(.is-link):hover {
	background: var(--blue-dark); color: var(--white); transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(2, 159, 224, .35);
}
.woocommerce a.button.disabled, .woocommerce button.button:disabled,
.woocommerce button.button.disabled, .woocommerce button.button.alt.disabled {
	background: var(--muted); color: var(--white); opacity: .6; transform: none; box-shadow: none;
}
.button.button-light, .woocommerce a.button.button-light { background: var(--surface); color: var(--heading); }
.button.button-light:hover, .woocommerce a.button.button-light:hover { background: var(--navy); color: var(--white); box-shadow: 0 8px 18px rgba(11, 27, 77, .3); }
.button-large { font-size: 1.15rem; padding: 16px 32px; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
	width: 100%; background: var(--surface); color: var(--text);
	border: 2px solid var(--border); border-radius: var(--radius-sm);
	padding: 11px 14px; font: inherit; line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.select2-container--default .select2-selection--single { height: auto; padding: 8px 10px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
input:focus, textarea:focus, select:focus {
	outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2, 187, 254, .2);
}
label { font-weight: 700; color: var(--heading); }

/* ---------- Header ---------- */
.site-header {
	background: var(--blue); position: sticky; top: 0; z-index: 100;
	box-shadow: 0 4px 18px rgba(11, 27, 77, .12);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.site-branding { flex-shrink: 0; }
.custom-logo-link { display: block; }
.site-header .custom-logo { height: 52px; width: auto; }

.site-nav { flex: 1; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.site-nav li { position: relative; }
.site-nav a {
	display: block; padding: 9px 16px; border-radius: 999px;
	color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a {
	background: var(--surface); color: var(--heading);
}
.site-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 210px; z-index: 10;
	list-style: none; margin: 0; padding: 8px; background: var(--surface);
	border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { color: var(--heading); border-radius: 10px; }
.site-nav .sub-menu a:hover { background: var(--blue-soft); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	background: rgba(255, 255, 255, .22); color: var(--white); transition: background .15s ease, color .15s ease;
}
.header-icon:hover { background: var(--surface); color: var(--heading); }
.cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px;
	background: var(--navy); color: var(--white); border: 2px solid var(--blue); border-radius: 999px;
	font-size: .72rem; font-weight: 800; line-height: 17px; text-align: center;
}
.cart-count.is-empty { display: none; }

.menu-toggle {
	display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255, 255, 255, .22); padding: 0;
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2.5px; background: var(--surface); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.header-search { background: var(--blue-dark); padding: 14px 0; }
.header-search form { display: flex; gap: 10px; }
.header-search input[type="search"] { border-color: transparent; border-radius: 999px; padding-left: 20px; }

@media (max-width: 900px) {
	.header-inner { min-height: 64px; gap: 10px; }
	.menu-toggle { display: inline-flex; }
	.site-header .custom-logo { height: 40px; }
	.header-account { display: none; }
	.site-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--blue); padding: 8px 16px 18px; box-shadow: 0 12px 20px rgba(11, 27, 77, .15);
	}
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; }
	.site-nav a { font-size: 1.15rem; padding: 12px 16px; }
	.site-nav .sub-menu { display: block; position: static; background: transparent; box-shadow: none; padding: 0 0 0 16px; }
	.site-nav .sub-menu a { color: var(--white); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue); color: var(--white); overflow: hidden; }
.hero::before, .hero::after {
	content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.hero::before { width: 420px; height: 420px; top: -180px; left: -120px; }
.hero::after { width: 300px; height: 300px; bottom: -80px; right: 8%; }
.hero-inner {
	position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr;
	align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 120px;
}
.hero-badge {
	display: inline-block; background: var(--navy); color: var(--white);
	font-family: var(--font-head); font-weight: 600; font-size: .95rem;
	padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; transform: rotate(-2deg);
}
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6.5vw, 4.4rem); font-weight: 700; margin-bottom: .35em; text-shadow: 0 4px 0 rgba(11, 27, 77, .12); }
.hero p { font-size: 1.2rem; font-weight: 600; max-width: 520px; margin-bottom: 28px; }
.hero-art svg, .hero-art img { width: 100%; max-width: 440px; margin: 0 auto; animation: ufak-float 5s ease-in-out 1; }
.hero-art img { border-radius: var(--radius); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; z-index: 1; }
@keyframes ufak-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art svg, .hero-art img { animation: none; } * { transition: none !important; } }
@media (max-width: 800px) {
	.hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 40px; padding-bottom: 90px; }
	.hero p { margin-left: auto; margin-right: auto; font-size: 1.08rem; }
	.hero-art { order: -1; }
	.hero-art svg, .hero-art img { max-width: 240px; }
}

/* ---------- Home sections ---------- */
.usp { margin-top: -18px; position: relative; z-index: 2; }
.usp-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usp-item {
	display: flex; align-items: center; gap: 12px; background: var(--surface);
	border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
	font-family: var(--font-head); font-weight: 600; color: var(--heading);
}
.usp-item svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 700px) { .usp-inner { grid-template-columns: 1fr; gap: 10px; } .usp-item { padding: 14px 18px; } }

.home-section { padding: 56px 0 8px; }
.home-section-tint { background: var(--blue-soft); padding-bottom: 48px; margin-top: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head .section-title { margin: 0; }
.section-title { margin-bottom: 22px; }
.section-link { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cat-thumb {
	display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
	background: var(--blue) radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 55%);
	border: 5px solid var(--white); box-shadow: var(--shadow); transition: transform .2s ease;
}
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card:hover .cat-thumb { transform: translateY(-5px) rotate(-3deg); }
.cat-name { font-family: var(--font-head); font-weight: 600; color: var(--heading); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

.about-strip { background: var(--navy); color: var(--white); margin-top: 56px; padding: 64px 0; text-align: center; }
.home-section-tint + .about-strip { margin-top: 0; }
.about-inner { max-width: 760px; }
.about-strip h2 { color: var(--white); }
.about-strip p { font-size: 1.15rem; opacity: .9; margin: 0; }

/* ---------- Product grid ---------- */
.woocommerce ul.products, .woocommerce-page ul.products, ul.products {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
	list-style: none; margin: 0 0 32px; padding: 0;
}
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, ul.products li.product {
	position: relative; float: none; width: auto; margin: 0; padding: 12px 12px 18px;
	display: flex; flex-direction: column; text-align: center;
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
ul.products li.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: inherit; flex: 1; }
.woocommerce ul.products li.product a img {
	width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 0 14px;
	border-radius: 14px; background: var(--blue-soft);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
	font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--heading); padding: 0 4px; margin: 0 0 6px;
}
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--blue-dark); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.woocommerce ul.products li.product .price { display: block; margin-bottom: 12px; }
.woocommerce .price del { color: var(--muted); font-weight: 500; font-size: .85em; opacity: 1; margin-right: 6px; }
.woocommerce .price ins { text-decoration: none; }
.woocommerce ul.products li.product .price del, .woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--muted); opacity: 1; }
.woocommerce ul.products li.product .button { margin: auto 4px 0; padding: 11px 16px; font-size: .95rem; }
.woocommerce ul.products li.product .added_to_cart { display: block; margin-top: 8px; font-weight: 700; font-size: .9rem; }
.woocommerce ul.products li.product .star-rating { margin: 0 auto 8px; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--yellow); }

.woocommerce span.onsale {
	position: absolute; top: 20px; left: 20px; right: auto; margin: 0; z-index: 2;
	min-width: 0; min-height: 0; padding: 5px 13px; line-height: 1.3;
	background: var(--sale); color: var(--white); border-radius: 999px;
	font-family: var(--font-head); font-weight: 600; font-size: .85rem; transform: rotate(-4deg);
}

@media (max-width: 1000px) {
	.woocommerce ul.products, ul.products, ul.products.columns-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
	.woocommerce ul.products, .woocommerce-page ul.products, ul.products,
	ul.products.columns-3, ul.products.columns-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.woocommerce ul.products li.product, ul.products li.product { padding: 8px 8px 14px; border-radius: 18px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .98rem; }
	.woocommerce ul.products li.product .button { font-size: .85rem; padding: 10px 8px; margin-left: 0; margin-right: 0; }
	.woocommerce span.onsale { top: 14px; left: 14px; }
}

/* ---------- Shop archive ---------- */
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-products-header__title, .page-title { margin-bottom: 18px; }
.woocommerce .woocommerce-result-count { color: var(--muted); margin: 10px 0 22px; }
.woocommerce .woocommerce-ordering { margin: 0 0 22px; }
.woocommerce .woocommerce-ordering select { border-radius: 999px; padding: 9px 16px; width: auto; }
.shop-filters { clear: both; display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.shop-filters .widget { background: var(--surface); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); }

.woocommerce nav.woocommerce-pagination ul, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; border: 0; margin: 24px 0 0; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span, .nav-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	background: var(--surface); color: var(--heading); border-radius: 999px; font-weight: 800; box-shadow: var(--shadow);
}
.woocommerce nav.woocommerce-pagination ul li span.current, .nav-links .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li a:hover, .nav-links a.page-numbers:hover { background: var(--blue); color: var(--white); }

/* ---------- Single product ---------- */
.woocommerce div.product { position: relative; }
.woocommerce div.product div.images img { border-radius: var(--radius); background: var(--surface); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: calc(25% - 8px); float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 12px; }
.woocommerce div.product div.summary {
	background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.woocommerce div.product p.price { font-size: 1.7rem; margin-bottom: 14px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; flex: 1; min-width: 180px; padding: 16px 28px; font-size: 1.1rem; background: var(--blue); }
.woocommerce div.product form.cart .button:hover { background: var(--navy); }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 14px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce .quantity .qty { width: 84px; text-align: center; padding: 13px 8px; border-radius: 999px; font-weight: 800; }
.woocommerce div.product .stock { font-weight: 800; color: var(--green); }
.woocommerce div.product .out-of-stock { color: var(--red); }
.product_meta { font-size: .9rem; color: var(--muted); border-top: 2px dashed var(--border); padding-top: 14px; }
.product_meta > span { display: block; }

.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 32px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.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 {
	background: var(--surface); border: 0; border-radius: 999px; margin: 0; padding: 0; box-shadow: var(--shadow);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 20px; color: var(--heading); font-family: var(--font-head); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--navy); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--white); }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin: 0; }
.woocommerce .related.products, .woocommerce .upsells.products, .woocommerce .cross-sells { clear: both; padding-top: 44px; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { margin-bottom: 20px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 2px solid var(--border); border-radius: var(--radius-sm); }

@media (max-width: 768px) {
	.woocommerce div.product div.summary { padding: 20px; }
	.woocommerce div.product form.cart .button { min-width: 0; }
}

/* ---------- Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments,
.wc-block-components-notice-banner {
	background: var(--surface); color: var(--text); border: 0; border-left: 6px solid var(--blue);
	border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.woocommerce-message { border-left-color: var(--green); }
.woocommerce-error { border-left-color: var(--red); }
.woocommerce-message::before { color: var(--green); }
.woocommerce-info::before { color: var(--accent); }
.woocommerce-error::before { color: var(--red); }
.woocommerce-message .button, .woocommerce-info .button { padding: 9px 18px; font-size: .9rem; }

/* ---------- Cart, checkout, account ---------- */
.woocommerce table.shop_table {
	background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: var(--shadow);
	border-collapse: separate; overflow: hidden;
}
.woocommerce table.shop_table th { font-family: var(--font-head); color: var(--heading); background: var(--blue-soft); padding: 14px 16px; }
.woocommerce table.shop_table td { border-top: 1px solid var(--border); padding: 14px 16px; }
.woocommerce table.shop_table img { border-radius: 12px; }
.woocommerce a.remove { color: var(--red) !important; font-weight: 800; }
.woocommerce a.remove:hover { background: var(--red); color: var(--white) !important; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 160px; padding: 11px 14px; border-radius: 999px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review,
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon {
	background: var(--surface); border: 0; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.woocommerce-checkout #payment { background: var(--blue-soft); border-radius: var(--radius-sm); }
.woocommerce-checkout #payment div.payment_box { background: var(--surface); border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white); }
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	width: 100%; float: none; background: var(--blue); font-size: 1.15rem; padding: 17px 24px;
}
.woocommerce #payment #place_order:hover, .woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: var(--navy); }

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 10px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; border-radius: 12px; color: var(--heading); font-weight: 700; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--blue); color: var(--white); }

/* Block-based cart and checkout */
.wc-block-components-button:not(.is-link) { min-height: 52px; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--blue) !important; font-size: 1.1rem !important; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--navy) !important; }
/* Cart totals and checkout summary: one padded card with thin dividers between rows
   (each row used to be its own white box with no side padding, so the text touched the edge) */
.wc-block-cart .wc-block-cart__sidebar,
.wp-block-woocommerce-checkout-order-summary-block {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 4px 20px 20px;
}
.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper { background: transparent; border-radius: 0; }
.wc-block-cart .wc-block-cart__sidebar .wc-block-cart__totals-title { margin: 16px 0 4px; padding: 0; }
.wc-block-cart .wc-block-cart__sidebar .wc-block-cart__submit-container { padding: 16px 0 0; }
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title { padding-left: 0; padding-right: 0; }
@media (max-width: 700px) {
	.wc-block-cart .wc-block-cart__sidebar, .wp-block-woocommerce-checkout-order-summary-block { padding: 0 16px 16px; }
}
.wc-block-components-text-input input, .wc-blocks-components-select__select { border-radius: var(--radius-sm) !important; border-color: var(--border) !important; }
.wc-block-cart-items__row img, .wc-block-components-order-summary-item__image img { border-radius: 12px; }
.wc-block-components-product-name { font-family: var(--font-head); font-weight: 600; color: var(--heading); }

/* ---------- Pages and blog ---------- */
.page-header { margin-bottom: 24px; }
.entry-content > * { margin-bottom: 1.2em; }
.entry-content img { border-radius: var(--radius-sm); }
/* Wide blocks only reach past the text column inside the narrow post layout, where there is room.
   On full-width pages (cart, checkout) the old -40px pushed the WooCommerce blocks off the screen. */
.entry-content .alignwide { margin-left: 0; margin-right: 0; max-width: none; }
@media (min-width: 900px) { .container-narrow .entry-content .alignwide { margin-left: -40px; margin-right: -40px; } }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
blockquote { margin: 0 0 1.2em; padding: 16px 22px; background: var(--surface); border-left: 6px solid var(--blue); border-radius: var(--radius-sm); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-card-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card-title { font-size: 1.25rem; }
.post-card-title a { color: var(--heading); }
.post-card-excerpt p:last-child { margin: 0; }
.post-meta { color: var(--muted); }
.post-thumb img { border-radius: var(--radius); margin-bottom: 24px; }
.post-navigation { margin-top: 36px; }
.post-navigation .nav-links { justify-content: space-between; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

.comments-area { margin-top: 44px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { background: var(--surface); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }

.error-404 { text-align: center; padding-top: 72px; }
.error-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 20vw, 9rem); line-height: 1; color: var(--accent); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--white); padding: 48px 0 0; }
.about-strip + .site-footer, .home-main + .site-footer { margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand .custom-logo { height: 58px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-weight: 700; margin: 0; }
.site-footer a { color: var(--white); font-weight: 700; }
.site-footer a:hover { color: var(--heading); }
.site-footer .menu, .site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.site-footer .menu li, .site-footer .widget li { margin-bottom: 8px; }
.site-footer .widget-title { color: var(--white); font-size: 1.15rem; }
.footer-bottom { border-top: 2px solid rgba(255, 255, 255, .3); padding-top: 18px; padding-bottom: 22px; font-size: .9rem; font-weight: 700; text-align: center; }
@media (max-width: 800px) {
	.footer-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
	.footer-brand .custom-logo { margin-left: auto; margin-right: auto; }
}

/* Category circle without an image */
.cat-thumb { display: flex; align-items: center; justify-content: center; }
.cat-letter { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 6vw, 3.4rem); color: var(--white); }


/* ================= Dark look ================= */
:root { color-scheme: dark; }
a:hover { color: var(--white); }
:focus-visible { outline-color: var(--blue); }
.skip-link:focus { background: var(--blue); color: var(--ink); }

/* Buttons: blue on dark */
.button, button.button, input[type="submit"], .wp-block-button__link,
.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,
.wc-block-components-button:not(.is-link),
.woocommerce div.product form.cart .button,
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button { background: var(--blue); color: var(--ink); }
.button:hover, button.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover,
.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,
.wc-block-components-button:not(.is-link):hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce #payment #place_order:hover, .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--white); color: var(--ink); box-shadow: 0 8px 22px rgba(2, 187, 254, .4);
}
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { color: var(--ink) !important; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--white) !important; }
.button.button-light, .woocommerce a.button.button-light { background: var(--white); color: var(--ink); }
.button.button-light:hover, .woocommerce a.button.button-light:hover { background: var(--blue); color: var(--ink); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled,
.woocommerce button.button.disabled, .woocommerce button.button.alt.disabled { background: var(--border); color: var(--muted); }

/* Forms */
input, textarea, select { color: var(--text); }
::placeholder { color: var(--muted); opacity: 1; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); }
.select2-dropdown { background: var(--surface); border-color: var(--border); color: var(--text); }
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] { background: var(--blue-soft); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--blue); color: var(--ink); }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--bg); border-color: var(--border); color: var(--text); }

/* Header */
.site-header {
	background: rgba(8, 15, 42, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border); box-shadow: none;
}
.site-nav a { color: var(--text); }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { background: var(--blue); color: var(--ink); }
.site-nav .sub-menu { background: var(--surface); border: 1px solid var(--border); }
.site-nav .sub-menu a { color: var(--text); }
.site-nav .sub-menu a:hover { background: var(--blue); color: var(--ink); }
.header-icon { background: var(--surface); color: var(--white); }
.header-icon:hover { background: var(--blue); color: var(--ink); }
.cart-count { background: var(--blue); color: var(--ink); border-color: var(--bg); }
.menu-toggle { background: var(--surface); }
.header-search { background: var(--surface); }
.header-search input[type="search"] { background: var(--bg); border-color: var(--border); }
@media (max-width: 900px) {
	.site-nav { background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 16px 24px rgba(0, 0, 0, .4); }
}

/* Hero */
.hero {
	background:
		radial-gradient(700px 420px at 78% 40%, rgba(2, 187, 254, .32), transparent 70%),
		radial-gradient(500px 360px at 0% 0%, rgba(2, 187, 254, .16), transparent 70%),
		var(--bg);
}
.hero::before, .hero::after { display: none; }
.hero-badge { background: var(--blue); color: var(--ink); }
.hero h1 { text-shadow: none; }
.hero h1, .hero p { color: var(--white); }
.hero p { color: var(--text); }
.hero-art svg { filter: drop-shadow(0 0 40px rgba(2, 187, 254, .45)); }

/* Sections */
.usp-item { border: 1px solid var(--border); }
.home-section-tint { background: #0c1536; border-top: 1px solid var(--border); }
.cat-thumb { border-color: var(--surface); box-shadow: 0 0 0 2px var(--border), var(--shadow); }
.cat-letter { color: var(--ink); }
.about-strip { background: var(--blue); color: var(--ink); }
.about-strip h2 { color: var(--ink); }
.about-strip p { opacity: 1; font-weight: 700; }

/* Products */
.woocommerce ul.products li.product, ul.products li.product,
.usp-item, .post-card, .woocommerce div.product div.summary,
.woocommerce div.product .woocommerce-tabs .panel { border: 1px solid var(--border); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--surface); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--text); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--blue); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span, .nav-links .page-numbers { color: var(--text); }
.woocommerce nav.woocommerce-pagination ul li span.current, .nav-links .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li a:hover, .nav-links a.page-numbers:hover { color: var(--ink); }
.woocommerce #reviews #comments ol.commentlist li .comment-text { background: var(--surface); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-color: var(--border); background: transparent !important; }

/* Cart, checkout, account */
.woocommerce table.shop_table, .woocommerce table.shop_table td, .woocommerce table.shop_table th { color: var(--text); }
.woocommerce table.shop_table th { color: var(--white); }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: var(--blue-soft); }
#add_payment_method #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods { border-color: var(--border); }
#add_payment_method #payment div.payment_box, .woocommerce-checkout #payment div.payment_box { background: var(--bg); color: var(--text); }
#add_payment_method #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bg); }
.woocommerce-MyAccount-navigation a { color: var(--text); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { color: var(--ink); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--border); }

/* Block cart and checkout */
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select,
.wc-block-components-quantity-selector, .wc-block-components-quantity-selector input,
.wc-block-components-totals-coupon__input input {
	background: var(--surface) !important; color: var(--text) !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label { color: var(--muted) !important; }
.wc-block-components-product-name, .wc-block-components-title, .wc-block-components-checkout-step__title { color: var(--white); }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option,
.wc-block-components-totals-wrapper, .wc-block-cart-items, .wc-block-cart-items td, .wc-block-cart-items th,
.wc-block-components-order-summary-item, .wc-block-checkout__actions { border-color: var(--border) !important; }
.wc-block-components-checkout-step__description, .wc-block-components-product-metadata { color: var(--muted); }

/* Footer */
.site-footer { background: #050a1f; color: var(--text); border-top: 1px solid var(--border); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top-color: var(--border); color: var(--muted); }
.menu-toggle span { background: #fff; }

/* ================= Motion ================= */
@keyframes ufak-pop { 0% { opacity: 0; transform: translateY(46px) scale(.82) rotate(-2deg); } 60% { opacity: 1; transform: translateY(-8px) scale(1.04) rotate(.6deg); } 100% { opacity: 1; transform: none; } }
@keyframes ufak-word { 0% { opacity: 0; transform: translateY(.9em) rotate(8deg) scale(.6); } 65% { opacity: 1; transform: translateY(-.12em) rotate(-2deg) scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes ufak-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(2, 187, 254, .65); } 100% { box-shadow: 0 0 0 22px rgba(2, 187, 254, 0); } }
@keyframes ufak-spark { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes ufak-marquee { to { transform: translateX(-50%); } }
@keyframes ufak-spin { to { transform: rotate(360deg); } }
@keyframes ufak-bump { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.45) rotate(-12deg); } 60% { transform: scale(.9) rotate(8deg); } }
@keyframes ufak-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* Hero entrance starts right away (the v1.x intro curtain was removed in v1.15) */
:root { --intro: .1s; }

/* Scroll progress and cursor glow */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200; background: linear-gradient(90deg, #02bbfe, #ff8a2a); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-main, .site-footer { position: relative; z-index: 1; }

/* Pop-in on scroll */
.reveal { opacity: 0; }
.reveal.is-visible { opacity: 1; animation: ufak-pop .75s cubic-bezier(.2, .9, .3, 1) backwards; animation-delay: var(--delay, 0s); }

/* Header */
.site-header .custom-logo { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.site-header .custom-logo-link:hover .custom-logo { transform: scale(1.1) rotate(-4deg); }
.site-nav a, .header-icon { transition: transform .25s cubic-bezier(.22, 1, .36, 1), background .15s ease, color .15s ease; }
.site-nav a:hover { transform: translateY(-3px) scale(1.06); }
.header-icon:hover { transform: scale(1.15) rotate(-8deg); }
.header-cart.is-bump { animation: ufak-bump .6s ease; }

/* Hero */
.hero-badge { animation: ufak-pop .7s cubic-bezier(.2, .9, .3, 1) var(--intro) backwards; }
.hero h1 .word { display: inline-block; animation: ufak-word .7s cubic-bezier(.2, .9, .3, 1) backwards; animation-delay: calc(var(--intro) + var(--i, 0) * .11s); }
.hero-copy p { animation: ufak-pop .8s cubic-bezier(.2, .9, .3, 1) calc(var(--intro) + .55s) backwards; }
.hero-copy .button { animation: ufak-pop .8s cubic-bezier(.2, .9, .3, 1) calc(var(--intro) + .75s) backwards, ufak-pulse-ring 1.8s ease-out calc(var(--intro) + 1.6s) 2; }
.hero-art { animation: ufak-pop 1s cubic-bezier(.2, .9, .3, 1) calc(var(--intro) + .2s) backwards; transform: translate(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -22px)); transition: transform .3s ease-out; }
.hero-art svg { animation: ufak-float 5s ease-in-out 1; }
.cube-lines path { stroke-dasharray: 100; animation: ufak-print-in 1.8s ease-out .3s backwards; }
.cube-lines path:nth-child(2) { animation-delay: .8s; }
.cube-sparks path { transform-box: fill-box; transform-origin: center; animation: ufak-spark 1.4s ease-in-out 3; }
@keyframes ufak-print-in { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.float-shape { position: absolute; z-index: 0; pointer-events: none; transform: translate(calc(var(--mx, 0) * var(--depth, 20) * 1px), calc(var(--my, 0) * var(--depth, 20) * 1px)); transition: transform .4s ease-out; }
.float-shape i { display: block; width: var(--size, 24px); height: var(--size, 24px); opacity: .6; }
.float-shape.is-ring i { border: 4px solid var(--c); border-radius: 50%; }
.float-shape.is-dot i { background: var(--c); border-radius: 50%; }
.float-shape.is-box i { background: var(--c); border-radius: 24%; }
.float-shape.is-tri i { background: var(--c); clip-path: polygon(50% 6%, 96% 92%, 4% 92%); }
.float-shape.is-plus i { background: var(--c); clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%); }

/* Marquee */
.home-main { overflow-x: clip; }
.marquee { overflow: hidden; margin-top: 48px; padding: 14px 0; background: var(--blue); color: var(--ink); transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { display: flex; width: max-content; animation: ufak-marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; padding: 0 18px; }
.marquee span::after { content: "✦"; margin-left: 36px; }

/* Cards and buttons */
.usp-item { transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .2s ease; }
.usp-item:hover { transform: translateY(-6px) rotate(-1.5deg); border-color: var(--blue); }
.usp-item:hover svg { animation: ufak-bump .6s ease; }
.cat-thumb { position: relative; overflow: visible; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.cat-thumb img { border-radius: 50%; }
.cat-thumb::after { content: ""; position: absolute; inset: -12px; border: 3px dashed var(--blue); border-radius: 50%; opacity: 0; transition: opacity .25s ease; animation: ufak-spin 9s linear infinite paused; }
.cat-card:hover .cat-thumb { transform: translateY(-8px) scale(1.07) rotate(-4deg); }
.cat-card:hover .cat-thumb::after { opacity: 1; animation-play-state: running; }

.woocommerce ul.products li.product, ul.products li.product {
	transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
	transition: transform .18s ease-out, box-shadow .2s ease; overflow: hidden;
}
ul.products li.product:hover { --lift: -8px; transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); }
.woocommerce ul.products li.product a img { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.woocommerce ul.products li.product:hover a img { transform: scale(1.08) rotate(2deg); }

.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) { position: relative; overflow: hidden; }
.button::after, .woocommerce a.button::after, .woocommerce button.button::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; margin: 0; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg);
}
.button:hover::after, .woocommerce a.button:hover::after, .woocommerce button.button:hover::after { left: 130%; transition: left .6s ease; }
.button:active, .woocommerce a.button:active, .woocommerce button.button:active { transform: scale(.94); }

.section-title { position: relative; display: inline-block; }
.section-title::after { content: ""; display: block; height: 6px; width: 0; margin-top: 6px; border-radius: 99px; background: var(--blue); transition: width .8s cubic-bezier(.2, .9, .3, 1) .3s; }
.section-title.is-visible::after, .section-title:not(.reveal)::after { width: 64px; }

.about-strip { position: relative; overflow: hidden; }
.about-strip::before { content: ""; position: absolute; top: 0; bottom: 0; left: -80px; right: 0; opacity: .13; background: repeating-linear-gradient(115deg, var(--ink) 0 20px, transparent 20px 40px); background-size: 80px 100%; animation: ufak-stripes 4s linear infinite; will-change: transform; }
@keyframes ufak-stripes { to { transform: translateX(80px); } }
.about-inner { position: relative; }

.burst { position: fixed; z-index: 9998; width: 12px; height: 12px; margin: -6px 0 0 -6px; pointer-events: none; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.intro, .cursor-glow, .float-shape { display: none !important; }
	.reveal { opacity: 1; }
	.marquee { transform: none; }
}

/* ================= Usability (v1.2) ================= */

/* Comfortable tap targets and readable product names */
.site-nav a, .button, .woocommerce a.button, .woocommerce button.button { min-height: 44px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 20px; }
.search-form input[type="search"] { border-radius: 999px; padding-left: 20px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Add to cart states */
.woocommerce a.button.loading, .woocommerce button.button.loading { opacity: .75; pointer-events: none; padding-right: 44px; }
.woocommerce a.button.loading::after, .woocommerce button.button.loading::after {
	content: ""; position: absolute; top: 50%; left: auto; right: 16px; width: 16px; height: 16px; margin-top: -8px;
	border: 3px solid var(--ink); border-top-color: transparent; border-radius: 50%; background: none; transform: none; animation: ufak-spin .7s linear infinite;
}
.woocommerce a.button.added::after { content: "✓"; position: static; display: inline-block; width: auto; margin-left: 6px; background: none; transform: none; font-family: inherit; font-weight: 800; }
.woocommerce ul.products li.product .added_to_cart { color: var(--accent); text-decoration: underline; padding: 6px 0; }

/* Quantity stepper */
.quantity.has-stepper { display: inline-flex; align-items: center; background: var(--surface); border: 2px solid var(--border); border-radius: 999px; padding: 3px; }
.quantity.has-stepper .qty { width: 48px; border: 0; background: transparent; padding: 8px 0; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.quantity.has-stepper .qty::-webkit-outer-spin-button, .quantity.has-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn {
	width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
	background: var(--blue-soft); color: var(--white); font-size: 1.4rem; font-weight: 800; line-height: 1;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.qty-btn:hover { background: var(--blue); color: var(--ink); }
.qty-btn:active { transform: scale(.88); }

/* Product page reassurance list */
.product-trust { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.product-trust li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.product-trust li::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--green); color: var(--ink); font-size: .85rem; font-weight: 800; }

/* Toast */
.toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 400; max-width: calc(100vw - 32px);
	display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px;
	background: var(--white); color: var(--ink); border-radius: 999px; box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
	font-weight: 800; white-space: nowrap; transform: translate(-50%, 160%); opacity: 0; visibility: hidden;
	transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .25s ease, visibility 0s .4s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
.toast a { background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: 999px; font-size: .9rem; }
.toast:empty { display: none; }

/* Back to top */
.to-top {
	position: fixed; right: 18px; bottom: 24px; z-index: 150; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
	background: var(--blue); color: var(--ink); box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(.8); transition: opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--white); }

/* Mobile bottom bar and sticky add to cart */
.bottom-nav, .sticky-atc { display: none; }
@media (max-width: 900px) {
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
	.bottom-nav {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; display: flex;
		background: rgba(8, 15, 42, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
	}
	.bottom-nav-item {
		flex: 1; min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		background: none; border: 0; padding: 4px 2px; cursor: pointer; border-radius: 14px;
		color: var(--muted); font-family: var(--font-body); font-size: .72rem; font-weight: 800; line-height: 1.2;
	}
	.bottom-nav-item.is-current, .bottom-nav-item:hover { color: var(--accent); }
	.bottom-nav-item:active { background: var(--surface); }
	.bottom-nav-icon { position: relative; display: inline-flex; }
	.bottom-nav .cart-count { top: -6px; right: -12px; }
	.header-actions .search-toggle { display: none; }

	.sticky-atc {
		position: fixed; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index: 170;
		display: flex; align-items: center; gap: 12px; padding: 10px 16px;
		background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -10px 24px rgba(0, 0, 0, .35);
		transform: translateY(130%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
	}
	.sticky-atc.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
	.sticky-atc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
	.sticky-atc-info strong { color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.sticky-atc-info .price { color: var(--accent); font-family: var(--font-head); font-weight: 700; }
	.sticky-atc .button { flex-shrink: 0; padding: 12px 20px; }

	.toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
	.to-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); right: 14px; width: 44px; height: 44px; }
	body.has-sticky-atc .to-top { display: none; }
	.header-search form { flex-wrap: nowrap; }
}
@media print { .site-header, .bottom-nav, .sticky-atc, .toast, .to-top, .intro, .marquee, .cursor-glow, .scroll-progress { display: none !important; } body { background: #fff; color: #000; } }

/* Toast sits under the header on phones so it never covers the bottom bars */
@media (max-width: 900px) {
	.toast { top: 76px; bottom: auto; transform: translate(-50%, -220%); }
	.toast.is-visible { transform: translate(-50%, 0); }
}
/* Touch screens: no "stuck" hover look after a tap */
@media (hover: none) {
	.button:hover, button.button:hover, input[type="submit"]:hover,
	.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
	.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
	.woocommerce div.product form.cart .button:hover,
	.woocommerce #payment #place_order:hover, .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
		background: var(--blue); color: var(--ink); transform: none; box-shadow: none;
	}
	.button.button-light:hover, .woocommerce a.button.button-light:hover { background: var(--white); }
	ul.products li.product:hover { --lift: 0; box-shadow: var(--shadow); }
	.woocommerce ul.products li.product:hover a img { transform: none; }
	.header-icon:hover, .qty-btn:hover { background: var(--surface); color: var(--white); transform: none; }
	.qty-btn:hover { background: var(--blue-soft); }
	.site-nav a:hover { transform: none; }
}


/* ================= Light pink look (v1.3) ================= */
.hero-wave path { fill: var(--bg); }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
	transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease, fill .45s ease !important;
}

html[data-theme="light"] {
	color-scheme: light;
	/* v1.16 light look (default): cool off-white with crab-orange accents, replacing the pink */
	--bg: #f4f6fa;
	--surface: #ffffff;
	--blue-soft: #e8eef8;
	--border: #d5ddeb;
	--text: #2a3352;      /* 11.5:1 on bg */
	--muted: #5d6787;     /* 5.2:1 on bg */
	--heading: #0b1b4d;
	--accent: #0067a3;    /* 6.0:1 on white */
	--pop: #e8650a;       /* decoration only: bars, icons, borders; never small text */
	--shadow: 0 8px 24px rgba(11, 27, 77, .08);
	--shadow-lg: 0 16px 40px rgba(11, 27, 77, .14), 0 0 0 2px rgba(2, 187, 254, .5);
}
/* The header, footer and phone bars stay dark in both looks so the logo stays readable */
html[data-theme="light"] .site-header,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .bottom-nav,
html[data-theme="light"] .intro {
	--bg: #080f2a; --surface: #101a42; --blue-soft: #16224f; --border: #25336e;
	--text: #d3dbf5; --muted: #8e9ac4; --heading: #fff; --accent: #02bbfe; --pop: #02bbfe;
	--shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
html[data-theme="light"] a:hover { color: var(--heading); }
html[data-theme="light"] .site-header a:hover, html[data-theme="light"] .bottom-nav a:hover { color: inherit; }
html[data-theme="light"] .site-nav a:hover, html[data-theme="light"] .header-icon:hover { color: var(--ink); }
html[data-theme="light"] .site-footer a:hover, html[data-theme="light"] .bottom-nav-item:hover { color: var(--accent); }
html[data-theme="light"] a:focus-visible, html[data-theme="light"] button:focus-visible,
html[data-theme="light"] input:focus-visible, html[data-theme="light"] select:focus-visible,
html[data-theme="light"] textarea:focus-visible { outline-color: var(--heading); }
html[data-theme="light"] .site-header a:focus-visible, html[data-theme="light"] .site-header button:focus-visible,
html[data-theme="light"] .site-footer a:focus-visible, html[data-theme="light"] .bottom-nav :focus-visible { outline-color: var(--yellow); }

/* Hero: navy to pink */
html[data-theme="light"] .hero {
	background:
		radial-gradient(620px 420px at 78% 40%, rgba(255, 255, 255, .22), transparent 70%),
		linear-gradient(120deg, #0b1b4d 0%, #123a8c 60%, #1a4fa8 100%);
}
html[data-theme="light"] .hero p { color: #fff; }
html[data-theme="light"] .hero-badge { background: #ff8a2a; color: #080f2a; /* 8.0:1 */ }
html[data-theme="light"] .hero-art svg { filter: drop-shadow(0 0 40px rgba(255, 255, 255, .45)); }

/* Buttons: hover turns navy instead of white */
html[data-theme="light"] .button:hover, html[data-theme="light"] button.button:hover, html[data-theme="light"] input[type="submit"]:hover,
html[data-theme="light"] .wp-block-button__link:hover,
html[data-theme="light"] .woocommerce a.button:hover, html[data-theme="light"] .woocommerce button.button:hover, html[data-theme="light"] .woocommerce input.button:hover,
html[data-theme="light"] .woocommerce #respond input#submit:hover,
html[data-theme="light"] .woocommerce a.button.alt:hover, html[data-theme="light"] .woocommerce button.button.alt:hover,
html[data-theme="light"] .wc-block-components-button:not(.is-link):hover,
html[data-theme="light"] .woocommerce div.product form.cart .button:hover,
html[data-theme="light"] .woocommerce #payment #place_order:hover, html[data-theme="light"] .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--heading); color: #fff; box-shadow: 0 8px 22px rgba(11, 27, 77, .3);
}
html[data-theme="light"] .wc-block-cart__submit-button:hover, html[data-theme="light"] .wc-block-components-checkout-place-order-button:hover { background: var(--heading) !important; color: #fff !important; }
html[data-theme="light"] .hero .button.button-light:hover { background: var(--blue); color: var(--ink); }
html[data-theme="light"] .button.button-light, html[data-theme="light"] .woocommerce a.button.button-light { box-shadow: inset 0 0 0 2px var(--border); }
html[data-theme="light"] .hero .button.button-light { box-shadow: none; }
html[data-theme="light"] .site-header .button:hover { background: var(--white); color: var(--ink); }
html[data-theme="light"] .woocommerce a.button.loading::after, html[data-theme="light"] .woocommerce button.button.loading::after { border-color: var(--ink); border-top-color: transparent; }

/* Surfaces and text that assumed a dark page */
html[data-theme="light"] .home-section-tint { background: var(--blue-soft); }
html[data-theme="light"] .section-title::after { background: var(--pop); }
html[data-theme="light"] .cat-thumb::after { border-color: var(--pop); }
html[data-theme="light"] .cat-thumb { border-color: #fff; }
html[data-theme="light"] .usp-item svg { color: var(--pop); }
html[data-theme="light"] .usp-item:hover { border-color: var(--pop); }
html[data-theme="light"] .woocommerce table.shop_table th,
html[data-theme="light"] .wc-block-components-product-name, html[data-theme="light"] .wc-block-components-title,
html[data-theme="light"] .wc-block-components-checkout-step__title,
html[data-theme="light"] .sticky-atc-info strong { color: var(--heading); }
html[data-theme="light"] .qty-btn { color: var(--heading); }
html[data-theme="light"] .qty-btn:hover { color: var(--ink); }
html[data-theme="light"] .toast { background: var(--heading); color: #fff; }
html[data-theme="light"] .toast a { background: var(--blue); color: var(--ink); }
html[data-theme="light"] .to-top:hover { background: var(--heading); color: #fff; }
html[data-theme="light"] .woocommerce div.product .stock { color: #0b8f5c; }
html[data-theme="light"] .woocommerce div.product .out-of-stock { color: #b3261e; }
html[data-theme="light"] .product-trust li::before { color: #fff; background: #0b8f5c; }
html[data-theme="light"] .error-code { color: var(--pop); }
html[data-theme="light"] blockquote { border-left-color: var(--pop); }
html[data-theme="light"] .woocommerce-info, html[data-theme="light"] .wc-block-components-notice-banner { border-left-color: var(--pop); }
@media (hover: none) {
	html[data-theme="light"] .button:hover, html[data-theme="light"] .woocommerce a.button:hover, html[data-theme="light"] .woocommerce button.button:hover,
	html[data-theme="light"] .woocommerce a.button.alt:hover, html[data-theme="light"] .woocommerce button.button.alt:hover,
	html[data-theme="light"] .woocommerce div.product form.cart .button:hover {
		background: var(--blue); color: var(--ink); box-shadow: none;
	}
	html[data-theme="light"] .qty-btn:hover { color: var(--heading); }
}

/* Pop-in scaling must never cause sideways scroll */
.site-main { overflow-x: clip; }

/* Dark / light switch drawn as a sliding toggle */
.theme-toggle {
	position: relative; width: 66px; height: 36px; flex-shrink: 0; padding: 0; cursor: pointer;
	background: var(--surface); border: 2px solid var(--border); border-radius: 999px;
	transition: background .3s ease, border-color .3s ease;
}
.theme-toggle::before { content: ""; position: absolute; inset: -7px -4px; }
.theme-toggle-knob {
	position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--blue); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	transition: transform .4s cubic-bezier(.22, 1, .36, 1), background .3s ease, color .3s ease;
}
.theme-toggle:hover { border-color: var(--blue); }
.theme-toggle:active .theme-toggle-knob { width: 32px; }
html[data-theme="light"] .theme-toggle { background: #e3e9f4; border-color: #9aa8c6; }
html[data-theme="light"] .theme-toggle:hover { border-color: var(--heading); }
html[data-theme="light"] .theme-toggle-knob { transform: translateX(30px); background: #0b1b4d; color: #ff8a2a; }
html[data-theme="light"] .theme-toggle:active .theme-toggle-knob { transform: translateX(26px); }
@media (max-width: 900px) { .header-actions { gap: 10px; } }


/* ================= Footer links (v1.7) ================= */
.footer-inner { grid-template-columns: 1.2fr 2fr; align-items: start; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer-col-title {
	margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
	font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer .footer-col a {
	display: inline-flex; align-items: flex-start; gap: 8px; min-height: 34px; padding: 6px 0;
	font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--muted);
	transition: color .15s ease, transform .2s ease;
}
.site-footer .footer-col a::before { content: ""; width: 5px; height: 5px; margin-top: .5em; flex-shrink: 0; border-radius: 50%; background: var(--border); transition: background .15s ease; }
.site-footer .footer-col a:hover, .site-footer .footer-col a[aria-current="page"] { color: var(--white); transform: translateX(3px); }
.site-footer .footer-col a:hover::before, .site-footer .footer-col a[aria-current="page"]::before { background: var(--accent); }
.footer-widgets { grid-column: 1 / -1; }
@media (max-width: 800px) {
	.footer-inner { grid-template-columns: 1fr; gap: 0; text-align: left; }
	.footer-brand { text-align: center; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
	.footer-brand .custom-logo { height: 48px; }
	.footer-links { gap: 20px; }
	.site-footer .footer-col a { font-size: .86rem; min-height: 32px; }
}
@media (max-width: 360px) { .footer-links { grid-template-columns: 1fr; } }

/* v1.8: script-driven text band */
.marquee-track.is-js { animation: none; will-change: transform; }
.to-top { transition: opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1), bottom .3s ease, visibility 0s .3s; }

/* v1.9: back-to-top button sits above the corner where chat buttons usually are */
.to-top { right: 22px; bottom: 104px; }
@media (max-width: 900px) {
	.to-top { right: 16px; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}

/* v1.12: cookie preferences live in the footer, not in a floating button */
.cookieadmin_re_consent { display: none !important; }

/* v1.15: the floating share bar fades out with opacity but stays clickable; on phones it sits on the bottom nav */
.sharemypost-share-bar.sharemypost-floating-bar:not(.is-visible) { pointer-events: none; }
@media (max-width: 900px) { .sharemypost-share-bar.sharemypost-floating-bar { display: none !important; } }

/* v1.14: product grid fix — WooCommerce's small-screen CSS forced each card to 48% of its grid cell */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product.first, .woocommerce ul.products li.product.last {
	width: auto !important; float: none !important; clear: none !important; margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	line-height: 1.25; min-height: 2.5em; max-height: 2.5em;
}
.woocommerce .woocommerce-result-count { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering { margin: 0 0 20px; }
.woocommerce-products-header, .woocommerce .woocommerce-result-count { scroll-margin-top: 110px; }
@media (max-width: 700px) {
	.woocommerce ul.products, .woocommerce-page ul.products, ul.products { gap: 14px; }
	.woocommerce ul.products li.product, ul.products li.product { padding: 8px 8px 12px; text-align: left; }
	.woocommerce ul.products li.product a img { margin-bottom: 10px; border-radius: 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .95rem; padding: 0 2px; }
	.woocommerce ul.products li.product .price { font-size: 1.05rem; padding: 0 2px; margin-bottom: 10px; }
	.woocommerce ul.products li.product .button { width: 100%; font-size: .88rem; padding: 10px 6px; line-height: 1.2; }
	.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; width: 100%; }
	.woocommerce .woocommerce-ordering select { width: 100%; }
}
@media (max-width: 360px) {
	.woocommerce ul.products, .woocommerce-page ul.products, ul.products { gap: 10px; }
	.woocommerce ul.products li.product .button { font-size: .8rem; }
}

/* ================= v1.17: fixes from the full-site design review ================= */

/* Floating buttons must never sit on the order total */
body.woocommerce-cart .to-top, body.woocommerce-checkout .to-top { display: none !important; }

/* Share bar: product pages only, and only where the page has a free margin for it */
body:not(.single-product) .sharemypost-share-bar.sharemypost-floating-bar { display: none !important; }
@media (max-width: 1399px) { .sharemypost-share-bar.sharemypost-floating-bar { display: none !important; } }

/* Phone menu: dim the page behind it (header and bottom nav stay above) */
@media (max-width: 900px) {
	.menu-open body::before { content: ""; position: fixed; inset: 0; z-index: 99; background: rgba(8, 15, 42, .5); }
}

/* Product cards: centred button text inside the full-width pill */
.woocommerce ul.products li.product .button { text-align: center; justify-content: center; }

/* Product page: on small phones the quantity and "Sepete Ekle" stack instead of squeezing the button onto two lines */
.woocommerce div.product form.cart .button { white-space: nowrap; }
@media (max-width: 480px) {
	.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
	.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 100%; }
}

/* Variation swatches (built by main.js from the hidden select) */
table.variations select.has-swatches { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
table.variations td.value { position: relative; }
table.variations th.label label, table.variations .label label { font-weight: 700; }
.swatch-current { font-weight: 500; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 6px; }
.swatch {
	min-width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer;
	border: 2px solid var(--border); background: var(--surface); color: var(--heading);
	font: 600 .95rem/1 var(--font-body); transition: border-color .15s ease, box-shadow .15s ease;
}
.swatch.is-color { width: 44px; background: var(--swatch); box-shadow: inset 0 0 0 3px var(--surface); }
.swatch.is-text { padding: 0 16px; }
.swatch:hover { border-color: var(--muted); }
.swatch[aria-checked="true"] { border-color: var(--heading); box-shadow: inset 0 0 0 3px var(--surface), 0 0 0 1px var(--heading); }
.swatch.is-text[aria-checked="true"] { background: var(--heading); color: var(--surface); box-shadow: none; }
.swatch:disabled { opacity: .35; cursor: not-allowed; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }

/* Dark look: no white corners behind the rounded checkout selects */
.wc-blocks-components-select__container { background: transparent !important; border-radius: var(--radius-sm); }

/* Noise the shopper doesn't need */
.product_meta .sku_wrapper { display: none; }
.wc-block-cart .wc-block-components-product-metadata,
.wc-block-checkout .wc-block-components-product-metadata,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata { display: none; }

/* Footer: links + contact columns, and the payment/carrier row */
.footer-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.site-footer .footer-contact li { color: var(--muted); font-size: .9rem; font-weight: 600; padding: 6px 0; }
.site-footer .footer-contact a { display: inline; min-height: 0; padding: 0; }
.site-footer .footer-contact a::before { display: none; }
@media (max-width: 800px) {
	.footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* Empty search or category: suggestions block */
.no-results-suggest { margin-top: 28px; }

/* v1.17.2: the main menu now has 5 links (incl. "Mac mini Aksesuarları" and the "Yardım" dropdown).
   Keep each link on one line, and tighten the header on narrow desktops, where "Hesabım" in the menu
   replaces the account icon. */
.site-nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) {
	.header-inner { gap: 12px; }
	.site-nav .menu { gap: 0; }
	.site-nav a { padding: 9px 10px; font-size: .95rem; }
	.header-actions { gap: 4px; }
}
/* Dropdown arrow on menu items that have a submenu */
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
@media (max-width: 900px) { .site-nav .menu-item-has-children > a::after { display: none; } }

/* Free-shipping progress + suggestions (cart page) */
.freeship { margin: 0 0 28px; padding: 18px 20px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.freeship[hidden] { display: none; }
.freeship-head { display: flex; align-items: center; gap: 12px; }
.freeship-icon { flex: none; color: var(--accent); }
.freeship.is-done .freeship-icon { color: var(--green); }
.freeship-msg { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--heading); line-height: 1.35; }
.freeship-msg strong { font-weight: 900; color: var(--heading); white-space: nowrap; }
.freeship-bar { position: relative; height: 10px; margin: 12px 0 0; border-radius: 999px; background: var(--blue-soft); overflow: hidden; }
.freeship-bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #02bbfe, #ff8a2a); transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.freeship.is-done .freeship-bar span { background: var(--green); }
.freeship-note { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.freeship-title { margin: 20px 0 12px; font-size: 1rem; font-family: var(--font-head); color: var(--heading); }
.freeship-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.freeship-item { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); min-width: 0; }
.freeship-thumb { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--blue-soft); }
.freeship-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.freeship-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.freeship-name { color: var(--heading); font-weight: 700; font-size: .9rem; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.freeship-name:hover { color: var(--accent); }
.freeship-price { font-weight: 800; color: var(--text); font-size: .95rem; }
.freeship-from { font-weight: 600; color: var(--muted); font-size: .8rem; }
.freeship-tag { font-size: .78rem; font-weight: 700; color: var(--green); }
html[data-theme="light"] .freeship-tag { color: #0b7a4f; }
.freeship-add { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--blue); color: var(--ink); font: inherit; font-weight: 800; font-size: .9rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.freeship-add:hover { background: var(--heading); color: var(--bg); }
.freeship-add.is-link { background: transparent; color: var(--heading); box-shadow: inset 0 0 0 2px var(--border); }
.freeship-add.is-link:hover { box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent); background: transparent; }
.freeship-add:disabled { opacity: .6; cursor: progress; }
.freeship-add:focus-visible, .freeship-name:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 900px) {
	.freeship-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.freeship { padding: 16px 14px; }
	.freeship-list { grid-template-columns: 1fr; gap: 8px; }
	.freeship-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 8px; padding: 10px; }
	.freeship-thumb { width: 72px; grid-row: 1 / span 2; }
	.freeship-add { grid-column: 2; justify-self: start; min-height: 40px; padding: 6px 16px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.freeship-bar span { transition: none; }
}

/* ==========================================================================
   v1.19: cart and checkout upgrades
   ========================================================================== */

/* Product cards: no "Sepetim" link pushing the card taller after adding; the button says "Sepette" */
ul.products li.product a.added_to_cart { display: none !important; }
ul.products li.product .button.u3-in-cart::before {
	content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; 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='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%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='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
ul.products li.product .button.u3-loading { opacity: .6; pointer-events: none; }

/* "Added to cart" bar */
.u3-added {
	position: fixed; z-index: 420; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 420px; margin: 0 auto;
	padding: 16px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .55);
	transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden;
	transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, visibility 0s .42s;
}
.u3-added.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .3s ease; }
@media (min-width: 901px) { .u3-added { left: auto; right: 24px; bottom: 24px; width: 380px; } }
@media (max-width: 900px) { .u3-added { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); } }
body.u3-added-open .sticky-atc { transform: translateY(130%); visibility: hidden; }
body.u3-added-open .toast { display: none; }
.u3-added-top { display: flex; gap: 12px; align-items: center; }
.u3-added-img img { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }
.u3-added-txt { min-width: 0; flex: 1; line-height: 1.3; }
.u3-added-txt strong { display: flex; align-items: center; gap: 6px; color: var(--heading); font-family: var(--font-head); }
.u3-added-txt strong::before {
	content: ""; width: 18px; height: 18px; flex: none; 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='%23080f2a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.u3-added-name { display: block; font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u3-added-x { flex: none; align-self: flex-start; width: 40px; height: 40px; margin: -8px -8px 0 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.u3-added-ship { margin-top: 12px; }
.u3-added-msg { margin: 0 0 7px; font-size: .9rem; }
.u3-added-msg b { color: var(--heading); font-variant-numeric: tabular-nums; }
.u3-added-ship.is-free .u3-added-msg b { color: var(--green); }
.u3-added-track { display: block; height: 7px; border-radius: 7px; background: var(--blue-soft); overflow: hidden; }
.u3-added-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--pop)); transform-origin: left; transform: scaleX(0); transition: transform .9s .15s cubic-bezier(.22, 1, .36, 1); }
.u3-added-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.u3-added-acts > * { display: grid; place-items: center; min-height: 46px; border-radius: 999px; font: inherit; font-weight: 800; font-size: .92rem; text-decoration: none; cursor: pointer; }
.u3-added-keep { border: 1px solid var(--border); background: transparent; color: var(--text); }
.u3-added-go { background: var(--blue); color: var(--ink) !important; border: 0; }
@media (hover: hover) { .u3-added-keep:hover { border-color: var(--accent); } .u3-added-go:hover { background: var(--white); } }

/* Options sheet */
.u3-pick {
	border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 480px; max-height: 88vh; overflow: auto; overscroll-behavior: contain;
	background: var(--surface); color: var(--text); border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -18px 48px -16px rgba(0, 0, 0, .6);
}
.u3-pick::backdrop { background: rgba(4, 8, 24, .55); }
.u3-pick[open] { animation: u3-sheet-in .38s cubic-bezier(.22, 1, .36, 1); }
.u3-pick[open]::backdrop { animation: u3-fade .3s ease; }
.u3-pick.is-closing { animation: u3-sheet-out .22s ease-in forwards; }
@keyframes u3-sheet-in { from { transform: translateY(100%); } }
@keyframes u3-sheet-out { to { transform: translateY(100%); } }
@keyframes u3-fade { from { opacity: 0; } }
@media (min-width: 782px) { .u3-pick { margin: auto; border-radius: var(--radius); } }
.u3-pick-in { position: relative; padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
.u3-pick-in::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--border); }
@media (min-width: 782px) { .u3-pick-in::before { display: none; } }
.u3-pick-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.u3-pick-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; margin-bottom: 18px; }
.u3-pick-img { width: 84px; height: 84px; flex: none; object-fit: cover; border-radius: var(--radius-sm); background: var(--blue-soft); }
.u3-pick-head h2 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 5px; color: var(--heading); }
.u3-pick-price { margin: 0; color: var(--accent); font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.u3-pick-price del { color: var(--muted); font-size: .9em; margin-right: 4px; }
.u3-pick-set { border: 0; padding: 0; margin: 0 0 18px; }
.u3-pick-set legend { padding: 0; margin-bottom: 10px; font-weight: 800; color: var(--heading); }
.u3-pick-chosen { font-weight: 400; color: var(--muted); }
.u3-pick-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.u3-pick-opt { min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.u3-pick-opt[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; color: var(--heading); }
.u3-pick-opt.is-out { color: var(--muted); text-decoration: line-through; }
.u3-pick-err { margin: 0 0 12px; color: var(--red); font-weight: 700; }
.u3-pick .u3-pick-add { display: block; width: 100%; min-height: 52px; }
.u3-pick-more { display: block; text-align: center; margin-top: 14px; padding: 6px; color: var(--muted); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .u3-pick[open], .u3-pick.is-closing, .u3-pick::backdrop { animation: none; } .u3-added, .u3-added.is-on { transition: opacity .2s; transform: none; } .u3-added-track i { transition: none; } }

/* Checkout: İl → İlçe → Mahalle dropdowns (assets/js/ilce.js) */
.mt-ilce { position: relative; margin-top: 12px; flex: 0 0 100%; }
.mt-ilce-label { position: absolute; left: 13px; top: 7px; font-size: .75rem; color: var(--muted); pointer-events: none; }
.mt-ilce-select {
	width: 100%; height: 50px; appearance: none; -webkit-appearance: none; cursor: pointer;
	border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
	padding: 18px 40px 4px 12px; font: inherit; font-size: 1rem;
}
.mt-ilce-select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.mt-ilce-select:disabled { opacity: .6; cursor: not-allowed; }
.mt-ilce-caret { position: absolute; right: 10px; top: 14px; pointer-events: none; color: var(--text); }
.wc-block-components-text-input:has(> input[data-mt-ilce-on="1"]), .form-row:has(input[data-mt-ilce-on="1"]) {
	position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; margin: 0 !important; padding: 0 !important;
}
.mt-hint { margin: 6px 0 0 2px; font-size: .82rem; line-height: 1.35; color: var(--muted); flex: 0 0 100%; }
.mt-acc-hint { margin: 6px 0 4px; padding-left: 2rem; font-size: .85rem; line-height: 1.45; color: var(--muted); }
/* the block checkout keeps address line 2 under line 1; reorder to İl, İlçe, Mahalle, Açık adres */
.wc-block-components-address-form { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 0; }
.wc-block-components-address-form > * { order: 20; flex: 0 0 100%; width: 100%; max-width: 100%; box-sizing: border-box; }
.wc-block-components-address-form > .wc-block-components-address-form__country { order: 1; }
.wc-block-components-address-form > .wc-block-components-address-form__first_name { order: 2; }
.wc-block-components-address-form > .wc-block-components-address-form__last_name { order: 3; }
.wc-block-components-address-form > .wc-block-components-address-form__company { order: 4; }
.wc-block-components-address-form > .wc-block-components-address-form__state { order: 5; }
.wc-block-components-address-form > .wc-block-components-address-form__city, .wc-block-components-address-form > .mt-ilce--city { order: 6; }
.wc-block-components-address-form > .wc-block-components-address-form__address_2, .wc-block-components-address-form > .mt-ilce--mah { order: 7; }
.wc-block-components-address-form > .wc-block-components-address-form__address_1, .wc-block-components-address-form > .mt-hint { order: 8; }
.wc-block-components-address-form > .wc-block-components-address-form__postcode { order: 9; }
.wc-block-components-address-form > .wc-block-components-address-form__phone { order: 10; }
@media (min-width: 560px) {
	.wc-block-components-address-form > .wc-block-components-address-form__first_name,
	.wc-block-components-address-form > .wc-block-components-address-form__last_name { flex: 0 0 calc(50% - 8px); width: calc(50% - 8px); }
}

/* Required fields: red star after the label */
.wc-block-components-text-input:has(> input[required]) > label::after,
.wc-block-components-text-input:has(> input[aria-required="true"]) > label::after,
.wc-blocks-components-select__label::after,
.mt-ilce-label::after { content: " *"; color: var(--red); font-weight: 800; }
html[data-theme="light"] .wc-block-components-text-input > label::after,
html[data-theme="light"] .wc-blocks-components-select__label::after,
html[data-theme="light"] .mt-ilce-label::after { color: var(--sale); }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; border: 0; }
html[data-theme="light"] .woocommerce form .form-row .required { color: var(--sale); }
/* the chat bubble steps aside while the "added" bar is open */
#rapidchat-widget { transition: opacity .25s ease; }
body.u3-added-open #rapidchat-widget { opacity: 0; pointer-events: none; }
/* never let the floating-widget lift (main.js) move the bar or the sheet */
.u3-added, .u3-pick { translate: none !important; scale: none !important; }
.mt-ilce-label { font-weight: 400; font-family: var(--font-body); }

/* v1.20: slide-in basket (assets/js/cart-drawer.js) */
html.u3-drawer-lock { overflow: hidden; }
.u3-drawer {
	position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
	width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
	background: var(--bg); color: var(--text); box-shadow: -20px 0 50px rgba(0, 0, 0, .45);
	translate: none !important; scale: none !important;
}
.u3-drawer::backdrop { background: rgba(4, 8, 24, .55); }
.u3-drawer[open] { animation: u3-drawer-in .36s cubic-bezier(.22, 1, .36, 1); }
.u3-drawer[open]::backdrop { animation: u3-fade .3s ease; }
.u3-drawer.is-closing { animation: u3-drawer-out .24s ease-in forwards; }
@keyframes u3-drawer-in { from { transform: translateX(100%); } }
@keyframes u3-drawer-out { to { transform: translateX(100%); } }
.u3-drawer-in { display: flex; flex-direction: column; height: 100%; }
.u3-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 14px 20px; border-bottom: 1px solid var(--border); }
.u3-drawer-head h2 { margin: 0; font-size: 1.3rem; color: var(--heading); }
.u3-drawer-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.u3-drawer-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.u3-drawer-loading { padding: 24px 20px; color: var(--muted); }
.u3-drawer-items { list-style: none; margin: 0; padding: 4px 20px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.u3-drawer-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); transition: opacity .2s ease; }
.u3-drawer-item:last-child { border-bottom: 0; }
.u3-drawer-item.is-busy { opacity: .5; pointer-events: none; }
.u3-drawer-thumb img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--surface); }
.u3-drawer-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.u3-drawer-name { color: var(--heading); font-weight: 800; line-height: 1.3; text-decoration: none; }
.u3-drawer-var, .u3-drawer-unit { font-size: .85rem; color: var(--muted); }
.u3-drawer-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.u3-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.u3-qty button { width: 40px; height: 38px; border: 0; background: transparent; color: var(--text); font-size: 1.15rem; cursor: pointer; border-radius: 999px; }
.u3-qty button:disabled { opacity: .35; cursor: not-allowed; }
.u3-qty span { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.u3-drawer-rm { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.u3-drawer-line { font-weight: 800; color: var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.u3-drawer-err { margin: 6px 0 0; color: var(--red); font-size: .85rem; font-weight: 700; }
.u3-drawer-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); background: var(--bg); }
.u3-meter { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.u3-meter p { margin: 0 0 8px; font-size: .9rem; }
.u3-meter b { color: var(--heading); font-variant-numeric: tabular-nums; }
.u3-meter.is-free b { color: var(--green); }
.u3-meter .u3-added-track i { transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.u3-drawer-sub { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 12px; font-size: 1.05rem; }
.u3-drawer-sub b { color: var(--heading); font-family: var(--font-head); font-size: 1.2rem; }
.u3-drawer-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.u3-drawer-acts > a { display: grid; place-items: center; min-height: 50px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.u3-drawer-cart { border: 1px solid var(--border); color: var(--text); }
.u3-drawer-acts .u3-drawer-checkout { margin: 0; padding: 0; }
.u3-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 20px; text-align: center; color: var(--muted); }
@media (hover: hover) { .u3-drawer-cart:hover { border-color: var(--accent); } .u3-qty button:not(:disabled):hover, .u3-drawer-rm:hover { color: var(--accent); } }
@media (prefers-reduced-motion: reduce) { .u3-drawer[open], .u3-drawer.is-closing, .u3-drawer[open]::backdrop { animation: none; } }
/* v1.20.1: progress bars with a clearly visible empty track; fill colour (orange → yellow → green) set by JS */
.u3-added-track { height: 8px; border-radius: 8px; background: rgba(11, 27, 77, .14); }
html:not([data-theme="light"]) .u3-added-track, html:not([data-theme="light"]) .freeship-bar { background: rgba(255, 255, 255, .16); }
html[data-theme="light"] .freeship-bar { background: rgba(11, 27, 77, .14); }
.u3-added-track i { background-color: #e8650a; background-image: none; transition: transform .9s .15s cubic-bezier(.22, 1, .36, 1), background-color .6s ease; }
.freeship-bar span { transition: width .5s cubic-bezier(.22, 1, .36, 1), background-color .6s ease; }

/* =====================================================================
 * v1.21: own cookie banner, share button, product help row
 * ===================================================================== */
.u3-consent {
	position: fixed; z-index: 440; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 440px;
	padding: 18px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .55);
}
.u3-consent[hidden] { display: none; }
@media (min-width: 901px) { .u3-consent { left: 24px; right: auto; bottom: 24px; } }
.u3-consent-t { margin: 0 0 6px; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--heading); }
.u3-consent-x { margin: 0 0 14px; font-size: .92rem; line-height: 1.5; }
.u3-consent-x a { color: var(--accent); font-weight: 700; }
.u3-consent-b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.u3-consent-b button {
	min-height: 46px; padding: 10px 14px; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer;
	border: 2px solid var(--accent); background: transparent; color: var(--heading);
}
.u3-consent-b .u3-consent-yes { background: var(--accent); color: var(--ink); }
html[data-theme="light"] .u3-consent-b .u3-consent-yes { color: #fff; }
.u3-consent-open .sticky-atc { visibility: hidden; }

.u3-product-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 18px; }
.u3-post-share { margin: 28px 0 0; }
.u3-share { position: relative; }
.u3-share-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; list-style: none; cursor: pointer;
	border: 1px solid var(--border); border-radius: 999px; font-weight: 800; color: var(--heading); background: var(--surface);
}
.u3-share-btn::-webkit-details-marker { display: none; }
.u3-share-btn:hover { border-color: var(--accent); }
.u3-share-list {
	position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 190px; margin: 0; padding: 6px; list-style: none;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.u3-share-list a, .u3-share-list button {
	display: flex; align-items: center; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px;
	background: none; color: var(--text); font: inherit; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer;
}
.u3-share-list a:hover, .u3-share-list button:hover { background: var(--blue-soft); color: var(--heading); }
.u3-help { margin: 0; font-size: .92rem; color: var(--muted); }
.u3-help a { color: var(--accent); font-weight: 700; }

/* v1.22: seasonal campaign band + personalised products */
.u3-campaign { background: linear-gradient(120deg, #ff8a2a, #ffb02e); color: var(--ink); padding: 28px 0; }
.u3-campaign-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.u3-campaign-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .45); color: var(--ink); }
.u3-campaign-badge { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .02em; background: var(--ink); color: var(--white); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; }
.u3-campaign h2 { color: var(--ink); margin: 0 0 4px; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.u3-campaign p { margin: 0; color: var(--ink); opacity: .85; }
body .u3-campaign a.button.u3-campaign-btn { background: var(--ink); color: var(--white); border-color: var(--ink); white-space: nowrap; }
body .u3-campaign a.button.u3-campaign-btn:hover { background: var(--navy); color: var(--white); }
@media (max-width: 720px) {
	.u3-campaign { padding: 22px 0; }
	.u3-campaign-in { grid-template-columns: 1fr; gap: 14px; text-align: left; }
	.u3-campaign-icon { display: none; }
	body .u3-campaign a.button.u3-campaign-btn { width: 100%; text-align: center; }
}
.u3-personal { display: grid; gap: 6px; margin: 0 0 4px; width: 100%; flex: 1 1 100%; }
.u3-personal label { font-weight: 700; color: var(--heading); }
.u3-personal abbr.required { color: var(--red); text-decoration: none; }
.u3-personal input { width: 100%; font-size: 16px; padding: 12px 14px; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--surface); color: var(--white); }
.u3-personal input:focus { outline: none; border-color: var(--blue); }
.u3-personal-h { font-size: .85rem; color: var(--muted); }

/* v1.22.1: phone QA fixes */
.freeship-more { margin: 28px 0 0; }
.freeship-more .freeship-title { margin-top: 0; }
@media (max-width: 900px) {
	/* iOS zooms into fields under 16px */
	.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
	.wc-block-components-totals-coupon__input input { font-size: 16px !important; }
	/* Bigger tap area for "remove item" */
	.wc-block-cart-item__remove-link { min-width: 44px; min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; }
}
