/*
Theme Name: Duta Ilmu Redesign
Theme URI: http://localhost:8080
Author: UI/UX Pro Max redesign
Description: Custom WooCommerce theme — a redesign of the Duta Ilmu Islamic bookstore. Style: Accessible & Ethical (WCAG AAA) with a premium editorial-bookstore aesthetic — deep emerald + warm gold on warm ivory, Crimson Pro headings + Lexend body. Built with design tokens from the UI/UX Pro Max design system.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: dutailmu
WC requires at least: 8.0
WC tested up to: 10.8
*/

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Color */
  --c-brand-ink: #0E3B2E;
  --c-brand: #14532D;
  --c-brand-600: #1B6B43;
  --c-brand-50: #E7F1EA;
  --c-gold: #A16207;
  --c-gold-bright: #C8961E;
  --c-gold-50: #FBF1DC;
  --c-bg: #FBFAF7;
  --c-surface: #FFFFFF;
  --c-ink: #1C1917;
  --c-ink-soft: #57534E;
  --c-muted: #F1EDE6;
  --c-border: #E6E1D6;
  --c-danger: #B91C1C;
  --c-success: #15803D;
  --c-star: #E0A30E;

  /* Typography */
  --font-display: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-body: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Crimson Pro', serif;

  /* Spacing scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(12,10,9,.05);
  --shadow-card: 0 1px 2px rgba(12,10,9,.05), 0 6px 20px rgba(20,53,46,.06);
  --shadow-lg: 0 12px 32px rgba(20,53,46,.12);

  --container: 1320px;
  --header-h: 76px;
  --transition: 180ms ease;
}

/* ============================================================
   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-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-gold); }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.18; color: var(--c-ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
/* keep real list markers inside article/page content */
.entry-content ul { list-style: disc; padding-left: 1.5em; margin: 0 0 1rem; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin: 0 0 1rem; }
.entry-content li { margin-bottom: .4em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; border-radius: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
.section { padding-block: var(--s-7); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-brand); color: #fff; padding: var(--s-3) var(--s-4); z-index: 1000; }
.skip-link:focus { left: var(--s-3); top: var(--s-3); color: #fff; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--s-2); display: inline-flex; align-items: center; gap: var(--s-2); }
.price, .amount, .woocommerce-Price-amount { font-variant-numeric: tabular-nums; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn, .button, a.button, button.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 12px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; border-radius: var(--r-md);
  background: var(--c-brand); color: #fff !important;
  cursor: pointer; transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #respond input#submit:hover {
  background: var(--c-brand-600); color: #fff !important; transform: translateY(-2px); box-shadow: var(--shadow-card);
}
.btn--gold, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button, .woocommerce-cart .checkout-button, .wc-block-components-button {
  background: var(--c-gold) !important; color: #fff !important;
}
.btn--gold:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover, .woocommerce-cart .checkout-button:hover { background: #8a5306 !important; }
.btn--ghost { background: transparent; color: var(--c-brand) !important; border-color: var(--c-brand); }
.btn--ghost:hover { background: var(--c-brand-50); color: var(--c-brand) !important; }
.btn--lg { min-height: 52px; padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ============================================================
   4. TOP UTILITY BAR + HEADER
   ============================================================ */
.topbar { background: var(--c-brand-ink); color: #EAF3EC; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: var(--s-4); }
.topbar a { color: #EAF3EC; }
.topbar a:hover { color: var(--c-gold-bright); }
.topbar__basmalah { font-family: var(--font-arabic); font-size: 1.05rem; letter-spacing: .02em; color: #CFE4D5; }
.topbar__links { display: flex; gap: var(--s-4); align-items: center; }
.topbar__links .sep { opacity: .4; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-surface); border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--c-brand); color: var(--c-gold-bright); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.brand__mark svg { width: 26px; height: 26px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--c-brand); line-height: 1; }
.brand__tag { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-soft); margin-top: 3px; }

.header-search { flex: 1 1 auto; min-width: 0; max-width: none; }
.header-search form { display: flex; align-items: center; background: var(--c-muted); border: 1.5px solid var(--c-border); border-radius: var(--r-pill); padding: 4px 4px 4px 18px; transition: border-color var(--transition), background var(--transition); }
.header-search form:focus-within { border-color: var(--c-brand); background: #fff; }
.header-search input[type=search] { flex: 1; border: 0; background: transparent; font-family: inherit; font-size: .95rem; color: var(--c-ink); padding: 8px 0; }
.header-search input[type=search]:focus { outline: none; }
.header-search button { min-height: 40px; width: 44px; padding: 0; border-radius: var(--r-pill); background: var(--c-brand); border: 0; color: #fff; display: grid; place-items: center; }
.header-search button:hover { background: var(--c-brand-600); }
.header-search button svg { width: 20px; height: 20px; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); flex-shrink: 0; margin-left: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-md); color: var(--c-ink); background: transparent; border: 0; }
.icon-btn:hover { background: var(--c-muted); color: var(--c-brand); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .count { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill); background: var(--c-gold); color: #fff; font-family: var(--font-body); font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.nav-toggle { display: none; }

/* Primary nav + mega menu */
.primary-nav-bar { background: var(--c-brand); }
.primary-nav-bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); position: relative; }
.primary-nav { display: flex; flex-wrap: wrap; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); white-space: nowrap; }
.nav-cta:hover { background: var(--c-gold); color: #fff; }
.nav-cta svg { width: 18px; height: 18px; }
.primary-nav > li { position: relative; }
.primary-nav > li > a { display: flex; align-items: center; gap: var(--s-2); height: 50px; padding: 0 var(--s-4); color: #EAF3EC; font-weight: 600; font-size: .92rem; }
.primary-nav > li > a:hover, .primary-nav > li.is-open > a { background: var(--c-brand-ink); color: #fff; }
.primary-nav .menu-item-has-children > a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .8; }
.primary-nav ul.sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--c-border); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-lg); padding: var(--s-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--transition); z-index: 120; }
.primary-nav li:hover > ul.sub-menu, .primary-nav li:focus-within > ul.sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav ul.sub-menu a { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--c-ink); font-size: .9rem; font-weight: 500; }
.primary-nav ul.sub-menu a:hover { background: var(--c-brand-50); color: var(--c-brand); }

/* ============================================================
   5. HERO
   ============================================================ */
.hero { background:
    radial-gradient(1200px 500px at 80% -10%, rgba(200,150,30,.10), transparent 60%),
    linear-gradient(180deg, #0E3B2E 0%, #14532D 60%, #15573A 100%);
  color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 22px 22px; pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7); align-items: center; padding-block: var(--s-8); }
