/* =====================================================================
   ISA COMMERCE CORE — SECTION PATTERNS (Homepage & reusable)
   Sumber: PROTOTYPE/isa-hijab/css/main.css §6, §9–§16 + partner.css
   (.partner-cta). Visual tidak diubah. Markup: patterns/home-*.php.
   Konvensi: setiap pattern = Group.section > Group.container > head + isi.
   Child Group/Image/Buttons block di-reset margin (blockGap WordPress
   tidak dipakai di dalam komponen; spacing eksplisit seperti prototype).
   ===================================================================== */

/* ---------- 0. RESET SPACING BLOCK DI DALAM KOMPONEN ---------- */
:where(.section, .hero, .campaign, .newsletter, .trust) :where(.wp-block-group, .wp-block-image, .wp-block-buttons, .wp-block-heading, .wp-block-gallery, .wp-block-list, figure, p, h1, h2, h3) { margin: 0; }
/* Semua reset di file ini memakai :where() (spesifisitas 0) agar aturan komponen eksplisit selalu menang */
:where(.section, .hero, .campaign, .newsletter) .wp-block-buttons { gap: .75rem; }
/* scroll-row (Group) mempertahankan margin negatif prototype meski reset di atas */
:where(.section .scroll-row.wp-block-group) { margin-inline: calc(-1 * var(--isa-page-padding)); }
:where(.section__head) > * { margin: 0; }
.section__head h2 { margin-top: .6rem; }
.section__head .section__desc { margin-top: .5rem; }
.section__head--center h2 { margin-top: 0; }
.section__head--split .section__head-side { display: flex; align-items: center; gap: 1.25rem; }
.section__cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.section__cta .wp-block-buttons { justify-content: center; }
/* Gambar responsif dua versi (desktop/mobile) — dua Image block, tampil sesuai breakpoint */
.img--desktop { display: none; }
@media (min-width: 1024px) { .img--desktop { display: block; } .img--mobile { display: none; } }

