/* =====================================================================
   Says Quran — Design System
   Fresh redesign: warm, premium, calm. Emerald + gold + cream.
   ===================================================================== */

:root {
	/* Brand */
	--green:        #0B5D3B;
	--green-600:    #0A4F33;
	--green-700:    #08402A;
	--green-050:    #EAF3EE;
	--gold:         #C9A227;
	--gold-soft:    #E7C766;
	--cream:        #FBF7F0;
	--cream-2:      #F4ECDE;
	--ink:          #1B2620;
	--muted:        #5F6B64;
	--line:         #E7E0D4;
	--white:        #FFFFFF;
	--danger:       #C0392B;

	/* Type */
	--font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Amiri", Georgia, serif;

	/* Rhythm */
	--radius: 16px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(27,38,32,.06), 0 2px 8px rgba(27,38,32,.05);
	--shadow-md: 0 6px 24px rgba(27,38,32,.10);
	--shadow-lg: 0 18px 48px rgba(27,38,32,.16);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 28px);
	--ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-ui);
	color: var(--ink);
	background: var(--cream);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.eyebrow {
	font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--gold); margin-bottom: .6rem; display: inline-block;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head.left { text-align: left; margin-inline: 0; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button,
.woocommerce button.button, .woocommerce .button, .added_to_cart {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--font-ui); font-weight: 700; font-size: .95rem; line-height: 1;
	padding: .85em 1.5em; border-radius: var(--radius-pill); border: 0; cursor: pointer;
	background: var(--green); color: #fff !important; transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
	text-align: center;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce .button:hover, .added_to_cart:hover {
	background: var(--green-700); color: #fff !important; transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-gold { background: var(--gold); color: var(--ink) !important; }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink) !important; }
.btn-ghost { background: transparent; color: var(--green) !important; border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--green-050); color: var(--green) !important; box-shadow: none; }
.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(251,247,240,.85); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.topbar {
	background: var(--green-700); color: #fff; font-size: .82rem; text-align: center;
	padding: .55rem var(--gutter); letter-spacing: .01em;
}
.topbar strong { color: var(--gold-soft); }
.header-inner {
	display: flex; align-items: center; gap: 1.5rem;
	padding: .85rem 0; min-height: 68px;
}
.site-branding { display: flex; align-items: center; }
.site-branding .custom-logo-link img { max-height: 48px; width: auto; }
.site-title { font-size: 1.4rem; font-weight: 800; margin: 0; letter-spacing: -.03em; }
.site-title a { color: var(--green); }
.site-title .dot { color: var(--gold); }

.primary-nav { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a {
	display: block; padding: .6rem .9rem; border-radius: var(--radius-pill);
	color: var(--ink); font-weight: 600; font-size: .95rem;
}
.nav-menu a:hover, .nav-menu .current-menu-item > a { background: var(--green-050); color: var(--green); }
.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
	padding: .4rem; list-style: none; margin: .4rem 0 0; opacity: 0; visibility: hidden;
	transform: translateY(6px); transition: all .2s var(--ease); z-index: 20;
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; background: transparent; color: var(--ink);
	border: 0; cursor: pointer;
}
.icon-btn:hover { background: var(--green-050); color: var(--green); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
	display: grid; place-items: center; background: var(--gold); color: var(--ink);
	font-size: .68rem; font-weight: 800; border-radius: var(--radius-pill); line-height: 1;
}
.cart-count[data-count="0"] { display: none; }

.menu-toggle { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(120% 120% at 90% -10%, rgba(201,162,39,.14), transparent 55%),
		linear-gradient(180deg, var(--green-050), var(--cream) 70%);
}
.hero-inner {
	display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 64px);
	padding: clamp(40px, 7vw, 88px) 0;
}
.hero-copy .eyebrow { background: #fff; padding: .35rem .8rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.hero h1 { margin-top: 1rem; }
.hero h1 .accent { color: var(--green); position: relative; }
.hero-arabic { font-family: var(--font-serif); color: var(--gold); font-size: 1.4em; }
.hero-copy p.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { display: flex; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.hero-trust svg { width: 20px; height: 20px; color: var(--green); }

.hero-visual { position: relative; }
.hero-visual .hero-img {
	border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%;
	background: var(--cream-2);
}
.hero-badge {
	position: absolute; bottom: 22px; left: -14px; background: #fff; border-radius: var(--radius);
	padding: .9rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem;
}
.hero-badge .stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; }
.hero-badge b { display: block; font-size: 1.1rem; }
.hero-badge small { color: var(--muted); }

/* =====================================================================
   CATEGORY TILES
   ===================================================================== */
.cat-grid {
	display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 20px);
}
.cat-tile {
	display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
	padding: 1.6rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--green); }
