/*
Theme Name: Gass — گس
Theme URI: https://gassshow.ir
Author: Gass Show
Description: تم اختصاصی فروشگاه تک‌صفحه‌ای عروسک‌های خمیری گس؛ زرد گرم، کلی‌میشن، راست‌چین و موبایل‌فرست، سازگار با ووکامرس.
Version: 1.4.1
Requires at least: 6.4
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: gass
WC requires at least: 8.0
*/

:root {
	--mustard: #F2B33D;
	--mustard-l: #FFD27A;
	--mustard-d: #DE971F;
	--cream: #FFF6E3;
	--cream-2: #FCE9C2;
	--brown: #3B2414;
	--brown-2: #6B4226;
	--brown-3: #8C5E3C;
	--red: #E5392A;
	--red-d: #B42317;
	--ink: #2A1A0F;
	--muted: #7A5A40;
	--ok: #2F8A4C;
	--radius: 26px;
	--radius-sm: 16px;
	--pop: 0 6px 0 var(--brown);
	--pop-sm: 0 4px 0 var(--brown);
	--soft: 0 18px 40px -18px rgba(90, 51, 7, .45);
	--font: "Vazirmatn", Tahoma, sans-serif;
	--display: "Lalezar", "Vazirmatn", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.85;
	color: var(--ink);
	background: var(--mustard);
	direction: rtl;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brown); }
