/* =======================================================================
   Tillya Gold — Main Stylesheet
   Luxury Minimal · RTL · Persian (Vazirmatn)
   ======================================================================= */

:root {
	/* Palette */
	--gold:           #c9a84c;
	--gold-dark:      #a8872d;
	--gold-light:     #f5edd4;
	--gold-xlight:    #fdf8ee;
	--dark:           #14110d;
	--dark-2:         #1e1a14;
	--dark-3:         #2a241b;
	--text:           #1a1612;
	--text-mid:       #5c5044;
	--text-light:     #9a8e82;
	--bg:             #ffffff;
	--bg-warm:        #faf8f2;
	--bg-warm2:       #f5f0e6;
	--border:         #ede7d9;
	--border-light:   #f3ede0;
	--sale:           #c0392b;

	/* Layout */
	--container:      1280px;
	--radius-sm:      4px;
	--radius:         8px;
	--radius-lg:      14px;
	--radius-xl:      20px;

	/* Shadow */
	--shadow-xs:  0 1px 4px rgba(20,17,13,.06);
	--shadow-sm:  0 2px 12px rgba(20,17,13,.07);
	--shadow:     0 6px 24px rgba(20,17,13,.09);
	--shadow-lg:  0 12px 40px rgba(20,17,13,.13);
	--shadow-gold:0 8px 28px rgba(168,135,45,.22);

	/* Type */
	--font:       'Vazirmatn', Tahoma, sans-serif;
	--tracking-wide: .04em;
	--tracking-wider: .08em;
}

/* -----------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	line-height: 1.8;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.35; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
}

/* -----------------------------------------------------------------------
   Layout utilities
   --------------------------------------------------------------------- */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	position: relative;
	isolation: isolate;
	padding: 96px 0;
	overflow: hidden;
}
.section + .section { padding-top: 0; }

/* -----------------------------------------------------------------------
   Divider ornament (قابل استفاده در عناوین بخش‌ها)
   --------------------------------------------------------------------- */
.ornament {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gold);
	font-size: 11px;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	margin-bottom: 12px;
}
.ornament::before,
.ornament::after {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	background: currentColor;
	opacity: .7;
}

/* -----------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 32px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: var(--tracking-wide);
	border: 1px solid transparent;
	transition: all .25s ease;
	white-space: nowrap;
}

.btn-gold {
	background: var(--gold);
	color: var(--dark);
	border-color: var(--gold);
}
.btn-gold:hover {
	background: var(--gold-dark);
	border-color: var(--gold-dark);
	color: #fff;
	box-shadow: var(--shadow-gold);
	transform: translateY(-1px);
}

.btn-outline {
	background: transparent;
	border-color: var(--gold);
	color: var(--gold-dark);
}
.btn-outline:hover {
	background: var(--gold);
	color: var(--dark);
}

.btn-dark {
	background: var(--dark);
	color: var(--gold-light);
	border-color: var(--dark);
}
.btn-dark:hover {
	background: var(--dark-2);
	box-shadow: var(--shadow);
}

.btn-ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--text-mid);
}
.btn-ghost:hover {
	border-color: var(--gold);
	color: var(--gold-dark);
}

/* -----------------------------------------------------------------------
   Section heading
   --------------------------------------------------------------------- */
.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}
.section-title {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--text);
	position: relative;
	padding-bottom: 18px;
}
.section-title::after {
	content: "";
	position: absolute;
	right: 0; bottom: 0;
	width: 36px; height: 2px;
	background: var(--gold);
	border-radius: 2px;
}
.section-subtitle {
	color: var(--text-light);
	margin: 4px 0 0;
	font-size: 14px;
}
.section-heading-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gold-dark);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: var(--tracking-wide);
	white-space: nowrap;
	transition: gap .2s;
}
.section-heading-link:hover { gap: 10px; }

/* -----------------------------------------------------------------------
   Icons (Bootstrap Icons used via <i class="bi bi-xxx">)
   --------------------------------------------------------------------- */
.bi { vertical-align: -.08em; }

/* -----------------------------------------------------------------------
   Gold price ticker (now inside header)
   --------------------------------------------------------------------- */
.gold-price-ticker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--gold-xlight);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 5px 12px;
	font-size: 12px;
	color: var(--text-mid);
	white-space: nowrap;
}
.gold-price-label { opacity: .7; }
.gold-price-value { font-weight: 800; color: var(--gold-dark); }

/* -----------------------------------------------------------------------
   Header / nav — single row with logo · nav · actions
   --------------------------------------------------------------------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--border-light);
	position: sticky;
	top: 0;
	z-index: 300;
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-main { position: relative; }

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0 24px;
	height: 68px;
}

/* ── Branding ─────────────────────────────────────── */
.site-branding { flex-shrink: 0; }
.site-title-link {
	font-size: 22px;
	font-weight: 900;
	color: var(--dark);
	letter-spacing: -.02em;
	transition: color .2s;
}
.site-title-link:hover { color: var(--gold-dark); }
.site-description { margin: 0; font-size: 11px; color: var(--text-light); letter-spacing: var(--tracking-wide); }

/* ── Primary nav ──────────────────────────────────── */
.main-navigation { flex: 1; }

#primary-menu {
	display: flex;
	gap: 0;
	align-items: center;
	list-style: none;
	margin: 0; padding: 0;
}

#primary-menu > li {
	position: static; /* mega menu is full-width, so positioned on header */
}

#primary-menu > li > a.nav-link-top,
#primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 14px;
	height: 68px;
	font-weight: 600;
	font-size: 14px;
	color: var(--text-mid);
	border-bottom: 2px solid transparent;
	transition: color .2s, border-color .2s;
	white-space: nowrap;
}
#primary-menu > li > a.nav-link-top:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.is-open > a {
	color: var(--gold-dark);
	border-bottom-color: var(--gold);
}
.nav-arrow {
	font-size: 10px;
	transition: transform .2s ease;
	color: var(--text-light);
}
#primary-menu > li.is-open > a .nav-arrow { transform: rotate(180deg); }

/* ── Standard dropdown (no has-mega-menu class) ───── */
.sub-menu-panel {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 400;
}

/* Standard small dropdown */
#primary-menu > li.menu-item-has-children:not(.has-mega-menu) .sub-menu-panel {
	right: auto;
	min-width: 220px;
}
#primary-menu > li.menu-item-has-children:not(.has-mega-menu) .sub-menu-inner {
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 8px;
	min-width: 220px;
}
#primary-menu > li.menu-item-has-children:not(.has-mega-menu) .sub-menu-list {
	list-style: none; margin: 0; padding: 0;
}
#primary-menu > li.menu-item-has-children:not(.has-mega-menu) .sub-menu-list a {
	display: block;
	padding: 9px 14px;
	border-radius: var(--radius-sm);
	font-size: 13px;
	color: var(--text-mid);
	transition: background .15s, color .15s;
}
#primary-menu > li.menu-item-has-children:not(.has-mega-menu) .sub-menu-list a:hover {
	background: var(--gold-xlight);
	color: var(--gold-dark);
}

/* ── Mega menu panel ──────────────────────────────── */
#primary-menu > li.has-mega-menu .sub-menu-panel {
	right: 0;
	left: 0;
	width: 100%;
}
#primary-menu > li.has-mega-menu .sub-menu-inner {
	background: #fff;
	border-top: 2px solid var(--gold);
	border-bottom: 1px solid var(--border-light);
	box-shadow: var(--shadow-lg);
	padding: 32px 0;
}
#primary-menu > li.has-mega-menu .sub-menu-list {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 4px;
	list-style: none;
}
#primary-menu > li.has-mega-menu .sub-menu-list > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	transition: background .15s, color .15s;
}
#primary-menu > li.has-mega-menu .sub-menu-list > li > a:hover {
	background: var(--gold-xlight);
	color: var(--gold-dark);
}
/* Third level in mega */
#primary-menu > li.has-mega-menu .sub-sub-menu {
	padding: 4px 0 4px 14px;
	list-style: none;
}
#primary-menu > li.has-mega-menu .sub-sub-menu a {
	display: block;
	padding: 6px 10px;
	font-size: 13px;
	color: var(--text-mid);
	border-radius: var(--radius-sm);
	transition: color .15s;
}
#primary-menu > li.has-mega-menu .sub-sub-menu a:hover { color: var(--gold-dark); }

/* Open state (JS toggles .is-open) */
#primary-menu > li.is-open > .sub-menu-panel { display: block; }

/* ── Mega menu backdrop ───────────────────────────── */
.mega-menu-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	top: 68px;
	background: rgba(10,8,5,.45);
	z-index: 299;
	backdrop-filter: blur(2px);
}
.mega-menu-backdrop.is-visible { display: block; }

/* ── Mobile toggle ────────────────────────────────── */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--text);
	border-radius: 2px;
	position: relative;
	transition: transform .25s;
}
.menu-toggle-bars::before { content: ""; position: absolute; top: -6px; width: 22px; }
.menu-toggle-bars::after  { content: ""; position: absolute; top:  6px; width: 16px; }

/* ── Header actions row ───────────────────────────── */
.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}


/* Icon-only buttons: search + cart */
.header-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: var(--radius-sm);
	background: transparent;
	border: 1px solid var(--border-light);
	color: var(--text-mid);
	font-size: 16px;
	transition: border-color .2s, background .2s, color .2s;
}
.header-icon-btn:hover {
	border-color: var(--gold);
	color: var(--gold-dark);
	background: var(--gold-xlight);
}

/* Account CTA button — compact size for header */
.header-account-btn {
	padding: 8px 16px;
	font-size: 13px;
	height: 40px;
	gap: 6px;
}
.header-account-btn .bi { font-size: 15px; }

.cart-count {
	position: absolute;
	top: -5px; left: -5px;
	background: var(--gold);
	color: var(--dark);
	font-size: 10px;
	font-weight: 700;
	min-width: 17px; height: 17px;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
}

/* ── Header mini-cart dropdown ── */
.header-cart-wrap { position: relative; }
.header-cart-toggle { background: none; border: none; cursor: pointer; padding: 0; }

.header-mini-cart {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: 340px;
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	box-shadow: 0 16px 48px rgba(0,0,0,.12);
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity .2s ease, transform .2s ease;
}
.header-mini-cart.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.header-mini-cart__inner { max-height: 420px; overflow-y: auto; }

/* mini-cart item list */
.tillya-mini-cart-list { list-style: none; margin: 0; padding: 8px 0; }
.woocommerce-mini-cart-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border-light);
	position: relative;
}
.woocommerce-mini-cart-item:last-child { border-bottom: none; }

.remove_from_cart_button {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fef2f2;
	color: #dc2626;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	text-decoration: none;
	transition: all .15s;
	flex-shrink: 0;
}
.remove_from_cart_button:hover { background: #dc2626; color: #fff; }

.tillya-mini-cart-thumb {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--bg-warm);
	flex-shrink: 0;
	display: block;
}
.tillya-mini-cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tillya-mini-cart-info { flex: 1; min-width: 0; }
.tillya-mini-cart-name {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 4px;
}
.tillya-mini-cart-qty { font-size: 12px; color: var(--text-light); }
.tillya-mini-cart-qty .woocommerce-Price-amount { font-weight: 600; color: var(--text-mid); }

/* mini-cart footer */
.tillya-mini-cart-footer {
	border-top: 1px solid var(--border-light);
	padding: 14px 16px;
	background: var(--bg-warm);
}
.tillya-mini-cart-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-size: 14px;
}
.tillya-mini-cart-total span { color: var(--text-mid); }
.tillya-mini-cart-total strong { font-size: 16px; font-weight: 800; color: var(--gold-dark); }
.tillya-mini-cart-total .woocommerce-Price-amount { color: inherit; }