.hero__eyebrow { color: var(--c-gold-bright); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: var(--s-4); }
.hero h1 .accent { color: var(--c-gold-bright); }
.hero p.lead { font-size: 1.1rem; color: #D8E6DC; max-width: 50ch; margin-bottom: var(--s-5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.hero__chips li { display: flex; align-items: center; gap: var(--s-2); font-size: .9rem; color: #CFE4D5; }
.hero__chips svg { width: 20px; height: 20px; color: var(--c-gold-bright); flex-shrink: 0; }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: var(--s-5); backdrop-filter: blur(6px); width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); }
.hero__card .arabic { font-family: var(--font-arabic); font-size: 2.4rem; color: var(--c-gold-bright); text-align: center; line-height: 1.4; margin-bottom: var(--s-3); }
.hero__card .quote { text-align: center; color: #EAF3EC; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
.hero__covers { display: flex; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }
.hero__covers img { width: 90px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); transform: rotate(-4deg); border: 3px solid #fff; }
.hero__covers img:nth-child(2) { transform: rotate(2deg) translateY(-10px); z-index: 2; }
.hero__covers img:nth-child(3) { transform: rotate(7deg); }

/* ============================================================
   6. TRUST STRIP
   ============================================================ */
.trust { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); padding-block: var(--s-5); }
.trust__item { display: flex; align-items: center; gap: var(--s-3); }
.trust__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--r-md); background: var(--c-brand-50); color: var(--c-brand); display: grid; place-items: center; }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item strong { display: block; font-size: .95rem; color: var(--c-ink); font-weight: 600; }
.trust__item span { font-size: .8rem; color: var(--c-ink-soft); }

/* ============================================================
   7. SECTION HEADER
   ============================================================ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 600; font-size: .9rem; color: var(--c-brand); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.section-head .more:hover { color: var(--c-gold); gap: 10px; }
.section-head .more svg { width: 16px; height: 16px; }

/* ============================================================
   8. CATEGORY GRID
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.cat-tile { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5) var(--s-3); text-align: center; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); display: flex; flex-direction: column; align-items: center; gap: var(--s-2); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--c-brand-50); }
.cat-tile__icon { width: 60px; height: 60px; border-radius: var(--r-pill); background: var(--c-brand-50); color: var(--c-brand); display: grid; place-items: center; transition: background var(--transition), color var(--transition); }
.cat-tile:hover .cat-tile__icon { background: var(--c-brand); color: var(--c-gold-bright); }
.cat-tile__icon svg { width: 30px; height: 30px; }
.cat-tile strong { font-size: .9rem; font-weight: 600; color: var(--c-ink); }
.cat-tile span { font-size: .76rem; color: var(--c-ink-soft); }

/* ============================================================
   9. PRODUCT CARDS (custom grid + WooCommerce loop)
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin: 0 !important; padding: 0 !important; list-style: none; }
ul.products::before, ul.products::after { content: none !important; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }

.pcard, ul.products li.product {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pcard:hover, ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #DCD6C8; }
.pcard__media { display: block; position: relative; aspect-ratio: 3/4; background: var(--c-muted); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: var(--s-3); margin: 0; }
ul.products li.product a.woocommerce-LoopProduct-link img, ul.products li.product img {
  display: block; aspect-ratio: 3/4; width: 100%; height: auto; object-fit: contain;
  background: var(--c-muted); padding: var(--s-3); margin: 0 0 var(--s-3) !important;
}
.pcard__body, ul.products li.product { padding: 0; }
.pcard__body { padding: var(--s-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-category__title { padding: 0 var(--s-4) !important; }
ul.products li.product .price { padding: 0 var(--s-4) !important; }
ul.products li.product .button { margin: var(--s-3) var(--s-4) var(--s-4) !important; }

.pcard__kicker, .loop-penerbit { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-soft); }
.pcard__title, ul.products li.product h2, ul.products li.product h3,
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display); font-weight: 600 !important; font-size: 1.02rem !important; line-height: 1.25; color: var(--c-ink) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em;
}
.pcard__price, ul.products li.product .price { margin-top: auto; font-size: 1.05rem !important; color: var(--c-brand) !important; font-weight: 700 !important; }
.pcard__price del, ul.products li.product .price del { color: var(--c-ink-soft) !important; font-weight: 400 !important; font-size: .85rem !important; opacity: 1; margin-right: 6px; }
.pcard__price ins, ul.products li.product .price ins { text-decoration: none; color: var(--c-brand) !important; background: transparent; }
.pcard .button, ul.products li.product .button { margin-top: var(--s-3); }

/* Sale / grosir badge */
.pcard__badge, .woocommerce span.onsale, ul.products li.product .onsale {
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 3;
  background: var(--c-gold) !important; color: #fff !important; min-height: 0 !important;
  font-family: var(--font-body); font-weight: 700; font-size: .72rem; line-height: 1;
  padding: 6px 10px !important; border-radius: var(--r-pill); margin: 0 !important; box-shadow: var(--shadow-sm);
}

/* ============================================================
   10. RESELLER CTA
   ============================================================ */
