/* ==========================================================================
   طلای صدف · Tala Sadaf — Main Stylesheet
   Design system: luxury-minimal · RTL · deep navy + brand gold · Vazirmatn
   --------------------------------------------------------------------------
   1.  Design tokens (:root)
   2.  Reset & base
   3.  Typography
   4.  Layout containers & helpers
   5.  Buttons
   6.  Forms & inputs
   7.  Badges, pills, tags
   8.  Cards
   9.  Header: topbar / main / nav / search / mobile
   10. Footer
   11. Hero & page sections
   12. Category grid, trust strip, feature blocks
   13. Breadcrumb & pagination
   14. Blog
   15. Widgets & sidebar
   16. Page header / generic content
   17. Utilities
   18. Toast / misc
   19. Responsive
   ========================================================================== */

/* 1. ───────────────────────── DESIGN TOKENS ───────────────────────────── */
:root {
	--bg:        #faf9f6;
	--surface:   #f5f1e8;
	--surface-2: #ece8df;
	--line:      #e4dfd5;
	--line-2:    #d5cdbf;
	--navy:      #1c2e5e;
	--navy-deep: #132047;
	--navy-soft: #e9edf7;
	--ink:       #1c2e5e;
	--ink-soft:  #59647e;
	--ink-faint: #8790a3;
	--white:     #ffffff;

	--gold:       #c5a059;
	--gold-deep:  #8f6d2c;
	--gold-soft:  #f5eddc;
	--gold-line:  #ddc58f;

	--rose:       #c0846c;
	--rose-deep:  #a06b57;
	--silver:     #9b988e;
	--silver-deep:#7e7b71;

	--success:  #4b7a5a;
	--sale:     #b5483b;
	--info:     #5b6e84;

	--radius:    14px;
	--radius-sm: 10px;
	--radius-xs: 8px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(28,46,94,.10);
	--shadow-md: 0 8px 22px rgba(28,46,94,.16);
	--shadow-card: 0 14px 34px rgba(28,46,94,.10);
	--shadow-pop: 0 18px 50px rgba(28,46,94,.16);

	--gold-grad: linear-gradient(150deg, var(--gold), var(--gold-deep));
	--gold-grad-145: linear-gradient(145deg, var(--gold), var(--gold-deep));

	--maxw: 1200px;
	--gutter: 24px;
	--header-h: 132px;

	--font: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, monospace;

	--ease: .2s cubic-bezier(.4,0,.2,1);
}

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.8;
	color: var(--ink);
	background: var(--bg);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold-deep); }

ul, ol { margin: 0; padding: 0; }

button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

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

hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

.tala-icon { flex: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; right: -9999px; top: 8px; z-index: 9999;
	background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius-xs);
}
.skip-link:focus { right: 12px; color:#fff; }

/* 3. ───────────────────────── TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: var(--ink);
}
h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; line-height: 1.25; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; }
h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }
h5 { font-size: 15px; font-weight: 600; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }

blockquote {
	margin: 28px 0;
	padding: 22px 26px;
	background: var(--surface);
	border-right: 3px solid var(--gold);
	border-radius: var(--radius);
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.9;
}
blockquote p:last-child { margin: 0; }

code, pre { font-family: var(--mono); direction: ltr; }
pre { background: var(--ink); color: #f3ede2; padding: 18px; border-radius: var(--radius); overflow:auto; }

.tala-eyebrow {
	display: inline-block;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-deep);
	direction: ltr;
}

.tala-section-head { margin-bottom: 30px; }
.tala-section-head--center { text-align: center; }
.tala-section-head--center .tala-section-lead { margin-inline: auto; }
.tala-section-title { font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin: 10px 0 0; }
.tala-section-lead { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 60ch; line-height: 1.9; }

/* 4. ───────────────── LAYOUT CONTAINERS & HELPERS ─────────────────────── */
.tala-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.tala-container--narrow { max-width: 820px; }
.tala-container--wide { max-width: 1320px; }

.tala-section { padding-block: clamp(48px, 7vw, 80px); }
.tala-section--tight { padding-block: clamp(36px, 5vw, 56px); }
.tala-section--surface { background: var(--surface); }
.tala-section--ink { background: var(--ink); color: #d8cfbf; }

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

.tala-grid { display: grid; gap: 22px; }
.tala-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tala-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tala-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tala-grid--auto { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }

/* 5. ───────────────────────── BUTTONS ─────────────────────────────────── */
.tala-btn,
.button,
button.button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	border: none;
	border-radius: var(--radius);
	padding: 12px 24px;
	cursor: pointer;
	color: #fff;
	background: var(--gold-grad);
	box-shadow: var(--shadow-sm);
	transition: filter var(--ease), box-shadow var(--ease), background var(--ease), transform var(--ease), border-color var(--ease);
	text-align: center;
	white-space: nowrap;
}
.tala-btn:hover,
.button:hover,
button.button:hover,
input[type="submit"]:hover {
	color: #fff;
	filter: brightness(1.07);
	box-shadow: var(--shadow-md);
}
.tala-btn:active { transform: translateY(1px); }

.tala-btn--outline {
	background: #fff;
	color: var(--gold-deep);
	border: 1px solid var(--gold);
	box-shadow: none;
}
.tala-btn--outline:hover { background: var(--gold-soft); color: var(--gold-deep); filter: none; box-shadow: none; }

.tala-btn--soft {
	background: var(--gold-soft);
	color: var(--gold-deep);
	box-shadow: none;
}
.tala-btn--soft:hover { filter: brightness(.97); color: var(--gold-deep); box-shadow:none; }

.tala-btn--ghost {
	background: transparent;
	color: var(--ink);
	border: 1px solid transparent;
	box-shadow: none;
}
.tala-btn--ghost:hover { background: var(--surface); border-color: var(--line); color: var(--ink); filter:none; box-shadow:none; }

.tala-btn--dark {
	background: var(--ink);
	color: #f3ede2;
	box-shadow: none;
}
.tala-btn--dark:hover { filter: brightness(1.35); color:#f3ede2; box-shadow:none; }

.tala-btn--sm { font-size: 13px; padding: 9px 17px; border-radius: calc(var(--radius) - 4px); }
.tala-btn--lg { font-size: 15px; padding: 14px 30px; }
.tala-btn--block { width: 100%; }

.tala-btn[disabled],
.button[disabled],
.tala-btn.disabled { opacity: .45; cursor: not-allowed; box-shadow: none; filter: none; }

/* Icon-only round button */
.tala-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	transition: var(--ease);
}
.tala-iconbtn:hover { border-color: var(--gold); color: var(--gold-deep); }
.tala-iconbtn--sm { width: 38px; height: 38px; }

/* 6. ─────────────────────── FORMS & INPUTS ────────────────────────────── */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
textarea, select {
	width: 100%;
	font-family: inherit;
	font-size: 14px;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 15px;
	transition: border-color var(--ease), box-shadow var(--ease);
}
textarea { line-height: 1.8; min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(197,160,89,.14);
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }

label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236e6456' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 14px center;
	padding-left: 40px;
}