.tillya-mini-cart-btns { display: flex; flex-direction: column; gap: 8px; }
.tillya-mini-cart-btns a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	transition: all .2s;
}
.tillya-mini-cart-btns .wc-forward {
	background: var(--bg-warm);
	color: var(--text-mid);
	border: 1px solid var(--border);
}
.tillya-mini-cart-btns .wc-forward:hover { border-color: var(--gold); color: var(--gold-dark); }
.tillya-mini-cart-btns .checkout {
	background: var(--gold);
	color: var(--dark);
	border: none;
}
.tillya-mini-cart-btns .checkout:hover { background: var(--gold-dark); color: #fff; }

/* empty state */
.tillya-mini-cart-empty {
	padding: 32px 16px;
	text-align: center;
	color: var(--text-light);
}
.tillya-mini-cart-empty .bi { font-size: 36px; display: block; margin-bottom: 10px; }
.tillya-mini-cart-empty p { margin: 0; font-size: 13px; }

/* Search panel */
.header-search-panel {
	display: none;
	border-top: 1px solid var(--border-light);
	padding: 16px 0;
	background: #fff;
}
.header-search-panel.is-open { display: block; }

/* -----------------------------------------------------------------------
   Search form
   --------------------------------------------------------------------- */
.tillya-search-form {
	display: flex;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	max-width: 480px;
	margin: 0 auto;
}
.tillya-search-form .search-field {
	flex: 1;
	padding: 11px 16px;
	border: none;
	font-family: var(--font);
	font-size: 14px;
	background: var(--bg-warm);
}
.tillya-search-form .search-field:focus { outline: none; }
.tillya-search-form .search-submit {
	padding: 0 16px;
	border: none;
	background: var(--gold);
	color: var(--dark);
	font-size: 16px;
	transition: background .2s;
}
.tillya-search-form .search-submit:hover { background: var(--gold-dark); color: #fff; }

/* -----------------------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------------------- */
.tillya-breadcrumbs {
	font-size: 12px;
	color: var(--text-light);
	padding: 14px 24px;
	letter-spacing: var(--tracking-wide);
}
.tillya-breadcrumbs a { color: var(--text-light); }
.tillya-breadcrumbs a:hover { color: var(--gold-dark); }
.tillya-breadcrumbs .sep { margin: 0 8px; opacity: .5; }
.tillya-breadcrumbs .current { color: var(--text-mid); }

/* -----------------------------------------------------------------------
   Swiper shadow fix — for card-based sliders so box-shadows aren't clipped
   Apply .swiper-shadow-wrap on the outer wrapper element.
   --------------------------------------------------------------------- */
.swiper-shadow-wrap {
	/* Allows vertical shadows to bleed out; horizontal overflow stays in container */
	padding: 12px 2px 24px;
	margin-top: -12px;
}
.swiper-shadow-wrap .swiper {
	overflow: visible;
}

/* -----------------------------------------------------------------------
   Hero slider
   --------------------------------------------------------------------- */
.hero-slider .swiper { overflow: hidden; }
.hero-slide {
    position: relative;
    height: clamp(360px, 52vw, 90vh);
}
.hero-slide::after {
	content: "";
	position: absolute; inset: 0;
}
/* shadow سمت راست (جایی که متن هست) */
.hero-slide--right::after {
	background: linear-gradient(
		to left,
		rgba(0,0,0,.6) 0%,
		rgba(0,0,0,.25) 55%,
		transparent 100%
	);
}
/* shadow سمت چپ */
.hero-slide--left::after {
	background: linear-gradient(
		to right,
		rgba(0,0,0,.6) 0%,
		rgba(0,0,0,.25) 55%,
		transparent 100%
	);
}
/* center: overlay یکنواخت */
.hero-slide--center::after {
	background: rgba(0,0,0,.45);
}
.hero-slide-image { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-content {
	position: absolute; inset: 0;
	z-index: 1;
	display: flex; flex-direction: column; justify-content: center;
	padding: 0 64px;
	max-width: 640px;
	color: #fff;
}
.hero-slide-eyebrow {
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 12px;
}
.hero-slide-title { font-size: clamp(28px, 3.5vw, 50px); font-weight: 800; line-height: 1.25; }
.hero-slide-subtitle { font-size: 15px; opacity: .85; margin: 12px 0 28px; }
.hero-slider .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; width: 6px; height: 6px; }
.hero-slider .swiper-pagination-bullet-active { background: var(--gold); width: 22px; border-radius: 3px; }
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
	width: 40px; height: 40px; border-radius: 2px;
	background: rgba(255,255,255,.15);
	backdrop-filter: blur(4px);
	color: #fff;
	border: 1px solid rgba(255,255,255,.25);
	transition: background .2s;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover { background: rgba(201,168,76,.7); }
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after { font-size: 14px; font-weight: 800; }

/* Hero content positions */
.hero-slide--right  .hero-slide-content { margin-right: 0; margin-left: auto; align-items: flex-start; text-align: right; }
.hero-slide--left   .hero-slide-content { margin-right: auto; margin-left: 0; align-items: flex-start; text-align: right; padding-inline-start: 0; padding-inline-end: 64px; }
.hero-slide--center .hero-slide-content {
	margin: 0 auto;
	align-items: center;
	text-align: center;
	max-width: 720px;
	padding: 0 24px;
}
/* RTL corrections */
[dir="rtl"] .hero-slide--left .hero-slide-content  { padding-right: 0; padding-left: 64px; }
[dir="rtl"] .hero-slide--right .hero-slide-content { padding-left: 0; padding-right: 64px; }


/* -----------------------------------------------------------------------
   Product showcase — custom heading row + contained Swiper
   --------------------------------------------------------------------- */
.product-showcase-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.product-showcase-titles .section-title { margin-bottom: 0; }

.product-showcase-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	padding-bottom: 18px; /* align with section-title baseline */
}

@media (max-width: 768px) {
	.product-showcase-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.product-showcase-controls {
		width: 100%;
		justify-content: space-between;
		padding-bottom: 0;
	}
	.product-showcase-titles .section-title { font-size: 18px; margin-bottom: 4px; }
}

/* Small nav button pair — not the default Swiper buttons */
.swiper-nav-pair {
	display: flex;
	gap: 6px;
}
.swiper-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: #fff;
	color: var(--text-mid);
	font-size: 14px;
	transition: border-color .2s, color .2s, background .2s;
}
.swiper-nav-btn:hover {
	border-color: var(--gold);
	color: var(--gold-dark);
	background: var(--gold-xlight);
}
.swiper-nav-btn.swiper-button-disabled { opacity: .3; cursor: default; }

/* Slider: overflow:visible on .swiper so shadows show; .container clips horizontal overflow */
.product-showcase-section .container {
	overflow: hidden;
	/* Extra bottom space so card shadow at bottom isn't clipped */
	padding-bottom: 24px;
	margin-bottom: -24px;
}

.product-showcase-slider {
    padding-top: 8px;
    margin-top: -8px;
    overflow: hidden;
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
	display: none;
}
.product-showcase-slider .swiper {
    overflow: visible;
    padding: 0 0 28px;
}
.product-showcase-slider .swiper-wrapper { align-items: stretch; }
.product-showcase-slider .swiper-slide { height: auto; }

/* product-card inside slide: full height */
.product-showcase-slider .swiper-slide { display: flex; flex-direction: column; }
.product-showcase-slider .swiper-slide > .product-card { flex: 1; }

/* Testimonials & video gallery shadow fix */
.testimonials-slider,
.video-gallery-slider {
	padding: 8px 0 20px;
	margin-top: -8px;
}
.testimonials-slider .swiper,
.video-gallery-slider .swiper {
	overflow: visible;
}
.testimonials-section,
.video-gallery-section {
	overflow: hidden;
}
.testimonials-section .container,
.video-gallery-section .container {
	overflow: visible;
}

/* -----------------------------------------------------------------------
   Category slider
   --------------------------------------------------------------------- */
.category-grid-section .container { overflow: hidden; padding-bottom: 24px; margin-bottom: -24px; }
.category-grid-section .swiper { overflow: visible; }

.category-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-light);
	overflow: hidden;
	background: #fff;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
	color: inherit;
}
.category-card:hover {
	box-shadow: 0 8px 28px rgba(201,168,76,.18);
	transform: translateY(-4px);
	border-color: var(--gold-light);
	color: inherit;
}
.category-card-image {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--bg-warm);
}
.category-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.category-card:hover .category-card-image img { transform: scale(1.08); }
.category-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 4px;
    padding: 8px;
}
.category-card-info img {
    max-height: 140px;
    width: 100%;
    object-fit: contain;
}
.category-card-name { font-weight: 700; font-size: 12px; color: var(--dark); text-align: center; }
.category-card-count { font-size: 11px; color: var(--text-light); }

/* -----------------------------------------------------------------------
   Promo banners
   --------------------------------------------------------------------- */
/* -----------------------------------------------------------------------
   Promo banners
   --------------------------------------------------------------------- */
.promo-banner {
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-light);
	text-decoration: none;
	color: inherit;
	background: var(--bg-warm);
	display: block;
}
.promo-banner-img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .5s ease;
}
/* بنر تمام‌عرض نسبت بلندتری دارد */
.promo-banner--wide .promo-banner-img { aspect-ratio: 21 / 7; }

.promo-banner:hover .promo-banner-img { transform: scale(1.03); }
.promo-banner-caption {
	position: absolute;
	inset: auto 0 0;
	padding: 20px 20px 16px;
	background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.promo-banner-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.promo-banner-text {
	display: block;
	font-size: 13px;
	color: rgba(255,255,255,.8);
}

/* -----------------------------------------------------------------------
   Product cards
   --------------------------------------------------------------------- */
.product-card {
	border-radius: var(--radius-lg) !important;
	border: 1px solid var(--border-light) !important;
	overflow: hidden;
	transition: box-shadow .3s ease, transform .3s ease !important;
	background: #fff;
}
.product-card:hover {
	box-shadow: var(--shadow-lg) !important;
	transform: translateY(-4px) !important;
}
.product-card-image img { object-fit: cover; }
.product-card-body { padding: 16px; }
.product-card-name { font-weight: 700; font-size: 14px; line-height: 1.5; }
.product-card-price .price { font-weight: 800; color: var(--gold-dark); font-size: 15px; }
.product-card-price del { font-weight: 400; color: var(--text-light); font-size: 13px; }
.product-card-price ins { text-decoration: none; }

.product-card-actions a.button,
.product-card-actions .added_to_cart {
	display: block; text-align: center;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	background: var(--bg-warm);
	border: 1px solid var(--border);
	font-weight: 700; font-size: 13px;
	letter-spacing: var(--tracking-wide);
	transition: all .2s ease;
	color: var(--text-mid);
}
.product-card-actions a.button:hover {
	background: var(--gold);
	color: var(--dark);
	border-color: var(--gold);
}

/* -----------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.tillya-faq { max-width: 860px; margin: 0 auto; }
.faq-accordion .accordion-item {
	border-color: var(--border-light) !important;
	border-radius: var(--radius) !important;
	margin-bottom: 8px;
	overflow: hidden;
}
.faq-accordion .accordion-button {
	font-weight: 700;
	font-size: 15px;
	color: var(--text);
	background: var(--bg-warm);
}
.faq-accordion .accordion-button:not(.collapsed) {
	color: var(--gold-dark);
	background: var(--gold-xlight);
	box-shadow: none;
}
.faq-accordion .accordion-button:focus {
	box-shadow: 0 0 0 2px rgba(201,168,76,.2);
}
.faq-category-nav .nav-link {
	font-weight: 600;
	font-size: 13px;
	color: var(--text-mid);
	border-radius: var(--radius-sm);
	padding: 8px 16px;
	border: 1px solid var(--border);
	transition: all .2s;
}
.faq-category-nav .nav-link:hover { color: var(--gold-dark); border-color: var(--gold); background: var(--gold-xlight); }
.faq-category-nav .nav-link.active {
	color: var(--dark);
	background: var(--gold);
	border-color: var(--gold);
	box-shadow: var(--shadow-gold);
}

/* -----------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------- */
.contact-info-item {
	border-radius: var(--radius) !important;
	transition: transform .25s ease, box-shadow .25s ease !important;
}
.contact-info-item:hover {
	transform: translateY(-3px) !important;
	box-shadow: var(--shadow) !important;
}
.contact-info-icon {
	width: 44px; height: 44px;
	background: var(--gold-xlight);
	color: var(--gold-dark);
	border-radius: var(--radius-sm) !important;
	font-size: 18px;
}
.contact-section .form-control {
	border-color: var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font);
	padding: 12px 14px;
}
.contact-section .form-control:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.contact-section .btn-warning {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--dark);
	font-weight: 700;
	border-radius: var(--radius-sm);
}
.contact-section .btn-warning:hover {
	background: var(--gold-dark);
	border-color: var(--gold-dark);
	color: #fff;
}

/* -----------------------------------------------------------------------
   Process steps & Team
   --------------------------------------------------------------------- */
.process-step-marker {
	width: 52px; height: 52px;
	border-radius: var(--radius-sm) !important;
	box-shadow: var(--shadow-gold);
	transition: transform .3s ease, box-shadow .3s ease;
}
.process-steps-list > li:hover .process-step-marker {
	transform: scale(1.06) rotate(-3deg);
	box-shadow: 0 16px 40px -8px rgba(168,135,45,.5);
}
.process-step-number {
	font-size: 20px;
	font-weight: 900;
	color: var(--gold-dark);
}

.team-member-card {
	border-radius: var(--radius-lg) !important;
	border-color: var(--border-light) !important;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease !important;
}
.team-member-card:hover {
	transform: translateY(-6px) !important;
	box-shadow: var(--shadow-lg) !important;
}
.team-member-photo img { transition: transform .5s ease; }
.team-member-card:hover .team-member-photo img { transform: scale(1.06); }
.team-member-role.text-bg-warning-subtle {
	background-color: var(--gold-xlight) !important;
	color: var(--gold-dark) !important;
	border-radius: var(--radius-sm) !important;
	font-size: 12px !important;
	letter-spacing: var(--tracking-wide);
}

/* -----------------------------------------------------------------------
   Trust Building — luxury dark full-width section
   --------------------------------------------------------------------- */
.trust-building-section {
	background: linear-gradient(160deg, #1a1508 0%, #0d0b06 100%);
	position: relative;
	overflow: hidden;
	margin-top: 0;
	/* Gold shimmer line at bottom — creates visual break before dark footer */
	border-bottom: 1px solid rgba(201,168,76,.22);
}

/* Subtle gold texture overlay */
.trust-building-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,.09) 0%, transparent 70%),
		radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,.05) 0%, transparent 60%);
	pointer-events: none;
}

.trust-building-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 80px 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
	position: relative;
}

/* Text column */
.trust-building-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 20px;
}
.trust-building-eyebrow .bi { font-size: 14px; }

.trust-building-title {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	color: #fff;
	line-height: 1.3;
	margin-bottom: 16px;
}

.trust-building-desc {
	font-size: 15px;
	color: rgba(245,237,212,.6);
	line-height: 1.9;
	margin-bottom: 40px;
}

/* Stats row */
.trust-building-stats {
	display: flex;
	align-items: center;
	gap: 28px;
}
.trust-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.trust-stat-num {
	font-size: 28px;
	font-weight: 900;
	color: var(--gold);
	line-height: 1;
	letter-spacing: -.01em;
}
.trust-stat-label {
	font-size: 12px;
	color: rgba(245,237,212,.5);
	letter-spacing: var(--tracking-wide);
}
.trust-stat-divider {
	width: 1px;
	height: 40px;
	background: rgba(201,168,76,.2);
	flex-shrink: 0;
}