.reseller { background: linear-gradient(120deg, #0E3B2E, #14532D 70%); color: #fff; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.reseller .inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: center; padding: var(--s-7); position: relative; z-index: 2; }
.reseller h2 { color: #fff; }
.reseller h2 .accent { color: var(--c-gold-bright); }
.reseller p { color: #D8E6DC; max-width: 48ch; }
.reseller .perks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: var(--s-4) 0 var(--s-5); }
.reseller .perks li { display: flex; align-items: center; gap: var(--s-2); font-size: .92rem; color: #EAF3EC; }
.reseller .perks svg { width: 20px; height: 20px; color: var(--c-gold-bright); }
.reseller__price { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); padding: var(--s-6); text-align: center; }
.reseller__price .big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--c-gold-bright); line-height: 1; }
.reseller__price .lbl { display: block; color: #CFE4D5; font-size: .9rem; margin-top: var(--s-2) ; }

/* ============================================================
   11. TESTIMONIALS + NEWSLETTER
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.testi { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.testi__stars { display: flex; gap: 2px; color: var(--c-star); margin-bottom: var(--s-3); }
.testi__stars svg { width: 18px; height: 18px; }
.testi p { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--c-ink); }
.testi__who { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.testi__avatar { width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--c-brand-50); color: var(--c-brand); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.testi__who strong { display: block; font-size: .92rem; }
.testi__who span { font-size: .8rem; color: var(--c-ink-soft); }

.newsletter { background: var(--c-brand-50); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-7); text-align: center; }
.newsletter h2 { margin-bottom: var(--s-2); }
.newsletter p { color: var(--c-ink-soft); max-width: 52ch; margin-inline: auto; }
.newsletter form { display: flex; gap: var(--s-2); max-width: 460px; margin: var(--s-5) auto 0; }
.newsletter input { flex: 1; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); font-family: inherit; font-size: 1rem; background: #fff; }
.newsletter input:focus { outline: none; border-color: var(--c-brand); }

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer { background: var(--c-brand-ink); color: #C9DBCF; margin-top: var(--s-8); }
.site-footer a { color: #C9DBCF; }
.site-footer a:hover { color: var(--c-gold-bright); }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--s-6); padding-block: var(--s-8) var(--s-7); }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer ul li { margin-bottom: var(--s-2); font-size: .92rem; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { font-size: .92rem; color: #A9C2B3; max-width: 34ch; }
.footer-contact li { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-3); font-size: .9rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--c-gold-bright); flex-shrink: 0; margin-top: 3px; }
.footer-market { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.footer-market a { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-pill); padding: 7px 14px; font-size: .82rem; color: #EAF3EC; }
.footer-market a:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); font-size: .82rem; flex-wrap: wrap; }
.pay-methods { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.pay-methods span { background: #fff; color: var(--c-brand-ink); border-radius: 4px; padding: 4px 8px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; }

/* ============================================================
   13. WOOCOMMERCE PAGES
   ============================================================ */
.woo-wrap { padding-block: var(--s-7); }
.woocommerce-breadcrumb { font-size: .85rem; color: var(--c-ink-soft); margin-bottom: var(--s-5); }
.woocommerce .woocommerce-result-count { color: var(--c-ink-soft); font-size: .9rem; }
.woocommerce .woocommerce-ordering select { min-height: 44px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 0 12px; font-family: inherit; background: #fff; }
.page-title-band { background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding-block: var(--s-6); }
.page-title-band h1 { margin: 0; }
.page-title-band .eyebrow { margin-bottom: 6px; }

/* Single product */
.woocommerce div.product div.images img { border-radius: var(--r-lg); background: var(--c-muted); }
.woocommerce div.product .product_title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--c-brand); font-weight: 700; font-size: 1.6rem; }
.woocommerce div.product p.price del { color: var(--c-ink-soft); font-weight: 400; font-size: 1.1rem; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce .quantity .qty { min-height: 48px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); width: 84px; text-align: center; font-family: inherit; }
.woocommerce div.product form.cart .button { min-height: 48px; }
.woocommerce .woocommerce-tabs ul.tabs { border: 0; }
.woocommerce .woocommerce-tabs ul.tabs li { background: var(--c-muted); border: 1px solid var(--c-border); border-radius: var(--r-md) var(--r-md) 0 0; }
.woocommerce .woocommerce-tabs ul.tabs li.active { background: #fff; border-bottom-color: #fff; }
.woocommerce span.onsale { background: var(--c-gold); }

/* Cart + checkout */
.woocommerce table.shop_table { border-radius: var(--r-lg); border-color: var(--c-border); overflow: hidden; }
.woocommerce table.shop_table th { background: var(--c-muted); font-family: var(--font-body); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-family: var(--font-display); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-checkout #customer_details input, .select2-container--default .select2-selection--single {
  min-height: 46px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 8px 12px; font-family: inherit;
}
.woocommerce form .form-row input.input-text:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.woocommerce .woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--c-brand); border-radius: var(--r-md); }
.woocommerce-message { border-top-color: var(--c-success); }
#payment, .woocommerce-checkout #payment { background: var(--c-muted); border-radius: var(--r-lg); }
#payment ul.payment_methods { border-color: var(--c-border); }
.woocommerce-checkout #payment label { font-weight: 600; }

/* blog / generic content */
.entry-content { max-width: 75ch; }
.post-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }

/* ============================================================
   14. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .reseller .inner { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-search { display: none; }
  .nav-toggle { display: inline-grid; }
  .primary-nav-bar { display: none; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .topbar__basmalah { display: none; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .section { padding-block: var(--s-6); }
  .hero .container { padding-block: var(--s-6); }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .brand__tag { display: none; }
}

/* Off-canvas mobile nav */
.mobile-nav { position: fixed; inset: 0 30% 0 0; max-width: 340px; background: #fff; z-index: 300; transform: translateX(-105%); transition: transform 240ms ease; box-shadow: var(--shadow-lg); overflow-y: auto; padding: var(--s-4); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__overlay { position: fixed; inset: 0; background: rgba(14,59,46,.5); opacity: 0; visibility: hidden; transition: opacity 240ms ease; z-index: 290; }
.mobile-nav__overlay.is-open { opacity: 1; visibility: visible; }
.mobile-nav a { display: block; padding: 12px 10px; border-radius: var(--r-sm); color: var(--c-ink); font-weight: 600; border-bottom: 1px solid var(--c-border); }
.mobile-nav a:hover { background: var(--c-brand-50); color: var(--c-brand); }
.mobile-nav .sub-menu a { font-weight: 500; padding-left: 24px; font-size: .92rem; border: 0; }

/* ============================================================
   15. ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pcard:hover, ul.products li.product:hover, .cat-tile:hover { transform: none; }
}

/* ============================================================
   16. MODERN REDESIGN v2 — contrast · motion · mini-cart · logins
   ============================================================ */

/* --- Header: smaller, refined icons (cart was too big) --- */
.header-actions { gap: 2px; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-md); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.8; }
.icon-btn .count { top: 1px; right: 1px; min-width: 16px; height: 16px; font-size: .62rem; }
.brand__mark { width: 40px; height: 40px; }
.brand__mark svg { width: 22px; height: 22px; }
.site-header .container { gap: var(--s-4); }