.tala-field { margin-bottom: 16px; }
.tala-field label { display:block; margin-bottom: 7px; }

/* 7. ──────────────────── BADGES, PILLS, TAGS ──────────────────────────── */
.tala-badge {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 600;
	padding: 5px 11px;
	border-radius: var(--radius-pill);
	line-height: 1;
}
.tala-badge--karat { background: var(--gold-soft); color: var(--gold-deep); }
.tala-badge--sale  { background: var(--sale); color: #fff; font-weight: 700; }
.tala-badge--new   { background: var(--ink); color: #f3ede2; }
.tala-badge--instock { background: rgba(75,122,90,.12); color: var(--success); }
.tala-badge--out   { background: var(--surface); color: var(--ink-soft); }
.tala-badge--instock::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--success); }

.tala-dot { width: 3px; height: 3px; border-radius: 50%; background: #c9bfa9; display: inline-block; }

/* 8. ───────────────────────── CARDS ───────────────────────────────────── */
.tala-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.tala-card--pad { padding: 24px; }

/* Image placeholder (no featured image) */
.tala-ph {
	position: absolute; inset: 0; display: block;
	background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
}
.tala-ph::after {
	content: "طلای صدف"; position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-faint);
}

/* 9. ───────────────────────── HEADER ──────────────────────────────────── */
.tala-topbar {
	background: var(--ink);
	color: #e9e2d6;
	font-size: 12.5px;
}
.tala-topbar .tala-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.tala-topbar__msg { display: inline-flex; align-items: center; gap: 8px; }
.tala-topbar__msg .tala-icon { color: var(--gold); }
.tala-topbar__right { display: inline-flex; align-items: center; gap: 18px; }
.tala-topbar a:hover { color: var(--gold); }
.tala-topbar__links { display: inline-flex; gap: 16px; }
@media (max-width: 720px) {
	.tala-topbar__right { display: none; }
	.tala-topbar .tala-container { justify-content: center; }
	.tala-topbar__msg { font-size: 11.5px; }
}

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(250,249,246,.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.tala-header__main {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding-block: 16px;
}

/* Brand */
.tala-brand { display: inline-flex; align-items: center; color: var(--ink); }
.tala-brand:hover { color: var(--ink); }
.tala-brand__lockup { display: inline-flex; align-items: center; gap: 9px; height: 50px; }
.tala-brand__symbol { width: 59px; height: 50px; object-fit: contain; flex: none; }
.tala-brand__word { width: 87px; height: auto; object-fit: contain; flex: none; }
.tala-brand--footer .tala-brand__lockup { height: 58px; }
.tala-brand--footer .tala-brand__symbol { width: 68px; height: 58px; }
.tala-brand--footer .tala-brand__word { width: 98px; }
.custom-logo-link { display:inline-flex; align-items:center; }
.custom-logo { max-height: 58px; width:auto; }

/* Primary nav */
.tala-primary-nav { flex: 1; display: flex; justify-content: center; }
.tala-primary-nav ul { list-style: none; margin: 0; padding: 0; }
.tala-primary-nav > ul { display: flex; align-items: center; gap: 26px; }
.tala-primary-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; }
.tala-primary-nav a { font-size: 14.5px; font-weight: 500; padding-block: 6px; position: relative; }
.tala-primary-nav > ul > li > a::after {
	content: ""; position: absolute; right: 0; bottom: -2px; height: 2px; width: 0;
	background: var(--gold); transition: width var(--ease);
}
.tala-primary-nav > ul > li:hover > a::after,
.tala-primary-nav .current-menu-item > a::after { width: 100%; }
.tala-primary-nav .menu-item-has-children > a > .tala-icon { margin-right: 2px; opacity: .7; }