/* ---------- 6. HERO ---------- */
.hero { position: relative; background: var(--isa-color-primary); color: var(--isa-color-text-inverse); overflow: hidden; }
.hero__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.hero__media picture, .hero__media img, .hero__media figure { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__media img { display: block; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(34,24,21,.95) 0%, rgba(34,24,21,.4) 40%, rgba(34,24,21,0) 70%); }
.hero__content { position: relative; z-index: 1; padding: 0 var(--isa-page-padding) 2.5rem; margin-top: -10rem; }
.hero__eyebrow { color: var(--isa-color-accent); }
.hero__title { color: var(--isa-color-text-inverse); margin-top: 1rem; max-width: 14ch; font-size: var(--isa-text-display); font-family: var(--isa-font-display); font-weight: 500; line-height: var(--isa-leading-tight); letter-spacing: -.01em; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--isa-color-accent-soft); }
.hero__desc { margin-top: 1rem; max-width: 30rem; color: rgba(251,247,241,.8); font-size: var(--isa-text-body-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__ornament { display: none; }
.hero__scroll { display: none; }
@media (min-width: 1024px) {
  .hero__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: min(88vh, 860px); }
  .hero__content { order: 1; margin: 0; padding: 4rem clamp(2rem, 5vw, 5rem) 4rem max(var(--isa-page-padding), calc((100vw - var(--isa-container)) / 2 + var(--isa-page-padding))); display: flex; flex-direction: column; justify-content: center; }
  .hero__media { order: 2; aspect-ratio: auto; height: 100%; }
  .hero__media::after { background: linear-gradient(to right, rgba(43,29,26,1) 0%, rgba(43,29,26,0) 35%); }
  .hero__ornament {
    display: block; position: absolute; left: -8rem; top: -8rem; width: 34rem; height: 34rem;
    border: 1px solid rgba(201,162,77,.25); border-radius: 50%; pointer-events: none;
  }
  .hero__ornament::after { content: ""; position: absolute; inset: 3rem; border: 1px solid rgba(201,162,77,.15); border-radius: 50%; }
  .hero__scroll { display: flex; position: absolute; left: var(--isa-page-padding); bottom: 2rem; align-items: center; gap: .75rem; font-size: var(--isa-text-caption); letter-spacing: var(--isa-tracking-wider); text-transform: uppercase; color: rgba(251,247,241,.6); }
  .hero__scroll::before { content: ""; width: 3rem; height: 1px; background: currentColor; }
}

/* Trust strip (pattern terpisah — boleh dihapus marketing) */
.trust { background: var(--isa-color-surface-alt); border-bottom: 1px solid var(--isa-color-border); }
.trust__list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.trust__item { display: flex; align-items: center; gap: .75rem; padding: .9rem 0; margin: 0; font-size: var(--isa-text-caption); font-weight: 600; letter-spacing: .04em; color: var(--isa-color-primary); }
.trust__item .icon { color: var(--isa-color-accent); width: 1.35rem; height: 1.35rem; }
.trust__item::before { content: ""; flex: none; width: 1.35rem; height: 1.35rem; background: var(--isa-color-accent); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.trust__item:not([class*="icon-"])::before { display: none; }
@media (min-width: 768px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__item { justify-content: center; font-size: var(--isa-text-small); padding: 1.1rem 0; }
  .trust__item + .trust__item { border-left: 1px solid var(--isa-color-border); }
}

/* ---------- IKON VIA MASK (paragraf/list berkelas icon-*) ---------- */
.icon-eye-off { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3l18 18M10.6 10.6a2 2 0 002.8 2.8M9.9 5.1A10 10 0 0121 12a10 10 0 01-2.7 3.6M6.6 6.6A10 10 0 003 12a10 10 0 0011 5.3'/></svg>"); }
.icon-truck { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6h11v10H3zM14 10h4l3 3v3h-7'/><circle cx='7' cy='18' r='2'/><circle cx='17' cy='18' r='2'/></svg>"); }
.icon-refresh { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M20 12a8 8 0 01-14 5.3M4 12a8 8 0 0114-5.3'/><path d='M4 4v5h5M20 20v-5h-5'/></svg>"); }
.icon-layers { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l9 5-9 5-9-5 9-5z'/><path d='M3 13l9 5 9-5'/></svg>"); }
.icon-ruler { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 17l14-14 4 4L7 21z'/><path d='M7 13l2 2M10 10l2 2M13 7l2 2'/></svg>"); }
.icon-sparkle { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8L12 3z'/><path d='M19 17l.7 2 2 .7-2 .7-.7 2-.7-2-2-.7 2-.7.7-2z'/></svg>"); }
.icon-check { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>"); }
.icon-shield { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6l8-3z'/><path d='M9 12l2 2 4-4'/></svg>"); }
.icon-bag { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 8h12l1 13H5L6 8z'/><path d='M9 8V6a3 3 0 016 0v2'/></svg>"); }
.icon-whatsapp { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413'/></svg>"); }
.icon-instagram { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='.8' fill='black'/></svg>"); }
.icon-star { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.6 7.1.7-5.3 4.8 1.6 7-6.3-3.7-6.3 3.7 1.6-7L2 9.3l7.1-.7z'/></svg>"); }

/* ---------- 7. CATEGORY CARD (pattern editable; siap diganti block dinamis) ---------- */
.cat-card .wp-block-image, .cat-card figure, .cat-card figure a { position: absolute; inset: 0; margin: 0; display: block; }
:where(.cat-card__body) > * { margin: 0; }
.cat-card__body h3 { color: #fff; }
.cat-card__arrow::before { content: ""; width: 1.1rem; height: 1.1rem; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M8 7h9v9'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M8 7h9v9'/></svg>") center / contain no-repeat; }
.cat-card__body { pointer-events: none; }

/* ---------- 8. PRODUCT COLLECTION → carousel scroll-snap (New Arrival) ---------- */
.product-carousel.wp-block-woocommerce-product-collection { overflow: visible; }
.product-carousel .wc-block-product-template {
  display: flex; gap: var(--isa-card-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--isa-page-padding);
  scrollbar-width: none; padding-inline: var(--isa-page-padding); margin-inline: calc(-1 * var(--isa-page-padding)); padding-bottom: .25rem;
  list-style: none; margin-block: 0;
}
.product-carousel .wc-block-product-template::-webkit-scrollbar { display: none; }
.product-carousel .wc-block-product-template > * { flex: 0 0 auto; scroll-snap-align: start; width: 62vw; max-width: 18rem; }
@media (min-width: 640px) { .product-carousel .wc-block-product-template > * { width: 40vw; } }
@media (min-width: 1024px) { .product-carousel .wc-block-product-template > * { width: calc((min(var(--isa-container), 100vw) - 2 * var(--isa-page-padding) - 3 * var(--isa-card-gap)) / 4); max-width: none; } }
.wp-block-woocommerce-product-collection.product-grid { display: block; }
.wp-block-woocommerce-product-collection .wc-block-product-template { margin: 0; padding: 0; }
.wc-block-product-template .wc-block-product .product-card__body > * { margin: 0; }

/* ---------- 9. CAMPAIGN BANNER ---------- */
.campaign { position: relative; background: var(--isa-color-primary); color: var(--isa-color-text-inverse); overflow: hidden; }
.campaign__grid { display: grid; }
.campaign__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.campaign__media img, .campaign__media figure { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.campaign__content { padding: 2.5rem var(--isa-page-padding); position: relative; }
:where(.campaign__content) > * { margin: 0; }
.campaign__title { color: var(--isa-color-text-inverse); margin-top: 1rem; font-size: var(--isa-text-display); }
.campaign__title em { font-style: italic; font-weight: 400; color: var(--isa-color-accent-soft); }
.campaign__desc { margin-top: 1rem; color: rgba(251,247,241,.78); max-width: 32rem; }
.campaign__offer { display: inline-flex; align-items: baseline; gap: .6rem; margin-top: 1.5rem; padding: .6rem 1rem; border: 1px solid rgba(201,162,77,.5); border-radius: var(--isa-radius); font-family: var(--isa-font-display); font-size: 1.5rem; color: var(--isa-color-accent); align-self: flex-start; }
.campaign__offer small { font-family: var(--isa-font-body); font-size: var(--isa-text-caption); letter-spacing: .12em; text-transform: uppercase; color: rgba(251,247,241,.7); }
.countdown { display: flex; gap: .75rem; margin-top: 1.5rem; }
.countdown__cell { min-width: 3.75rem; padding: .6rem .5rem; text-align: center; background: rgba(251,247,241,.06); border: 1px solid rgba(251,247,241,.12); border-radius: var(--isa-radius); }
.countdown__num { display: block; font-family: var(--isa-font-display); font-size: 1.75rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown__label { display: block; margin-top: .25rem; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,247,241,.6); }
.countdown.is-ended { display: none; }
.campaign__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.campaign__pattern { position: absolute; right: -6rem; top: -6rem; width: 26rem; height: 26rem; border: 1px solid rgba(201,162,77,.18); border-radius: 50%; pointer-events: none; }
@media (min-width: 1024px) {
  .campaign__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .campaign__media { aspect-ratio: auto; min-height: 640px; }
  .campaign__content { padding: 5rem clamp(2rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .campaign--reverse .campaign__media { order: 2; }
}

/* ---------- 10. FEATURED COLLECTION ---------- */
.collection { display: grid; gap: var(--isa-grid-gap); }
:where(.collection) > * { margin: 0; }
.collection__hero { position: relative; border-radius: var(--isa-radius-card); overflow: hidden; aspect-ratio: 4 / 5; }
.collection__hero img, .collection__hero figure { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.collection__hero .wp-block-image { position: absolute; inset: 0; }
.collection__hero-text { position: absolute; inset: auto 0 0 0; padding: 1.75rem; background: linear-gradient(to top, rgba(34,24,21,.9), rgba(34,24,21,0)); color: #fff; }
:where(.collection__hero-text) > * { margin: 0; }
.collection__hero-text h2 { color: #fff; margin-top: .5rem; }
.collection__hero-text p:not(.eyebrow):not(.is-style-eyebrow) { margin-top: .5rem; color: rgba(255,255,255,.8); max-width: 26rem; font-size: var(--isa-text-small); }
.collection__hero-text .wp-block-buttons { margin-top: 1.25rem; }
.collection__hero-text .wp-block-button__link { min-height: 2.5rem; padding: 0 1.25rem; font-size: var(--isa-text-caption); }
.collection .product-grid .wc-block-product-template, .collection .product-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) {
  .collection { grid-template-columns: 1.1fr 2fr; align-items: start; }
  .collection__hero { position: sticky; top: 6rem; }
}
@media (min-width: 1280px) { .collection .product-grid .wc-block-product-template, .collection .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11. EDITORIAL / LOOKBOOK ---------- */
.lookbook > * { width: 70vw; max-width: 22rem; margin: 0; }
.look { position: relative; display: block; border-radius: var(--isa-radius-card); overflow: hidden; aspect-ratio: var(--isa-ratio-editorial); }
.look img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--isa-motion-slow) var(--isa-ease); }
.look .wp-block-image, .look figure, .look figure a { position: absolute; inset: 0; margin: 0; display: block; }
.look:hover img { transform: scale(1.04); }
.look__caption { position: absolute; inset: auto 0 0 0; padding: 1.25rem; background: linear-gradient(to top, rgba(34,24,21,.85), rgba(34,24,21,0)); color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; pointer-events: none; }
:where(.look__caption) > * { margin: 0; }
.look__caption h3 { color: #fff; font-size: var(--isa-text-h3); }
.look__caption small, .look__caption .look__sub { display: block; margin: .2rem 0 0; font-size: var(--isa-text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--isa-color-accent-soft); }
.look__tag { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(251,247,241,.92); color: var(--isa-color-primary); border-radius: var(--isa-radius-pill); }
.look__tag.icon-bag::before { content: ""; width: .9em; height: .9em; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
@media (min-width: 1024px) {
  .lookbook { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(560px, 52vw, 760px); overflow: visible; margin: 0; padding: 0; }
  .lookbook > * { width: auto; max-width: none; min-height: 0; }
  .lookbook .look { aspect-ratio: auto; height: 100%; }
  .lookbook > :nth-child(1) { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .lookbook > :nth-child(2) { grid-column: 6 / span 4; }
  .lookbook > :nth-child(3) { grid-column: 10 / span 3; }
  .lookbook > :nth-child(4) { grid-column: 6 / span 7; }
  .lookbook > :nth-child(4) .look img { object-position: center 22%; }
}

/* ---------- 12. BRAND STORY ---------- */
.story { display: grid; gap: 2.5rem; }
:where(.story) > * { margin: 0; }
.story__media { position: relative; border-radius: var(--isa-radius-card); overflow: hidden; aspect-ratio: 4 / 5; }
.story__media img, .story__media figure { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.story__media .wp-block-image { position: absolute; inset: 0; }
.story__media::after { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(251,247,241,.5); border-radius: 2px; pointer-events: none; }
.story__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
:where(.story__body) > * { margin: 0; }
.story__body h2 { margin-top: 1rem; }
.story__body h2 em { font-style: italic; font-weight: 400; color: var(--isa-color-secondary); }
.story__text { margin-top: 1.25rem; color: var(--isa-color-text-muted); display: grid; gap: 1rem; max-width: 34rem; }
:where(.story__text) > * { margin: 0; }
.story__body .wp-block-buttons { margin-top: 1.75rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--isa-color-border); width: 100%; }
:where(.stat) > * { margin: 0; }
.stat__num { font-family: var(--isa-font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; color: var(--isa-color-primary); }
.stat__label { display: block; margin-top: .35rem; font-size: var(--isa-text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--isa-color-text-muted); }
@media (min-width: 1024px) {
  .story { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .story--reverse .story__media { order: 2; }
}

/* ---------- 13. WHY CHOOSE US ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--isa-card-gap); }
.why-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .25rem; align-items: start; padding: 1.25rem; background: var(--isa-color-surface); border: 1px solid var(--isa-color-border); border-radius: var(--isa-radius-card); transition: transform var(--isa-motion-normal) var(--isa-ease), box-shadow var(--isa-motion-normal); }
:where(.why-card) > * { margin: 0; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--isa-shadow-md); }
.why-card__icon { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--isa-color-surface-alt); color: var(--isa-color-accent); grid-row: 1 / span 2; }
.why-card__icon::before { content: ""; width: 1.4rem; height: 1.4rem; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.why-card__title { font-family: var(--isa-font-display); font-size: 1.375rem; font-weight: 500; color: var(--isa-color-primary); }
.why-card__text { margin-top: .5rem; font-size: var(--isa-text-small); color: var(--isa-color-text-muted); }
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { display: flex; flex-direction: column; gap: 0; padding: 1.75rem; }
  .why-card__icon { margin-bottom: 1.25rem; }
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 14. TESTIMONIALS (marketing testimonial — bukan Woo Review) ---------- */
.testi-row > * { width: 82vw; max-width: 24rem; margin: 0; }
@media (min-width: 1024px) {
  .testi-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .testi-row > * { width: auto; max-width: none; }
}
.testi { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; background: var(--isa-color-surface); border-radius: var(--isa-radius-card); border: 1px solid var(--isa-color-border); height: 100%; }
:where(.testi) > * { margin: 0; }
.testi__quote { font-family: var(--isa-font-display); font-size: 1.25rem; line-height: 1.4; color: var(--isa-color-primary); }
.testi__quote::before { content: "\201C"; color: var(--isa-color-accent); font-size: 2rem; line-height: 0; margin-right: .1em; vertical-align: -.3em; }
.testi__author { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
:where(.testi__author) > * { margin: 0; }
.testi__avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--isa-color-secondary); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .8rem; flex: none; }
.testi__name { font-size: var(--isa-text-small); font-weight: 600; }
.testi__meta { display: block; font-size: var(--isa-text-caption); color: var(--isa-color-text-muted); }
.testi__product { font-size: var(--isa-text-caption); color: var(--isa-color-text-muted); }
.testi__product a { text-decoration: underline; text-underline-offset: 2px; }
.testi-summary { display: flex; align-items: center; gap: 1rem; }
:where(.testi-summary) > * { margin: 0; }
.testi-summary__score { font-family: var(--isa-font-display); font-size: 3rem; line-height: 1; color: var(--isa-color-primary); }
.testi-summary__note { display: block; font-size: var(--isa-text-caption); color: var(--isa-color-text-muted); }
/* Bintang: elemen .stars dengan data-rating (1–5) — dirender CSS mask, tanpa SVG inline */
.stars { display: inline-flex; gap: .1rem; color: var(--isa-color-accent); height: 1em; }
.stars::before { content: ""; width: 5em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.6 7.1.7-5.3 4.8 1.6 7-6.3-3.7-6.3 3.7 1.6-7L2 9.3l7.1-.7z'/></svg>") left / 1em 1em repeat-x; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.6 7.1.7-5.3 4.8 1.6 7-6.3-3.7-6.3 3.7 1.6-7L2 9.3l7.1-.7z'/></svg>") left / 1em 1em repeat-x; }
.stars[data-rating="4"]::before { width: 4em; } .stars[data-rating="3"]::before { width: 3em; } .stars[data-rating="2"]::before { width: 2em; } .stars[data-rating="1"]::before { width: 1em; }
.testi .stars { font-size: .8rem; }
.testi-summary .stars { font-size: .8rem; }

/* ---------- 15. SOCIAL GALLERY (Gallery block) ---------- */
.ig-grid.wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
/* :not(#…) menyamai spesifisitas CSS Gallery core (figure.wp-block-image:not(#individual-image)) */
.ig-grid.wp-block-gallery figure.wp-block-image:not(#isa-gallery-item) { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--isa-radius); margin: 0; width: auto; }
.ig-grid.wp-block-gallery .wp-block-image a, .ig-grid.wp-block-gallery .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--isa-motion-slow) var(--isa-ease); }
.ig-grid.wp-block-gallery .wp-block-image::after { content: ""; position: absolute; inset: 0; background: rgba(34,24,21,0); transition: background var(--isa-motion-normal); pointer-events: none; }
.ig-grid.wp-block-gallery .wp-block-image::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 1.75rem; height: 1.75rem; transform: translate(-50%, -50%) scale(.6); opacity: 0; background: #fff; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='.8' fill='black'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='.8' fill='black'/></svg>") center / contain no-repeat; transition: opacity var(--isa-motion-normal), transform var(--isa-motion-normal) var(--isa-ease); pointer-events: none; }
.ig-grid.wp-block-gallery .wp-block-image:hover img { transform: scale(1.06); }
.ig-grid.wp-block-gallery .wp-block-image:hover::after { background: rgba(34,24,21,.45); }
.ig-grid.wp-block-gallery .wp-block-image:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (min-width: 1024px) { .ig-grid.wp-block-gallery { grid-template-columns: repeat(6, 1fr); gap: var(--isa-card-gap); } }

/* ---------- 16. NEWSLETTER ---------- */
.newsletter { position: relative; overflow: hidden; }
.newsletter__inner { display: grid; gap: 2rem; }
.newsletter__inner > * { min-width: 0; margin: 0; }
:where(.newsletter__inner) > * > * { margin: 0; }
.newsletter h2 { color: var(--isa-color-text-inverse); margin-top: .75rem; }
.newsletter h2 em { font-style: italic; font-weight: 400; color: var(--isa-color-accent-soft); }
.newsletter__desc { margin-top: .75rem; color: rgba(251,247,241,.75); max-width: 30rem; }
.newsletter__form { display: grid; gap: .75rem; }
.newsletter__field { display: flex; align-items: center; gap: .5rem; min-width: 0; padding: .35rem .35rem .35rem 1rem; background: rgba(251,247,241,.06); border: 1px solid rgba(251,247,241,.2); border-radius: var(--isa-radius); }
.newsletter__field:focus-within { border-color: var(--isa-color-accent); }
.newsletter__field input { flex: 1 1 0; width: 0; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; outline: none; }
.newsletter__field input::placeholder { color: rgba(251,247,241,.5); }
.newsletter__field .icon { opacity: .6; }
.newsletter__consent { font-size: var(--isa-text-caption); color: rgba(251,247,241,.55); margin: 0; }
.newsletter__consent a { text-decoration: underline; }
.newsletter__alt { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; font-size: var(--isa-text-small); color: rgba(251,247,241,.75); }
:where(.newsletter__alt) > * { margin: 0; }
.newsletter__alt .wp-block-button__link { min-height: 2.5rem; padding: 0 1.25rem; font-size: var(--isa-text-caption); }
.newsletter__ornament { position: absolute; right: -10rem; bottom: -12rem; width: 30rem; height: 30rem; border: 1px solid rgba(201,162,77,.18); border-radius: 50%; pointer-events: none; }
@media (min-width: 1024px) {
  .newsletter__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
  .newsletter__field { padding-left: 1.25rem; }
}

/* ---------- 17. PARTNER WITH US (secondary, Partner Module — kelas is-partner-module) ---------- */
.partner-cta { position: relative; overflow: hidden; }
.partner-cta__panel { display: grid; gap: 0; overflow: hidden; background: var(--isa-color-surface-alt); color: var(--isa-color-text); border: 1px solid var(--isa-color-border); border-radius: var(--isa-radius-card); }
:where(.partner-cta__panel) > * { margin: 0; }
.partner-cta__media { position: relative; aspect-ratio: 16 / 10; }
.partner-cta__media img, .partner-cta__media figure { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.partner-cta__media .wp-block-image { position: absolute; inset: 0; }
.partner-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--isa-color-surface-alt), transparent 45%); }
.partner-cta__body { position: relative; padding: 1.5rem var(--isa-page-padding) 2.5rem; }
:where(.partner-cta__body) > * { margin: 0; }
.partner-cta__body h2 { margin-top: .75rem; }
.partner-cta__body h2 em { font-style: italic; font-weight: 400; color: var(--isa-color-secondary); }
.partner-cta__desc { margin-top: 1rem; color: var(--isa-color-text-muted); max-width: 32rem; }
.partner-cta__points { display: grid; gap: .5rem; margin-top: 1.25rem; padding: 0; list-style: none; font-size: var(--isa-text-small); color: var(--isa-color-text); }
.partner-cta__points li { display: flex; align-items: center; gap: .6rem; }
.partner-cta__points li::before { content: ""; flex: none; width: 1rem; height: 1rem; background: var(--isa-color-accent); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center / contain no-repeat; }
.partner-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
:where(.partner-cta__actions) > * { margin: 0; }
.partner-cta__login { font-size: var(--isa-text-small); color: var(--isa-color-text-muted); }
.partner-cta__login a { color: var(--isa-color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.partner-cta__ornament { position: absolute; right: -7rem; bottom: -9rem; width: 22rem; height: 22rem; border: 1px solid rgba(201,162,77,.35); border-radius: 50%; pointer-events: none; }
@media (min-width: 1024px) {
  .partner-cta__panel { grid-template-columns: 5fr 7fr; }
  .partner-cta__media { aspect-ratio: auto; min-height: 100%; }
  .partner-cta__media::after { background: linear-gradient(to right, transparent 70%, var(--isa-color-surface-alt)); }
  .partner-cta__body { padding: 3.5rem clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
}

/* ---------- 18. TABLET REFINEMENTS (768–1023) — sama dengan prototype §20 ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__media { aspect-ratio: 16 / 11; }
  .hero__media img { object-position: center 20%; }
  .hero__content { margin-top: -12rem; padding-bottom: 3rem; }
  .campaign__media { aspect-ratio: 16 / 10; }
  .campaign__media img { object-position: center 35%; }
  .collection__hero { aspect-ratio: 16 / 10; }
  .collection__hero img { object-position: center 25%; }
  .collection .product-grid .wc-block-product-template, .collection .product-grid { grid-template-columns: repeat(3, 1fr); }
  .lookbook > * { width: 44vw; max-width: none; }
}