/* --- Contrast fixes (text was hard to read) --- */
.eyebrow { color: #8A5A0B; font-weight: 700; }                      /* darker gold on light */
.hero__eyebrow, .reseller .eyebrow { color: #EAB94D; }             /* bright gold on dark */
.newsletter .eyebrow { color: #8A5A0B; }
.hero h1 .accent, .reseller h2 .accent { color: #F0C457; }         /* brighter gold on dark green */
.section-head .more { color: var(--c-brand-600); font-weight: 700; }
.cat-tile span { color: #6B6358; }
.pcard__kicker, .loop-penerbit { color: #6B6358; }
a:hover { color: #8A5A0B; }                                         /* readable gold hover */

/* --- Scroll reveal --- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* --- Hero: three.js canvas layering --- */
.hero { isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero::after { z-index: 1; }
.hero .container { z-index: 3; }

/* --- Modern button polish --- */
.btn { border-radius: var(--r-pill); }
.btn:active, .button:active { transform: translateY(0) scale(.97); }
.pcard, ul.products li.product { transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease; }
.cat-tile { transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease; }

/* --- Cart wrap + mini-cart dropdown --- */
.cart-wrap { position: relative; }
.mini-cart-panel { position: absolute; top: calc(100% + 12px); right: 0; width: 400px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--s-4); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 200; }
.cart-wrap:hover .mini-cart-panel, .cart-wrap:focus-within .mini-cart-panel, .cart-preview .mini-cart-panel { opacity: 1; visibility: visible; transform: none; }
.mini-cart-panel::before { content: ''; position: absolute; top: -6px; right: 16px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--c-border); border-top: 1px solid var(--c-border); transform: rotate(45deg); }
.widget_shopping_cart_content { font-size: .9rem; }
ul.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
li.woocommerce-mini-cart-item { position: relative; padding: 12px 30px 12px 0; border-bottom: 1px solid var(--c-border); }
li.woocommerce-mini-cart-item a:not(.remove) { display: flex; align-items: flex-start; gap: 10px; color: var(--c-ink); font-weight: 600; font-family: var(--font-display); line-height: 1.25; }
li.woocommerce-mini-cart-item img { position: static !important; float: none !important; width: 46px !important; height: auto !important; margin: 0 !important; border-radius: 6px; border: 1px solid var(--c-border); flex-shrink: 0; }
li.woocommerce-mini-cart-item .quantity { display: block; color: var(--c-ink-soft); font-weight: 500; font-size: .82rem; margin: 6px 0 0 56px; }
a.remove.remove_from_cart_button { position: absolute !important; right: 0; top: 12px; width: 22px; height: 22px; line-height: 20px; text-align: center; color: var(--c-danger) !important; font-size: 18px; border-radius: 50%; }
a.remove.remove_from_cart_button:hover { background: var(--c-danger); color: #fff !important; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--c-border); font-family: var(--font-display); }
.woocommerce-mini-cart__total .woocommerce-Price-amount { color: var(--c-brand); font-weight: 700; font-size: 1.1rem; }
.woocommerce-mini-cart__buttons { display: flex; gap: 8px; margin: 14px 0 0; padding: 0; }
.woocommerce-mini-cart__buttons .button { flex: 1; margin: 0; min-height: 40px; padding: 10px; font-size: .85rem; }
.woocommerce-mini-cart__buttons .checkout { background: var(--c-gold) !important; }
.woocommerce-mini-cart__empty-message { text-align: center; color: var(--c-ink-soft); padding: 18px 0; margin: 0; }
@media (max-width: 600px) { .mini-cart-panel { width: 290px; } }

/* --- Add-to-cart: bump + toast + fly --- */
@keyframes di-bump { 0% { transform: scale(1); } 28% { transform: scale(1.28); } 58% { transform: scale(.9); } 100% { transform: scale(1); } }
.cart-wrap.bump .icon-btn svg, .cart-wrap.bump .count { animation: di-bump .5s ease; }
.di-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 22px); background: var(--c-brand); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); z-index: 9999; opacity: 0; transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.3,1); font-weight: 600; font-size: .9rem; }
.di-toast.in { opacity: 1; transform: translate(-50%, 0); }
.di-toast svg { color: #EAB94D; }

/* --- Customer login / register (WooCommerce my-account) --- */
.di-auth-hero { text-align: center; margin-bottom: var(--s-6); }
.di-auth-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.woocommerce-account .woocommerce { max-width: 940px; margin-inline: auto; }
.woocommerce #customer_login.col2-set, .woocommerce #customer_login.u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); width: 100%; margin: 0; }
.woocommerce #customer_login .col-1, .woocommerce #customer_login .col-2 { width: auto !important; float: none !important; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card); margin: 0; }
.woocommerce #customer_login h2 { font-family: var(--font-display); margin-top: 0; border: 0; }
.woocommerce form.login, .woocommerce form.register { border: 0; padding: 0; margin: 0; background: transparent; }
.woocommerce-account .woocommerce-form-login__rememberme { color: var(--c-ink-soft); }
@media (max-width: 768px) { .woocommerce #customer_login.col2-set, .woocommerce #customer_login.u-columns { grid-template-columns: 1fr; } }

/* my-account dashboard nav */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--c-border); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; color: var(--c-ink); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--c-brand-50); color: var(--c-brand); }

/* ============================================================
   17. HERO VARIANTS v3 (light, modern) + live switcher
   ============================================================ */
.nhero { position: relative; overflow: hidden; background: var(--c-bg); color: var(--c-ink); }
.nhero .container { position: relative; z-index: 2; }
.nhero h1 { letter-spacing: -.02em; }
.nhero__orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .42; z-index: 0; pointer-events: none; animation: nhero-float 16s ease-in-out infinite; }
.nhero__orb--a { width: 420px; height: 420px; background: radial-gradient(circle, rgba(20,83,45,.5), transparent 70%); top: -150px; right: -90px; }
.nhero__orb--b { width: 320px; height: 320px; background: radial-gradient(circle, rgba(200,150,30,.45), transparent 70%); bottom: -130px; left: -70px; animation-delay: -6s; }
@keyframes nhero-float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(26px,-30px); } }
@media (prefers-reduced-motion: reduce) { .nhero__orb, .feature-card { animation: none !important; } }

.nhero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--c-border); color: var(--c-ink-soft); padding: 7px 16px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-sm); margin-bottom: var(--s-4); }
.nhero-badge svg { width: 16px; height: 16px; color: var(--c-gold-bright); }
.nhero-badge--ondark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #EAF3EC; }