/* Dropdown */
.tala-primary-nav li { position: relative; }
.tala-primary-nav .sub-menu {
	display: block;
	position: absolute; top: calc(100% + 14px); right: 0;
	min-width: 230px; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-pop);
	padding: 8px; margin: 0; list-style: none;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: var(--ease); z-index: 70;
}
/* bridge the gap so hover doesn't drop */
.tala-primary-nav .menu-item-has-children > .sub-menu::before {
	content: ""; position: absolute; top: -14px; right: 0; left: 0; height: 14px;
}
.tala-primary-nav li:hover > .sub-menu,
.tala-primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tala-primary-nav .sub-menu li { display: block; width: 100%; position: relative; }
.tala-primary-nav .sub-menu a { display: block; width: 100%; padding: 10px 13px; border-radius: var(--radius-xs); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tala-primary-nav .sub-menu a::after { content: none !important; }
.tala-primary-nav .sub-menu a:hover { background: var(--surface); color: var(--gold-deep); }
.tala-primary-nav .sub-menu .sub-menu { top: -8px; right: calc(100% + 6px); }

/* Header actions */
.tala-header__actions { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.tala-action {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: none; background: none; color: var(--ink); cursor: pointer;
	transition: background var(--ease), color var(--ease);
}
.tala-action:hover { background: var(--surface); color: var(--gold-deep); }
.tala-action__count {
	position: absolute; top: 4px; left: 4px;
	min-width: 17px; height: 17px; padding: 0 4px;
	background: var(--gold-deep); color: #fff;
	font-size: 10px; font-weight: 700; line-height: 17px;
	border-radius: var(--radius-pill); text-align: center;
}
.tala-action__count:empty { display:none; }

/* Header search overlay */
.tala-search-panel {
	display: none;
	border-top: 1px solid var(--line);
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(8px);
}
.tala-search-panel.is-open { display: block; }
.tala-search-panel form { display: flex; gap: 10px; padding-block: 18px; }
.tala-search-panel input[type="search"] { flex: 1; font-size: 16px; padding: 14px 18px; }

/* Mobile menu trigger */
.tala-burger { display: none; }

/* Mobile drawer */
.tala-drawer { position: fixed; inset: 0; z-index: 200; }
.tala-drawer[hidden] { display: none; }
.tala-drawer__overlay { position: absolute; inset: 0; background: rgba(19,32,71,.48); opacity: 0; transition: opacity .25s ease; }
.tala-drawer.is-open .tala-drawer__overlay { opacity: 1; }
.tala-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(86vw, 360px); background: var(--bg);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
	box-shadow: -10px 0 40px rgba(28,46,94,.18);
	overflow-y: auto;
}
.tala-drawer.is-open .tala-drawer__panel { transform: translateX(0); }
.tala-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.tala-drawer__search { padding: 16px 20px 6px; }
.tala-drawer__search form { display: flex; gap: 8px; }
.tala-drawer__nav { padding: 8px 12px; flex: 1; }
.tala-drawer__menu, .tala-drawer__menu ul { list-style: none; }
.tala-drawer__menu a { display: block; padding: 13px 14px; font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); }
.tala-drawer__menu a:hover { background: var(--surface); color: var(--gold-deep); }
.tala-drawer__menu .sub-menu { padding-right: 14px; border-right: 2px solid var(--line); margin: 2px 14px 8px; }
.tala-drawer__menu .sub-menu a { font-size: 14px; font-weight: 400; padding: 9px 12px; color: var(--ink-soft); }
.tala-drawer__foot { padding: 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.tala-drawer__contact { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-deep); justify-content: center; }
body.tala-drawer-open { overflow: hidden; }

/* Back to top */
.tala-totop {
	position: fixed; bottom: 24px; left: 24px; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--line); background: #fff; color: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	box-shadow: var(--shadow-card);
	opacity: 0; visibility: hidden; transform: translateY(12px) rotate(180deg);
	transition: var(--ease);
}
.tala-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0) rotate(180deg); }
.tala-totop:hover { border-color: var(--gold); color: var(--gold-deep); }

.tala-footer__widgets { margin-top: 18px; }
.tala-footer__widgets .tala-footer-widget { margin-bottom: 18px; }

/* 10. ───────────────────────── FOOTER ─────────────────────────────────── */
.site-footer { background: var(--navy); color: #dce2ef; margin-top: 0; }
.tala-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-block: 56px; }
.tala-footer__about p { font-size: 13.5px; line-height: 1.95; color: #b7c0d3; max-width: 36ch; margin-top: 14px; }
.tala-footer-col__title, .tala-footer__brand + * + .tala-footer-col__title { font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 16px; }
.tala-footer-col__title { font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 16px; }
.tala-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tala-footer-col a, .tala-footer-col li { font-size: 13.5px; color: #b7c0d3; }
.tala-footer-col a:hover { color: var(--gold); }
.tala-footer__trust { display: flex; gap: 10px; margin-top: 16px; }
.tala-footer__badge {
	min-width: 56px; height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16);
	display: inline-flex; align-items: center; justify-content: center; gap:6px;
	font-size: 11px; color: #a99f8f; font-family: var(--mono);
}
.tala-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.tala-footer__social a {
	width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16);
	display: inline-flex; align-items: center; justify-content: center; color: #d8cfbf;
}
.tala-footer__social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(197,160,89,.12); }

.tala-newsletter p { font-size: 13.5px; line-height: 1.85; color: #b7c0d3; margin: 0 0 14px; }

.tala-newsletter__form {
	display: flex; gap: 8px;
	background: var(--navy-deep); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
	padding: 5px 5px 5px 14px;
}
.tala-newsletter__form input {
	flex: 1; background: none; border: none; outline: none; color: #e9e2d6;
	font-family: inherit; font-size: 13px; padding: 8px 0;
}
.tala-newsletter__form input::placeholder { color: #8e8576; }
.tala-newsletter__form button { padding: 9px 18px; border-radius: calc(var(--radius) - 5px); font-size: 13px; }

.tala-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	padding-block: 18px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	font-size: 12px; color: #8e8576;
}
.tala-footer__pay { display: flex; gap: 8px; }
.tala-footer__pay span { padding: 5px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; font-family: var(--mono); font-size: 10px; }

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(28,46,94,.08); }

/* Drawer caret toggle */
.tala-drawer__menu .menu-item-has-children { position: relative; }
.tala-drawer__caret {
	position: absolute; top: 4px; left: 6px; width: 38px; height: 38px;
	border: none; background: none; color: var(--ink-soft); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; transition: transform var(--ease);
}
.tala-drawer__menu .is-expanded > .tala-drawer__caret { transform: rotate(180deg); }
.tala-drawer__menu .sub-menu { display: none; }
.tala-drawer__menu .is-expanded > .sub-menu { display: block; }