/* Badges grid */
.trust-building-badges-col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.trust-building-badge-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 32px 16px;
	border: 1px solid rgba(201,168,76,.15);
	border-radius: var(--radius-lg);
	background: rgba(255,255,255,.03);
	text-align: center;
	transition: border-color .3s ease, background .3s ease, transform .3s ease;
	cursor: default;
}
.trust-building-badge-item:hover {
	border-color: rgba(201,168,76,.4);
	background: rgba(201,168,76,.07);
	transform: translateY(-3px);
}
.trust-building-badge-icon {
	width: 72px; height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md);
	background: rgba(201,168,76,.1);
	color: var(--gold);
	font-size: 28px;
	transition: background .3s, color .3s;
}
.trust-building-badge-item:hover .trust-building-badge-icon {
	background: var(--gold);
	color: var(--dark);
}
.trust-building-badge-icon img {
	width: 44px; height: 44px;
	object-fit: contain;
	filter: brightness(0) saturate(100%) invert(74%) sepia(30%) saturate(600%) hue-rotate(5deg);
}
.trust-building-badge-item:hover .trust-building-badge-icon img {
	filter: brightness(0);
}
.trust-building-badge-label {
	font-size: 13px;
	color: rgba(245,237,212,.7);
	line-height: 1.6;
	font-weight: 600;
}

@media (max-width: 960px) {
	.trust-building-inner {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 64px 24px;
	}
	.trust-building-badges-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.trust-building-stats { gap: 16px; }
	.trust-stat-num { font-size: 22px; }
}

/* -----------------------------------------------------------------------
   Trust features
   --------------------------------------------------------------------- */
.trust-feature-item {
	border-radius: var(--radius-lg) !important;
	border-color: var(--border-light) !important;
	transition: transform .3s ease, box-shadow .3s ease !important;
}
.trust-feature-item:hover {
	transform: translateY(-6px) !important;
	box-shadow: var(--shadow-lg) !important;
}
.trust-feature-icon {
	border-radius: var(--radius-sm) !important;
	transition: background .3s ease, color .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.trust-feature-item:hover .trust-feature-icon {
	transform: scale(1.12) !important;
	background: var(--gold) !important;
	color: var(--dark) !important;
}

/* -----------------------------------------------------------------------
   Blog cards
   --------------------------------------------------------------------- */
/* ════════════════════════════════════════════════════════════════
   BLOG — Archive & Single
   ════════════════════════════════════════════════════════════════ */

/* ── Page layout ── */
.blog-archive-grid {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 40px;
	align-items: start;
	padding-block: 48px;
}
.archive-header { margin-bottom: 32px; }
.archive-title,
.page-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.archive-description { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── Blog slider ── */
.blog-section .container { overflow: hidden; padding-bottom: 24px; margin-bottom: -24px; }
.blog-slider { padding-top: 4px; margin-top: -4px; }
.blog-slider .swiper { overflow: visible; }
.blog-slider .swiper-wrapper { align-items: stretch; }
.blog-slider .swiper-slide { height: auto; }

/* ── Blog card ── */
.blog-card {
	background: #fff;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-light);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.blog-card:hover {
	box-shadow: 0 12px 40px rgba(0,0,0,.1);
	transform: translateY(-4px);
	border-color: rgba(201,168,76, .35);
}

/* thumbnail */
.blog-card-thumb {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bg-warm);
}
.blog-card-thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
	display: block;
}
.blog-card:hover .blog-card-thumb__img { transform: scale(1.05); }

/* placeholder when no featured image */
.blog-card-thumb__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #f8f4ec 0%, #f0e8d4 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.blog-card-thumb__placeholder::before {
	content: "\F3D5";
	font-family: "bootstrap-icons";
	font-size: 36px;
	color: var(--gold);
	opacity: .45;
}

.blog-card-category {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--gold);
	color: var(--dark);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	letter-spacing: .04em;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* card body */
.blog-card-body {
	padding: 22px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--text-light);
}
.blog-card-dot { opacity: .4; }
.blog-card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
}
.blog-card-title a {
	color: var(--text);
	text-decoration: none;
	transition: color .2s;
}
.blog-card-title a:hover { color: var(--gold-dark); }
.blog-card-excerpt {
	font-size: 13px;
	color: var(--text-mid);
	line-height: 1.75;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}
.blog-card-readmore {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gold-dark);
	text-decoration: none;
	transition: gap .2s, color .2s;
	border-top: 1px solid var(--border-light);
	padding-top: 14px;
}
.blog-card-readmore:hover { gap: 9px; color: var(--gold); }

/* ── Sidebar ── */
.blog-archive-sidebar { position: sticky; top: 100px; }
.blog-archive-sidebar .widget {
	background: var(--bg-warm);
	border-radius: var(--radius-lg);
	padding: 20px;
	margin-bottom: 20px;
	border: 1px solid var(--border-light);
}
.widget-title { font-size: 14px; font-weight: 700; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.recent-post-link { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; text-decoration: none; color: inherit; }
.recent-post-link:last-child { margin-bottom: 0; }
.recent-post-thumb { width: 54px; height: 54px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-title { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; }
.recent-post-date { font-size: 11px; color: var(--text-light); display: block; margin-top: 3px; }
.widget-categories ul { list-style: none; margin: 0; padding: 0; }
.widget-categories ul li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--border-light);
	font-size: 13px;
}
.widget-categories ul li:last-child { border-bottom: none; }
.widget-categories ul li a { color: var(--text-mid); text-decoration: none; transition: color .2s; }
.widget-categories ul li a:hover { color: var(--gold-dark); }

/* ════════════════════════════════════════════════════════════════
   SINGLE POST
   ════════════════════════════════════════════════════════════════ */
.blog-archive-content { min-width: 0; }

/* ── Blog archive header banner ── */
.blog-archive-banner {
	background: linear-gradient(135deg, var(--dark) 0%, #2a2218 100%);
	padding: 52px 0;
	margin-bottom: 0;
	text-align: center;
}
.blog-archive-banner .archive-title {
	color: #fff;
	font-size: 32px;
	margin: 0 0 10px;
}
.blog-archive-banner .archive-description {
	color: rgba(255,255,255,.65);
	font-size: 15px;
	max-width: 520px;
	margin: 0 auto;
}
.blog-archive-banner .tillya-breadcrumbs { justify-content: center; margin-bottom: 16px; }
.blog-archive-banner .tillya-breadcrumbs,
.blog-archive-banner .tillya-breadcrumbs a,
.blog-archive-banner .tillya-breadcrumbs span { color: rgba(255,255,255,.55); }
.blog-archive-banner .tillya-breadcrumbs .separator { color: rgba(255,255,255,.3); }

/* ── Blog cards grid ── */
.blog-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	margin-bottom: 40px;
}

.single-post-thumb {
	border-radius: var(--radius-xl);
	overflow: hidden;
	margin-bottom: 32px;
}
.single-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    aspect-ratio: 16/9;
    object-fit: cover;
}
.single-post-category {
	display: inline-block;
	background: var(--gold-xlight);
	color: var(--gold-dark);
	border-radius: var(--radius-sm);
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	text-decoration: none;
	margin-bottom: 14px;
}
.single-post-category:hover { background: var(--gold); color: var(--dark); }

.single-post-header { margin-bottom: 32px; }
.single-post-title { font-size: 30px; font-weight: 800; line-height: 1.4; margin: 0 0 14px; }
.single-post-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 12px;
	color: var(--text-light);
	padding: 12px 16px;
	background: var(--bg-warm);
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-light);
}
.single-post-dot { opacity: .4; }

.single-post-content {
	font-size: 15px;
	line-height: 2;
	color: var(--text);
}
.single-post-content p { margin-bottom: 1.2em; }
.single-post-content img { border-radius: var(--radius-lg); margin: 1.4em 0; max-width: 100%; height: auto; }
.single-post-content h2 { font-size: 20px; font-weight: 800; margin: 2em 0 .6em; }
.single-post-content h3 { font-size: 17px; font-weight: 700; margin: 1.6em 0 .5em; }
.single-post-content ul, .single-post-content ol { padding-right: 24px; margin-bottom: 1.2em; }
.single-post-content blockquote {
	border-right: 4px solid var(--gold);
	background: var(--bg-warm);
	padding: 14px 18px;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	margin: 1.4em 0;
	font-style: italic;
	color: var(--text-mid);
}

.single-post-footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--border-light);
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 16px;
}
.single-post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag {
	background: var(--bg-warm);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 5px 14px;
	font-size: 12px;
	color: var(--text-mid);
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.post-tag:hover { border-color: var(--gold); color: var(--gold-dark); }

.single-post-share { display: flex; gap: 8px; align-items: center; }
.share-label { font-size: 12px; color: var(--text-light); }
.share-link {
	padding: 6px 14px;
	border-radius: var(--radius-sm);
	background: var(--bg-warm);
	border: 1px solid var(--border);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	color: var(--text-mid);
	transition: background .2s, color .2s;
}
.share-link.share-telegram:hover { background: #0088cc; color: #fff; border-color: #0088cc; }
.share-link.share-whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }

.related-posts-section { margin-top: 56px; }
.related-posts-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--gold-xlight);
}
.related-posts-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}
.related-posts-slider .swiper { overflow: visible; }
.related-posts-slider { overflow: hidden; }
.related-posts-slider .blog-card { height: 100%; }

/* -----------------------------------------------------------------------
   Pagination & comments
   --------------------------------------------------------------------- */
.tillya-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.tillya-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px;
	border-radius: var(--radius-sm);
	background: var(--bg-warm);
	border: 1px solid var(--border-light);
	font-weight: 600; font-size: 13px;
	color: var(--text-mid);
	transition: border-color .2s, color .2s, background .2s;
}
.tillya-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-xlight); }
.tillya-pagination .page-numbers.current { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.comments-area { margin-top: 48px; }
.comment-list { padding: 0; }
.comment-list .comment-body {
	background: var(--bg-warm);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-light);
	padding: 20px;
	margin-bottom: 14px;
}
.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	margin-bottom: 12px;
	font-size: 14px;
	transition: border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}

/* -----------------------------------------------------------------------
   WooCommerce shop archive
   --------------------------------------------------------------------- */
.tillya-shop-wrap { padding-block: 40px; }
.tillya-shop-grid {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 32px;
	align-items: start;
}
.tillya-shop-sidebar .widget {
	background: var(--bg-warm);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-light);
	padding: 20px;
	margin-bottom: 16px;
}
.woocommerce-result-count { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.woocommerce-ordering { margin-bottom: 20px; }

/* -----------------------------------------------------------------------
   Single product
   --------------------------------------------------------------------- */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 24px;
    align-items: center;
}

.product_meta {
    display: flex;
    flex-direction: column;
}

/* Gallery column */
.woocommerce div.product .woocommerce-product-gallery {
    position: static !important;
    width: 100% !important;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--bg-warm);
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    width: 100% !important;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	width: 100% !important;
	margin: 0 !important;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image {
	width: 100% !important;
	float: none !important;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	display: block;
}

/* Thumbnails strip */
.woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-direction: row;
	gap: 8px;
	padding: 10px;
	background: #fff;
	margin: 0;
	list-style: none;
}
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 auto; }
.woocommerce-product-gallery .flex-control-thumbs img {
	width: 64px; height: 64px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color .2s;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--gold); }

/* Zoom icon */
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 10;
	width: 36px; height: 36px;
	background: rgba(255,255,255,.9);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-sm);
	transition: background .2s;
}
.woocommerce-product-gallery__trigger:hover { background: #fff; }
.woocommerce-product-gallery__trigger img { width: 18px; height: 18px; }
.product_title { font-size: 24px; font-weight: 800; line-height: 1.3; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--gold-dark);
	font-size: 22px;
	font-weight: 800;
}
.product-gold-info {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin: 20px 0; padding: 0;
}
.product-gold-info li {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--bg-warm);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	padding: 8px 14px; font-size: 12px;
	letter-spacing: var(--tracking-wide);
	color: var(--text-mid);
}
.product-gold-info .has-certificate a { color: var(--gold-dark); font-weight: 700; }

.woocommerce div.product form.cart {
	display: flex; gap: 12px; align-items: center; margin-top: 24px;
}
.woocommerce div.product .single_add_to_cart_button {
	background: var(--gold);
	color: var(--dark);
	border-radius: var(--radius-sm) !important;
	padding: 14px 36px;
	font-weight: 800;
	font-size: 15px;
	border: none;
	letter-spacing: var(--tracking-wide);
	transition: background .2s, box-shadow .2s, transform .2s;
}
.woocommerce div.product .single_add_to_cart_button:hover {
	background: var(--gold-dark);
	color: #fff;
	box-shadow: var(--shadow-gold);
	transform: translateY(-1px);
}

.related.products { margin-top: 64px; }
.related.products > h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; }

/* description + related span both grid columns on the single-product grid */
.woocommerce div.product .tillya-product-description,
.woocommerce div.product section.related.products,
.woocommerce div.product #reviews,
.woocommerce div.product .up-sells {
	grid-column: 1 / -1;
}

/* Inline attributes table (inside summary column) */
.tillya-product-attrs {
	margin: 20px 0;
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	overflow: hidden;
}
.tillya-attrs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.tillya-attrs-table tr:nth-child(even) { background: var(--bg-warm); }
.tillya-attrs-table th,
.tillya-attrs-table td {
	padding: 10px 14px;
	vertical-align: middle;
}
.tillya-attrs-table th {
	width: 38%;
	color: var(--text-light);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	border-left: 1px solid var(--border-light);
	white-space: nowrap;
}
.tillya-attrs-table td { color: var(--text); font-weight: 500; }

