/* Gaya produk "dark": navy gelap, kartu kaca, aksen emas–merah muda–biru muda.
   Hanya berlaku bila produk memakai templateStyle "dark" (body.product-template-dark). */
/* Warna latar situs dipasang inline oleh site-runtime.js, jadi gaya ini perlu !important. */
body.product-template-dark{background-color:#0a0e1a!important}
body.product-template-dark .product-page{background:radial-gradient(ellipse 60% 45% at 85% 0%,#1d3566 0%,transparent 70%),radial-gradient(ellipse 45% 35% at 0% 30%,#3b235a55 0%,transparent 70%);background-color:#0a0e1a!important;color:#c7cede}
body.product-template-dark .product-page>.container{padding-top:34px;padding-bottom:70px}

/* Breadcrumb */
body.product-template-dark .breadcrumbs{color:#7f8aa3;border-color:#ffffff14;font-size:12px;letter-spacing:1.5px}
body.product-template-dark .breadcrumbs a{color:#ffd77a}
body.product-template-dark .breadcrumbs a:hover{color:#f472b6}

/* Kartu detail */
body.product-template-dark .detail{gap:44px;padding:34px;border:1px solid #ffffff14;border-radius:24px;background:linear-gradient(180deg,#121a30,#0d1222);box-shadow:0 30px 80px #0009}
body.product-template-dark .detail [data-product-part="media"][data-frame]{padding:0;border:0;border-radius:20px;background:none;box-shadow:none}
body.product-template-dark .main-image{border:1px solid #ffffff14!important;border-radius:20px;background:#0d1730;box-shadow:0 24px 60px #000a}
body.product-template-dark .gallery{gap:10px;margin-top:14px}
body.product-template-dark .gallery button{padding:0;overflow:hidden;border:2px solid #ffffff1a;border-radius:12px;background:#0d1730;transition:border-color .3s,transform .3s}
body.product-template-dark .gallery button.active,body.product-template-dark .gallery button:hover{border-color:#ffc13b;transform:translateY(-2px)}
body.product-template-dark .gallery button img{display:block;border-radius:10px}

/* Info produk */
body.product-template-dark .product-info>small{display:inline-block;align-self:flex-start;width:max-content;max-width:100%;padding:7px 13px;border:1px solid #22d3ee55;border-radius:999px;background:#22d3ee14;color:#67e8f9;font-size:11px;letter-spacing:2px}
body.product-template-dark .product-info h1{margin:16px 0 6px;color:#fff;font-family:Georgia,serif;font-size:clamp(32px,3.4vw,50px);font-weight:700;line-height:1.08;letter-spacing:-.4px;text-transform:none}
body.product-template-dark .price{margin:6px 0 4px;background:linear-gradient(90deg,#ffc13b,#ff8a5c,#f472b6);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:clamp(22px,2vw,28px);font-weight:800}
body.product-template-dark .short{margin:14px 0 18px;color:#b9c2d6;font-size:16px;line-height:1.75}
body.product-template-dark .short strong{color:#fff}
body.product-template-dark .stock{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid #34d39955;border-radius:999px;background:#34d39914;color:#6ee7b7;font-size:12px;font-weight:800}
body.product-template-dark .stock:before{content:"";width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 0 0 #34d39988;animation:pdPing 2s ease-out infinite}
@keyframes pdPing{to{box-shadow:0 0 0 8px #34d39900}}
body.product-template-dark .product-page-cta{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:16px 28px;border:0;border-radius:12px;background:linear-gradient(100deg,#ffe08a,#ffc13b 45%,#ff8a5c 80%,#f472b6);background-size:180% 100%;color:#14213d;font-weight:800;letter-spacing:.5px;box-shadow:0 14px 34px #ff8a5c33;transition:transform .3s,box-shadow .3s,background-position .6s}
body.product-template-dark .product-page-cta:hover{transform:translateY(-3px);background-position:100% 0;box-shadow:0 20px 44px #f472b655}
body.product-template-dark .sku{margin-top:22px;padding:14px 0;border-color:#ffffff14;color:#9aa4bb}
body.product-template-dark .sku b{color:#7f8aa3;letter-spacing:1.5px}
body.product-template-dark .sku i{color:#e5e9f3;font-style:normal}
body.product-template-dark .set-items{border-color:#ffffff14}
body.product-template-dark .set-items h3{color:#fff;font-size:13px;letter-spacing:2px;text-transform:uppercase}
body.product-template-dark .item-list{gap:8px}
body.product-template-dark .item-list span{padding:8px 14px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff0a;color:#dbe2f0;font-size:13px}
body.product-template-dark .item-list span:nth-child(3n+1){border-color:#ffc13b55}
body.product-template-dark .item-list span:nth-child(3n+2){border-color:#f472b655}
body.product-template-dark .item-list span:nth-child(3n+3){border-color:#22d3ee55}

/* Deskripsi */
body.product-template-dark .product-description-section{margin-top:28px;padding:38px 40px;border:1px solid #ffffff14;border-radius:24px;background:#0d1222;box-shadow:0 20px 60px #0007}
body.product-template-dark .product-description-section>h2{margin:0 0 6px;color:#fff;font-family:Georgia,serif;font-size:26px}
body.product-template-dark .description{color:#b9c2d6;font-size:15.5px;line-height:1.8}
body.product-template-dark .description h3{margin:28px 0 8px;background:linear-gradient(90deg,#ffc13b,#f472b6);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:14px;letter-spacing:1.6px}
body.product-template-dark .description p{max-width:860px}
body.product-template-dark .description strong{color:#fff}
body.product-template-dark .description ul,body.product-template-dark .description.has-spec ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:12px 0 18px;padding:0;list-style:none;border:0}
body.product-template-dark .description li,body.product-template-dark .description.has-spec li{position:relative;display:block;margin:0;padding:14px 16px 14px 44px;border:1px solid #ffffff12;border-radius:14px;background:#121a30;color:#b9c2d6;font-size:14px;line-height:1.6}
body.product-template-dark .description li:before{content:"";position:absolute;left:16px;top:18px;width:14px;height:14px;border-radius:50%;background:#ffc13b;box-shadow:0 0 12px #ffc13b77}
body.product-template-dark .description li:nth-child(4n+2):before{background:#f472b6;box-shadow:0 0 12px #f472b677}
body.product-template-dark .description li:nth-child(4n+3):before{background:#a78bfa;box-shadow:0 0 12px #a78bfa77}
body.product-template-dark .description li:nth-child(4n+4):before{background:#22d3ee;box-shadow:0 0 12px #22d3ee77}
body.product-template-dark .description.has-spec .spec-label{display:block;margin-bottom:2px;color:#fff;font-size:14px;font-weight:800;letter-spacing:0;text-transform:none}
body.product-template-dark .description.has-spec .spec-value{color:#b9c2d6}

/* Produk terkait */
body.product-template-dark .product-related{margin-top:28px;padding:34px 40px;border:1px solid #ffffff14;border-radius:24px;background:#0d1222}
body.product-template-dark .product-related-head small{color:#22d3ee;letter-spacing:2px}
body.product-template-dark .product-related-head h2{color:#fff;font-family:Georgia,serif;font-size:26px}
body.product-template-dark .product-related .product-grid article{overflow:hidden;border:1px solid #ffffff12;border-radius:16px;background:linear-gradient(180deg,#121a30,#0d1222);transition:transform .45s cubic-bezier(.2,.8,.2,1),border-color .45s,box-shadow .45s}
body.product-template-dark .product-related .product-grid article:hover{transform:translateY(-6px);border-color:#a78bfa66;box-shadow:0 22px 50px #0009}
body.product-template-dark .product-related .product-grid article img{aspect-ratio:1/1;object-fit:cover}
body.product-template-dark .product-related .product-grid article>div{padding:14px 16px 18px}
body.product-template-dark .product-related .product-grid small{color:#22d3ee;letter-spacing:1.5px}
body.product-template-dark .product-related .product-grid h3,body.product-template-dark .product-related .product-grid h3 a{color:#fff}
body.product-template-dark .product-related .product-grid strong{background:linear-gradient(90deg,#ffc13b,#f472b6);-webkit-background-clip:text;background-clip:text;color:transparent}
body.product-template-dark .product-related .product-grid p{color:#9aa4bb}
body.product-template-dark .product-detail-button{border-color:#ffc13b;border-radius:999px;color:#ffc13b}
body.product-template-dark .product-detail-button:hover{background:#ffc13b;color:#14213d}

@media(max-width:850px){
body.product-template-dark .detail{gap:26px;padding:18px;border-radius:18px}
body.product-template-dark .product-description-section,body.product-template-dark .product-related{padding:24px 18px;border-radius:18px}
}
@media(prefers-reduced-motion:reduce){body.product-template-dark *{animation:none!important;transition:none!important}}