a:hover { color: var(--red-d); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.35; color: var(--brown); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.skip-link { position: absolute; right: 8px; top: 8px; transform: translateY(-200%); background: var(--brown); color: var(--cream); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- دکمه‌ها ---------- */
.btn, .button, button.button, input.button, .wc-block-components-button, #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	padding: .7em 1.4em; border: 3px solid var(--brown); border-radius: 999px;
	font-family: var(--font); font-weight: 900; font-size: 1rem; line-height: 1.4;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	background: var(--cream); color: var(--brown);
	box-shadow: var(--pop); transform: translateY(0);
	transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover, .button:hover, #place_order:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--brown); color: inherit; }
.btn:active, .button:active, #place_order:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--brown); }
.btn svg, .button svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-brown { background: var(--brown); color: var(--cream); }
.btn-brown:hover { color: var(--mustard-l); }
.btn-red, .button.alt, #place_order, .checkout-button { background: var(--red) !important; color: #fff !important; }
.btn-red:hover { color: #fff; background: #f04a3a; }
.btn-cream { background: var(--cream); color: var(--brown); }
.btn-lg { font-size: 1.1rem; padding: .8em 1.7em; }
.btn-sm { font-size: .9rem; padding: .5em 1em; box-shadow: var(--pop-sm); border-width: 2.5px; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.add_to_cart_button.loading { opacity: .6; }
.add_to_cart_button.added::after { content: "✓"; margin-inline-start: .2em; }
a.added_to_cart { display: none; }

/* ---------- هدر ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(242, 179, 61, .92);
	backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 3px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-bottom-color: var(--brown); box-shadow: 0 6px 20px -12px rgba(59, 36, 20, .6); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--brown); flex: none; }
.brand-fa { font-family: var(--display); font-size: 2.3rem; line-height: 1; transform: rotate(-6deg); display: inline-block; text-shadow: 2px 3px 0 rgba(255, 246, 227, .55); }
.brand-en { font-family: "Arial Black", var(--display); font-weight: 900; font-size: .8rem; letter-spacing: .18em; background: var(--brown); color: var(--mustard); padding: 1px 8px 2px; border-radius: 6px; transform: rotate(3deg); }
.brand-img { max-height: 54px; width: auto; }
.brand-light { color: var(--cream); }
.brand-light .brand-en { background: var(--mustard); color: var(--brown); }

.main-nav { margin-inline-start: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a { display: block; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--brown); }
.nav-list a:hover, .nav-list .current_page_item > a { background: var(--brown); color: var(--cream); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--brown); background: var(--cream); color: var(--brown); box-shadow: 0 3px 0 var(--brown); cursor: pointer; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; }
.gass-cart-count { position: absolute; top: -6px; left: -6px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 900; border: 2px solid var(--brown); line-height: 1; }
.gass-cart-count.is-empty { display: none; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
	.menu-toggle { display: inline-grid; }
	.donate-pill span { display: none; }
	.donate-pill { width: 44px; height: 44px; padding: 0; }
	.main-nav {
		position: fixed; inset: 68px 0 auto 0; margin: 0;
		background: var(--cream); border-bottom: 3px solid var(--brown);
		transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
		box-shadow: 0 20px 30px -20px rgba(59, 36, 20, .5);
	}
	.main-nav.open { transform: translateY(0); }
	.nav-list { flex-direction: column; padding: 12px 16px 18px; }
	.nav-list a { font-size: 1.15rem; padding: 10px 14px; }
	.header-actions { margin-inline-start: auto; }
}
@media (max-width: 380px) { .header-actions .icon-btn:first-child { display: none; } }

/* ---------- هیرو ---------- */
.hero { position: relative; padding: 36px 0 110px; overflow: hidden; }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(59, 36, 20, .12) 2px, transparent 2.5px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 24px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); border: 2.5px solid var(--brown); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .9rem; box-shadow: 0 3px 0 var(--brown); }
.kicker svg { width: 18px; height: 18px; color: var(--red); }
.hero-title { font-size: clamp(2.4rem, 9vw, 4.6rem); margin: 18px 0 12px; line-height: 1.25; text-shadow: 0 4px 0 rgba(222, 151, 31, .9), 0 8px 0 rgba(59, 36, 20, .18); }
.hero-text { font-size: 1.08rem; max-width: 36em; color: var(--brown); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 18px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: .92rem; color: var(--brown-2); }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges svg { width: 20px; height: 20px; }
.hero-art { position: relative; min-height: 300px; display: grid; place-items: end center; }
.hero-blob { position: absolute; inset: 6% 4% 8%; background: radial-gradient(circle at 40% 35%, var(--mustard-l), transparent 70%); border-radius: 50%; }
.hero-char { position: relative; width: min(560px, 100%); z-index: 2; filter: drop-shadow(0 18px 18px rgba(90, 51, 7, .25)); animation: bob 5s ease-in-out infinite; }
.hero-mic { position: absolute; width: clamp(90px, 22%, 150px); left: 2%; bottom: 6%; z-index: 1; transform: rotate(-8deg); }
.sticker { position: absolute; z-index: 3; display: grid; place-items: center; text-align: center; font-family: var(--display); line-height: 1.05; border: 3px solid var(--brown); border-radius: 50%; box-shadow: var(--pop-sm); }
.sticker-1 { width: 84px; height: 84px; top: 4%; right: 4%; background: var(--red); color: var(--cream); font-family: "Arial Black", var(--display); font-weight: 900; font-size: .85rem; letter-spacing: .08em; transform: rotate(12deg); animation: spin-wobble 6s ease-in-out infinite; }
.sticker-2 { width: 92px; height: 92px; top: 18%; left: 6%; background: var(--cream); color: var(--brown); font-size: 1.15rem; transform: rotate(-10deg); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }
.hero-wave path { fill: var(--cream); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin-wobble { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(-4deg) scale(1.05); } }

@media (min-width: 900px) {
	.hero { padding: 56px 0 140px; }
	.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
	.hero-art { min-height: 460px; }
}

/* ---------- نوار متحرک ---------- */
.marquee { background: var(--brown); color: var(--mustard); overflow: hidden; border-block: 3px solid var(--brown); transform: rotate(-1.2deg); margin: -28px -10px 0; position: relative; z-index: 4; }
.marquee-track { display: flex; gap: 22px; white-space: nowrap; width: max-content; padding: 12px 0; font-family: var(--display); font-size: 1.35rem; animation: marquee 28s linear infinite; }
.marquee-track i { font-style: normal; color: var(--red); font-size: .9rem; align-self: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- سکشن‌ها ---------- */
.section { padding: 72px 0; position: relative; }
.shop { background: var(--cream); padding-top: 64px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(2rem, 6vw, 3rem); margin: 6px 0 8px; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-weight: 900; font-size: .85rem; color: var(--red); background: rgba(229, 57, 42, .1); border: 2px dashed var(--red); padding: 2px 14px; border-radius: 999px; }

/* ---------- محصولات ---------- */
.product-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid.count-3 { grid-template-columns: repeat(3, 1fr); } .product-grid.count-2, .product-grid.count-1 { max-width: 920px; margin-inline: auto; } }
.product-card { background: #fff; border: 3px solid var(--brown); border-radius: var(--radius); box-shadow: 0 10px 0 var(--brown); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.product-card.tilt-0:hover { transform: rotate(-1deg) translateY(-6px); box-shadow: 0 16px 0 var(--brown); }
.product-card.tilt-1:hover { transform: rotate(1deg) translateY(-6px); box-shadow: 0 16px 0 var(--brown); }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--mustard-l); border-bottom: 3px solid var(--brown); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.ribbon { position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff; font-weight: 900; padding: 4px 14px; border-radius: 999px; border: 2.5px solid var(--brown); font-size: .85rem; }
.ribbon-dark { background: var(--brown); color: var(--cream); right: auto; left: 16px; }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 1.6rem; margin: 0 0 6px; }
.product-title a { text-decoration: none; color: var(--brown); }
.product-excerpt { color: var(--muted); font-size: .95rem; }
.product-excerpt p:last-child { margin: 0; }
.product-foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 2px dashed var(--cream-2); }
.price { font-weight: 900; font-size: 1.25rem; color: var(--brown); }
.price del { opacity: .5; font-size: .85em; font-weight: 500; }
.price ins { text-decoration: none; color: var(--red-d); }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty-shop { text-align: center; max-width: 480px; margin: 0 auto; background: #fff; border: 3px dashed var(--brown-3); border-radius: var(--radius); padding: 28px; }
.empty-shop img { border-radius: 50%; }

/* ---------- معرفی ---------- */
.about { background: var(--mustard); }
.about::before { content: ""; position: absolute; inset: -1px 0 auto; height: 60px; background: var(--cream); clip-path: ellipse(70% 100% at 50% 0); }
.about-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.cover-card { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; background: var(--mustard-l); border: 4px solid var(--brown); border-radius: 34px; box-shadow: 14px 14px 0 var(--brown); transform: rotate(-3deg); overflow: hidden; display: grid; place-items: end center; }
.cover-card img { width: 108%; max-width: none; margin-bottom: -6%; }
.cover-fa { position: absolute; top: 6%; right: 10%; font-family: var(--display); font-size: clamp(4rem, 18vw, 7rem); color: var(--brown); line-height: 1; transform: rotate(-8deg); }
.cover-en { position: absolute; top: 14%; left: 10%; font-family: "Arial Black", var(--display); font-weight: 900; letter-spacing: .2em; color: var(--brown); font-size: 1.1rem; transform: rotate(6deg); }
.about-copy h2 { font-size: clamp(2rem, 6vw, 3rem); margin-top: 8px; }
.about-copy p { font-size: 1.05rem; }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 26px; }
.feature { background: var(--cream); border: 2.5px solid var(--brown); border-radius: var(--radius-sm); padding: 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--pop-sm); }
.feature svg { width: 28px; height: 28px; color: var(--red); }
.feature strong { color: var(--brown); }
.feature span { font-size: .85rem; color: var(--muted); }