/* Reviews section — full-width below description */
.tillya-product-reviews {
	grid-column: 1 / -1;
	margin-top: 40px;
}
.tillya-product-reviews #reviews { margin: 0; }
.tillya-product-reviews #reviews h2 {
	font-size: 18px; font-weight: 800;
	padding-bottom: 16px; margin-bottom: 28px;
	border-bottom: 1px solid var(--border-light);
	position: relative;
}
.tillya-product-reviews #reviews h2::after {
	content: ""; position: absolute; right: 0; bottom: -1px;
	width: 32px; height: 2px;
	background: var(--gold); border-radius: 2px;
}

/* Comment list */
.tillya-product-reviews .commentlist { list-style: none; margin: 0 0 32px; padding: 0; }
.tillya-product-reviews .commentlist li.review {
	display: flex; gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border-light);
}
.tillya-product-reviews .commentlist li.review:last-child { border-bottom: none; }
.tillya-product-reviews .commentlist .avatar {
	width: 44px; height: 44px;
	border-radius: 50%; flex-shrink: 0;
	object-fit: cover;
	border: 2px solid var(--border-light);
}
.tillya-product-reviews .comment-text { flex: 1; min-width: 0; }
.tillya-product-reviews .woocommerce-review__author {
	font-weight: 700; font-size: 14px; color: var(--text);
}
.tillya-product-reviews .woocommerce-review__dash { margin: 0 6px; color: var(--border); }
.tillya-product-reviews .woocommerce-review__published-date {
	font-size: 12px; color: var(--text-light);
}
.tillya-product-reviews .woocommerce-review__verified {
	font-size: 11px; color: #2a7c4f;
	background: #f0faf4; border-radius: 20px;
	padding: 2px 8px; margin-right: 8px;
}
.tillya-product-reviews .description p { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin: 6px 0 0; }

/* No reviews text */
.tillya-product-reviews .woocommerce-noreviews {
	color: var(--text-light); font-size: 14px; padding: 12px 0;
}

/* Review form */
.tillya-product-reviews #review_form_wrapper { margin-top: 32px; }
.tillya-product-reviews #review_form h3 {
	font-size: 16px; font-weight: 700; margin-bottom: 20px;
}
.tillya-product-reviews .comment-form-rating { margin-bottom: 16px; }
.tillya-product-reviews .comment-form-rating label {
	font-size: 13px; font-weight: 600; color: var(--text-mid);
	display: block; margin-bottom: 8px;
}
.tillya-product-reviews .stars a {
	font-size: 22px; color: var(--border);
	transition: color .15s; cursor: pointer;
	text-decoration: none;
}
.tillya-product-reviews .stars a:hover,
.tillya-product-reviews .stars a.active,
.tillya-product-reviews .stars.selected a { color: var(--gold); }
.tillya-product-reviews .comment-form p label {
	display: block; font-size: 13px; font-weight: 600;
	color: var(--text-mid); margin-bottom: 6px;
}
.tillya-product-reviews .comment-form input[type="text"],
.tillya-product-reviews .comment-form input[type="email"],
.tillya-product-reviews .comment-form textarea {
	width: 100%; padding: 11px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font); font-size: 14px; color: var(--text);
	background: #fff; resize: vertical;
	transition: border-color .2s, box-shadow .2s;
}
.tillya-product-reviews .comment-form input:focus,
.tillya-product-reviews .comment-form textarea:focus {
	outline: none; border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.tillya-product-reviews .comment-form-comment { margin-bottom: 16px; }
.tillya-product-reviews .form-submit .submit {
	padding: 12px 32px;
	background: var(--gold); color: var(--dark);
	border: none; border-radius: var(--radius-sm);
	font-family: var(--font); font-size: 14px; font-weight: 700;
	letter-spacing: var(--tracking-wide);
	cursor: pointer; transition: background .2s, box-shadow .2s;
}
.tillya-product-reviews .form-submit .submit:hover {
	background: var(--gold-dark); color: #fff; box-shadow: var(--shadow-gold);
}

/* Product description full-width section */
.tillya-product-description {
	margin-top: 48px;
	padding: 36px 40px;
	background: var(--bg-warm);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
}
.tillya-product-description__title {
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border-light);
	position: relative;
}
.tillya-product-description__title::after {
	content: "";
	position: absolute; right: 0; bottom: -1px;
	width: 32px; height: 2px;
	background: var(--gold); border-radius: 2px;
}
.tillya-product-description__body {
	font-size: 15px; line-height: 1.9; color: var(--text-mid);
}
.tillya-product-description__body p { margin-bottom: .8em; }
.tillya-product-description__body ul,
.tillya-product-description__body ol {
	padding-right: 20px; margin-bottom: .8em;
}

/* Related products Swiper slider */
.tillya-related-slider-section { margin-top: 64px; }
.tillya-related-swiper-clip {
	position: relative;
	overflow: hidden;
	padding: 4px 0 24px; /* bottom padding lets card box-shadow show */
	margin: 0 -4px;
}
.tillya-related-swiper-clip .tillya-related-swiper { overflow: visible; }
.tillya-related-swiper .swiper-slide { height: auto; padding: 0 4px; }
.tillya-related-swiper .product-card { height: 100%; }

.tillya-swiper-next, .tillya-swiper-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    top: 44%;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.tillya-swiper-next { right: -4px; }
.tillya-swiper-prev { left: -4px; }
.tillya-swiper-next:hover,
.tillya-swiper-prev:hover {
	background: var(--gold); border-color: var(--gold);
	box-shadow: var(--shadow-gold);
}
.tillya-swiper-next::after,
.tillya-swiper-prev::after { font-size: 13px; color: var(--text); }
.tillya-swiper-next:hover::after,
.tillya-swiper-prev:hover::after { color: var(--dark); }

/* -----------------------------------------------------------------------
   Archive banner (category pages with thumbnail)
   --------------------------------------------------------------------- */
.tillya-archive-banner {
	position: relative;
	height: clamp(200px, 30vw, 320px);
	overflow: hidden;
	background: var(--dark);
}
.tillya-archive-banner__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover;
	opacity: .4;
}
.tillya-archive-banner__placeholder {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, var(--dark) 0%, #2c2518 100%);
}
.tillya-archive-banner__overlay {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-bottom: 36px;
	background: linear-gradient(to top, rgba(20,17,13,.75) 0%, transparent 60%);
}
.tillya-archive-banner__overlay .tillya-breadcrumbs {
	color: rgba(245,237,212,.55);
}
.tillya-archive-banner__overlay .tillya-breadcrumbs a {
	color: rgba(245,237,212,.55);
}
.tillya-archive-banner__title {
	font-size: clamp(20px, 3vw, 34px);
	font-weight: 900;
	color: #fff;
	margin: 4px 0 0;
}
.tillya-archive-banner__desc {
	color: rgba(245,237,212,.65);
	font-size: 14px;
	margin: 6px 0 0;
	max-width: 620px;
	line-height: 1.7;
}

/* Archive header (shop page without category image) */
.tillya-archive-header {
	background: var(--bg-warm);
	border-bottom: 1px solid var(--border-light);
	padding: 18px 0;
}
.tillya-archive-header__title {
	font-size: 20px;
	font-weight: 800;
	margin: 4px 0 0;
}

/* Single product breadcrumb wrap */
.tillya-single-product-wrap { padding-block: 24px 64px; }
.tillya-single-product-wrap > .tillya-breadcrumbs { padding-right: 0; }

/* Generic WooCommerce page (cart/checkout/account) */
.tillya-wc-generic-wrap { padding-block: 32px 64px; }
.tillya-wc-content { max-width: 860px; margin: 0 auto; }
.woocommerce-account .tillya-wc-generic-wrap { max-width: 100%; padding-block: 0; }
.woocommerce-account .woocommerce { width: 100%; }

/* ════════════════════════════════════════════════════════════════
   CART
   ════════════════════════════════════════════════════════════════ */
.tillya-cart-wrap { padding-block: 8px 64px; }

/* ── Empty cart ── */
.tillya-cart-empty {
	text-align: center;
	padding: 80px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.tillya-cart-empty .bi {
	font-size: 64px;
	color: var(--border);
}
.tillya-cart-empty h2 { font-size: 22px; font-weight: 700; margin: 0; }
.tillya-cart-empty p { color: var(--text-light); margin: 0; }

/* ── Two-column layout ── */
.tillya-cart-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
}

/* ── Items panel ── */
.tillya-cart-items {
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	overflow: hidden;
}
.tillya-cart-items__header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--border-light);
	background: var(--bg-warm);
}
.tillya-cart-items__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.tillya-cart-items__title .bi { color: var(--gold-dark); font-size: 18px; }
.tillya-cart-items__count {
	font-size: 12px;
	font-weight: 600;
	background: var(--gold-xlight);
	color: var(--gold-dark);
	padding: 2px 10px;
	border-radius: 20px;
	border: 1px solid var(--gold-light);
	margin-right: auto;
}

/* ── Cart item rows ── */
.tillya-cart-list { padding: 0 24px; }

.tillya-cart-item {
	display: grid;
	grid-template-columns: 80px 1fr auto auto auto;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border-light);
}
.tillya-cart-item:last-child { border-bottom: none; }

/* thumbnail */
.tillya-cart-item__thumb {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--bg-warm);
	flex-shrink: 0;
}
.tillya-cart-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.tillya-cart-item__thumb:hover img { transform: scale(1.05); }

/* info */
.tillya-cart-item__info { min-width: 0; }
.tillya-cart-item__name {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--text);
	text-decoration: none;
	margin-bottom: 6px;
	transition: color .2s;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tillya-cart-item__name:hover { color: var(--gold-dark); }
.tillya-cart-item__price-unit {
	font-size: 13px;
	color: var(--text-light);
}
.tillya-cart-item__price-unit .woocommerce-Price-amount { font-weight: 600; color: var(--text-mid); }

/* quantity */
.tillya-cart-item__qty .quantity { display: flex; align-items: center; }
.tillya-cart-item__qty .qty {
	width: 56px;
	text-align: center;
	padding: 8px 6px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	background: #fff;
	-moz-appearance: textfield;
	appearance: textfield;
}
.tillya-cart-item__qty .qty::-webkit-outer-spin-button,
.tillya-cart-item__qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.tillya-cart-item__qty .qty:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.1); }

/* subtotal */
.tillya-cart-item__subtotal {
	font-size: 15px;
	font-weight: 800;
	color: var(--gold-dark);
	white-space: nowrap;
	text-align: left;
}

/* remove */
.tillya-cart-remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	font-size: 15px;
	transition: all .2s;
	text-decoration: none;
}
.tillya-cart-remove:hover { background: #dc2626; color: #fff; border-color: #dc2626; }

/* ── Cart actions row ── */
.tillya-cart-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	background: var(--bg-warm);
	border-top: 1px solid var(--border-light);
	flex-wrap: wrap;
}

.tillya-coupon {
	display: flex;
	align-items: center;
	gap: 0;
	flex: 1;
	min-width: 220px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: #fff;
}
.tillya-coupon .bi {
	padding: 0 12px;
	font-size: 16px;
	color: var(--text-light);
	flex-shrink: 0;
}
.tillya-coupon input {
	flex: 1;
	border: none;
	padding: 10px 0;
	font-family: inherit;
	font-size: 13px;
	color: var(--text);
	background: transparent;
	outline: none;
	min-width: 0;
}
.tillya-coupon__btn {
	padding: 10px 18px;
	background: var(--gold-xlight);
	color: var(--gold-dark);
	border: none;
	border-right: 1px solid var(--border);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
	white-space: nowrap;
}
.tillya-coupon__btn:hover { background: var(--gold); color: var(--dark); }

.tillya-cart-update {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-mid);
	cursor: pointer;
	transition: all .2s;
	white-space: nowrap;
}
.tillya-cart-update:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-xlight); }

/* ── Totals sidebar ── */
.tillya-cart-totals {
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	overflow: hidden;
	position: sticky;
	top: 100px;
}
.tillya-cart-totals__header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 20px 24px;
	background: var(--bg-warm);
	border-bottom: 1px solid var(--border-light);
}
.tillya-cart-totals__header .bi { font-size: 18px; color: var(--gold-dark); }
.tillya-cart-totals__header h3 { font-size: 15px; font-weight: 700; margin: 0; }

.tillya-cart-totals__rows { padding: 0 24px; }

.tillya-totals-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid var(--border-light);
	font-size: 14px;
	gap: 12px;
}
.tillya-totals-row:last-child { border-bottom: none; }
.tillya-totals-row > span:first-child { color: var(--text-mid); }
.tillya-totals-row > span:last-child { font-weight: 600; text-align: left; }