/* --- Variant 1: Spotlight Search --- */
.nhero--spotlight .spot { max-width: 840px; margin-inline: auto; text-align: center; padding-block: var(--s-9) var(--s-8); }
.nhero--spotlight h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); line-height: 1.1; margin-bottom: var(--s-3); }
.nhero--spotlight .accent { background: linear-gradient(120deg, var(--c-brand), #2E8B57); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--c-brand); }
.nhero--spotlight .lead { font-size: 1.12rem; color: var(--c-ink-soft); max-width: 52ch; margin: 0 auto var(--s-5); }
.spot-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--r-pill); padding: 7px 7px 7px 18px; box-shadow: var(--shadow-card); max-width: 600px; margin: 0 auto var(--s-4); transition: box-shadow .2s, border-color .2s; }
.spot-search:focus-within { border-color: var(--c-brand); box-shadow: 0 10px 34px rgba(20,53,46,.14); }
.spot-search__ic { display: flex; color: var(--c-ink-soft); }
.spot-search__ic svg { width: 22px; height: 22px; }
.spot-search input { flex: 1; border: 0; background: transparent; font-family: inherit; font-size: 1rem; padding: 11px 0; color: var(--c-ink); }
.spot-search input:focus { outline: none; }
.spot-search .btn { flex-shrink: 0; min-height: 44px; }
.spot-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-bottom: var(--s-5); }
.spot-pills__lbl { color: var(--c-ink-soft); font-size: .85rem; font-weight: 600; }
.spot-pills a { background: #fff; border: 1px solid var(--c-border); padding: 7px 15px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--c-ink); transition: transform .2s, background .2s, color .2s, border-color .2s; }
.spot-pills a:hover { background: var(--c-brand); color: #fff; border-color: var(--c-brand); transform: translateY(-2px); }
.spot-trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: center; }
.spot-trust li { display: flex; align-items: center; gap: 8px; color: var(--c-ink-soft); font-size: .9rem; font-weight: 500; }
.spot-trust svg { width: 20px; height: 20px; color: var(--c-brand); }

/* --- Variant 2: Featured Split --- */
.nhero--split .split { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-7); align-items: center; padding-block: var(--s-8); }
.nhero--split h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.12; margin-bottom: var(--s-4); }
.nhero--split .accent { color: var(--c-brand); }
.nhero--split .lead { font-size: 1.1rem; color: var(--c-ink-soft); max-width: 46ch; margin-bottom: var(--s-5); }
.split__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.split-stats { display: flex; gap: var(--s-7); margin-top: var(--s-6); flex-wrap: wrap; }
.split-stats strong { display: flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 1.8rem; color: var(--c-brand); line-height: 1; }
.split-stats strong svg { width: 18px; height: 18px; color: var(--c-star); }
.split-stats span { font-size: .82rem; color: var(--c-ink-soft); }
.split__art { display: grid; place-items: center; position: relative; }
.feature-card { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow-lg); width: 100%; max-width: 340px; animation: nhero-floaty 6s ease-in-out infinite; }
@keyframes nhero-floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.feature-card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: var(--c-gold); color: #fff; font-size: .72rem; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill); }
.feature-card__tag svg { width: 13px; height: 13px; }
.feature-card__img { display: block; background: var(--c-muted); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-3); }
.feature-card__img img { width: 100%; aspect-ratio: 3/4; object-fit: contain; padding: var(--s-4); }
.feature-card__body h3 { font-size: 1.1rem; line-height: 1.25; margin: 3px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-stars { display: flex; gap: 2px; color: var(--c-star); margin-bottom: 6px; }
.feature-stars svg { width: 15px; height: 15px; }
.feature-card .pcard__price { margin-bottom: var(--s-3); font-size: 1.2rem; }

/* --- Variant 3: Bento --- */
.nhero--bento .container { padding-block: var(--s-7); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 132px; gap: var(--s-3); }
.bento__main { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, #0E3B2E, #14532D 65%, #176043); color: #fff; border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.bento__main::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(200,150,30,.3), transparent 70%); right: -70px; bottom: -70px; }
.bento__main h1 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: 6px 0 10px; position: relative; }
.bento__main .accent { color: #F0C457; }
.bento__main p { color: #D8E6DC; margin-bottom: var(--s-4); font-size: .95rem; position: relative; max-width: 40ch; }
.bento__main .btn { align-self: flex-start; position: relative; }
.bento__cell { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-4); display: flex; flex-direction: column; justify-content: center; transition: transform .25s, box-shadow .25s; color: var(--c-ink); }
.bento__cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.bento__ic { width: 40px; height: 40px; border-radius: 12px; background: var(--c-brand-50); color: var(--c-brand); display: grid; place-items: center; margin-bottom: 8px; }
.bento__ic svg { width: 22px; height: 22px; }
.bento__cell strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.bento__cell > span:last-child { font-size: .84rem; color: var(--c-ink-soft); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.bento__cell > span:last-child svg { width: 14px; height: 14px; }
.bento__product { grid-column: span 2; flex-direction: row; gap: var(--s-3); align-items: center; }
.bento__product img { width: 78px; aspect-ratio: 3/4; object-fit: contain; background: var(--c-muted); border-radius: 8px; flex-shrink: 0; padding: 4px; }
.bento__product h4 { font-size: .98rem; margin: 2px 0 4px; line-height: 1.2; font-family: var(--font-display); }
.bento__product .pcard__price { font-size: 1rem; }
.bento__reseller { background: linear-gradient(140deg, #A16207, #C8961E); color: #fff; border: 0; }
.bento__reseller .bento__ic { background: rgba(255,255,255,.18); color: #fff; }
.bento__reseller strong { color: #fff; }
.bento__reseller > span:last-child { color: rgba(255,255,255,.95); }
.bento__catlinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bento__catlinks a { font-size: .78rem; font-weight: 600; background: var(--c-muted); color: var(--c-ink); padding: 5px 11px; border-radius: var(--r-pill); transition: background .2s, color .2s; }
.bento__catlinks a:hover { background: var(--c-brand); color: #fff; }

/* --- Live hero switcher (temporary preview tool) --- */
.hero-switch { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; align-items: center; gap: 4px; background: rgba(14,59,46,.94); backdrop-filter: blur(10px); color: #fff; padding: 6px 8px 6px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); font-size: .8rem; border: 1px solid rgba(255,255,255,.12); }
.hero-switch > span { opacity: .8; margin-right: 4px; }
.hero-switch a { color: #EAF3EC; padding: 6px 13px; border-radius: var(--r-pill); font-weight: 600; }
.hero-switch a:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-switch a.active { background: var(--c-gold); color: #fff; }

/* --- Hero responsive --- */
@media (max-width: 980px) {
  .nhero--split .split { grid-template-columns: 1fr; text-align: center; }
  .nhero--split .split__cta, .split-stats { justify-content: center; }
  .nhero--split .lead { margin-inline: auto; }
  .split__art { order: -1; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento__main { grid-column: span 2; grid-row: auto; min-height: 240px; }
  .bento__product { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__main, .bento__product { grid-column: span 1; }
  .spot-search { flex-wrap: wrap; border-radius: var(--r-lg); }
  .spot-search .btn { width: 100%; }
  .split-stats { gap: var(--s-5); }
  .hero-switch { font-size: .72rem; padding: 5px 6px 5px 10px; }
  .hero-switch > span { display: none; }
}

/* ============================================================
   18. ICON SIZING SAFETY — never let inline SVGs balloon
   ============================================================ */
.btn svg, .button svg, a.button svg,
.add_to_cart_button svg, .single_add_to_cart_button svg,
.woocommerce a.button svg, .woocommerce button.button svg,
.checkout-button svg, .more svg, .eyebrow svg, .hero-badge svg,
.split__cta svg, .hero__cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--lg svg, .single_add_to_cart_button svg { width: 20px; height: 20px; }

/* Consistent gold "Beli" CTA across shop/category loops (match homepage) */
.woocommerce ul.products li.product .button,
ul.products li.product a.button.add_to_cart_button { background: var(--c-gold) !important; color: #fff !important; }
.woocommerce ul.products li.product .button:hover,
ul.products li.product a.button.add_to_cart_button:hover { background: #8A5306 !important; }
.woocommerce ul.products li.product .added_to_cart { background: var(--c-brand) !important; }

/* ============================================================
   19. HERO VARIANT 4 — "Kombinasi" (default): search + featured product
   ============================================================ */
.nhero--combo .combo { display: grid; grid-template-columns: 1.12fr .88fr; gap: var(--s-7); align-items: center; padding-block: var(--s-8); }
.nhero--combo h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.12; margin-bottom: var(--s-3); }
.nhero--combo .accent { background: linear-gradient(120deg, var(--c-brand), #2E8B57); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--c-brand); }
.nhero--combo .lead { font-size: 1.08rem; color: var(--c-ink-soft); max-width: 48ch; margin-bottom: var(--s-5); }
.nhero--combo .spot-search { margin: 0 0 var(--s-4); max-width: 560px; }
.nhero--combo .spot-pills { justify-content: flex-start; margin-bottom: var(--s-4); }
.nhero--combo .spot-trust { justify-content: flex-start; }
.nhero--combo .combo__art { display: grid; place-items: center; }
@media (max-width: 980px) {
  .nhero--combo .combo { grid-template-columns: 1fr; text-align: center; }
  .nhero--combo .spot-search { margin-inline: auto; }
  .nhero--combo .spot-pills, .nhero--combo .spot-trust { justify-content: center; }
  .nhero--combo .lead { margin-inline: auto; }
  .nhero--combo .combo__art { order: -1; }
}
.nhero h1, .nhero .lead, .nhero p { overflow-wrap: break-word; word-wrap: break-word; }
@media (max-width: 560px) {
  .nhero--combo h1, .nhero--spotlight h1, .nhero--split h1 { font-size: 1.95rem; line-height: 1.15; }
  .nhero--combo .combo, .nhero--split .split { padding-block: var(--s-6); }
  .nhero--combo .lead, .nhero--split .lead { font-size: 1rem; }
}

/* ============================================================
   20. CATEGORY FILTER BAR (shop / category archives)
   ============================================================ */
.cat-filter { display: flex; align-items: center; gap: var(--s-4); margin: 0 0 var(--s-5); padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-border); }
.cat-filter__lbl { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-ink); font-size: .92rem; flex-shrink: 0; }
.cat-filter__lbl svg { width: 18px; height: 18px; color: var(--c-brand); }
.cat-filter__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--c-border) transparent; }
.cat-filter__list::-webkit-scrollbar { height: 6px; }
.cat-filter__list::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 999px; }
.cat-filter__list a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-ink); font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: var(--r-pill); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.cat-filter__list a:hover { border-color: var(--c-brand); color: var(--c-brand); transform: translateY(-1px); }
.cat-filter__list a.is-active { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.cat-filter__list a em { font-style: normal; opacity: .55; font-size: .78rem; }
.cat-filter__list a.is-active em { opacity: .85; }
@media (max-width: 768px) { .cat-filter { flex-direction: column; align-items: flex-start; gap: var(--s-2); } .cat-filter__list { max-width: 100%; } }

/* ============================================================
   21. MEGA-MENU (Kategori)
   ============================================================ */
.primary-nav .has-mega { position: static; }
.mega { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--c-border); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--s-5); z-index: 130; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.primary-nav .has-mega:hover > .mega, .primary-nav .has-mega:focus-within > .mega, .mega-preview .has-mega > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mega__item { display: flex; align-items: center; gap: var(--s-3); padding: 10px 12px; border-radius: var(--r-md); transition: background .2s; }
.mega__item:hover { background: var(--c-brand-50); }
.mega__ic { width: 42px; height: 42px; border-radius: 11px; background: var(--c-brand-50); color: var(--c-brand); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, color .2s; }
.mega__item:hover .mega__ic { background: var(--c-brand); color: var(--c-gold-bright); }
.mega__ic svg { width: 22px; height: 22px; }
.mega__txt { display: flex; flex-direction: column; line-height: 1.25; }
.mega__txt strong { font-size: .9rem; color: var(--c-ink); font-weight: 600; }
.mega__txt em { font-style: normal; font-size: .76rem; color: var(--c-ink-soft); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--c-border); font-weight: 700; color: var(--c-brand); font-size: .9rem; }
.mega__all:hover { color: var(--c-gold); gap: 10px; }
.mega__all svg { width: 16px; height: 16px; }

/* ============================================================
   22. SHOP FILTER TOOLBAR
   ============================================================ */
.shop-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-5); padding: var(--s-3); background: var(--c-muted); border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.sf-field { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--r-md); height: 46px; }
.shop-filter .sf-search { flex: 1 1 240px; padding: 0 14px; gap: 8px; }
.sf-search svg { width: 18px; height: 18px; color: var(--c-ink-soft); flex-shrink: 0; }
.sf-search input { border: 0; background: transparent; font-family: inherit; font-size: .92rem; width: 100%; color: var(--c-ink); }
.sf-search input:focus { outline: none; }
.sf-price { gap: 6px; padding: 0 12px; }
.sf-price input { border: 0; background: transparent; width: 92px; font-family: inherit; font-size: .9rem; color: var(--c-ink); }
.sf-price input:focus { outline: none; }
.sf-price span { color: var(--c-ink-soft); }
.sf-select { padding: 0 14px; font-family: inherit; font-size: .9rem; color: var(--c-ink); cursor: pointer; min-width: 150px; }
.sf-field:focus-within, .sf-select:focus { border-color: var(--c-brand); outline: none; }
.sf-submit { height: 46px; padding-inline: 20px; }
.sf-reset { color: var(--c-ink-soft); font-size: .85rem; font-weight: 600; text-decoration: underline; padding: 0 6px; }
.sf-reset:hover { color: var(--c-danger); }
/* Dual-range price slider */
.sf-priceslider { flex: 0 0 250px; flex-direction: column; align-items: stretch; justify-content: center; gap: 5px; padding: 7px 14px; min-height: 52px; }
.sf-ps-head { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: var(--c-ink-soft); line-height: 1; }
.sf-ps-head .sf-ps-val { font-weight: 700; color: var(--c-ink); }
.sf-ps-track { position: relative; height: 6px; background: var(--c-border); border-radius: 999px; margin: 3px 8px 0; }
.sf-ps-fill { position: absolute; top: 0; height: 100%; background: var(--c-brand); border-radius: 999px; left: 0; right: 0; }
.sf-ps-range { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; margin: 0; padding: 0; height: 18px; }
.sf-ps-range::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--c-brand); box-shadow: var(--shadow-sm); cursor: pointer; }
.sf-ps-range::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--c-brand); box-shadow: var(--shadow-sm); cursor: pointer; }
.sf-ps-range::-webkit-slider-runnable-track { background: transparent; border: 0; }
.sf-ps-range::-moz-range-track { background: transparent; border: 0; }
.sf-ps-range:focus { outline: none; }
.sf-ps-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(20,83,45,.18); }
@media (max-width: 820px) { .shop-filter .sf-search, .shop-filter .sf-priceslider, .shop-filter .sf-select, .shop-filter .sf-submit { flex: 1 1 100%; } }

/* ============================================================
   23. CART & CHECKOUT POLISH
   ============================================================ */
/* Unified clean notices (fix heavy gold border) */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
  border-top: 0 !important; border: 1px solid var(--c-border) !important; border-left: 4px solid var(--c-brand) !important;
  background: #fff !important; border-radius: var(--r-md); box-shadow: var(--shadow-sm); color: var(--c-ink);
}
.woocommerce-message { border-left-color: var(--c-success) !important; }
.woocommerce-error { border-left-color: var(--c-danger) !important; }
.woocommerce-message::before { color: var(--c-success); }
.woocommerce-info::before { color: var(--c-brand); }

/* Cart table */
.woocommerce-cart table.cart img { width: 58px !important; height: auto; border-radius: 8px; border: 1px solid var(--c-border); }
.woocommerce-cart table.cart td.product-name a { color: var(--c-ink); font-weight: 600; }
.woocommerce-cart table.cart td.product-name a:hover { color: var(--c-brand); }
.woocommerce a.remove { width: 26px; height: 26px; line-height: 24px; color: var(--c-danger) !important; border: 1px solid var(--c-border); font-weight: 700; }
.woocommerce a.remove:hover { background: var(--c-danger); color: #fff !important; }

/* Cart totals card (right) */
.woocommerce-cart .cart-collaterals::after { content: ''; display: table; clear: both; }
.woocommerce-cart .cart-collaterals .cart_totals { float: right; width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.woocommerce-cart .cart_totals h2 { margin-top: 0; font-size: 1.3rem; }
.woocommerce-cart .cart_totals table { border: 0; margin: 0; }
.woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td { border-top: 1px solid var(--c-border); padding: 12px 0; }
.woocommerce-cart .cart_totals .order-total .amount { color: var(--c-brand); font-size: 1.3rem; }
.woocommerce-cart .wc-proceed-to-checkout { padding-top: var(--s-4); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 50px; font-size: 1.02rem; }
@media (max-width: 768px) { .woocommerce-cart .cart-collaterals .cart_totals { float: none; max-width: none; } }
/* WooCommerce pages use the full container width (not the 75ch reading measure) */
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content, .woocommerce-account .entry-content { max-width: none; }
/* Cart 2-column: table (left) + totals card (right), robust flex */
@media (min-width: 861px) {
  .woocommerce-cart .woocommerce { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-6); }
  .woocommerce-cart .woocommerce-notices-wrapper { flex: 0 0 100%; }
  .woocommerce-cart form.woocommerce-cart-form { flex: 1 1 0; min-width: 0; margin: 0; }
  .woocommerce-cart .cart-collaterals { flex: 0 0 360px; width: 360px; }
  .woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; max-width: none; margin: 0; position: sticky; top: 90px; }
}

/* Checkout — 2 columns: details (left) + sticky order summary card (right) */
@media (min-width: 861px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-5) var(--s-7); align-items: start; }
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / 3; }
  .woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 var(--s-3); }
  .woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 90px; }
}
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-2 { margin-top: var(--s-5); }
.woocommerce-checkout #order_review_heading { font-family: var(--font-display); }
.woocommerce-checkout #order_review { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.woocommerce-checkout #order_review table.shop_table { border: 0; }
.woocommerce-checkout #order_review .order-total .amount { color: var(--c-brand); font-size: 1.25rem; }
.woocommerce-checkout #payment { background: var(--c-muted); border-radius: var(--r-md); margin-top: var(--s-4); }
.woocommerce-checkout #payment ul.payment_methods { padding: var(--s-4); border-bottom: 1px solid var(--c-border); }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0 0 10px; line-height: 1.5; }
.woocommerce-checkout #payment ul.payment_methods li img { float: right; max-height: 24px; margin-left: 6px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--r-md); font-size: .88rem; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment .place-order { padding: var(--s-4); }
.woocommerce #place_order { width: 100%; min-height: 52px; font-size: 1.05rem; }

