/* Storefront-only refinement. Product data, links and prices remain server-rendered. */
body:not(.admin-body) .jdl-section {
    display: block;
    min-width: 0;
    color: var(--theme-primary, var(--hijau));
    font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.015em;
    text-transform: none;
    overflow-wrap: anywhere;
}
body:not(.admin-body) .jdl-section::before,
body:not(.admin-body) .jdl-section::after { display: none; content: none; }
body:not(.admin-body) .jdl-section + h1 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.3; font-weight: 600; letter-spacing: -.035em; padding-bottom: 16px; }

/* Catalog hierarchy: image/sold badge > grouped name/variants > grouped pricing. */
body:not(.admin-body) .card-group1.no-scroll:has(> .store-product-card) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 32px 20px; }
body:not(.admin-body) .store-product-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #292929; text-decoration: none; }
body:not(.admin-body) .store-product-card:hover { transform: none; box-shadow: none; color: #292929; }
body:not(.admin-body) .store-product-card:focus-visible { outline: 2px solid var(--hijau); outline-offset: 5px; }
body:not(.admin-body) .store-product-card div { min-width: 0; width: auto; }
body:not(.admin-body) .store-product-card > .product-card-media { width: 100%; margin: 0; overflow: hidden; border-radius: 6px; background: var(--theme-soft, #f7f5f2); }
body:not(.admin-body) .store-product-card .img-card1 { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; border: 0; border-radius: 6px; opacity: 1; transform: none; }
body:not(.admin-body) .store-product-card .img-card1-wm { inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; z-index: 1; pointer-events: none; }
body:not(.admin-body) .store-product-card:hover .img-card1 { transform: none; opacity: 1; }
body:not(.admin-body) .store-product-card > .product-card-body { width: 100%; margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-inline: 2px; transform: none; }
body:not(.admin-body) .store-product-card .product-card-heading,
body:not(.admin-body) .store-product-card .product-card-pricing { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 4px; }
/* Reserve equal title and variant rows so prices line up across a grid row. */
body:not(.admin-body) .store-product-card .product-card-heading > .varian { width: 100%; height: 1.6em; min-height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:not(.admin-body) .store-product-card .product-card-heading > .product-card-variants { display: flex; align-items: center; gap: 6px; }
body:not(.admin-body) .store-product-card .product-card-variant-preview { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:not(.admin-body) .store-product-card .product-card-variant-count { flex: 0 0 auto; white-space: nowrap; color: var(--theme-primary, var(--hijau)); }
body:not(.admin-body) .store-product-card .product-card-pricing { min-height: 3.25rem; }
body:not(.admin-body) .store-product-card:hover .product-card-body { transform: none; }
body:not(.admin-body) .store-product-card h5 { order: 0; margin: 0; color: #292929; font-size: .8125rem; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; height: 3em; overflow: hidden; overflow-wrap: anywhere; white-space: normal; }
body:not(.admin-body) .store-product-card .container-varian { order: 1; width: 100%; margin: 0 !important; padding: 0 !important; overflow: visible; }
body:not(.admin-body) .store-product-card .container-varian > div { display: flex; width: 100%; flex-wrap: wrap; gap: 2px 7px; }
body:not(.admin-body) .store-product-card .varian { order: 1; max-width: 100%; margin: 0 !important; padding: 0; background: transparent; border: 0; border-radius: 0; color: #666; font-size: .75rem; font-weight: 400; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
body:not(.admin-body) .store-product-card .container-varian .varian + .varian::before { content: '·'; margin-right: 7px; }
body:not(.admin-body) .store-product-card .harga { order: 2; display: block !important; margin-top: 0 !important; color: var(--theme-primary, var(--hijau)); font-size: 1rem; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body:not(.admin-body) .store-product-card .product-card-price-meta { order: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 8px !important; max-width: 100%; }
body:not(.admin-body) .store-product-card .diskon-coret { margin: 0; color: #767676; font-size: .75rem !important; line-height: 1.5; overflow-wrap: anywhere; }
body:not(.admin-body) .store-product-card .diskon-bwh { display: inline-block; position: static; margin: 0; padding: 2px 5px; border-radius: 3px; background: var(--theme-soft-1, var(--hijaumuda1)); color: var(--theme-primary, var(--hijau)); font-size: .75rem; font-weight: 600; line-height: 1.4; }
body:not(.admin-body) .store-product-card .terjual-badge { display: block; position: absolute; right: 8px; bottom: 8px; z-index: 2; max-width: calc(100% - 16px); margin: 0; padding: 3px 7px; background: var(--theme-background, #fff); color: var(--theme-primary, var(--hijau)); border: 1px solid var(--theme-soft-2, #e7d7c9); border-radius: 4px; box-shadow: none; backdrop-filter: none; font-size: .6875rem; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; pointer-events: none; }
body:not(.admin-body) .store-product-card .product-card-body > .small { order: 5; font-size: .75rem; line-height: 1.5; }

/* Flash-sale items keep their price, savings and real stock information. */
body:not(.admin-body) .flash-sale-card { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
body:not(.admin-body) .flash-sale-card:hover { transform: none; box-shadow: none; }
body:not(.admin-body) .flash-sale-image { border-radius: 10px; }
body:not(.admin-body) .flash-sale-image img:not(.flash-sale-watermark) { object-fit: contain; }
body:not(.admin-body) .flash-sale-info { padding: 12px 0 0; }
body:not(.admin-body) .flash-sale-info h3 { height: auto; display: block; overflow: visible; font-weight: 500; line-height: 1.5; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
body:not(.admin-body) .flash-sale-price span { font-weight: 700; }
body:not(.admin-body) .flash-sale-badge { box-shadow: none; border-radius: 5px; font-size: .7rem; font-weight: 600; }

@media (max-width: 575.98px) {
    body:not(.admin-body) .card-group1.no-scroll:has(> .store-product-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; padding-inline: 0; }
    body:not(.admin-body) .store-product-card { gap: 10px; }
    body:not(.admin-body) .store-product-card > .product-card-body { gap: 8px; }
    body:not(.admin-body) .store-product-card h5 { font-size: .78125rem; line-height: 1.5; }
    body:not(.admin-body) .store-product-card .harga { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { .store-product-card, .store-product-card * { transition: none !important; } }

/* Home benefits: inherit the active admin-selected theme; no raster icon colors. */
.home-benefits {
    margin-top: clamp(32px, 5vw, 64px);
    padding-block: 32px;
    background: var(--theme-soft);
    color: var(--theme-primary);
    border-block: 1px solid var(--theme-soft-2);
}
.home-benefits-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.home-benefit { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 16px; min-width: 0; padding-inline: 24px; }
.home-benefit:first-child { padding-left: 0; }
.home-benefit:last-child { padding-right: 0; }
.home-benefit + .home-benefit { border-left: 1px solid var(--theme-soft-2); }
.home-benefit-icon { display: block; width: 32px; height: 32px; color: var(--theme-primary); }
.home-benefit-copy { min-width: 0; }
.home-benefit-copy h2 { margin: 0 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem; line-height: 1.5; font-weight: 600; letter-spacing: -.015em; overflow-wrap: anywhere; }
.home-benefit-copy p { margin: 0; color: var(--theme-primary-hover); font-size: .875rem; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
    .home-benefits { padding-block: 8px; }
    .home-benefits-list { grid-template-columns: minmax(0, 1fr); }
    .home-benefit, .home-benefit:first-child, .home-benefit:last-child { padding: 20px 0; gap: 16px; }
    .home-benefit + .home-benefit { border-left: 0; border-top: 1px solid var(--theme-soft-2); }
    .home-benefit-copy h2 { margin-bottom: 4px; }
}