.tillya-totals-row--discount > span:first-child { color: #16a34a; }
.tillya-totals-discount { color: #16a34a; }

.tillya-totals-row--total {
	padding: 18px 0 14px;
	font-size: 15px;
}
.tillya-totals-row--total > span:first-child { font-weight: 700; color: var(--text); }
.tillya-totals-total { font-size: 20px; font-weight: 800; color: var(--gold-dark); }
.tillya-totals-total .woocommerce-Price-amount { color: inherit; }

/* checkout button */
.tillya-cart-checkout { padding: 20px 24px 0; }
.tillya-cart-checkout .checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	padding: 14px 20px !important;
	background: var(--gold) !important;
	color: var(--dark) !important;
	border: none !important;
	border-radius: var(--radius-sm) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	transition: all .2s !important;
	letter-spacing: .03em;
}
.tillya-cart-checkout .checkout-button:hover {
	background: var(--gold-dark) !important;
	color: #fff !important;
}

/* ادامه خرید */
.tillya-cart-continue {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 24px 20px;
	font-size: 13px;
	color: var(--text-light);
	text-decoration: none;
	transition: color .2s;
}
.tillya-cart-continue:hover { color: var(--gold-dark); }

/* ── Shipping table inside totals ── */
.tillya-cart-totals .woocommerce-shipping-destination,
.tillya-cart-totals .woocommerce-shipping-totals td { font-size: 13px; }

/* ── Cart responsive ── */
@media (max-width: 900px) {
	.tillya-cart-layout { grid-template-columns: 1fr; }
	.tillya-cart-totals { position: static; }
}
@media (max-width: 640px) {
	.tillya-cart-item { grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; }
	.tillya-cart-item__thumb { width: 64px; height: 64px; }
	.tillya-cart-item__qty { grid-column: 2; }
	.tillya-cart-item__subtotal { grid-column: 2; }
	.tillya-cart-item__remove { grid-column: 3; grid-row: 1; }
	.tillya-cart-list { padding: 0 16px; }
	.tillya-cart-actions { padding: 14px 16px; }
	.tillya-cart-items__header { padding: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   CHECKOUT
   ════════════════════════════════════════════════════════════════ */
.tillya-checkout-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 32px;
	align-items: start;
	padding-block: 8px 64px;
}

/* ── Section cards ── */
.tillya-checkout-section {
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	overflow: hidden;
	margin-bottom: 24px;
}
.tillya-checkout-section:last-child { margin-bottom: 0; }
.tillya-checkout-section__header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 24px;
	background: var(--bg-warm);
	border-bottom: 1px solid var(--border-light);
}
.tillya-checkout-section__header .bi { font-size: 18px; color: var(--gold-dark); }
.tillya-checkout-section__header h3 { font-size: 15px; font-weight: 700; margin: 0; }
.tillya-checkout-section__body { padding: 20px 24px; }

/* WC checkout fields inside sections */
.tillya-checkout-section__body .woocommerce-billing-fields,
.tillya-checkout-section__body .woocommerce-shipping-fields { display: contents; }

.tillya-checkout-section__body .woocommerce-billing-fields__field-wrapper,
.tillya-checkout-section__body .woocommerce-shipping-fields__field-wrapper,
.tillya-checkout-section__body .woocommerce-address-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 14px 20px !important;
}

.tillya-checkout-section__body p.form-row {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 5px !important;
	clear: none !important;
}
.tillya-checkout-section__body p.form-row-wide { grid-column: 1 / -1 !important; }
.tillya-checkout-section__body p.form-row-first { grid-column: 1 !important; }
.tillya-checkout-section__body p.form-row-last  { grid-column: 2 !important; }

.tillya-checkout-section__body p.form-row > label {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--text-mid) !important;
	display: block !important;
	margin: 0 !important;
}
.tillya-checkout-section__body .required { color: #dc2626 !important; }
.tillya-checkout-section__body abbr.required { text-decoration: none !important; }

.tillya-checkout-section__body .woocommerce-input-wrapper {
	display: block !important;
	width: 100% !important;
}
.tillya-checkout-section__body input.input-text,
.tillya-checkout-section__body select:not(.select2-hidden-accessible),
.tillya-checkout-section__body textarea {
	width: 100% !important;
	padding: 10px 14px !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius-sm) !important;
	font-family: inherit !important;
	font-size: 14px !important;
	color: var(--text) !important;
	background: #fff !important;
	box-sizing: border-box !important;
	height: auto !important;
	transition: border-color .2s, box-shadow .2s !important;
}
.tillya-checkout-section__body input:focus,
.tillya-checkout-section__body select:focus,
.tillya-checkout-section__body textarea:focus {
	outline: none !important;
	border-color: var(--gold) !important;
	box-shadow: 0 0 0 3px rgba(201,168,76,.1) !important;
}
.tillya-checkout-section__body .select2-container { width: 100% !important; }
.tillya-checkout-section__body .select2-container .select2-selection--single {
	height: auto !important;
	padding: 10px 14px !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius-sm) !important;
	background: #fff !important;
}
.tillya-checkout-section__body .select2-selection__rendered {
	padding: 0 !important;
	line-height: 1.5 !important;
	color: var(--text) !important;
}
.tillya-checkout-section__body .select2-selection__arrow {
	height: 100% !important; top: 0 !important; left: 10px !important; right: auto !important;
}

/* shipping toggle checkbox */
.tillya-checkout-section__body #ship-to-different-address {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 16px;
}
.tillya-checkout-section__body #ship-to-different-address input { width: auto !important; }

/* notes textarea */
.tillya-checkout-notes textarea {
	min-height: 100px !important;
	resize: vertical !important;
}

/* ── Right summary column ── */
.tillya-checkout-order {
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	overflow: hidden;
	position: sticky;
	top: 96px;
}

/* review items */
.tillya-review-items { padding: 0 20px; }
.tillya-review-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border-light);
}
.tillya-review-item:last-child { border-bottom: none; }
.tillya-review-item__thumb {
	position: relative;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--bg-warm);
	flex-shrink: 0;
}
.tillya-review-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tillya-review-item__qty {
	position: absolute;
	top: -6px;
	left: -6px;
	width: 20px;
	height: 20px;
	background: var(--gold);
	color: var(--dark);
	font-size: 10px;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tillya-review-item__name {
	flex: 1;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	line-height: 1.4;
}
.tillya-review-item__price {
	font-size: 13px;
	font-weight: 700;
	color: var(--gold-dark);
	white-space: nowrap;
}

/* review totals */
.tillya-review-totals { border-top: 1px solid var(--border-light); padding: 0 20px; }
.tillya-review-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--border-light);
	font-size: 13px;
	gap: 12px;
}
.tillya-review-row:last-child { border-bottom: none; }
.tillya-review-row > span:first-child { color: var(--text-mid); }
.tillya-review-row > span:last-child { font-weight: 600; }
.tillya-review-row--discount > span:first-child { color: #16a34a; }
.tillya-review-row--total { padding: 16px 0; }
.tillya-review-row--total > span:first-child { font-size: 14px; font-weight: 700; color: var(--text); }
.tillya-review-total { font-size: 20px; font-weight: 800; color: var(--gold-dark); }
.tillya-review-total .woocommerce-Price-amount { color: inherit; }

/* ── Payment box ── */
.tillya-review-payment { border-top: 1px solid var(--border-light); }

#payment {
	background: var(--bg-warm) !important;
	border-radius: 0 0 var(--radius-xl) var(--radius-xl) !important;
	padding: 20px !important;
}
#payment ul.payment_methods {
	list-style: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: none !important;
}
#payment ul.payment_methods li {
	padding: 12px 16px !important;
	background: #fff !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-sm) !important;
	margin-bottom: 8px !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	cursor: pointer !important;
	transition: border-color .2s !important;
}
#payment ul.payment_methods li:hover { border-color: var(--gold-light) !important; }
#payment ul.payment_methods li.woocommerce-PaymentMethod--selected,
#payment ul.payment_methods li input:checked + label { color: var(--gold-dark); }
#payment ul.payment_methods li label { font-size: 14px; font-weight: 600; cursor: pointer; margin: 0; }
#payment .payment_box {
	background: var(--gold-xlight) !important;
	border: 1px solid var(--gold-light) !important;
	border-radius: var(--radius-sm) !important;
	padding: 12px 16px !important;
	font-size: 13px !important;
	margin: 0 0 12px !important;
	color: var(--text-mid);
}
#payment .place-order { padding: 0 !important; }
#place_order {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	padding: 14px !important;
	background: var(--gold) !important;
	color: var(--dark) !important;
	border: none !important;
	border-radius: var(--radius-sm) !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	cursor: pointer !important;
	transition: all .2s !important;
	letter-spacing: .02em !important;
}
#place_order:hover { background: var(--gold-dark) !important; color: #fff !important; }
#place_order::before { content: '\F373'; font-family: 'bootstrap-icons'; font-size: 18px; }

/* ── Checkout responsive ── */
@media (max-width: 960px) {
	.tillya-checkout-layout { grid-template-columns: 1fr; }
	.tillya-checkout-order { position: static; }
}
@media (max-width: 640px) {
	.tillya-checkout-section__body .woocommerce-billing-fields__field-wrapper,
	.tillya-checkout-section__body .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr !important; }
	.tillya-checkout-section__body p.form-row-first,
	.tillya-checkout-section__body p.form-row-last { grid-column: 1 !important; }
	.tillya-checkout-section__body { padding: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   MY ACCOUNT
   ════════════════════════════════════════════════════════════════ */
.tillya-account-wrap {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 32px;
	align-items: start;
	padding-block: 40px 64px;
}

/* ── Sidebar ── */
.tillya-account-sidebar {
	position: sticky;
	top: 96px;
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(0,0,0,.05);
}

/* Profile card */
.tillya-account-profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 24px 20px;
	background: linear-gradient(135deg, var(--gold-xlight) 0%, #fff 100%);
	border-bottom: 1px solid var(--border-light);
}
.tillya-account-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--gold);
	flex-shrink: 0;
}
.tillya-account-avatar__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tillya-account-name {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 2px;
}
.tillya-account-email {
	display: block;
	font-size: 11px;
	color: var(--text-light);
	word-break: break-all;
}

/* Nav */
.tillya-account-nav ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}
.tillya-account-nav li { margin: 0; }
.tillya-account-nav__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-mid);
	text-decoration: none;
	transition: background .15s, color .15s;
	position: relative;
}
.tillya-account-nav__link .bi:first-child {
	font-size: 16px;
	color: var(--text-light);
	flex-shrink: 0;
	transition: color .15s;
}
.tillya-account-nav__link span { flex: 1; }
.tillya-account-nav__arrow {
	font-size: 11px;
	color: var(--border);
	transition: color .15s;
}
.tillya-account-nav__link:hover {
	background: var(--bg-warm);
	color: var(--gold-dark);
}
.tillya-account-nav__link:hover .bi { color: var(--gold-dark); }
.tillya-account-nav li.is-active .tillya-account-nav__link {
	background: var(--gold-xlight);
	color: var(--gold-dark);
	font-weight: 700;
}
.tillya-account-nav li.is-active .tillya-account-nav__link .bi { color: var(--gold-dark); }
.tillya-account-nav li.is-active .tillya-account-nav__link::before {
	content: '';
	position: absolute;
	right: 0;
	top: 20%;
	bottom: 20%;
	width: 3px;
	background: var(--gold);
	border-radius: 3px 0 0 3px;
}
.tillya-account-nav__link--logout {
	color: #dc2626;
	border-top: 1px solid var(--border-light);
	margin-top: 4px;
}
.tillya-account-nav__link--logout .bi { color: #dc2626 !important; }
.tillya-account-nav__link--logout:hover { background: #fef2f2; color: #b91c1c; }

/* ── Content panel ── */
.tillya-account-content {
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	padding: 32px;
	min-width: 0;
	width: 100% !important;
	box-shadow: 0 2px 16px rgba(0,0,0,.04);
}

/* ── Dashboard ── */
.tillya-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}
.tillya-dashboard-stat {
	background: var(--bg-warm);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	padding: 20px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.tillya-dashboard-stat .bi {
	font-size: 24px;
	color: var(--gold-dark);
}
.tillya-dashboard-stat strong {
	font-size: 24px;
	font-weight: 800;
	color: var(--text);
	line-height: 1;
}
.tillya-dashboard-stat span {
	font-size: 12px;
	color: var(--text-light);
}

.tillya-dashboard-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tillya-dashboard-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: var(--bg-warm);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	text-decoration: none;
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	transition: all .2s ease;
}
.tillya-dashboard-link .bi:first-child { font-size: 18px; color: var(--gold-dark); }
.tillya-dashboard-link span { flex: 1; }
.tillya-dashboard-link .bi:last-child { font-size: 13px; color: var(--border); transition: color .2s; }
.tillya-dashboard-link:hover {
	background: var(--gold-xlight);
	border-color: var(--gold-light);
	color: var(--gold-dark);
}
.tillya-dashboard-link:hover .bi:last-child { color: var(--gold-dark); }

/* ── WC default content reset inside account ── */
.tillya-account-content .woocommerce-Message,
.tillya-account-content .woocommerce-info {
	border-radius: var(--radius-sm);
	font-size: 14px;
}
.tillya-account-content table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.tillya-account-content table.shop_table th {
	padding: 10px 12px;
	background: var(--bg-warm);
	border-bottom: 2px solid var(--border-light);
	font-weight: 700;
	font-size: 12px;
	color: var(--text-mid);
	text-align: right;
}
.tillya-account-content table.shop_table td {
	padding: 12px;
	border-bottom: 1px solid var(--border-light);
	vertical-align: middle;
}
.tillya-account-content table.shop_table tr:last-child td { border-bottom: none; }
.tillya-account-content .woocommerce-orders-table__cell-order-actions a,
.tillya-account-content .button {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	background: var(--gold-xlight);
	color: var(--gold-dark);
	border: 1px solid var(--gold-light);
	border-radius: var(--radius-sm);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s;
}
.tillya-account-content .woocommerce-orders-table__cell-order-actions a:hover,
.tillya-account-content .button:hover {
	background: var(--gold);
	color: var(--dark);
	border-color: var(--gold);
}

/* ── Addresses ── */
.tillya-section-heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px;
}
.tillya-section-desc {
	font-size: 13px;
	color: var(--text-light);
	margin: 0 0 24px;
}
.tillya-address-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}
.tillya-address-card {
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.tillya-address-card__header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: var(--bg-warm);
	border-bottom: 1px solid var(--border-light);
}
.tillya-address-card__icon { font-size: 18px; color: var(--gold-dark); }
.tillya-address-card__title { font-size: 14px; font-weight: 700; margin: 0; flex: 1; }
.tillya-address-card__edit {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gold-dark);
	text-decoration: none;
	padding: 5px 12px;
	border: 1px solid var(--gold-light);
	border-radius: var(--radius-sm);
	background: var(--gold-xlight);
	transition: all .2s;
}
.tillya-address-card__edit:hover { background: var(--gold); color: var(--dark); }
.tillya-address-card__body {
	padding: 18px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--text-mid);
}
.tillya-address-card__body address { font-style: normal; }
.tillya-address-card__empty { color: var(--text-light); font-style: italic; margin: 0; }