/* ============================================================
   24. CONTENT PAGES — Cek Ongkir, Informasi, Marketplace, Blog
   ============================================================ */
/* Cek Ongkir */
.ongkir-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: start; }
.ongkir-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card); }
.ongkir-card h3, .ongkir-info h3 { font-family: var(--font-display); margin-top: 0; }
.ongkir-muted { color: var(--c-ink-soft); font-size: .85rem; }
.ongkir-label { display: block; font-weight: 600; font-size: .9rem; color: var(--c-ink); margin: var(--s-4) 0 0; }
.ongkir-label select, .ongkir-label input { display: block; width: 100%; margin-top: 6px; min-height: 46px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 8px 12px; font-family: inherit; font-size: 1rem; background: #fff; font-weight: 400; }
.ongkir-label select:focus, .ongkir-label input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(20,83,45,.12); }
.ongkir-label small { display: block; font-weight: 400; margin-top: 4px; }
.ongkir-card .btn { margin-top: var(--s-5); }
.ongkir-result { margin-top: var(--s-5); background: var(--c-brand-50); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--s-4); }
.ongkir-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.ongkir-row strong { font-family: var(--font-display); font-size: 1.1rem; }
.ongkir-row--main { border-top: 1px solid var(--c-border); }
.ongkir-row--main strong { color: var(--c-brand); font-size: 1.4rem; }
.ongkir-note { margin-top: var(--s-3); }
.ongkir-info { background: var(--c-muted); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-6); }
.ongkir-feat { display: grid; gap: var(--s-3); margin: var(--s-4) 0; }
.ongkir-feat li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .9rem; }
.ongkir-feat svg { width: 24px; height: 24px; color: var(--c-brand); flex-shrink: 0; }
@media (max-width: 768px) { .ongkir-wrap { grid-template-columns: 1fr; } }

