/* Loaded in the head: no flash, empty shell, or reserved gap before selection. */
.single-product .dcwi-calculator[data-price-kind="from"]:not([data-product-id="0"]):not([data-dcsg-ready="yes"]){display:none!important}
.single-product .dcwi-calculator[data-price-kind="from"][data-dcsg-ready="yes"]{--di-ink:#4f1017;--di-accent:#7b1721;--di-gold:#c29b37;background:#fffdf9;border-color:#e5d6bd;box-shadow:0 10px 28px #4f10170a;animation:dcsg-reveal .18s ease-out both}
@keyframes dcsg-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.single-product .dcwi-calculator[data-dcsg-ready="yes"]{animation:none}}
/* Motion is event-driven, never an infinite animation in the background. */
.single-product .dcwi .dcsg-order-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px 14px;margin:0 0 10px;font-size:11px;line-height:1.9;color:#927746}
.single-product .dcwi .dcsg-order-summary [data-dcsg-count]{padding:4px 10px;border:1px solid #e4d0a0;border-radius:7px;color:#6b4425;background:linear-gradient(120deg,#fbf2da,#f3e4bf);font-weight:650;font-variant-numeric:tabular-nums}
.single-product .dcwi-calculator .dcwi-tabs button{transition:transform .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.single-product .dcwi-calculator .dcwi-tabs button[aria-pressed="true"]{box-shadow:0 5px 16px #4f10171f,inset 0 1px 0 #eed6a32e}
.single-product .dcwi-calculator .dcwi-hero{transition:box-shadow .25s ease}
.single-product .dcwi-calculator .dcwi-details summary{transition:color .2s ease}
.single-product .dcwi-calculator .dcwi-details[open] summary{color:#9c762c}
@media(hover:hover){.single-product .dcwi-calculator .dcwi-tabs button:hover{transform:translateY(-2px);box-shadow:0 6px 14px #4f10170e}.single-product .dcwi-calculator .dcwi-hero:hover{box-shadow:0 6px 20px #4f10171c}}
@media(prefers-reduced-motion:reduce){.single-product .dcwi-calculator *{animation:none!important;transition:none!important}.single-product .dcwi-calculator .dcwi-tabs button:hover{transform:none}}
.single-product .dcwi-calculator[data-product-id]:not([data-product-id="0"])[data-dcsg-ready="no"]{display:none!important}
.single-product .dcwi-calculator .dcwi-metrics [data-field],.single-product .dcwi-calculator .dcwi-breakdown [data-field]{display:inline-block}