/* ── Account & Address Forms ── */
.tillya-account-form { display: flex; flex-direction: column; gap: 28px; }
.tillya-form-section {
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.tillya-form-section__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	margin: 0;
	padding: 14px 20px;
	background: var(--bg-warm);
	border-bottom: 1px solid var(--border-light);
	color: var(--text);
}
.tillya-form-section__title .bi { font-size: 16px; color: var(--gold-dark); }
.tillya-form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	padding: 20px;
}
.tillya-form-field { display: flex; flex-direction: column; gap: 6px; }
.tillya-form-field--full { grid-column: 1 / -1; }
.tillya-form-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-mid);
}
.tillya-form-field label .required { color: #dc2626; }
.tillya-form-field input,
.tillya-form-field select,
.tillya-form-field textarea,
.tillya-account-form .woocommerce-input-wrapper input,
.tillya-account-form .woocommerce-input-wrapper select,
.tillya-account-form p.form-row input,
.tillya-account-form p.form-row select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 14px;
	color: var(--text);
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
	box-sizing: border-box;
}
.tillya-form-field input:focus,
.tillya-form-field select:focus,
.tillya-account-form .woocommerce-input-wrapper input:focus,
.tillya-account-form p.form-row input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.tillya-form-hint {
	font-size: 12px;
	color: var(--text-light);
}

/* ── WC address form ── */
.tillya-address-form {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 14px 20px !important;
	align-items: start !important;
}

/* reset WC floats on every row */
.tillya-address-form p.form-row {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 5px !important;
}

.tillya-address-form p.form-row-wide  { grid-column: 1 / -1 !important; }
.tillya-address-form p.form-row-first { grid-column: 1 !important; }
.tillya-address-form p.form-row-last  { grid-column: 2 !important; }

/* labels */
.tillya-address-form p.form-row > label {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--text-mid) !important;
	margin: 0 !important;
	display: block !important;
}
.tillya-address-form .required,
.tillya-address-form abbr.required { color: #dc2626 !important; text-decoration: none !important; }

/* input wrapper */
.tillya-address-form .woocommerce-input-wrapper {
	display: block !important;
	width: 100% !important;
}

/* text inputs */
.tillya-address-form input.input-text,
.tillya-address-form select:not(.select2-hidden-accessible) {
	display: block !important;
	width: 100% !important;
	padding: 10px 14px !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius-sm) !important;
	font-family: inherit !important;
	font-size: 14px !important;
	color: var(--text) !important;
	background: #fff !important;
	box-sizing: border-box !important;
	height: auto !important;
	line-height: 1.5 !important;
	transition: border-color .2s, box-shadow .2s !important;
}
.tillya-address-form input.input-text:focus {
	outline: none !important;
	border-color: var(--gold) !important;
	box-shadow: 0 0 0 3px rgba(201,168,76,.1) !important;
}

/* select2 visual element */
.tillya-address-form .select2-container {
	width: 100% !important;
}
.tillya-address-form .select2-container .select2-selection--single {
	height: auto !important;
	padding: 10px 14px !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius-sm) !important;
	background: #fff !important;
	font-family: inherit !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}
.tillya-address-form .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 !important;
	line-height: 1.5 !important;
	color: var(--text) !important;
}
.tillya-address-form .select2-container .select2-selection--single .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
	left: 10px !important;
	right: auto !important;
}
.tillya-address-form .select2-container--focus .select2-selection--single,
.tillya-address-form .select2-container--open .select2-selection--single {
	border-color: var(--gold) !important;
	box-shadow: 0 0 0 3px rgba(201,168,76,.1) !important;
	outline: none !important;
}

/* form actions row */
.tillya-account-form > .tillya-form-actions { margin-top: 8px; }

/* edit-account form labels */
.tillya-account-form p.form-row > label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-mid);
	display: block;
}
.tillya-account-form p.form-row .required { color: #dc2626; }

.tillya-form-actions { display: flex; justify-content: flex-start; }
.tillya-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	transition: all .2s;
}
.tillya-btn--gold {
	background: var(--gold);
	color: var(--dark);
}
.tillya-btn--gold:hover { background: var(--gold-dark); color: #fff; }

/* Back link */
.tillya-edit-address__back { margin-bottom: 20px; }
.tillya-edit-address__back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--text-light);
	text-decoration: none;
	transition: color .2s;
}
.tillya-edit-address__back a:hover { color: var(--gold-dark); }

/* ── Responsive ── */
@media (max-width: 768px) {
	.tillya-account-wrap { grid-template-columns: 1fr; }
	.tillya-account-sidebar { position: static; }
	.tillya-account-content { padding: 20px; }
	.tillya-dashboard-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.tillya-form-grid { grid-template-columns: 1fr; }
	.tillya-address-form { grid-template-columns: 1fr !important; }
	.tillya-address-form p.form-row-first,
	.tillya-address-form p.form-row-last,
	.tillya-address-form p.form-row-wide { grid-column: 1 !important; }
}

/* Shop main column */
.tillya-shop-main { min-width: 0; }

/* Filter sidebar header */
.tillya-filter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: var(--dark);
	border-radius: var(--radius) var(--radius) 0 0;
	margin-bottom: 0;
}
.tillya-filter-header__title {
	display: flex; align-items: center; gap: 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
}
.tillya-filter-header__title .bi { color: var(--gold); font-size: 14px; }
.tillya-filter-clear {
	font-size: 11px;
	color: rgba(245,237,212,.6);
	text-decoration: underline;
	letter-spacing: var(--tracking-wide);
	transition: color .2s;
}
.tillya-filter-clear:hover { color: var(--gold); }

/* Widget wrapper override for shop sidebar */
.tillya-shop-sidebar .widget {
	border-radius: 0;
	border-top: none;
	margin-bottom: 0;
}
.tillya-shop-sidebar > .widget:first-child { border-radius: 0; }
.tillya-shop-sidebar > .widget:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.tillya-shop-sidebar .widget-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--text-mid);
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border-light);
}

/* WooCommerce filter widgets inside sidebar */
.tillya-shop-sidebar .widget_product_categories ul {
	display: flex; flex-direction: column; gap: 6px;
	max-height: 220px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--gold) var(--bg-warm2);
}
.tillya-shop-sidebar .widget_product_categories ul::-webkit-scrollbar { width: 4px; }
.tillya-shop-sidebar .widget_product_categories ul::-webkit-scrollbar-track { background: var(--bg-warm2); border-radius: 2px; }
.tillya-shop-sidebar .widget_product_categories ul::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.tillya-shop-sidebar .widget_product_categories li {
	display: flex; align-items: center; justify-content: space-between;
}
.tillya-shop-sidebar .widget_product_categories a {
	font-size: 13px; color: var(--text-mid);
	transition: color .2s; display: flex; align-items: center; gap: 6px;
}
.tillya-shop-sidebar .widget_product_categories a::before {
	content: ""; display: block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--border);
	flex-shrink: 0;
	transition: background .2s;
}
.tillya-shop-sidebar .widget_product_categories a:hover { color: var(--gold-dark); }
.tillya-shop-sidebar .widget_product_categories a:hover::before { background: var(--gold); }
.tillya-shop-sidebar .widget_product_categories .current-cat > a { color: var(--gold-dark); font-weight: 600; }
.tillya-shop-sidebar .widget_product_categories .current-cat > a::before { background: var(--gold); }
.tillya-shop-sidebar .widget_product_categories .count {
	display: none;
}

/* Price filter widget */
.tillya-shop-sidebar .price_slider_wrapper { margin-top: 4px; }
.tillya-shop-sidebar .price_slider { margin: 16px 0 20px; }
.tillya-shop-sidebar .ui-slider-horizontal {
    height: 4px !important;
    border-radius: 2px !important;
    background: var(--border) !important;
    border: none !important;
    margin: 12px 9px;
    direction: ltr !important;
    position: relative;
}
.tillya-shop-sidebar .ui-slider-range { background: var(--gold); }
.tillya-shop-sidebar .ui-slider-horizontal {
	height: 4px !important;
	border-radius: 2px !important;
	background: var(--border) !important;
	border: none !important;
	margin: 12px 9px;
	direction: ltr !important;
}
.tillya-shop-sidebar .price_slider_wrapper .ui-slider-handle.ui-corner-all.ui-state-default,
.tillya-shop-sidebar .price_slider_wrapper .ui-slider-handle {
	width: 18px !important;
	height: 18px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	background-image: none !important;
	border: 2px solid var(--gold) !important;
	top: 50% !important;
	margin-top: -9px !important;
	margin-left: -9px !important;
	margin-right: 0 !important;
	cursor: grab !important;
	outline: none !important;
	box-shadow: 0 1px 6px rgba(0,0,0,.25) !important;
	transition: transform .15s !important;
	position: absolute !important;
}
.tillya-shop-sidebar .price_slider_wrapper .ui-slider-handle:hover,
.tillya-shop-sidebar .price_slider_wrapper .ui-slider-handle:focus {
	transform: scale(1.25) !important;
	background: #fff !important;
}
.tillya-shop-sidebar .price_slider_amount {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}
.tillya-shop-sidebar .price_slider_amount .button {
	width: 100%;
	padding: 8px;
	background: var(--gold); color: var(--dark);
	border: none; border-radius: var(--radius-sm);
	font-size: 13px; font-weight: 700; cursor: pointer;
	transition: background .2s;
}
.tillya-shop-sidebar .price_slider_amount .button:hover { background: var(--gold-dark); color: #fff; }
.tillya-shop-sidebar .price_slider_amount .price_label {
	font-size: 12px; color: var(--text-mid);
	text-align: center; line-height: 1.8;
}

/* Layered nav (attribute filter) */
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list {
	display: flex; flex-direction: column; gap: 4px;
	max-height: 200px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--gold) var(--bg-warm2);
}
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list::-webkit-scrollbar { width: 4px; }
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list::-webkit-scrollbar-track { background: var(--bg-warm2); border-radius: 2px; }
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list__item a,
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list__item span {
	font-size: 13px; color: var(--text-mid);
	display: flex; align-items: center; gap: 6px;
}
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list__item a::before {
	content: ""; display: block; flex-shrink: 0;
	width: 14px; height: 14px;
	border: 1px solid var(--border);
	border-radius: 3px;
	transition: background .15s, border-color .15s;
}
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list__item a:hover { color: var(--gold-dark); }
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list__item a:hover::before { border-color: var(--gold); }
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list__item--chosen a::before {
	background: var(--gold); border-color: var(--gold);
}
.tillya-shop-sidebar .woocommerce-widget-layered-nav-list__item .count {
	display: none;
}

/* Active filters */
.tillya-shop-sidebar .wc-block-active-filters,
.tillya-shop-sidebar .widget_layered_nav_filters ul {
	display: flex; flex-wrap: wrap; gap: 6px;
}
.tillya-shop-sidebar .widget_layered_nav_filters li a {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11px;
	background: var(--gold-xlight);
	border: 1px solid var(--gold);
	border-radius: 20px;
	padding: 4px 10px;
	color: var(--gold-dark);
	font-weight: 600;
}
.tillya-shop-sidebar .widget_layered_nav_filters li a:hover { background: var(--gold); color: var(--dark); }

/* Sort bar — result-count left, ordering right */
.tillya-shop-sort-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border-light);
}
.tillya-shop-sort-bar .woocommerce-result-count { margin: 0; }
.tillya-shop-sort-bar .woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 8px 12px;
	font-family: var(--font);
	font-size: 13px;
	color: var(--text);
	background: #fff;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.woocommerce-ordering select:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}

/* ── Pagination ── */
.woocommerce-pagination {
	margin-top: 52px;
	margin-bottom: 20px;
	display: flex !important;
	justify-content: center !important;
}

/* ul.page-numbers — the container pill */
.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 5px !important;
    background: #f7f3ee !important;
    border: 1px solid #e8dfd4 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
}
span.sku_wrapper {
    display: none;
}
/* li items — reset */
.woocommerce-pagination ul.page-numbers > li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: unset !important;
}

/* a.page-numbers and span.page-numbers (not the ul) — individual buttons */
.woocommerce-pagination ul.page-numbers > li > a.page-numbers,
.woocommerce-pagination ul.page-numbers > li > span.page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 42px !important;
	height: 42px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 10px !important;
	background: transparent !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: #6b6258 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transition: background .15s, color .15s !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	outline: none !important;
	float: none !important;
}

.woocommerce-pagination ul.page-numbers > li > a.page-numbers:hover {
	background: #fff !important;
	color: var(--gold-dark) !important;
}

.woocommerce-pagination ul.page-numbers > li > span.page-numbers.current {
	background: var(--gold) !important;
	color: #3a2e00 !important;
	font-weight: 800 !important;
	box-shadow: 0 2px 8px rgba(180,145,60,.25) !important;
	cursor: default !important;
}

.woocommerce-pagination ul.page-numbers > li > a.prev.page-numbers,
.woocommerce-pagination ul.page-numbers > li > a.next.page-numbers {
	color: #9e8e7e !important;
	font-size: 20px !important;
}
.woocommerce-pagination ul.page-numbers > li > a.prev.page-numbers { margin-left: 4px !important; }
.woocommerce-pagination ul.page-numbers > li > a.next.page-numbers { margin-right: 4px !important; }