.cat-tile .cat-icon {
	width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
	background: var(--green-050); color: var(--green);
}
.cat-tile .cat-icon svg { width: 30px; height: 30px; }
.cat-tile:hover .cat-icon { background: var(--green); color: #fff; }
.cat-tile span { font-weight: 700; font-size: .95rem; }
.cat-tile small { color: var(--muted); font-weight: 500; }

/* =====================================================================
   PRODUCT GRID (shared: homepage + shop)
   ===================================================================== */
ul.products, .product-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px);
}
ul.products::before, ul.products::after { display: none; } /* kill WC clearfix */

li.product, .product-card {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; width: auto !important; margin: 0 !important; float: none !important;
	display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
li.product:hover, .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
li.product a.woocommerce-LoopProduct-link, .product-card .card-media {
	display: block; position: relative; aspect-ratio: 1/1; background: var(--cream-2); overflow: hidden;
}
li.product img, .product-card .card-media img {
	width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); margin: 0;
}
li.product:hover img, .product-card:hover .card-media img { transform: scale(1.06); }

/* Sale / badge flash */
.woocommerce span.onsale, .product-badge {
	position: absolute; top: 12px; left: 12px; z-index: 3; margin: 0; min-height: 0; min-width: 0;
	background: var(--gold); color: var(--ink); font-weight: 800; font-size: .72rem; letter-spacing: .04em;
	padding: .35em .7em; border-radius: var(--radius-pill); line-height: 1;
}
.product-badge.best { background: var(--green); color: #fff; }

.product-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
li.product .woocommerce-loop-product__title, .product-card .product-title {
	font-size: 1rem; font-weight: 700; line-height: 1.35; padding: 0; margin: 0 0 .35rem;
	color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-cat-label { font-size: .78rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.woocommerce ul.products li.product .price, .product-card .price {
	color: var(--green); font-weight: 800; font-size: 1.1rem; margin: auto 0 0; display: block; float: none;
}
.price del { color: var(--muted); font-weight: 500; font-size: .85em; margin-right: .4em; opacity: .7; }
.price ins { text-decoration: none; }
.star-rating { color: var(--gold); margin: .3rem 0; font-size: .9rem; }

/* Card add-to-cart */
li.product .button, li.product .added_to_cart {
	margin-top: .9rem; width: 100%; font-size: .88rem; padding: .75em 1em;
}

/* =====================================================================
   TRUST / FEATURE STRIP
   ===================================================================== */
.features {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px);
}
.feature {
	display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem;
	background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
}
.feature .f-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--green-050); color: var(--green); display: grid; place-items: center; }
.feature .f-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1rem; margin: 0 0 .2rem; }
.feature p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
	background: linear-gradient(120deg, var(--green-700), var(--green));
	color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 60px); text-align: center;
	position: relative; overflow: hidden;
}
.cta-band::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(80% 120% at 100% 0, rgba(201,162,39,.28), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin-inline: auto; margin-bottom: 1.6rem; }

/* =====================================================================
   SHOP / ARCHIVE
   ===================================================================== */
.shop-hero {
	background: linear-gradient(180deg, var(--green-050), var(--cream));
	padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); text-align: center;
}
.shop-hero h1 { margin: 0 0 .3rem; }
.shop-hero .term-desc, .shop-hero p { color: var(--muted); margin: 0; }
.breadcrumb, .woocommerce-breadcrumb {
	font-size: .85rem; color: var(--muted); margin: 0 0 1.4rem; padding-top: 1.2rem;
}
.breadcrumb a, .woocommerce-breadcrumb a { color: var(--green); }
.shop-wrap { padding-block: clamp(28px, 5vw, 56px); }
.woocommerce-result-count { color: var(--muted); font-size: .9rem; margin: 0; }
.woocommerce-ordering { margin: 0 0 1.4rem; }
.woocommerce-ordering select, .sq-select {
	font-family: var(--font-ui); padding: .6em 2.4em .6em 1em; border: 1.5px solid var(--line);
	border-radius: var(--radius-pill); background: #fff; font-weight: 600; color: var(--ink); cursor: pointer;
}
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }

/* Pagination */
.woocommerce-pagination ul { display: flex; gap: .4rem; justify-content: center; list-style: none; padding: 0; margin: 2.5rem 0 0; border: 0; }
.woocommerce-pagination ul li { border: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem;
	border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink);
}
.woocommerce-pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.woocommerce-pagination a:hover { border-color: var(--green); color: var(--green); }

/* =====================================================================
   SINGLE PRODUCT
   ===================================================================== */
.single-product div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.single-product .woocommerce-product-gallery { border-radius: var(--radius); overflow: hidden; }
.single-product .product_title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.single-product .price, .single-product p.price { color: var(--green); font-weight: 800; font-size: 1.6rem; }
.single-product .quantity input { padding: .7em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); width: 80px; font-weight: 600; }
.single-product form.cart { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin: 1.4rem 0; }
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 2rem; }
.single-product .woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: .5rem; padding: 0; border-bottom: 1px solid var(--line); }
.single-product .woocommerce-tabs ul.tabs li { margin: 0; }
.single-product .woocommerce-tabs ul.tabs a { display: block; padding: .8rem 1.2rem; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--green); border-color: var(--green); }
.stock.in-stock { color: var(--green); font-weight: 700; }
.stock.out-of-stock { color: var(--danger); font-weight: 700; }
table.variations { margin-bottom: 1rem; }
table.variations td, table.variations th { padding: .4rem .6rem .4rem 0; }
table.variations select { padding: .6em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-ui); }

/* =====================================================================
   CART / CHECKOUT (light touch — WC handles logic)
   ===================================================================== */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--green-050); color: var(--ink); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	border: 1.5px solid var(--line) !important; border-radius: var(--radius-sm) !important; padding: .7em .9em; font-family: var(--font-ui);
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: 3px solid var(--green); background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: 1rem 1.2rem 1rem 3rem;
}
.woocommerce-error { border-top-color: var(--danger); }

/* =====================================================================
   POSTS / GENERIC PAGES
   ===================================================================== */