/* ---------- مراحل ---------- */
.steps { background: var(--cream); }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: s; }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(3, 1fr); } }
.step-list li { background: #fff; border: 3px solid var(--brown); border-radius: var(--radius); padding: 26px 22px 20px; position: relative; box-shadow: var(--pop); }
.step-num { position: absolute; top: -22px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mustard); border: 3px solid var(--brown); font-family: var(--display); font-size: 1.5rem; color: var(--brown); }
.step-list strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--brown); margin-top: 6px; }
.step-list p { margin: 4px 0 0; color: var(--muted); }

/* ---------- نوار حمایت ---------- */
.donate-band { background: var(--cream); padding-top: 10px; }
.donate-band-inner { background: var(--red); color: #fff; border: 4px solid var(--brown); border-radius: 34px; box-shadow: 0 12px 0 var(--brown); padding: 34px 28px; display: grid; gap: 18px; align-items: center; position: relative; overflow: hidden; }
.donate-band-inner::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .1); left: -80px; top: -90px; }
.donate-band-inner h2 { color: #fff; font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 6px; }
.donate-band-inner p { margin: 0; opacity: .95; }
@media (min-width: 800px) { .donate-band-inner { grid-template-columns: 1fr auto; padding: 40px 48px; } }

/* ---------- سؤال‌ها ---------- */
.faq { background: var(--mustard); }
.faq details { background: var(--cream); border: 3px solid var(--brown); border-radius: var(--radius-sm); margin-bottom: 14px; box-shadow: var(--pop-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 900; color: var(--brown); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform .2s; color: var(--red); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 16px; margin: 0; }

/* ---------- فوتر ---------- */
.site-footer { background: var(--brown); color: var(--cream-2); position: relative; padding-top: 30px; }
.footer-wave { position: absolute; top: -28px; left: 0; right: 0; height: 30px; background: var(--brown); clip-path: polygon(0 60%, 8% 30%, 18% 55%, 30% 20%, 42% 50%, 55% 15%, 68% 50%, 80% 25%, 92% 55%, 100% 30%, 100% 100%, 0 100%); }
.footer-grid { display: grid; gap: 28px; padding: 30px 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: var(--mustard); font-size: 1.3rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.social { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 246, 227, .08); border: 2px solid rgba(255, 246, 227, .3); padding: 8px 16px; border-radius: 999px; }
.social svg { width: 22px; height: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px dashed rgba(255, 246, 227, .25); padding: 16px 0 22px; font-size: .85rem; opacity: .85; }

/* ---------- صفحات داخلی ---------- */
.page-shell { padding: 40px 0 80px; background-image: radial-gradient(rgba(59, 36, 20, .1) 2px, transparent 2.5px); background-size: 28px 28px; min-height: 60vh; }
.paper { background: var(--cream); border: 3px solid var(--brown); border-radius: var(--radius); box-shadow: 0 10px 0 var(--brown); padding: 28px 20px; }
@media (min-width: 700px) { .paper { padding: 40px 44px; } }
.paper.center { text-align: center; }
.page-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.round-img { border-radius: 50%; border: 3px solid var(--brown); }
.entry > *:last-child { margin-bottom: 0; }

/* ---------- ووکامرس: فرم‌ها و جداول ---------- */
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce-page .select2-container .select2-selection,
.paper input[type=text], .paper input[type=email], .paper input[type=tel], .paper input[type=password], .paper input[type=number], .paper textarea, .paper select {
	width: 100%; border: 2.5px solid var(--brown-3); border-radius: 14px; background: #fff; padding: .65em .9em; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.woocommerce input.input-text:focus, .paper input:focus, .paper textarea:focus, .paper select:focus { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(242, 179, 61, .45); outline: none; }
.select2-container--default .select2-selection--single { height: 48px; border: 2.5px solid var(--brown-3) !important; border-radius: 14px !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { font-weight: 700; display: block; margin-bottom: 4px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 700px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; float: right; } .woocommerce form .form-row-last { float: left; } }
.woocommerce form .form-row::after, .woocommerce-billing-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 100%; }
.woocommerce table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 2.5px solid var(--brown); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 24px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-bottom: 1px dashed var(--cream-2); text-align: right; vertical-align: middle; }
.woocommerce table.shop_table thead th { background: var(--mustard-l); }
.woocommerce table.shop_table img { width: 64px; border-radius: 12px; border: 2px solid var(--brown); }
.woocommerce a.remove { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); color: var(--red) !important; text-decoration: none; font-size: 1.3rem; }
.woocommerce .quantity .qty { width: 72px; text-align: center; min-height: 42px; border: 2.5px solid var(--brown-3); border-radius: 12px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; background: #fff; border: 2.5px solid var(--brown); border-inline-start-width: 10px; border-radius: 14px; padding: 14px 18px; margin: 0 0 20px; }
.woocommerce-error { border-color: var(--red); }
.woocommerce-message { border-color: var(--ok); }
.woocommerce-message .button, .woocommerce-info .button { float: left; margin-inline-start: 10px; }
#payment { background: #fff; border: 2.5px solid var(--brown); border-radius: var(--radius-sm); padding: 18px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 14px; }
#payment .payment_box { background: var(--cream); border-radius: 12px; padding: 10px 14px; margin-top: 8px; font-size: .92rem; }
#place_order { width: 100%; font-size: 1.15rem; padding: .9em; }
.cart-collaterals .cart_totals { max-width: 460px; margin-inline-start: auto; }
.wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 1.1rem; }
@media (max-width: 700px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; border-bottom: 2px dashed var(--cream-2); }
	.woocommerce table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 10px; border: 0; }
	.woocommerce table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; }
	.woocommerce table.shop_table_responsive td.product-remove::before, .woocommerce table.shop_table_responsive td.product-thumbnail::before, .woocommerce table.shop_table_responsive td.actions::before { content: none; }
	.woocommerce table.shop_table td.actions { flex-direction: column; }
}
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--brown); text-decoration: none; font-weight: 700; background: #fff; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--brown); color: var(--cream); }