/* Informasi hub */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.info-card { display: flex; align-items: center; gap: var(--s-4); background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); transition: transform .2s, box-shadow .2s, border-color .2s; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--c-brand-50); }
.info-card__ic { width: 50px; height: 50px; border-radius: var(--r-md); background: var(--c-brand-50); color: var(--c-brand); display: grid; place-items: center; flex-shrink: 0; }
.info-card__ic svg { width: 26px; height: 26px; }
.info-card__b { display: flex; flex-direction: column; flex: 1; }
.info-card__b strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--c-ink); }
.info-card__b em { font-style: normal; font-size: .82rem; color: var(--c-ink-soft); margin-top: 2px; line-height: 1.4; }
.info-card__go svg { width: 18px; height: 18px; color: var(--c-ink-soft); }
.info-card:hover .info-card__go svg { color: var(--c-gold); }
.info-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-6); background: var(--c-brand-50); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); }
.info-cta h3 { font-family: var(--font-display); margin: 0; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }

/* Marketplace */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-5); }
.market-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); border-top: 4px solid var(--mk, var(--c-brand)); transition: transform .2s, box-shadow .2s; }
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.market-card__ic { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--c-muted); color: var(--mk, var(--c-brand)); display: grid; place-items: center; margin-bottom: var(--s-3); }
.market-card__ic svg { width: 28px; height: 28px; }
.market-card strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--c-ink); }
.market-card em { font-style: normal; font-size: .88rem; color: var(--c-ink-soft); margin: 6px 0 var(--s-4); flex: 1; line-height: 1.5; }
.market-card__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--mk, var(--c-brand)); font-size: .9rem; }
.market-card__go svg { width: 16px; height: 16px; }
.market-card:hover .market-card__go { gap: 10px; }
@media (max-width: 900px) { .market-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .market-grid { grid-template-columns: 1fr; } }