/* Quantity steppers */
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.quantity input.qty {
	width: 54px; text-align: center; border: none; border-radius: 0;
	padding: 10px 4px; font-weight: 600; -moz-appearance: textfield;
}
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity input.qty:focus { box-shadow: none; }
.tala-qty-btn {
	width: 40px; height: 42px; border: none; background: var(--surface); color: var(--ink);
	font-size: 18px; line-height: 1; cursor: pointer; transition: var(--ease);
}
.tala-qty-btn:hover { background: var(--gold-soft); color: var(--gold-deep); }

/* 11. ──────────────────── HERO & PAGE SECTIONS ────────────────────────── */
.tala-hero {
	position: relative; border: 1px solid rgba(225,201,143,.3); border-radius: 24px; overflow: hidden;
	background: var(--navy-deep);
	box-shadow: 0 28px 80px rgba(28,46,94,.18);
}
.tala-hero::before {
	content: ""; position: absolute; inset: 0 0 0 50%; z-index: 2; pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(23,19,15,.86));
}
.tala-hero__grid { display: grid; grid-template-columns: .92fr 1.08fr; min-height: min(620px, 68vw); }
.tala-hero__body { position: relative; z-index: 3; padding: clamp(38px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.tala-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #d9b96f; font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.tala-hero__eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.tala-hero__title { color: #fffaf1; font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; margin: 0; }
.tala-hero__lead { font-size: 15.5px; line-height: 2; color: #c9bdac; margin: 0; max-width: 44ch; }
.tala-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.tala-hero__cta .tala-btn--outline { color: var(--gold-soft); border-color: rgba(245,237,220,.42); background: rgba(255,255,255,.04); }
.tala-hero__cta .tala-btn--outline:hover { color: var(--navy); background: var(--gold-soft); }
.tala-hero__trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; font-size: 12.5px; color: #b9ae9e; }
.tala-hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.tala-hero__trust .tala-icon { color: var(--gold-deep); }
.tala-hero__media {
	position: relative;
	background: #211a14;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.tala-hero__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(0,0,0,.18); pointer-events: none; }
.tala-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.tala-hero__media--pattern { background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px); }

/* 12. ───────────── CATEGORY CHIPS / TRUST / FEATURES ──────────────────── */
/* Compact icon-led categories — intentionally unlike image-heavy product cards. */
.tala-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tala-cat-chip {
	position: relative; display: flex; align-items: center; gap: 12px; min-height: 92px;
	background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 16px;
	padding: 12px 14px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.tala-cat-chip:hover { background: #fff; border-color: var(--gold-line); box-shadow: 0 10px 26px rgba(28,46,94,.09); transform: translateY(-3px); }
.tala-cat-chip__icon {
	flex: none; width: 46px; height: 46px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--gold-soft); color: var(--gold-deep); transition: color .25s ease, background .25s ease;
}
.tala-cat-chip:hover .tala-cat-chip__icon { color: #fff; background: var(--gold-grad); }
.tala-cat-chip__thumb {
	position: relative; flex: none; width: 54px; height: 54px; margin-inline-start: auto;
	border-radius: 50%; overflow: hidden; background: var(--surface); border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--line), 0 5px 14px rgba(28,46,94,.1);
}
.tala-cat-chip__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tala-cat-chip:hover .tala-cat-chip__thumb img { transform: scale(1.08); }
.tala-cat-chip__thumb .tala-ph::after { content: none; }
.tala-cat-chip__text { display: flex; flex-direction: column; min-width: 0; }
.tala-cat-chip__name { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tala-cat-chip__count { font-size: 11.5px; color: var(--ink-soft); margin-top: 1px; }
.tala-cat-chip__go { flex: none; color: var(--ink-faint); transition: var(--ease); }
.tala-cat-chip:hover .tala-cat-chip__go { color: var(--gold-deep); transform: translateX(-4px); }

/* Trust strip */
.tala-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tala-trust__item {
	display: flex; align-items: center; gap: 14px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.tala-trust__icon {
	flex: none; width: 48px; height: 48px; border-radius: 12px;
	background: var(--gold-soft); color: var(--gold-deep);
	display: inline-flex; align-items: center; justify-content: center;
}
.tala-trust__title { font-size: 14px; font-weight: 700; }
.tala-trust__text { font-size: 12px; color: var(--ink-soft); margin-top: 2px; line-height: 1.6; }

/* Promo / banner */
.tala-promo {
	border-radius: var(--radius); overflow: hidden;
	background: var(--ink); color: #ece3d3;
	display: grid; grid-template-columns: 1.2fr .8fr; align-items: center;
}
.tala-promo__body { padding: clamp(30px,4vw,52px); display:flex; flex-direction:column; gap:14px; }
.tala-promo__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; color: #fff; }
.tala-promo__mark { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-grad-145); box-shadow: 0 0 0 3px rgba(245,237,220,.18); flex: none; }
.tala-promo__eyebrow { font-size: 13px; font-weight: 600; color: var(--gold); }
.tala-promo__title { color:#fff; font-size: clamp(22px,3vw,30px); margin:0; }
.tala-promo__media { position: relative; min-height: 300px; padding: 18px; }
.tala-promo__media img {
	position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px);
	object-fit: cover; border-radius: var(--radius-sm);
}

/* Section row header with "see all" */
.tala-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.tala-row-head .tala-section-head { margin-bottom: 0; }
.tala-link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.tala-link-more:hover { gap: 9px; }

/* Carousel (manual, no autoplay).
   NOTE: the track is also `ul.products`, whose grid rule (specificity 0,1,1)
   would otherwise beat a plain `.tala-carousel__track` (0,1,0) and turn the
   row back into a stacked grid. So every track rule is scoped to
   `ul.products.tala-carousel__track` (0,2,1) to reliably win. */
.tala-carousel { position: relative; z-index: 1; margin-top: 8px; }
ul.products.tala-carousel__track {
	display: flex !important; grid-template-columns: none !important;
	gap: 22px; margin: 0; padding: 4px 2px 8px; list-style: none;
	flex-wrap: nowrap; align-items: stretch;
	/* hidden = NOT user-scrollable by wheel (so it never traps page scroll),
	   but still scrollable programmatically by the arrow buttons. */
	overflow-x: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	overscroll-behavior: auto;
	-ms-overflow-style: none; scrollbar-width: none;
}
ul.products.tala-carousel__track::-webkit-scrollbar { display: none; }
ul.products.tala-carousel__track > li.product {
	flex: 0 0 calc((100% - 3 * 22px) / 4); width: calc((100% - 3 * 22px) / 4) !important;
	max-width: none; scroll-snap-align: start; margin: 0 !important; float: none !important;
}
.tala-carousel__arrow {
	position: absolute; top: 42%; transform: translateY(-50%); z-index: 6;
	width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
	border: 1px solid var(--gold-line); background: #fff; color: var(--gold-deep);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-card); transition: var(--ease);
}
.tala-carousel__arrow:hover { background: var(--gold-grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.tala-carousel__arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.tala-carousel__arrow:disabled:hover { background: #fff; color: var(--gold-deep); border-color: var(--gold-line); }
.tala-carousel__arrow--prev { right: -16px; }
.tala-carousel__arrow--next { left: -16px; }

@media (max-width: 1080px) {
	ul.products.tala-carousel__track > li.product {
		flex-basis: calc((100% - 2 * 22px) / 3); width: calc((100% - 2 * 22px) / 3) !important;
	}
}
@media (max-width: 760px) {
	ul.products.tala-carousel__track { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; overflow: visible; scroll-snap-type: none; scroll-behavior: auto; }
	ul.products.tala-carousel__track > li.product {
		width: auto !important; min-width: 0;
	}
	ul.products.tala-carousel__track { gap: 18px; }
	.tala-carousel__arrow { display: none; } /* swipe on touch */
}
@media (max-width: 460px) {
	ul.products.tala-carousel__track > li.product {
		width: auto !important;
	}
}

/* Hero placeholder ring */
.tala-hero__ring {
	width: 62%; aspect-ratio: 1; border-radius: 50%;
	border: 1.5px dashed var(--gold-line);
	display: flex; align-items: center; justify-content: center;
	color: var(--ink-faint); font-family: var(--mono); font-size: 13px;
}

/* Values grid */
.tala-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tala-value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.tala-value__icon {
	width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 16px;
}
.tala-value__title { font-size: 16px; margin: 0 0 8px; }
.tala-value__text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; margin: 0; }

/* Reviews */
.tala-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tala-review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.tala-review__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.tala-review__stars .tala-icon { fill: var(--gold); }
.tala-review__text { margin: 0; font-size: 14.5px; line-height: 1.95; color: #34302a; border: none; padding: 0; background: none; }
.tala-review__author { display: flex; align-items: center; gap: 12px; }
.tala-review__avatar {
	width: 44px; height: 44px; border-radius: 50%; flex: none;
	background: var(--gold-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 17px;
}
.tala-review__name { font-weight: 700; font-size: 14px; display: block; }
.tala-review__role { font-size: 12px; color: var(--ink-soft); }

/* Homepage product grid + 3-up posts */
.tala-products-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; }
.tala-posts--3 { grid-template-columns: repeat(3, 1fr); }
.tala-home .tala-posts--4 { grid-template-columns: repeat(4, 1fr); }

/* Homepage: shorter product cards (square media) + compact 4-up blog cards */
.tala-home .tala-product-card__media { aspect-ratio: 1 / 1; }
.tala-home .tala-product-card__body { padding: 14px; gap: 8px; }
.tala-home .tala-product-card__title { font-size: 14.5px; }
.tala-home .tala-posts--4 { gap: 18px; }
.tala-home .tala-posts--4 .tala-post-card__media { aspect-ratio: 16 / 10; }
.tala-home .tala-posts--4 .tala-post-card__body { padding: 13px 14px; gap: 6px; }
.tala-home .tala-posts--4 .tala-post-card__title { font-size: 14px; line-height: 1.45; }
.tala-home .tala-posts--4 .tala-post-card__excerpt {
	font-size: 12px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tala-home .tala-posts--4 .tala-post-card__cat { font-size: 10.5px; padding: 4px 9px; }
.tala-home .tala-posts--4 .tala-post-card__footer { padding-top: 9px; font-size: 11.5px; }

@media (max-width: 1080px) {
	.tala-values { grid-template-columns: repeat(2, 1fr); }
	.tala-reviews { grid-template-columns: 1fr; }
	.tala-products-grid { grid-template-columns: repeat(3, 1fr); }
	.tala-posts--3 { grid-template-columns: repeat(2, 1fr); }
	.tala-home .tala-posts--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.tala-values { grid-template-columns: 1fr; }
	.tala-products-grid { grid-template-columns: repeat(2, 1fr); }
	.tala-posts--3 { grid-template-columns: 1fr; }
	.tala-home .tala-posts--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
	.tala-home .tala-posts--4 { grid-template-columns: 1fr; }
}

/* 13. ──────────────── BREADCRUMB & PAGINATION ─────────────────────────── */
.tala-breadcrumb { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.tala-breadcrumb .tala-container { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 13px; }
.tala-breadcrumb a:hover { color: var(--gold-deep); }
.tala-breadcrumb__sep { display: inline-flex; color: var(--ink-faint); }
.tala-breadcrumb span:last-child { color: var(--ink); font-weight: 500; }

.tala-pagination { margin-top: 44px; }
.tala-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; }
.tala-pagination a, .tala-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 8px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: #fff; font-size: 14px; font-weight: 600; color: var(--ink);
}
.tala-pagination a:hover { border-color: var(--gold); color: var(--gold-deep); }
.tala-pagination .current { background: var(--gold-grad); border-color: transparent; color: #fff; }
.tala-pagination .dots { border: none; background: none; }

/* 14. ───────────────────────── BLOG ───────────────────────────────────── */
.tala-blog-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.tala-has-sidebar .tala-blog-layout { grid-template-columns: minmax(0,1fr) 320px; }

.tala-posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tala-has-sidebar .tala-posts { grid-template-columns: repeat(2, 1fr); }

.tala-post-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: var(--ease);
}
.tala-post-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.tala-post-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--surface); }
.tala-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tala-post-card:hover .tala-post-card__media img { transform: scale(1.04); }
.tala-post-card__cat {
	position: absolute; top: 12px; right: 12px;
	background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
	color: var(--gold-deep); font-size: 11.5px; font-weight: 600;
	padding: 5px 11px; border-radius: var(--radius-pill);
}
.tala-post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tala-post-card__title { font-size: 17px; font-weight: 600; line-height: 1.5; margin: 0; }
.tala-post-card__title a:hover { color: var(--gold-deep); }
.tala-post-card__excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; margin: 0; }
.tala-post-card__footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.tala-post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--ink-soft); }
.tala-post-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.tala-post-meta__item .tala-icon { color: var(--gold-deep); }
.tala-post-meta a:hover { color: var(--gold-deep); }

/* Blog index: compact toolbar with a small search icon */
.tala-blog-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.tala-blog-toolbar__count { font-size: 13.5px; color: var(--ink-soft); }
.tala-blog-search-btn { color: var(--ink-soft); }

/* Editorial horizontal blog rows (blog index & archives) — a distinct, lighter
   layout than the homepage card grid. */
.tala-blog-list { display: flex; flex-direction: column; gap: 18px; }
.tala-post-row {
	display: grid; grid-template-columns: 240px 1fr; min-height: 200px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: var(--ease);
}
.tala-post-row:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.tala-post-row__media { position: relative; overflow: hidden; background: var(--surface); }
.tala-post-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tala-post-row:hover .tala-post-row__media img { transform: scale(1.04); }
.tala-post-row__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.tala-post-row__cat {
	align-self: flex-start; font-size: 11.5px; font-weight: 600; color: var(--gold-deep);
	background: var(--gold-soft); padding: 4px 12px; border-radius: var(--radius-pill);
}
.tala-post-row__title { font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0; }
.tala-post-row__title a { color: var(--ink); }
.tala-post-row__title a:hover { color: var(--gold-deep); }
.tala-post-row__excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; margin: 0; }
.tala-post-row__footer { display: flex; align-items: center; gap: 16px; margin-top: 4px; font-size: 12.5px; color: var(--ink-soft); }
.tala-post-row__footer .tala-post-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.tala-post-row__footer .tala-post-meta__item .tala-icon { color: var(--gold-deep); }
.tala-post-row__footer .tala-link-more { margin-right: auto; }
@media (max-width: 640px) {
	.tala-post-row { grid-template-columns: 1fr; min-height: 0; }
	.tala-post-row__media { aspect-ratio: 16 / 9; }
	.tala-post-row__footer { flex-wrap: wrap; gap: 12px; }
}

/* Single post — two-column (article + product sidebar), left/right aligned. */
.tala-single { padding-block: clamp(28px, 4vw, 44px) 0; }
.tala-single-layout { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.tala-single-layout.has-sidebar { grid-template-columns: minmax(0,1fr) 320px; }
.tala-single__main { min-width: 0; max-width: 820px; }
.tala-single-layout.has-sidebar .tala-single__main { max-width: none; }
.tala-single__hero { position: relative; }
.tala-single__header { padding-bottom: 4px; text-align: right; }
.tala-single__cat {
	display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--gold-deep);
	background: var(--gold-soft); padding: 5px 13px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.tala-single__cat:hover { background: var(--gold-line); color: var(--gold-deep); }
.tala-single__title { font-size: clamp(24px, 3.4vw, 33px); margin: 0 0 14px; }
.tala-single__featured { margin: 22px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.tala-single__featured img { width: 100%; display: block; }
.tala-entry { max-width: none; margin: 0; font-size: 16px; line-height: 2; color: #34302a; }
.tala-entry > * { margin-bottom: 1.3em; }
.tala-entry h2 { font-size: 25px; margin-top: 1.6em; }
.tala-entry h3 { font-size: 21px; margin-top: 1.4em; }
.tala-entry img { border-radius: var(--radius); }
.tala-entry ul, .tala-entry ol { padding-right: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.tala-entry a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tala-entry a:hover { color: var(--gold); }

.tala-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.tala-tags a { font-size: 12.5px; padding: 6px 13px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-soft); }
.tala-tags a:hover { background: var(--gold-soft); color: var(--gold-deep); }

.tala-share { display: flex; gap: 10px; align-items: center; }
.tala-share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display:inline-flex; align-items:center; justify-content:center; background:#fff; }
.tala-share a:hover { border-color: var(--gold); color: var(--gold-deep); }

.tala-author {
	display: flex; gap: 16px; align-items: flex-start;
	background: var(--surface); border-radius: var(--radius); padding: 24px; margin-top: 40px;
}
.tala-author__avatar img { border-radius: 50%; }
.tala-author__name { font-weight: 700; font-size: 16px; }
.tala-author__bio { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; margin-top: 4px; }

.tala-single__content { padding-block: 28px clamp(44px, 6vw, 72px); }
.tala-single__meta { margin-top: 0; }
.tala-single__share { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.tala-share__label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.tala-related { margin-top: 48px; }

/* Single post: product sidebar */
.tala-single__sidebar-inner { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 20px; }
.tala-pwidget__list { list-style: none; display: flex; flex-direction: column; gap: 15px; margin: 0 0 16px; }
.tala-pwidget__item { display: flex; gap: 12px; align-items: center; }
.tala-pwidget__thumb { flex: none; width: 62px; height: 62px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.tala-pwidget__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tala-pwidget__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tala-pwidget__title { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tala-pwidget__title:hover { color: var(--gold-deep); }
.tala-pwidget__price { font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.tala-pwidget__price del { color: var(--ink-faint); font-weight: 500; font-size: 11px; margin-left: 5px; }
.tala-pwidget__price ins { text-decoration: none; }
@media (max-width: 980px) {
	.tala-single-layout.has-sidebar { grid-template-columns: 1fr; }
	.tala-single__sidebar-inner { position: static; }
}

/* 15. ──────────────────── WIDGETS & SIDEBAR ───────────────────────────── */
.tala-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 150px; }
.tala-widget {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.tala-widget__title { font-size: 15px; font-weight: 700; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tala-widget ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.tala-widget li { font-size: 14px; color: var(--ink-soft); }
.tala-widget a:hover { color: var(--gold-deep); }
.tala-widget ul ul { margin-top: 11px; padding-right: 14px; }
.tala-widget .children { padding-right: 14px; }
.tala-widget select { margin-top: 4px; }
.tala-widget .post-date { font-size: 12px; color: var(--ink-faint); }
.tala-widget .wp-block-search__inside-wrapper,
.tala-widget .search-form { display: flex; gap: 8px; }
.tala-widget img { border-radius: var(--radius-sm); }

/* 16. ─────────────── PAGE HEADER / GENERIC CONTENT ────────────────────── */
.tala-page-header {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(34px, 5vw, 56px);
	text-align: center;
}
.tala-page-header__title { font-size: clamp(26px, 4vw, 38px); margin: 8px 0 0; }
.tala-page-header__lead { color: var(--ink-soft); max-width: 60ch; margin: 14px auto 0; }

.tala-page-content { padding-block: clamp(40px, 6vw, 72px); }
.tala-prose { max-width: 800px; margin-inline: auto; font-size: 16px; line-height: 2; color: #34302a; }
.tala-prose h2 { font-size: 24px; margin-top: 1.5em; }
.tala-prose h3 { font-size: 20px; }
.tala-prose ul, .tala-prose ol { padding-right: 1.4em; }
.tala-prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Search form */
.tala-search-form { display: flex; gap: 8px; }
.tala-search-form .search-field { flex: 1; }
.tala-search-form__submit { padding: 12px 16px; flex: none; }
.tala-search-panel .tala-search-form { padding-block: 18px; }

.tala-page-thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.tala-page-thumb img { width: 100%; }
.tala-page-links { margin-top: 22px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.tala-page-links a { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-xs); }

/* 404 */
.tala-404 { padding-block: 30px; }
.tala-404__num { font-size: clamp(72px, 14vw, 140px); font-weight: 700; line-height: 1; color: var(--gold-soft); letter-spacing: -.04em; display:block; margin-bottom: 4px; }
.tala-404 h1 { margin-top: 14px; }
.tala-404__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.tala-404__search { max-width: 480px; margin-inline: auto; }

/* Comments */
.tala-comments { max-width: 760px; margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--line); }
.tala-comments__title, .tala-comments__formtitle { font-size: 20px; margin-bottom: 24px; }
.tala-comment-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.tala-comment-list ol.children { list-style: none; padding-right: 28px; margin-top: 22px; display: flex; flex-direction: column; gap: 22px; }
.tala-comment-list .comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tala-comment-list .comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tala-comment-list .comment-author img { border-radius: 50%; }
.tala-comment-list .comment-author .fn { font-weight: 700; font-style: normal; }
.tala-comment-list .comment-meta { font-size: 12px; color: var(--ink-faint); }
.tala-comment-list .comment-meta a { color: inherit; }
.tala-comment-list .reply { margin-top: 8px; }
.tala-comment-list .reply a { font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.tala-comment-form { background: var(--surface); border-radius: var(--radius); padding: 26px; overflow: hidden; }
.tala-comment-form label { display: block; margin-bottom: 6px; }
/* Name + email side by side; each label sits inline before its field (desktop). */
.tala-comment-form .comment-form-author,
.tala-comment-form .comment-form-email {
	width: calc(50% - 8px); margin-bottom: 14px;
	display: flex; align-items: center; gap: 12px;
}
.tala-comment-form .comment-form-author { float: right; clear: right; }
.tala-comment-form .comment-form-email { float: left; }
.tala-comment-form .tala-cf-row label { flex: none; margin-bottom: 0; white-space: nowrap; }
.tala-comment-form .tala-cf-row input { flex: 1; min-width: 0; margin-bottom: 0; }
.tala-comment-form .comment-form-comment,
.tala-comment-form .comment-form-cookies-consent,
.tala-comment-form .comment-notes,
.tala-comment-form .form-submit { clear: both; }
.tala-comment-form input[type="text"], .tala-comment-form input[type="email"], .tala-comment-form input[type="url"] { margin-bottom: 14px; }
.tala-comment-form .tala-cf-row input { margin-bottom: 0; }
.tala-comment-form .form-submit { margin-top: 6px; }
@media (max-width: 540px) {
	.tala-comment-form .comment-form-author,
	.tala-comment-form .comment-form-email { width: 100%; float: none; }
}
.tala-comments__closed { color: var(--ink-soft); font-size: 14px; }

/* Contact page */
.tala-contact__grid { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 30px; align-items: start; }
.tala-contact__cards { display: flex; flex-direction: column; gap: 14px; }
.tala-contact__card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tala-contact__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-deep); display: inline-flex; align-items: center; justify-content: center; }
.tala-contact__label { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 3px; }
.tala-contact__card a, .tala-contact__value { font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.7; }
.tala-contact__card a:hover { color: var(--gold-deep); }
.tala-contact__formtitle { font-size: 20px; margin-bottom: 6px; }
.tala-contact__formlead { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.tala-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tala-contact-form .tala-btn { margin-top: 6px; }
.tala-contact-form input[type="tel"] { direction: rtl; text-align: right; }
.tala-contact__map { margin-top: 30px; }
.tala-contact__content { margin-top: 30px; }
.tala-formnotice { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; }
.tala-formnotice--success { background: rgba(75,122,90,.12); color: var(--success); }
.tala-formnotice--error { background: rgba(181,72,59,.1); color: var(--sale); }

/* About page */
.tala-about__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.tala-about__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.tala-about__media img { width: 100%; height: 100%; object-fit: cover; }
.tala-about__media--pattern { background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px); }
.tala-prose--start { text-align: right; max-width: none; margin: 0; }
.tala-about__story h2 { font-size: 26px; }
.tala-about__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.tala-stat__num { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--gold); letter-spacing: -.02em; }
.tala-stat__label { font-size: 13.5px; color: #b8aa92; }
.tala-about__cta h2 { font-size: clamp(22px,3vw,28px); }
.tala-about__cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

@media (max-width: 980px) {
	.tala-contact__grid { grid-template-columns: 1fr; }
	.tala-about__intro { grid-template-columns: 1fr; gap: 28px; }
	.tala-about__media { order: -1; }
	.tala-about__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 540px) {
	.tala-form-row { grid-template-columns: 1fr; }
}

/* 17. ───────────────────────── UTILITIES ──────────────────────────────── */
.tala-mt-0 { margin-top: 0 !important; }
.tala-text-center { text-align: center; }
.tala-flex { display: flex; }
.tala-items-center { align-items: center; }
.tala-justify-between { justify-content: space-between; }
.tala-gap-sm { gap: 10px; }
.tala-hidden { display: none !important; }
.tala-fa-num { font-feature-settings: "ss01"; }

/* 18. ───────────────────────── TOAST / MISC ───────────────────────────── */
.tala-toast {
	position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 30px);
	background: var(--ink); color: #f3ede2; padding: 12px 22px; border-radius: var(--radius-pill);
	font-size: 13.5px; box-shadow: var(--shadow-pop); z-index: 9999;
	opacity: 0; visibility: hidden; transition: var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.tala-toast .tala-icon { color: var(--gold); }
.tala-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.tala-no-results { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.tala-no-results .tala-icon { color: var(--gold); margin-bottom: 12px; }

/* Scroll-reveal helper (progressive enhancement, safe without JS) */
.tala-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.tala-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.tala-reveal { opacity: 1 !important; transform: none !important; transition: none; }
	html { scroll-behavior: auto; }
}

/* 19. ───────────────────────── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1080px) {
	.tala-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
	.tala-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.tala-trust { grid-template-columns: repeat(2, 1fr); }
	.tala-has-sidebar .tala-blog-layout { grid-template-columns: 1fr; }
	.tala-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
	.tala-sidebar .tala-widget { flex: 1 1 280px; }
}

@media (max-width: 900px) {
	:root { --header-h: 110px; }
	.tala-primary-nav, .tala-search-toggle { display: none; }
	.tala-burger { display: inline-flex; }
	.tala-hero__grid { grid-template-columns: 1fr; }
	/* On stacked layouts the square image can grow beyond its min-height.
	   Put the gradient on the media itself so inset:0 always covers it fully. */
	.tala-hero::before { display: none; }
	.tala-hero__media::after {
		z-index: 2;
		background: linear-gradient(0deg, var(--navy-deep) 0%, rgba(19,32,71,.48) 32%, rgba(19,32,71,.1) 100%);
		box-shadow: inset 0 0 90px rgba(0,0,0,.18);
	}
	.tala-hero__media { min-height: 420px; order: -1; }
	.tala-hero__body { margin-top: -42px; padding-top: 56px; }
	.tala-promo { grid-template-columns: 1fr; }
	.tala-promo__media { min-height: 200px; }
}

@media (max-width: 720px) {
	body { font-size: 14.5px; }
	.tala-header__main { gap: 8px; padding-block: 10px; }
	.tala-header__actions { gap: 0; }
	.tala-action { width: 36px; height: 38px; }
	.tala-brand__lockup { height: 40px; gap: 5px; }
	.tala-brand__symbol { width: 47px; height: 40px; }
	.tala-brand__word { width: 63px; }
	.custom-logo { max-height: 44px; max-width: 120px; }
	.tala-posts { grid-template-columns: 1fr; }
	.tala-footer__top { grid-template-columns: 1fr; }
	.tala-footer__bottom { flex-direction: column; text-align: center; }
	.tala-row-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 540px) {
	:root { --gutter: 16px; }
	.tala-cat-grid { grid-template-columns: 1fr; gap: 10px; }
	.tala-cat-chip { min-height: 82px; padding: 10px 12px; }
	.tala-cat-chip__icon { width: 42px; height: 42px; border-radius: 12px; }
	.tala-cat-chip__thumb { width: 48px; height: 48px; }
	.tala-trust { grid-template-columns: 1fr; }
	.tala-hero { border-radius: 18px; }
	.tala-hero__media { min-height: 340px; }
	.tala-hero__body { padding: 46px 24px 30px; gap: 16px; }
	.tala-hero__title { font-size: 30px; }
	.tala-hero__trust { gap: 10px 14px; }
	.tala-hero__cta { width: 100%; }
	.tala-hero__cta .tala-btn { flex: 1; }
}