/* محصول تکی */
.woo-paper > div.product { display: grid; gap: 30px; }
@media (min-width: 860px) { .woo-paper > div.product { grid-template-columns: 1fr 1fr; } .woo-paper > div.product > .woocommerce-tabs, .woo-paper > div.product > .related, .woo-paper > div.product > .upsells { grid-column: 1 / -1; } }
.woocommerce-product-gallery { border: 3px solid var(--brown); border-radius: var(--radius); overflow: hidden; background: var(--mustard-l); position: relative; }
.woocommerce-product-gallery img { display: block; width: 100%; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; left: 12px; z-index: 3; }
.flex-control-thumbs { display: flex; gap: 8px; list-style: none; padding: 8px; margin: 0; }
.flex-control-thumbs li { width: 64px; cursor: pointer; }
.product_title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.summary .price { font-size: 1.5rem; display: block; margin-bottom: 14px; }
.summary form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; display: flex; gap: 8px; margin: 0 0 14px; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--brown); text-decoration: none; }
.woocommerce-tabs ul.tabs li.active a { background: var(--brown); color: var(--cream); }
.related ul.products, .upsells ul.products { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.related ul.products li { background: #fff; border: 2.5px solid var(--brown); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.related ul.products li a { text-decoration: none; }
.related ul.products img { border-radius: 12px; }
.woocommerce-breadcrumb { font-size: .85rem; margin-bottom: 16px; color: var(--muted); }

/* ---------- انیمیشن ورود ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

