/* v7.0.7: product card, navigation and purchase controls */
#loading{display:none!important}
#grid .card-body{height:auto!important;min-height:153px!important;padding:10px 10px 12px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;overflow:visible!important}
#grid .card-body>.badge{flex:0 0 auto!important;max-width:100%!important;margin-bottom:7px!important}
#grid .card h2{flex:0 0 auto!important;margin:0 0 3px!important}
#grid .product-rating-v388{flex:0 0 auto!important;margin:0 0 6px!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
#grid .card .price,#grid .price.voucher-price-v706{position:static!important;inset:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;margin:auto 0 0!important;padding:0!important;overflow:visible!important;display:grid!important;gap:3px!important;align-content:end!important;justify-content:stretch!important;text-align:left!important}
#grid .card .price strong{max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:clamp(12px,3.5vw,18px)!important;line-height:1.25!important}
#grid .price.voucher-price-v706 span{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:4px 7px!important;max-width:100%!important;white-space:normal!important;font-size:10px!important;line-height:1.3!important}
#grid .price.voucher-price-v706 span s{flex:0 0 auto}
#grid .price.voucher-price-v706 span b{display:inline-flex!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:4px 6px!important;font-size:8px!important;line-height:1.2!important;border-radius:5px!important;text-align:left!important}
#grid .card-buttons{position:static!important;width:auto!important;margin-top:8px!important;align-self:flex-end!important}
#grid .card .price small{display:none!important}
#modalRoot .detail-info>.product-purchase-v707{display:grid;grid-template-columns:54px minmax(0,1fr);gap:9px;align-items:stretch;margin-top:13px}
#modalRoot .product-purchase-v707 .order-now{margin:0!important;min-height:52px!important}
#modalRoot .mobile-detail-buy{grid-template-columns:54px minmax(0,1fr)!important;gap:9px!important}
#modalRoot .mobile-detail-buy .order-now{min-height:48px!important;margin:0!important}
#modalRoot .order-now.cart-now.cart-icon-v707{width:100%!important;padding:9px!important;border:1px solid var(--green)!important;background:var(--card)!important;color:var(--green)!important;border-radius:13px!important}
#modalRoot .order-now.cart-now.cart-icon-v707 svg{width:24px!important;height:24px!important}
#modalRoot .order-now.buy-v707{background:var(--red)!important;color:#fff!important;border-radius:13px!important;font-size:clamp(11px,2.5vw,15px)!important;font-weight:800!important}
#modalRoot .order-now:disabled{opacity:.5;cursor:not-allowed}
#modalRoot .detail-icon.copy-product-v707{font-size:9px;font-weight:800;min-width:48px;width:auto;padding:0 8px;color:var(--green)}
#modalRoot .cart-added-v707{animation:cartAddV707 .46s cubic-bezier(.2,.85,.3,1)}
@keyframes cartAddV707{0%{transform:scale(1)}38%{transform:scale(.85)}75%{transform:scale(1.13)}100%{transform:scale(1)}}
.count-badge.badge-bump-v707,#cartBadge.badge-bump-v707{animation:badgeBumpV707 .45s cubic-bezier(.2,.9,.25,1)}
@keyframes badgeBumpV707{0%{transform:scale(1)}40%{transform:scale(1.5)}72%{transform:scale(.9)}100%{transform:scale(1)}}
@media(max-width:620px){#grid .card-body{min-height:150px!important;padding:9px 9px 10px!important}#grid .card h2{height:32px!important}#grid .product-rating-v388{font-size:7px!important;margin:1px 0 6px!important}#grid .card .price strong{font-size:clamp(11px,3.55vw,15px)!important}#grid .price.voucher-price-v706 span{font-size:8px!important}#grid .price.voucher-price-v706 span b{font-size:7px!important}}
@media(prefers-reduced-motion:reduce){#app,.cart-added-v707,.badge-bump-v707{animation:none!important;transition:none!important}}
@media(max-width:620px){#modalRoot .detail-info>.product-purchase-v707{display:none!important}}

/* v7.0.8: legible voucher prices and product detail controls. */
#grid .card .price strong{font-size:clamp(16px,2.1vw,22px)!important;font-weight:800!important;letter-spacing:-.025em}
#grid .card .price.voucher-price-v706 strong{color:#d11565!important;font-weight:900!important;text-shadow:0 1px 0 rgba(198,21,56,.08)}
#grid .price.voucher-price-v706 span b,.home-voucher-price-v706 span b{text-decoration:none!important;text-decoration-line:none!important;color:#fff!important;white-space:normal!important}
#modalRoot .detail-top-actions .detail-icon{border:0!important;box-shadow:none!important;background:transparent!important}
#modalRoot .detail-top-actions .detail-icon:hover,#modalRoot .detail-top-actions .detail-icon:focus-visible{background:var(--soft)!important}
#modalRoot .detail-icon.copy-product-v707{min-width:36px!important;width:36px!important;padding:7px!important;color:var(--ink)!important;font-size:0!important}
#modalRoot .detail-icon.copy-product-v707 svg{width:19px;height:19px}
#modalRoot .price-box>div.voucher-detail-price-v706{position:relative;padding-bottom:31px!important}
#modalRoot .detail-voucher-mark-v708{position:absolute;right:7px;bottom:5px;padding:5px 8px;background:var(--green);color:#fff;font-size:9px;line-height:1.2;font-weight:800;border-radius:6px;white-space:nowrap;text-decoration:none!important}
#modalRoot .detail-proof-v708{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;margin:0 0 13px;color:var(--muted);font-size:11px;line-height:1.5}
#modalRoot .detail-proof-v708 span:first-child{color:#ad6a06}
.cart-flying-photo-v708{position:fixed;z-index:1200;object-fit:cover;border-radius:12px;pointer-events:none;box-shadow:0 8px 26px rgba(0,0,0,.24);border:2px solid #fff}
@media(max-width:620px){#grid .card .price strong{font-size:clamp(14px,3.9vw,18px)!important}#grid .card .price.voucher-price-v706 strong{font-size:clamp(15px,4.15vw,19px)!important}#modalRoot .detail-proof-v708{font-size:10px}#modalRoot .detail-voucher-mark-v708{font-size:8px;right:4px}}

#modalRoot .detail-top-actions .detail-icon.active{color:var(--red)!important}

#grid .price.voucher-price-v706>.voucher-mark-v708,.home-voucher-price-v706>.voucher-mark-v708{display:inline-flex!important;width:max-content;max-width:100%;align-self:start;padding:4px 7px;border-radius:6px;background:var(--green,#168b63);color:#fff!important;font-size:8px;font-weight:800;line-height:1.25;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere}

/* v7.0.9: place voucher next to the crossed-out price. */
#grid .price.voucher-price-v706,.home-voucher-price-v706{grid-template-columns:minmax(0,1fr) auto!important;column-gap:4px!important;align-items:end!important}
#grid .price.voucher-price-v706>strong,.home-voucher-price-v706>strong{grid-column:1/-1!important}
#grid .price.voucher-price-v706>span,.home-voucher-price-v706>span{grid-column:1!important;min-width:0;align-self:center}
#grid .price.voucher-price-v706>.voucher-mark-v708,.home-voucher-price-v706>.voucher-mark-v708{grid-column:2!important;justify-self:end!important;align-self:center!important;white-space:nowrap!important;max-width:100%!important}
#modalRoot .detail-voucher-mark-v708{bottom:28px!important;right:8px!important}
@media(max-width:620px){#grid .price.voucher-price-v706>.voucher-mark-v708{font-size:7px!important;padding:3px 5px!important}#grid .price.voucher-price-v706>span{font-size:8px!important}}

/* v7.0.10: clear product hierarchy, voucher details and edge-to-edge gallery. */
#grid .card .price{display:block!important;overflow:visible!important}
#grid .card .price .reiwa-price-v710{display:flex!important;gap:3px 7px!important;align-items:center!important;justify-content:flex-start!important}
#grid .card .price .reiwa-price-v710>strong{font-size:clamp(16px,2.2vw,22px)!important;color:#d12838!important}
#grid .product-rating-v388{order:0!important;margin:0 0 6px!important}
#grid .card h2{order:1!important}
#grid .card .price{order:2!important}
#modalRoot .price-box .reiwa-price-v710>strong{color:#ff7a83!important}
#modalRoot .related-card-v387 .reiwa-price-v710{padding:2px 10px 12px!important;display:flex!important}
#modalRoot .related-card-v387 .reiwa-price-v710>strong{font-size:14px!important;color:#d12838!important;height:auto!important;display:block!important}
#modalRoot .related-proof-v710{display:block!important;padding:8px 11px 0;color:#ae690b;font-size:9px;line-height:1.4}
#modalRoot .related-card-v387 span{padding-top:5px!important}
#modalRoot .detail-top-actions .detail-icon.active{animation:reiwaHeartV710 .35s ease-out}
@keyframes reiwaHeartV710{0%{transform:scale(1)}40%{transform:scale(1.32)}100%{transform:scale(1)}}
#modalRoot .gallery-main .detail-photo-back-v710,#modalRoot .gallery-main .detail-photo-count-v710{display:none}
@media(max-width:620px){
 body.store-route-product #routePageRoot{padding:0 0 calc(150px + env(safe-area-inset-bottom))!important;width:100%!important;max-width:none!important}
 body.store-route-product #modalRoot{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body.store-route-product #modalRoot>.detail{width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0 0 150px!important;overflow:visible!important;height:auto!important;max-height:none!important}
 body.store-route-product #modalRoot .detail-layout{display:block!important;padding:0!important;width:100%!important;max-width:none!important}
 body.store-route-product #modalRoot .gallery{margin:0!important;width:100%!important;max-width:none!important;padding:0!important}
 body.store-route-product #modalRoot .gallery-main{width:100%!important;max-width:none!important;aspect-ratio:1!important;border-radius:0!important;box-shadow:none!important;margin:0!important;position:relative!important;overflow:hidden!important}
 body.store-route-product #modalRoot .gallery-main img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
 body.store-route-product #modalRoot .gallery-main .arrow{display:none!important}
 body.store-route-product #modalRoot .gallery-main .detail-photo-back-v710{display:grid;position:absolute;left:12px;top:13px;z-index:4;width:36px;height:36px;place-items:center;border-radius:50%;background:rgba(0,0,0,.48);color:white;text-decoration:none;font-size:26px;line-height:1}
 body.store-route-product #modalRoot .gallery-main .detail-photo-count-v710{display:block;position:absolute;right:12px;bottom:12px;z-index:4;border-radius:14px;padding:5px 9px;background:rgba(0,0,0,.55);color:#fff;font-size:11px}
 body.store-route-product .route-back-v704{display:none!important}
 body.store-route-product #modalRoot .thumbs{padding:10px 14px!important}
 body.store-route-product #modalRoot .detail-info{padding:14px!important;width:100%!important;max-width:none!important}
 body.store-route-product #modalRoot .related-products-v387,body.store-route-product #modalRoot .reviews-v388{padding-left:14px!important;padding-right:14px!important}
 body.store-route-product #modalRoot .mobile-detail-buy{bottom:0!important}
 #grid .card .price .reiwa-price-v710>strong{font-size:clamp(15px,4.1vw,19px)!important}
 #grid .product-rating-v388{font-size:8px!important;margin-bottom:5px!important}
}
#modalRoot .related-card-layout-v710{display:flex;flex-direction:column;min-width:0}
#modalRoot .related-card-layout-v710 .related-link-v710{display:block;color:inherit;text-decoration:none;flex:1}
#modalRoot .related-card-layout-v710 .related-link-v710 img{width:100%;aspect-ratio:1;object-fit:cover}
#modalRoot .related-card-layout-v710 .reiwa-price-v710 .reiwa-voucher-trigger-v710{display:inline-flex!important;padding:0!important}
#modalRoot .related-card-layout-v710 .reiwa-price-v710 .reiwa-percent-v710{display:inline-flex!important;padding:3px 5px!important}
#modalRoot .related-card-layout-v710 .related-actions-v710{display:flex;gap:5px;justify-content:flex-end;padding:0 9px 9px}
#modalRoot .related-card-layout-v710 .related-actions-v710 button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:7px;background:var(--soft);color:var(--green);cursor:pointer}
#modalRoot .related-card-layout-v710 .related-actions-v710 button.active{color:var(--red)}
#modalRoot .related-card-layout-v710 .related-actions-v710 svg{width:18px;height:18px}

/* v7.0.11: prices, gallery, favorites and cart summary. */
#modalRoot .price-box>div:first-child{min-width:0;align-items:flex-start!important;justify-content:center!important;gap:0!important}
#modalRoot .price-box>div:first-child>.reiwa-price-v710{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:wrap!important;gap:5px 9px!important;width:100%;margin-top:5px!important}
#modalRoot .price-box>div:first-child>.reiwa-price-v710>strong{font-size:27px!important;line-height:1.16!important;margin:0!important;color:#ff7a83!important}
#modalRoot .price-box>div:first-child .reiwa-voucher-trigger-v710{display:inline-flex!important;align-items:center!important;gap:3px!important;margin:0!important;padding:0!important}
#modalRoot .price-box>div:first-child .reiwa-voucher-trigger-v710 .reiwa-percent-v710{padding:3px 5px!important}
#modalRoot .price-box>div:first-child .reiwa-ticket-v710{width:22px;height:20px}
#modalRoot .detail-top-actions .detail-icon[data-action="toggle-fav"]{width:auto;min-width:36px;gap:4px;display:inline-flex;align-items:center;line-height:1.2!important}
#modalRoot .detail-fav-count-v711{font-size:11px;line-height:1;color:var(--muted);font-weight:700}
#grid .card-body{min-height:0!important}
#grid .card h2,#grid .card-body h2{height:auto!important;min-height:0!important;max-height:2.9em!important;margin:0!important}
#grid .card .price{margin:6px 0 0!important}
#grid .card .price .reiwa-price-v710{display:flex!important;flex-wrap:wrap!important;gap:3px 5px!important;align-items:center!important}
#grid .card .price .reiwa-voucher-trigger-v710{display:inline-flex!important;padding:0!important;margin:0!important}
#grid .card .price .reiwa-percent-v710{display:inline-flex!important;font-size:8px!important;padding:2px 4px!important}
#grid .card .price .reiwa-ticket-v710{width:19px;height:18px}
#grid .product-rating-v388{display:flex!important;align-items:center;gap:3px;white-space:nowrap!important;overflow:hidden!important}
#grid .proof-favorite-v711{margin-left:auto!important;flex:none!important;font-size:9px!important;color:var(--muted)!important}
.reiwa-voucher-static-v711{cursor:default!important;pointer-events:none!important}
#modalRoot .gallery-main>.gallery-exit-v711{position:absolute!important;inset:0!important;z-index:2;width:100%!important;height:100%!important;object-fit:cover!important;pointer-events:none!important}
#modalRoot .gallery-main{touch-action:pan-y}
#modalRoot .related-card-layout-v711{display:flex;flex-direction:column;min-width:0}
#modalRoot .related-card-layout-v711 .related-link-v711{display:block;color:inherit;text-decoration:none;flex:1}
#modalRoot .related-card-layout-v711 .related-link-v711 img{width:100%;aspect-ratio:1;object-fit:cover}
#modalRoot .related-card-layout-v711 .related-info-v711{display:block;padding:6px 10px 2px!important}
#modalRoot .related-card-layout-v711 .related-info-v711 strong{margin:3px 0 0!important}
#modalRoot .related-card-layout-v711 .related-proof-v711{display:block;min-height:12px;font-size:8px;color:#aa6910;line-height:1.35;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#modalRoot .related-card-layout-v711 .reiwa-price-v710{padding:2px 10px 5px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:3px 5px!important}
#modalRoot .related-card-layout-v711 .reiwa-price-v710>strong{height:auto!important;display:block!important;color:#d12838!important;font-size:14px!important}
#modalRoot .related-card-layout-v711 .reiwa-voucher-trigger-v710{display:inline-flex!important;padding:0!important}
#modalRoot .related-card-layout-v711 .reiwa-percent-v710{display:inline-flex!important;padding:2px 4px!important;font-size:8px!important}
#modalRoot .related-card-layout-v711 .reiwa-ticket-v710{width:18px;height:17px}
#modalRoot .related-card-layout-v711 .related-actions-v711{display:flex;gap:5px;justify-content:flex-end;padding:0 9px 9px}
#modalRoot .related-card-layout-v711 .related-actions-v711 button{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:32px;height:30px;border:0;border-radius:7px;background:var(--soft);color:var(--green);cursor:pointer}
#modalRoot .related-card-layout-v711 .related-actions-v711 button.active{color:var(--red)}
#modalRoot .related-card-layout-v711 .related-actions-v711 svg{width:17px;height:17px}
#modalRoot .related-card-layout-v711 .related-actions-v711 button span{padding:0;font-size:9px}
body.store-route-cart #modalRoot .cart-total-v711{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:12px 3px 9px;margin-top:10px;color:var(--ink);font-size:12px}
body.store-route-cart #modalRoot .cart-total-v711 span{display:flex;flex-direction:column;gap:4px}
body.store-route-cart #modalRoot .cart-total-v711 small{font-size:9px;color:var(--muted)}
body.store-route-cart #modalRoot .cart-total-v711 strong{font-size:15px;white-space:nowrap;color:var(--red)}
@media(max-width:620px){#modalRoot .price-box>div:first-child>.reiwa-price-v710>strong{font-size:clamp(22px,6vw,27px)!important}#grid .card .price .reiwa-price-v710>strong{font-size:clamp(14px,3.9vw,18px)!important}#grid .proof-favorite-v711{font-size:8px!important}}

/* v7.0.12 */
#modalRoot .related-grid-v387{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#modalRoot .related-card-v387.reiwa-product-card-v712{display:flex!important;padding:0!important;text-align:left!important}
#modalRoot .related-card-v387.reiwa-product-card-v712 .related-link-v711{padding:0!important}
#modalRoot .related-card-v387.reiwa-product-card-v712 .image-wrap img{width:100%!important;height:100%!important;aspect-ratio:auto!important;padding:0!important}
#modalRoot .related-card-v387.reiwa-product-card-v712 .card-body{padding:9px!important}
#modalRoot .related-card-v387.reiwa-product-card-v712 .price .reiwa-price-v710{padding:0!important}
.order-admin-wa-v712{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin:10px 0;padding:11px 15px;border:0;border-radius:12px;background:#20a765;color:#fff!important;font-weight:800;text-decoration:none!important}
.order-admin-wa-v712 svg{width:22px;height:22px;flex:none}
.order-card-actions .order-admin-wa-v712{margin:0 0 8px}
.qris-preview-button-v712{display:grid!important;gap:7px;width:min(290px,100%);margin:10px auto 0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--green)!important;cursor:zoom-in}
.qris-preview-button-v712 img{width:100%!important;max-width:none!important;margin:0!important}
.qris-preview-button-v712 span{font-size:10px;font-weight:800;text-align:center}
.qris-lightbox-v712{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:56px 18px 22px;background:rgba(0,0,0,.88)}
.qris-lightbox-v712>div{display:grid;gap:14px;width:min(92vw,680px);max-height:calc(100dvh - 90px)}
.qris-lightbox-v712 img{display:block;width:100%;height:auto;max-height:calc(100dvh - 170px);object-fit:contain;background:#fff;border-radius:14px}
.qris-lightbox-v712 a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:12px;background:#fff;color:#171717;font-weight:900;text-decoration:none}
.qris-close-v712{position:fixed;right:18px;top:max(18px,env(safe-area-inset-top));width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#111;font-size:28px;line-height:1;cursor:pointer}
.invoice-logo-v712{display:block;width:96px;height:auto;margin:0 0 10px auto}
@media(max-width:820px){#modalRoot .related-grid-v387{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media print{.invoice-logo-v712{width:86px!important}.order-admin-wa-v712{display:none!important}}
#modalRoot .price-box>div:first-child{justify-content:flex-start!important}