.woocommerce-pagination ul.page-numbers > li > a.prev.page-numbers:hover,
.woocommerce-pagination ul.page-numbers > li > a.next.page-numbers:hover {
	color: var(--gold-dark) !important;
	background: #fff !important;
}

.woocommerce-pagination ul.page-numbers > li > span.page-numbers.dots {
	cursor: default !important;
	color: #b0a090 !important;
	font-size: 13px !important;
	letter-spacing: 2px !important;
	width: 30px !important;
}

/* WooCommerce notices */
.woocommerce-info,
.woocommerce-message {
	padding: 14px 20px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	margin-bottom: 20px;
	list-style: none;
}
.woocommerce-info {
	background: var(--bg-warm);
	border-right: 4px solid var(--gold);
	color: var(--text-mid);
}
.woocommerce-message {
	background: #f0faf4;
	border-right: 4px solid #2a7c4f;
	color: #1a5c38;
}
.woocommerce-error {
	background: #fdf0f0;
	border-right: 4px solid var(--sale);
	color: #8b2020;
	border-radius: var(--radius-sm);
	padding: 14px 20px;
	margin-bottom: 20px;
	list-style: none;
}

/* WooCommerce product tabs */
.woocommerce-tabs { margin-top: 48px; }
.woocommerce-tabs ul.tabs {
	display: flex;
	border-bottom: 2px solid var(--border-light);
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 22px;
	font-size: 14px; font-weight: 600;
	color: var(--text-light);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color .2s, border-color .2s;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
	color: var(--gold-dark);
	border-bottom-color: var(--gold);
}
.woocommerce-tabs .panel {
	font-size: 15px; line-height: 1.9; color: var(--text-mid);
}
.woocommerce-tabs .panel > h2:first-child { display: none; }

/* Star ratings */
.star-rating {
	display: inline-block;
	overflow: hidden;
	position: relative;
	height: 1em;
	line-height: 1em;
	font-size: 14px;
	width: 5.4em;
	color: var(--gold);
}
.star-rating::before {
	content: "\2605\2605\2605\2605\2605";
	color: var(--border);
	float: right;
	top: 0; left: 0;
	position: absolute;
	letter-spacing: .1em;
}
.star-rating span {
	overflow: hidden;
	float: right;
	top: 0;
	left: 0;
	right: auto;
	position: absolute;
	padding-top: 1.5em;
	/* width is set inline by WooCommerce — do NOT override */
}
.star-rating span::before {
	content: "\2605\2605\2605\2605\2605";
	top: 0; position: absolute;
	letter-spacing: .1em;
}

/* No products found */
.woocommerce-no-products-found { padding: 48px 0; text-align: center; color: var(--text-light); }

/* -----------------------------------------------------------------------
   About / Rich text / Trust building / Video / Testimonials
   --------------------------------------------------------------------- */
.about-section-image {
	border-radius: var(--radius-xl);
	overflow: hidden;
}
.about-section-image img { transition: transform .6s ease; }
.about-section-image:hover img { transform: scale(1.03); }
.about-stat-number {
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 900;
	color: var(--gold-dark);
}
.about-stat-label { font-size: 12px; color: var(--text-light); letter-spacing: var(--tracking-wide); }

.rich-text-title {
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 800;
	position: relative;
	display: inline-block;
	padding-bottom: 14px;
}
.rich-text-title::after {
	content: "";
	position: absolute; right: 0; bottom: 0;
	width: 32px; height: 2px;
	background: var(--gold);
	border-radius: 2px;
}

.trust-badge { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.trust-badge:hover { transform: translateY(-4px) scale(1.04); }
.trust-badge img {
	filter: drop-shadow(0 4px 12px rgba(20,17,13,.1));
	transition: filter .3s ease;
}
.trust-badge:hover img { filter: drop-shadow(0 8px 18px rgba(201,168,76,.3)); }

.video-gallery-item { border-radius: var(--radius-lg); overflow: hidden; }
.video-gallery-item .object-fit-cover { transition: transform .4s ease; }
.video-gallery-item:hover .object-fit-cover { transform: scale(1.04); }
.video-modal-frame iframe, .video-modal-frame video { width: 100%; height: 100%; border: 0; }

.testimonial-card {
	border-radius: var(--radius-lg) !important;
	border-color: var(--border-light) !important;
	transition: transform .3s ease, box-shadow .3s ease !important;
}
.testimonial-card:hover {
	transform: translateY(-5px) !important;
	box-shadow: var(--shadow-lg) !important;
}

/* -----------------------------------------------------------------------
   OTP Auth form
   --------------------------------------------------------------------- */
.tillya-otp-auth {
	max-width: 400px;
	margin: 48px auto;
	background: var(--bg-warm);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	padding: 40px 32px;
}
.otp-title { font-size: 20px; font-weight: 800; text-align: center; }
.otp-desc { text-align: center; color: var(--text-light); font-size: 13px; margin-top: 6px; }
.tillya-otp-auth input {
	width: 100%; padding: 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: inherit; font-size: 18px;
	text-align: center; margin: 20px 0;
	letter-spacing: .3em;
	transition: border-color .2s;
}
.tillya-otp-auth input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.otp-submit {
	width: 100%; padding: 14px; border: none;
	border-radius: var(--radius-sm);
	background: var(--gold);
	color: var(--dark);
	font-weight: 800; font-size: 15px;
	letter-spacing: var(--tracking-wide);
	transition: background .2s, box-shadow .2s;
}
.otp-submit:hover { background: var(--gold-dark); color: #fff; box-shadow: var(--shadow-gold); }
.otp-resend, .otp-edit-mobile {
	width: 100%; margin-top: 10px;
	background: none; border: none;
	color: var(--gold-dark); font-weight: 600; font-size: 13px;
}
.otp-resend:disabled { color: var(--text-light); }
.otp-message { text-align: center; font-size: 12px; min-height: 1.5em; margin-top: 10px; }
.otp-message.is-error   { color: var(--sale); }
.otp-message.is-success { color: #2a7c4f; }
.otp-mobile-display { font-weight: 700; color: var(--text); }

/* -----------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
	background: var(--dark);
	color: rgba(245,237,212,.65);
	border-top: 1px solid rgba(255,255,255,.06);
	margin-top: 80px;
}

.footer-top-strip {
	border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
	gap: 48px;
	padding: 60px 24px 48px;
}
.footer-title {
	color: rgba(245,237,212,.9);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(201,168,76,.2);
}
.footer-logo {
	color: #fff;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -.02em;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 13px; margin-top: 8px; opacity: .65; line-height: 1.8; }
.footer-contact-list li {
	display: flex; gap: 10px; align-items: flex-start;
	margin-bottom: 10px; font-size: 13px;
}
.footer-contact-list .icon { color: var(--gold); opacity: .7; margin-top: 3px; }
.footer-menu li { margin-bottom: 9px; }
.footer-menu a {
	font-size: 13px;
	color: rgba(245,237,212,.6);
	transition: color .2s, padding-right .2s;
	display: inline-block;
}
.footer-menu a:hover { color: var(--gold); padding-right: 4px; }

.footer-newsletter-form {
	display: flex; gap: 0;
	margin: 14px 0;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.footer-newsletter-form input {
	flex: 1; padding: 10px 14px;
	border: none; background: rgba(255,255,255,.06);
	font-family: inherit; color: #fff; font-size: 13px;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-form input:focus { outline: none; background: rgba(255,255,255,.09); }
.footer-newsletter-form button {
	padding: 10px 18px; border: none;
	background: var(--gold); color: var(--dark);
	font-weight: 700; font-size: 12px;
	letter-spacing: var(--tracking-wide);
	white-space: nowrap;
	transition: background .2s;
}
.footer-newsletter-form button:hover { background: var(--gold-dark); color: #fff; }

.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer-trust-badges .badge {
	position: static;
	background: rgba(201,168,76,.08);
	color: rgba(201,168,76,.8);
	border: 1px solid rgba(201,168,76,.2);
	border-radius: var(--radius-sm);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	padding: 5px 10px;
}

/* eNamad badge */
.footer-enamad-badges {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-start;
}
.footer-enamad-badges a,
.footer-enamad-badges img {
	display: block;
	max-width: 100px;
	border-radius: var(--radius-sm);
	transition: transform .2s;
}
.footer-enamad-badges a:hover { transform: translateY(-2px); }

.footer-enamad:has(.enamad-placeholder) { display: none; }

.enamad-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 16px;
	border: 1px dashed rgba(201,168,76,.25);
	border-radius: var(--radius);
	color: rgba(245,237,212,.35);
	font-size: 12px;
	text-align: center;
	line-height: 1.6;
}
.enamad-placeholder .bi { font-size: 28px; color: rgba(201,168,76,.3); }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bottom-inner {
	padding: 18px 24px;
	text-align: center;
	font-size: 12px;
	opacity: .45;
	letter-spacing: var(--tracking-wide);
}

/* -----------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.tillya-shop-grid { grid-template-columns: 1fr; }
	.tillya-shop-sidebar { order: 2; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product .woocommerce-product-gallery { position: relative; top: 0; }
	.blog-archive-grid { grid-template-columns: 1fr; }
	.blog-archive-sidebar { order: 2; }
	.blog-cards-grid { grid-template-columns: 1fr; }
	.blog-archive-banner { padding: 36px 0; }
	.blog-archive-banner .archive-title { font-size: 24px; }
	.tillya-product-description { padding: 24px 24px; }
}

@media (max-width: 768px) {
	.tillya-filter-header { border-radius: var(--radius-sm); }
	.tillya-product-description { padding: 20px 16px; margin-top: 32px; }
	.tillya-product-description__title { font-size: 16px; }
	.tillya-related-slider-section { margin-top: 40px; }
}

@media (max-width: 768px) {
	.section { padding: 64px 0; }

	/* ── Header: logo right, hamburger left, hide all actions ── */
	.header-inner { padding: 0 16px; gap: 0; }
	.header-actions { display: none; }           /* کل actions در موبایل پنهان */
	.main-navigation {
		flex: 0 0 auto;
		order: 1;                                /* RTL: order:1 = leftmost */
	}
	.site-branding { flex: 1; min-width: 0; }   /* logo راست، فضای وسط را می‌گیرد */
	.site-branding img,
	.site-branding .custom-logo { max-height: 36px; width: auto; }

	.menu-toggle { display: inline-flex; align-items: center; flex-direction: column; padding: 10px; }

	.main-navigation #primary-menu {
		display: none;
		flex-direction: column;
		position: absolute; top: 100%; right: 0; left: 0;
		background: #fff;
		border-bottom: 1px solid var(--border-light);
		padding: 12px 16px 20px;
		gap: 2px;
		box-shadow: var(--shadow);
		z-index: 400;
		max-height: 75vh;
		overflow-y: auto;
	}
	.main-navigation.is-open #primary-menu { display: flex; }

	#primary-menu > li > a.nav-link-top,
	#primary-menu > li > a {
		height: auto;
		padding: 10px 12px;
		border-bottom: none;
		border-radius: var(--radius-sm);
		width: 100%;
		justify-content: space-between;
	}
	#primary-menu > li > a.nav-link-top:hover,
	#primary-menu > li.current-menu-item > a,
	#primary-menu > li.is-open > a {
		border-bottom-color: transparent;
		background: var(--gold-xlight);
	}

	/* Mobile sub-panels: inline, not absolute */
	.sub-menu-panel {
		position: static !important;
		width: 100% !important;
		display: none;
	}
	#primary-menu > li.is-open > .sub-menu-panel { display: block; }
	.sub-menu-inner {
		border: none !important;
		box-shadow: none !important;
		padding: 4px 0 4px 16px !important;
		background: transparent !important;
	}
	.sub-menu-list { grid-template-columns: 1fr !important; }
	.mega-menu-backdrop { display: none !important; }

	/* ── Mobile footer ── */
	.footer-grid { grid-template-columns: 1fr; gap: 0; padding: 0; }

	/* ستون اول: لوگو + درباره + اطلاعات تماس — راست‌چین */
	.footer-about {
		padding: 28px 20px 22px;
		text-align: right;
		border-bottom: 1px solid rgba(255,255,255,.06);
	}
	.footer-about .footer-tagline { font-size: 12.5px; margin: 6px 0 18px; line-height: 1.9; }
	.footer-about .footer-contact-list {
		display: flex; flex-direction: column; align-items: flex-start;
		gap: 10px; margin-top: 0;
	}
	.footer-about .footer-contact-list li { font-size: 13px; margin-bottom: 0; }

	/* ستون‌های لینک: accordion */
	.footer-col:not(.footer-about):not(.footer-enamad) {
		border-bottom: 1px solid rgba(255,255,255,.06);
	}
	.footer-title {
		display: flex; justify-content: space-between; align-items: center;
		padding: 14px 20px; margin: 0; cursor: pointer; user-select: none;
		font-size: 13px;
	}
	.footer-title::after {
		content: '\F282'; font-family: 'bootstrap-icons';
		font-size: 14px; color: var(--gold); opacity: .7;
		transition: transform .25s;
	}
	.footer-col.is-open .footer-title::after { transform: rotate(180deg); }
	.footer-col .footer-menu {
		max-height: 0; overflow: hidden;
		transition: max-height .3s ease, padding .3s ease;
		padding: 0 20px;
	}
	.footer-col.is-open .footer-menu {
		max-height: 300px;
		padding: 0 20px 16px;
	}

	/* اینماد: اگر placeholder است کل ستون مخفی شود */
	.footer-enamad:has(.enamad-placeholder) { display: none; }
	.footer-enamad { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
	.footer-enamad .footer-title { padding: 0 0 10px; cursor: default; }
	.footer-enamad .footer-title::after { display: none; }
	.hero-slide-content { padding: 0 24px; }
	.hero-slider .swiper-button-prev,
	.hero-slider .swiper-button-next { display: none; }
}

