/* BOY STORE ID V18.18 — Jakarta 3D hero + theme-aware verified review carousel.
 * Storefront presentation only: does not change order/payment/checkout semantics.
 * Built around existing --theme-* and --buyer-text-* published theme tokens. */

/* Anchor jumps must not hide the heading underneath the sticky site header. */
html { scroll-padding-top: 105px; }
html body section#ulasan { scroll-margin-top: 115px!important; }

/* The Betawi/Jakarta ondel-ondel characters remain recognizable; background,
 * glow, border and their soft garment tint track the published color theme. */
html body .hero.mockupHero .v18-hero-art:has(.v1818-jakarta-mascot)::before {
  background: radial-gradient(ellipse at 50% 55%,
    color-mix(in srgb,var(--theme-glow,#b99be8) 40%,transparent),
    transparent 72%)!important;
  filter:blur(5px);
}
html body .hero.mockupHero .v1818-jakarta-mascot {
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  width:100%;height:100%;min-width:0;min-height:0;
  isolation:isolate;
  filter: drop-shadow(0 11px 17px color-mix(in srgb,var(--theme-deep,#493056) 22%, transparent));
}
html body .hero.mockupHero .v1818-jakarta-mascot .v18-hero-mascot {
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  filter:none!important;
  opacity:1!important;
}
/* Overlay is clipped to the same organic cutout silhouette: no tint on the hero text. */
html body .hero.mockupHero .v1818-jakarta-mascot::after {
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,transparent 28%,
    color-mix(in srgb,var(--theme-main,#9b66d5) 70%,transparent) 70%,
    color-mix(in srgb,var(--theme-accent,#e9b6dc) 30%,transparent) 100%);
  mix-blend-mode:color;opacity:.23;pointer-events:none;
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center bottom;mask-position:center bottom;
}
html[data-store-tone="dark"] body .hero.mockupHero .v1818-jakarta-mascot::after,
html[data-theme-preset*="dark" i] body .hero.mockupHero .v1818-jakarta-mascot::after { opacity:.34; }
html[data-theme-preset*="cream" i] body .hero.mockupHero .v1818-jakarta-mascot::after {opacity:.12;}

/* Verified review strip. Cards are intentionally ONE horizontal row. */
html body .v18-reviews {
  margin:28px auto 32px!important;
  scroll-margin-top:115px!important;
  min-width:0;
}
html body .v18-reviews .sectionHead {margin-bottom:12px!important;}
html body .v18-reviews .sectionHead h2{scroll-margin-top:115px;}
html body .v1818-review-toolbar,
html body .v1818-review-actions,
html body .v1818-carousel-footer,
html body .v1818-carousel-arrows {
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
}
html body .v1818-review-toolbar {justify-content:space-between;margin-bottom:14px;}
html body .v1818-review-actions {justify-content:flex-end;}
html body .v1818-review-count {font-weight:750;letter-spacing:0!important;color:var(--buyer-text-primary,var(--v18-ink,#46304d))!important;}
html body .v1818-review-toolbar button {font:inherit;font-weight:750;white-space:nowrap;cursor:pointer;}
html body .v1818-review-all,
html body .v1818-carousel-arrows button {
  color:var(--buyer-text-primary,var(--v18-ink,#46304d))!important;
  background:color-mix(in srgb,var(--v18-card,#fff) 92%,var(--theme-main,#a57be0))!important;
  border:1px solid color-mix(in srgb,var(--theme-main,#a57be0) 43%,transparent)!important;
  border-radius:999px!important;
  padding:11px 16px!important;
  line-height:1.15;box-shadow:none!important;
}
html body .v1818-review-all:hover,html body .v1818-carousel-arrows button:hover:not(:disabled){
  border-color:var(--theme-main,#a57be0)!important;
}
html body .v1818-carousel-wrap {position:relative;min-width:0;}
html body .v1818-review-track {
  display:flex!important;flex-wrap:nowrap!important;
  gap:14px!important;
  min-width:0;width:100%;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory;scroll-padding-inline:2px;
  scrollbar-width:none;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  padding:3px 2px 14px;
}
html body .v1818-review-track::-webkit-scrollbar {display:none;}
html body .v1818-review-card {
  flex:0 0 calc((100% - 28px) / 3);
  min-width:0;min-height:188px;
  display:flex;flex-direction:column;gap:8px;
  box-sizing:border-box;
  border-radius:22px!important;
  padding:19px 18px 15px!important;
  scroll-snap-align:start;
  color:var(--buyer-text-primary,var(--v18-ink,#46304d))!important;
  background:color-mix(in srgb,var(--v18-card,#fff) 96%,var(--theme-light,#e9d2f8))!important;
  border:1px solid color-mix(in srgb,var(--theme-main,#c7a4ee) 24%,var(--v18-border,#ead6f2))!important;
  box-shadow:0 7px 23px color-mix(in srgb,var(--theme-deep,#493056) 10%,transparent)!important;
}
html body .v1818-review-top {display:flex;gap:7px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;}
html body .v1818-review-name {font-size:16px!important;color:var(--buyer-text-primary,var(--v18-ink,#46304d))!important;font-weight:850;}
html body .v1818-review-rating {font-size:18px;line-height:1.2;letter-spacing:.025em;color:#efa727!important;-webkit-text-fill-color:#efa727!important;white-space:nowrap;}
html body .v1818-review-comment {
  margin:2px 0 6px!important;
  color:var(--buyer-text-primary,var(--v18-ink,#46304d))!important;
  font-size:14px!important;line-height:1.55!important;
  overflow-wrap:anywhere;
}
html body .v1818-review-card.is-compact .v1818-review-comment {
  overflow:hidden!important;display:-webkit-box!important;
  -webkit-box-orient:vertical;-webkit-line-clamp:3;
  line-clamp:3;
}
html body .v1818-review-meta {display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap;margin-top:auto;}
html body .v1818-review-verified {font-size:11px;font-weight:650;letter-spacing:0;white-space:normal;color:var(--buyer-text-primary,var(--v18-ink,#46304d))!important;}
html body .v1818-review-verified::first-letter{color:#23a46b;}
html body .v1818-review-date {font-size:11px;color:var(--buyer-text-secondary,var(--v18-muted,#837587))!important;white-space:nowrap;}
html body .v1818-carousel-footer {justify-content:center;position:relative;margin-top:1px;min-height:39px;}
html body .v1818-carousel-dots {display:flex;gap:5px;align-items:center;justify-content:center;}
html body .v1818-carousel-dot {height:6px;width:6px;border-radius:10px;background:var(--v18-border,#d8c5e0);transition:width .2s ease,background-color .2s ease;}
html body .v1818-carousel-dot[aria-current="true"]{width:18px;background:var(--theme-main,#b47edf);}
html body .v1818-carousel-arrows {position:absolute;right:0;top:0;}
html body .v1818-carousel-arrows button {font-size:24px;line-height:1;width:37px;height:37px;padding:0!important;display:grid;place-items:center;}
html body .v1818-carousel-arrows button:disabled{opacity:.35;cursor:not-allowed;}

/* All reviews are shown in a separate scrollable modal, not 6 stacked in homepage. */
html body .v1818-all-reviews-dialog {
  color:var(--buyer-text-primary,var(--v18-ink,#46304d));
  background:var(--v18-bg,var(--v18-card,#fff))!important;
  border:1px solid var(--v18-border,#e9d9eb)!important;
  border-radius:24px!important;
  box-sizing:border-box;width:min(650px,calc(100vw - 24px));
  max-height:min(83vh,780px);padding:20px!important;
  box-shadow:0 20px 70px #150d1c66;
}
html body .v1818-all-reviews-dialog::backdrop{background:#1c112dba;backdrop-filter:blur(3px);}
html body .v1818-all-header{display:flex;justify-content:space-between;align-items:center;gap:10px;}
html body .v1818-all-header h3{font-size:20px!important;color:var(--buyer-text-primary,var(--v18-ink,#46304d))!important;margin:0!important;}
html body .v1818-all-info{font-size:13px;color:var(--buyer-text-secondary,var(--v18-muted,#7f7184));margin:6px 0 15px;}
html body .v1818-reviews-close{border:1px solid var(--v18-border,#d8c4e0)!important;background:var(--v18-card,#fff)!important;color:var(--buyer-text-primary,#46304d)!important;min-width:38px;min-height:38px;border-radius:50%;cursor:pointer;}
html body .v1818-all-list {display:grid;grid-template-columns:1fr;gap:10px;}
html body .v1818-all-list .v1818-review-card{min-height:0;}

@media(max-width:900px){
  html body .v1818-review-card{flex-basis:calc((100% - 14px)/2);}
}
@media(max-width:620px){
  html {scroll-padding-top:120px;}
  html body #ulasan{scroll-margin-top:126px!important;}
  html body .v18-reviews {padding:0 14px!important;}
  html body .v18-reviews .sectionHead{margin-bottom:10px!important;}
  html body .v18-reviews .sectionHead h2{font-size:clamp(21px,6vw,27px)!important;}
  html body .v1818-review-toolbar{gap:10px;align-items:flex-start;}
  html body .v1818-review-actions{width:100%;justify-content:space-between;gap:8px;}
  html body .v1818-review-toolbar button{font-size:12px!important;min-width:0!important;flex:0 1 auto;}
  html body .v1818-review-all{padding:10px 12px!important;}
  html body .v1818-review-count{font-size:13px;}
  html body .v1818-review-track{padding-bottom:10px;}
  html body .v1818-review-card{flex:0 0 calc(100% - 28px);min-height:180px;padding:17px 15px 15px!important;}
  html body .v1818-review-top{flex-direction:row;align-items:center;}
  html body .v1818-carousel-footer{margin-bottom:4px;}
  html body .v1818-all-reviews-dialog{width:calc(100vw - 24px);padding:16px!important;}
  html body .hero.mockupHero .v1818-jakarta-mascot {max-height:180px;}
}
@media(prefers-reduced-motion:reduce){
  html body .v1818-carousel-dot{transition:none!important;}
  html body .v1818-review-track{scroll-behavior:auto!important;}
}
/* All three previews fit at desktop width, so unnecessary arrows/dots are hidden. */
@media(min-width:901px){html body .v1818-carousel-footer{display:none!important;}}