/* Single post */
.single-post { max-width: 760px; margin-inline: auto; }
.single-post__img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s-6); border: 1px solid var(--c-border); }
.single-post__img img { width: 100%; height: auto; display: block; }
.single-post .entry-content { max-width: none; font-size: 1.05rem; }
.single-post .entry-content h2, .single-post .entry-content h3 { margin-top: 1.6em; }
.single-back { max-width: 760px; margin: var(--s-7) auto 0; display: flex; gap: var(--s-3); justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--c-border); padding-top: var(--s-5); }

/* Blog article grid */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.art-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; margin: 0; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.art-card__img { display: block; aspect-ratio: 16/10; background: var(--c-muted); overflow: hidden; }
.art-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.art-card:hover .art-card__img img { transform: scale(1.05); }
.art-card__ph { display: grid; place-items: center; height: 100%; color: var(--c-brand); }
.art-card__ph svg { width: 48px; height: 48px; }
.art-card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.art-card__meta { font-size: .74rem; color: var(--c-ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.art-card__body h3 { font-size: 1.2rem; line-height: 1.3; margin: 8px 0; }
.art-card__body h3 a { color: var(--c-ink); }
.art-card__body h3 a:hover { color: var(--c-brand); }
.art-card__body p { font-size: .9rem; color: var(--c-ink-soft); flex: 1; margin-bottom: var(--s-3); }
.art-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-brand); font-size: .88rem; }
.art-card__more svg { width: 16px; height: 16px; }
.art-card__more:hover { color: var(--c-gold); gap: 10px; }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .art-grid { grid-template-columns: 1fr; } }

/* ============================================================
   25. SINGLE PRODUCT PAGE
   ============================================================ */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-7); align-items: start; position: relative; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-product-gallery, .single-product .dutailmu-gallery { opacity: 1 !important; }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--r-lg); background: var(--c-muted); }
.dutailmu-gallery__link { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--c-muted); border: 1px solid var(--c-border); }
.dutailmu-gallery__main { width: 100%; height: auto; display: block; aspect-ratio: 3/4; object-fit: contain; padding: var(--s-5); }
.sp-penerbit { display: flex; align-items: center; gap: 6px; color: var(--c-ink-soft); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px; }
.sp-penerbit svg { width: 16px; height: 16px; color: var(--c-gold-bright); }
.single-product .product_title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--s-3); }
.single-product div.product p.price, .single-product div.product span.price { color: var(--c-brand); font-weight: 700; font-size: 1.7rem; margin-bottom: var(--s-4); }
.single-product div.product p.price del { color: var(--c-ink-soft); font-weight: 400; font-size: 1.1rem; margin-right: 8px; }
.single-product div.product p.price ins { text-decoration: none; }
.single-product .woocommerce-product-details__short-description { color: var(--c-ink-soft); margin-bottom: var(--s-4); }
.single-product form.cart { margin-bottom: var(--s-3); display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.single-product form.cart .quantity .qty { height: 50px; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; min-height: 50px; }
.sp-trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-4) 0; padding: var(--s-4) 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.sp-trust span { display: flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--c-ink-soft); font-weight: 500; }
.sp-trust svg { width: 18px; height: 18px; color: var(--c-brand); }
.sp-wa { margin-top: var(--s-3); }
.single-product .product_meta { font-size: .85rem; color: var(--c-ink-soft); margin-top: var(--s-4); }
.single-product .product_meta a { color: var(--c-brand); }
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: var(--s-7); }
.single-product .woocommerce-tabs .panel { padding-top: var(--s-4); max-width: 80ch; }
.single-product .woocommerce-tabs .panel h2 { font-size: 1.4rem; }
.single-product .related.products, .single-product .upsells.products { grid-column: 1 / -1; margin-top: var(--s-8); border-top: 1px solid var(--c-border); padding-top: var(--s-6); }
.single-product .related.products > h2, .single-product .upsells.products > h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: var(--s-5); }
@media (max-width: 860px) { .single-product div.product { grid-template-columns: 1fr; } .single-product div.product .woocommerce-product-gallery { position: static; } }

/* ============================================================
   26. E-BOOK FORMAT CARDS + ABOUT PAGE
   ============================================================ */
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-5); }
.format-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.format-card--ebook { border-top: 4px solid var(--c-gold); }
.format-card--fisik { border-top: 4px solid var(--c-brand); }
.format-card__ic { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: var(--s-3); }
.format-card--ebook .format-card__ic { background: var(--c-gold-50); color: var(--c-gold); }
.format-card--fisik .format-card__ic { background: var(--c-brand-50); color: var(--c-brand); }
.format-card__ic svg { width: 30px; height: 30px; }
.format-card h2 { font-size: 1.4rem; margin: 0 0 6px; }
.format-list { display: grid; gap: 10px; margin: var(--s-3) 0 var(--s-5); }
.format-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--c-ink); }
.format-list svg { width: 18px; height: 18px; color: var(--c-success); flex-shrink: 0; margin-top: 2px; }
.format-card .btn { margin-top: auto; }
@media (max-width: 768px) { .format-grid { grid-template-columns: 1fr; } }

/* About page */
.about-story { max-width: 75ch; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin: var(--s-7) 0; }
.about-stat { background: var(--c-brand-50); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); text-align: center; }
.about-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--c-brand); line-height: 1; }
.about-stat span { font-size: .85rem; color: var(--c-ink-soft); margin-top: 8px; display: block; }
.about-vmn { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-2); }
.vmn-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-6); }
.vmn-card__ic { width: 50px; height: 50px; border-radius: var(--r-md); background: var(--c-brand-50); color: var(--c-brand); display: grid; place-items: center; margin-bottom: var(--s-3); }
.vmn-card__ic svg { width: 26px; height: 26px; }
.vmn-card h3 { font-family: var(--font-display); margin: 0 0 var(--s-2); font-size: 1.3rem; }
.vmn-card p, .vmn-card ul { color: var(--c-ink-soft); font-size: .92rem; line-height: 1.6; }
.vmn-card ul { list-style: disc; padding-left: 1.2em; margin: 0; }
.vmn-card ul li { margin-bottom: 6px; }
.vmn-card ul li strong { color: var(--c-ink); }
@media (max-width: 900px) { .about-stats { grid-template-columns: 1fr 1fr; } .about-vmn { grid-template-columns: 1fr; } }