@media (max-width: 480px) {
	.container { padding: 0 16px; }
	.section { padding: 48px 0; }

	/* Prevent iOS from zooming in when tapping form fields */
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	input[type="search"],
	input[type="number"],
	select,
	textarea { font-size: 16px; }

	/* Trust stats: hide dividers on tiny screens */
	.trust-stat-divider { display: none; }
	.trust-building-stats { gap: 20px; }
}

/* -----------------------------------------------------------------------
   Hero — mobile responsive
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
.hero-slide {
    height: 570px;
}
.hero-slide-image {
    object-fit: cover;
    display: block;
    width: 100%;
    object-position: bottom center;
    height: 570px;
}
	.hero-slide picture {
		display: block;
		width: 100%;
	}
	/* موبایل: gradient از بالا تیره به پایین روشن */
	.hero-slide--right::after,
	.hero-slide--left::after,
	.hero-slide--center::after {
		background: linear-gradient(
			to bottom,
			rgba(0,0,0,.65) 0%,
			rgba(0,0,0,.2) 55%,
			transparent 100%
		);
	}
	.hero-slide-content {
		justify-content: flex-start;
		padding: 32px 20px 0;
	}
	.hero-slide--right .hero-slide-content,
	.hero-slide--left .hero-slide-content { margin: 0; align-items: flex-start; }
	[dir="rtl"] .hero-slide--left .hero-slide-content  { padding-left: 20px; }
[dir="rtl"] .hero-slide--right .hero-slide-content {
    padding-right: 20px;
    max-width: 90%;
}
}

/* -----------------------------------------------------------------------
   Bottom mobile navigation bar
   --------------------------------------------------------------------- */
.mobile-bottom-nav {
	display: none;
}
@media (max-width: 768px) {
	.mobile-bottom-nav {
		display: flex;
		position: fixed;
		bottom: 0; left: 0; right: 0;
		z-index: 500;
		background: #fff;
		border-top: 1px solid var(--border-light);
		box-shadow: 0 -4px 20px rgba(0,0,0,.07);
		padding-bottom: env(safe-area-inset-bottom, 0); /* iPhone notch */
	}
	.mobile-bottom-nav__item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		padding: 10px 4px;
		color: var(--text-light);
		text-decoration: none;
		font-size: 10px;
		font-weight: 600;
		transition: color .2s;
		position: relative;
	}
	.mobile-bottom-nav__item .bi { font-size: 20px; line-height: 1; }
	.mobile-bottom-nav__item.is-active { color: var(--gold-dark); }
	.mobile-bottom-nav__item.is-active .bi { color: var(--gold); }
	.mobile-nav-cart-count {
		position: absolute;
		top: 6px;
		right: calc(50% - 18px);
		background: var(--gold);
		color: var(--dark);
		font-size: 9px;
		font-weight: 700;
		min-width: 15px; height: 15px;
		border-radius: 50%;
		display: flex; align-items: center; justify-content: center;
	}
	/* فضای خالی پایین — محتوا زیر navbar پنهان نشود */
	.site-footer { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
	body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
}

/* -----------------------------------------------------------------------
   Global overflow fix
   --------------------------------------------------------------------- */
html, body { overflow-x: hidden; }
.site { overflow-x: hidden; }

/* -----------------------------------------------------------------------
   Archive product grid — override WooCommerce default floats
   HTML already uses Bootstrap row/col — just nullify WC floats & fix gaps
   --------------------------------------------------------------------- */

/* Override WooCommerce floats + Bootstrap flex with CSS grid */
.woocommerce ul.products::after,
.woocommerce-page ul.products::after { display: none !important; }

ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 20px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 32px !important;
	/* Kill Bootstrap row flex */
	flex-wrap: unset !important;
}

/* Reset Bootstrap col + WooCommerce float on each li */
ul.products > li.product {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
	margin: 0 !important;
	clear: none !important;
	list-style: none !important;
}

@media (max-width: 1100px) { ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 700px)  { ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; } }
@media (max-width: 400px)  { ul.products { grid-template-columns: 1fr !important; } }

/* ── Product card ───────────────────────────────────────────────────── */
.product-card {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	background: #fff !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	overflow: hidden !important;
	transition: box-shadow .28s ease, transform .28s ease !important;
	box-shadow: 0 1px 6px rgba(0,0,0,.06) !important;
}
.product-card:hover {
	box-shadow: 0 10px 32px rgba(0,0,0,.13) !important;
	transform: translateY(-5px) !important;
}

/* Image — 1:1 aspect ratio controlled purely by theme CSS */
.product-card .product-card-image {
	position: relative !important;
	overflow: hidden !important;
	background: var(--bg-warm) !important;
	aspect-ratio: 1 / 1 !important;
}
.product-card .product-card-image img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform .4s ease !important;
}
.product-card:hover .product-card-image img {
	transform: scale(1.06) !important;
}

/* Out of stock badge */
.outofstock .product-card::before {
	content: 'ناموجود';
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,.55);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 20px;
	z-index: 2;
	letter-spacing: .5px;
}
li.product { position: relative; }

/* ── Product card link wrapper ── */
.product-card-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}

/* ── Card body ── */
.product-card-body {
	padding: 14px 16px 10px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.product-card-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--dark);
	margin: 0;
}
.product-card-weight {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: var(--text-mid);
}
.product-card-weight .bi { font-size: 12px; color: var(--gold-dark); }
.product-card-price {
	font-size: 15px;
	font-weight: 800;
	color: var(--gold-dark);
	margin-top: auto;
}
.product-card-price del {
	font-size: 12px;
	font-weight: 400;
	color: var(--text-light);
	display: block;
}
.product-card-price ins { text-decoration: none; }
.product-card-price .woocommerce-Price-currencySymbol {
	font-size: 11px;
	font-weight: 600;
	opacity: .75;
}

/* ── Sale / discount badges ── */
.product-card-badge {
	position: absolute;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 4px;
	letter-spacing: .04em;
}
.product-card-badge--sale {
	top: 10px;
	left: 10px;
	background: var(--sale, #e53935);
	color: #fff;
}
.product-card-badge--discount {
	top: 10px;
	right: 10px;
	background: var(--gold);
	color: var(--dark);
}

/* ── Card footer — مشاهده محصول ── */
.product-card-footer {
	padding: 0 14px 14px;
}
.product-card-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	text-decoration: none;
	background: var(--bg-warm);
	color: var(--text-mid);
	border: 1.5px solid var(--border-light);
	transition: all .2s ease;
}
.product-card-btn:hover {
	background: var(--gold);
	color: var(--dark);
	border-color: var(--gold);
}
.product-card-btn .bi { font-size: 14px; }
/* ناموجود */
.product-card .product-card-actions a.button:not(.add_to_cart_button):not(.added_to_cart) {
	background: var(--bg-warm) !important;
	color: var(--text-light) !important;
	border: 1.5px solid var(--border) !important;
	cursor: default !important;
}

/* -----------------------------------------------------------------------
   Sidebar category list (manual render fallback)
   --------------------------------------------------------------------- */
.tillya-sidebar-widget {
	background: var(--bg-warm);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-light);
	padding: 20px;
	margin-bottom: 16px;
}
.tillya-cat-list,
.tillya-subcat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tillya-cat-list {
	max-height: 220px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--gold) var(--bg-warm2);
}
.tillya-cat-list::-webkit-scrollbar { width: 4px; }
.tillya-cat-list::-webkit-scrollbar-track { background: var(--bg-warm2); border-radius: 2px; }
.tillya-cat-list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.tillya-cat-list > li {
	border-bottom: 1px solid var(--border-light);
}
.tillya-cat-list > li:last-child { border-bottom: none; }
.tillya-cat-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 9px 4px;
	font-size: 14px;
	color: var(--text);
	font-weight: 500;
	transition: color .15s;
}
.tillya-cat-list a:hover,
.tillya-cat-list .current-cat > a { color: var(--gold-dark); font-weight: 700; }
.tillya-cat-list .count {
	display: none;
}
.tillya-subcat-list {
	padding-right: 14px;
	border-top: 1px solid var(--border-light);
}
.tillya-subcat-list a {
	font-size: 13px;
	font-weight: 400;
	padding: 7px 4px;
}

/* -----------------------------------------------------------------------
   Reviews section & form
   --------------------------------------------------------------------- */
.tillya-reviews {
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-xl);
	padding: 36px 40px;
	margin-bottom: 48px;
}
.tillya-review-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 24px;
}
.tillya-review-notice--success {
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	color: #166534;
}
.tillya-review-notice--success .bi { font-size: 18px; color: #16a34a; }

.tillya-reviews__title {
	font-size: 20px;
	font-weight: 800;
	color: var(--dark);
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--gold-xlight);
}
.tillya-reviews__empty {
	color: var(--text-mid);
	font-size: 14px;
	padding: 20px 0;
}
/* ── Comment list ── */
.commentlist, .commentlist .children {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.commentlist { margin-bottom: 32px !important; }

/* Each li must be block so children ul stacks below the card */
.commentlist li,
.commentlist .children li {
	list-style: none !important;
	display: block !important;
	margin-bottom: 12px !important;
}

/* Each review card */
.commentlist .comment_container {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 14px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	background: var(--bg-warm) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 18px 20px !important;
}

/* Avatar */
.commentlist .comment_container img.avatar {
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 2px solid var(--gold-light) !important;
}

/* Text area fills remaining space */
.commentlist .comment-text {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	overflow: hidden !important;
}

/* Meta row: name right, date left */
.commentlist .comment-text .meta {
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
    align-items: center !important;
    max-width: max-content;
}
.commentlist .comment-text .meta .woocommerce-review__author {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--dark) !important;
}
.commentlist .comment-text .meta .woocommerce-review__dash { display: none !important; }
.commentlist .comment-text .meta time,
.commentlist .comment-text .meta .woocommerce-review__published-date {
	font-size: 12px !important;
	color: var(--text-light) !important;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
    padding: 1rem !important;
	border: 1px solid var(--border) !important;
}

.woocommerce #reviews #comments ol.commentlist > li {
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px !important;
}

/* Stars */
.commentlist .comment-text .star-rating {
	display: inline-block !important;
	font-size: 13px !important;
	margin-bottom: 8px !important;
	/* width must NOT be overridden — WooCommerce sets it inline per rating */
}
.commentlist li, .commentlist .children li:last-child {
    margin-bottom: 0 !important;
}
/* Body text */
.commentlist .comment-text .description p {
	font-size: 14px !important;
	line-height: 1.8 !important;
	color: var(--text) !important;
	margin: 0 !important;
	word-break: break-word !important;
}

/* Reply link */
.commentlist .comment-text .reply { margin-top: 10px; }
.commentlist .comment-text .reply a {
	font-size: 12px;
	color: var(--text-mid);
	font-weight: 600;
	border: 1px solid var(--border);
	padding: 4px 12px;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: all .15s;
}
.commentlist .comment-text .reply a:hover {
	color: var(--gold-dark);
	border-color: var(--gold);
}

/* Nested replies — indented below parent */
.commentlist .children {
    margin-top: 8px !important;
    margin-right: 42px !important;
    padding: 0 !important;
}
.commentlist .children .comment_container {
	background: #fff !important;
	border-color: var(--gold-xlight) !important;
	border-right: 3px solid var(--gold-light) !important;
	padding: 14px 16px !important;
}
.commentlist .children img.avatar {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
}
.commentlist .children .comment-text .woocommerce-review__author {
	font-size: 14px !important;
}

/* Review form */
.tillya-review-form-wrap {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 2px solid var(--gold-xlight);
}
.tillya-review-form__heading {
	font-size: 17px;
	font-weight: 800;
	color: var(--dark);
	margin-bottom: 24px;
}
.tillya-review-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}
.tillya-review-field {
	margin: 0 !important;
}
.tillya-review-field--full {
	grid-column: 1 / -1;
}
.tillya-review-rating {
    display: flex;
    align-items: center;
    column-gap: 8px;
}
.tillya-review-field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 7px;
}
.tillya-review-rating label {
    height: 28px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.tillya-review-field input[type="text"],
.tillya-review-field input[type="email"],
.tillya-review-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 14px;
	color: var(--dark);
	background: var(--bg-warm);
	transition: border-color .2s;
	outline: none;
}
.tillya-review-field input:focus,
.tillya-review-field textarea:focus {
	border-color: var(--gold);
	background: #fff;
}
.tillya-review-field textarea { resize: vertical; min-height: 110px; }

/* Star selector */
.tillya-star-selector {
	display: flex;
	flex-direction: row-reverse;
	gap: 4px;
	margin-top: 6px;
}
.tillya-star {
	font-size: 28px;
	color: var(--border);
	cursor: pointer;
	transition: color .15s, transform .1s;
	line-height: 1;
}
.tillya-star.active,
.tillya-star.selected { color: var(--gold); }
.tillya-star:hover { transform: scale(1.15); }
.tillya-star-hint {
    display: none;
}
.tillya-review-submit-row {
	display: flex;
	align-items: center;
}

/* Submit button */
.tillya-review-form .form-submit {
	grid-column: 1 / -1;
	margin: 0 !important;
}
.tillya-review-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 36px;
	background: var(--gold);
	color: var(--dark);
	border: none;
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: var(--tracking-wide);
	cursor: pointer;
	transition: background .2s, transform .15s;
}
.tillya-review-submit:hover {
	background: var(--gold-dark);
	color: #fff;
	transform: translateY(-2px);
}

@media (max-width: 640px) {
	.tillya-reviews { padding: 24px 20px; }
	.tillya-review-form { grid-template-columns: 1fr; }
	.tillya-review-field--full,
	.tillya-review-rating,
	.tillya-review-form .form-submit { grid-column: 1; }
}