.page-hero { background: linear-gradient(180deg, var(--green-050), var(--cream)); padding: clamp(40px,6vw,72px) 0; text-align: center; }
.entry-content { max-width: 760px; margin-inline: auto; }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
blockquote { border-left: 4px solid var(--gold); background: #fff; margin: 1.5rem 0; padding: 1rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card .post-thumb { aspect-ratio: 16/10; object-fit: cover; }
.post-card .post-body { padding: 1.2rem 1.3rem 1.5rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--green-700); color: rgba(255,255,255,.82); margin-top: clamp(48px,8vw,96px); }
.footer-top { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(24px, 4vw, 48px); }
.site-footer h4, .site-footer .footer-title { color: #fff; font-size: 1rem; margin: 0 0 1rem; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .widget ul { list-style: none; padding: 0; margin: 0; }
.site-footer .widget li { margin-bottom: .6rem; }
.footer-brand p { max-width: 34ch; font-size: .92rem; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: .8rem; }
.footer-logo .dot { color: var(--gold); }
.social-row { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.social-row a:hover { background: var(--gold); color: var(--ink); }
.social-row svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input {
	flex: 1; padding: .75em 1em; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.2);
	background: rgba(255,255,255,.08); color: #fff; font-family: var(--font-ui);
}
.newsletter input::placeholder { color: rgba(255,255,255,.55); }

/* =====================================================================
   MOBILE MENU / DRAWER
   ===================================================================== */
.mobile-drawer {
	position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: var(--cream); z-index: 200;
	transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
	display: flex; flex-direction: column; padding: 1.2rem; overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(27,38,32,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 150; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-drawer .nav-menu { flex-direction: column; align-items: stretch; gap: .1rem; }
.mobile-drawer .nav-menu a { padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
.mobile-drawer .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding-left: .8rem; margin: 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	ul.products, .product-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.primary-nav.desktop { display: none; }
	.menu-toggle { display: inline-flex; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
	.features { grid-template-columns: 1fr 1fr; }
	.single-product div.product { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	ul.products, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.features { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.hero-trust { gap: .8rem 1.2rem; }
	li.product .button { font-size: .82rem; }
}

/* =====================================================================
   NAV CTA (menu Customizer menonjol)
   ===================================================================== */
.nav-menu a.nav-cta { background: var(--gold); color: var(--ink); font-weight: 800; }
.nav-menu a.nav-cta:hover { background: var(--gold-soft); color: var(--ink); }

/* =====================================================================
   CUSTOM NAME FIELD (halaman produk + customizer)
   ===================================================================== */
.custom-name-field { margin: 0 0 1.2rem; padding: 1rem 1.1rem; background: var(--green-050); border: 1.5px dashed var(--green); border-radius: var(--radius-sm); }
.custom-name-field label { display: block; font-weight: 700; margin-bottom: .45rem; }
.custom-name-field .cn-optional { font-weight: 500; color: var(--muted); font-size: .85em; }
.custom-name-field input { width: 100%; padding: .75em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-ui); font-size: 1rem; background: #fff; }
.custom-name-field small { color: var(--muted); display: block; margin-top: .35rem; }

/* =====================================================================
   KATALOG ISI — kartu perbandingan
   ===================================================================== */
.isi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.isi-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s; }
.isi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.isi-card .card-media { aspect-ratio: 4/3; }
.isi-body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.isi-features { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); }
.isi-features li { padding-left: 1.4em; position: relative; margin-bottom: .25rem; }
.isi-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.isi-sizes { display: flex; gap: .4rem; flex-wrap: wrap; }
.size-chip { font-size: .78rem; font-weight: 700; padding: .3em .7em; background: var(--cream-2); border-radius: var(--radius-pill); }
.isi-price { margin-top: auto; }
.isi-price .price { color: var(--green); font-weight: 800; font-size: 1.15rem; }
.isi-actions { display: flex; flex-direction: column; gap: .5rem; }
.compare-check { position: absolute; top: 12px; right: 12px; z-index: 5; display: inline-flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.92); padding: .35rem .7rem; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-sm); }
.compare-bar { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: .8rem; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); }
.compare-modal { position: fixed; inset: 0; z-index: 300; background: rgba(27,38,32,.55); display: grid; place-items: center; padding: 1rem; }
.compare-dialog { background: #fff; border-radius: var(--radius); max-width: 900px; width: 100%; max-height: 88vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.compare-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.compare-head h3 { margin: 0; }
.compare-table-wrap { overflow: auto; padding: 1rem 1.4rem 1.4rem; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare-table th, .compare-table td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { background: var(--green-050); font-weight: 800; }
.compare-table td:first-child { font-weight: 600; color: var(--muted); white-space: nowrap; }
.compare-table .yes { color: var(--green); font-weight: 800; }
.compare-table .no { color: var(--line); }

/* =====================================================================
   KATALOG COVER — galeri + filter
   ===================================================================== */
.cover-toolbar { display: flex; flex-direction: column; gap: .8rem; margin-bottom: .6rem; }
.cover-search { width: 100%; max-width: 420px; }
.series-chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip { font-family: var(--font-ui); font-size: .85rem; font-weight: 700; padding: .5em 1em; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .15s var(--ease); }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.chip-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.cover-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.cover-card { display: flex; flex-direction: column; gap: .3rem; color: var(--ink); }
.cover-media { position: relative; display: block; aspect-ratio: 3/4; background: var(--cream-2); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.cover-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.cover-card:hover .cover-media img { transform: scale(1.05); }
.cover-hover { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(8,64,42,.92)); color: #fff; font-size: .78rem; font-weight: 700; padding: 1.6rem .6rem .6rem; text-align: center; opacity: 0; transition: opacity .2s; }
.cover-card:hover .cover-hover { opacity: 1; }
.cover-name { font-weight: 700; font-size: .88rem; line-height: 1.3; }
.cover-card small { color: var(--muted); font-size: .75rem; }

/* =====================================================================
   CUSTOMIZER
   ===================================================================== */
.customizer-layout { display: grid; grid-template-columns: minmax(320px, 460px) 1fr; gap: clamp(20px, 3.5vw, 48px); align-items: start; }
.cz-preview-wrap { position: sticky; top: 96px; }
.cz-preview { position: relative; border-radius: 20px; overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.cz-preview img { width: 100%; height: 100%; object-fit: cover; }
.cz-name-overlay {
	position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%);
	font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.7rem);
	color: var(--gold); text-shadow: 0 1px 6px rgba(0,0,0,.35), 0 0 2px rgba(0,0,0,.25);
	letter-spacing: .06em; white-space: nowrap; max-width: 88%; overflow: hidden; text-overflow: ellipsis;
	pointer-events: none; text-align: center; paint-order: stroke fill;
}
/* Editor teks-kaya di atas mockup (menimpa aturan overlay statis) */
.cz-preview .sqne-box { pointer-events: auto; white-space: normal; max-width: none; text-overflow: clip;
	overflow: hidden; z-index: 4; -webkit-user-select: text; user-select: text; }
.cz-toolbar-wrap { margin-top: .7rem; }
.cz-toolbar-wrap:empty { display: none; }
.cz-proof { margin-top: .5rem; }
.cz-emoji-row { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .6rem; }
.cz-emoji-row button { border: 1.5px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 1.05rem; line-height: 1; padding: .35rem .5rem; transition: border-color .15s; }
.cz-emoji-row button:hover { border-color: var(--gold); }
.cz-summary { margin-top: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.cz-summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.cz-summary-row:last-child { border-bottom: 0; }
.cz-summary-row span { color: var(--muted); }
.cz-summary-row b { text-align: right; }
.cz-total { font-size: 1.05rem; padding-top: .7rem; }
.cz-total b { color: var(--green); font-size: 1.25rem; }
.cz-steps { display: flex; flex-direction: column; gap: clamp(16px, 2.5vw, 26px); }
.cz-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.5rem; }
.cz-step h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; margin-bottom: 1rem; }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: .85rem; font-weight: 800; flex: 0 0 auto; }
.cz-isi-options { display: grid; gap: .7rem; }
.cz-isi-option input { position: absolute; opacity: 0; }
.cz-isi-card { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: all .15s var(--ease); }
.cz-isi-option input:checked + .cz-isi-card { border-color: var(--green); background: var(--green-050); box-shadow: 0 0 0 1px var(--green); }
.cz-isi-card small { color: var(--muted); }
.cz-isi-price { color: var(--green); font-weight: 800; font-size: .95rem; }
.cz-cover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; max-height: 420px; overflow-y: auto; padding: 2px; }
.cz-cover { display: flex; flex-direction: column; gap: .3rem; border: 2px solid transparent; border-radius: var(--radius-sm); background: none; padding: 0; cursor: pointer; font-family: var(--font-ui); }
.cz-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; background: var(--cream-2); }
.cz-cover span { font-size: .72rem; font-weight: 600; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cz-cover.active { border-color: var(--green); background: var(--green-050); }
.cz-cover.active span { color: var(--green); }
.cz-submit { width: 100%; }
.cz-submit:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.cz-hint { text-align: center; font-size: .88rem; margin: .6rem 0 0; }

/* =====================================================================
   AKUN (My Account)
   ===================================================================== */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.woocommerce-MyAccount-navigation a { display: block; padding: .75rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--green); color: #fff; border-color: var(--green); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.sq-points-big { font-size: 2.6rem; font-weight: 800; color: var(--green); margin: .5rem 0; }
.sq-points-big small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.sq-muted { color: var(--muted); }
.voucher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.voucher-card { border: 2px dashed var(--gold); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: linear-gradient(135deg, #fff, var(--cream-2)); }
.voucher-amount { font-weight: 800; font-size: 1.3rem; color: var(--green); }
.voucher-code { font-family: monospace; font-weight: 700; letter-spacing: .1em; background: var(--ink); color: var(--gold-soft); display: inline-block; padding: .3em .8em; border-radius: 6px; margin: .5rem 0 .3rem; }
.voucher-card small { display: block; color: var(--muted); }

@media (max-width: 1000px) {
	.customizer-layout { grid-template-columns: 1fr; }
	.cz-preview-wrap { position: static; max-width: 420px; margin-inline: auto; width: 100%; }
	.isi-grid { grid-template-columns: 1fr 1fr; }
	.cover-grid { grid-template-columns: repeat(4, 1fr); }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 620px) {
	.isi-grid { grid-template-columns: 1fr; }
	.cover-grid { grid-template-columns: repeat(2, 1fr); }
	.compare-bar { width: calc(100% - 24px); justify-content: center; flex-wrap: wrap; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section-cta { text-align: center; margin-top: clamp(24px, 3vw, 40px); }