dialog.hs-product-preview.hs-product-carousel{
  --hs-bg:#282b33;--hs-accent:#375efb;--hs-txt:#161a20;
  position:fixed;inset:0;margin:auto;padding:44px 24px 24px;
  width:min(1060px,calc(100vw - 32px));max-width:1060px;
  max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);
  height:fit-content;border:1px solid #d5dbe3;border-radius:0;
  color:#161a20;background:#fff;overflow:auto;overscroll-behavior:contain;
  box-sizing:border-box;font:15px/1.45 'Space Grotesk',sans-serif;
}
dialog.hs-product-preview::backdrop{background:rgba(15,20,30,.8)}
dialog.hs-product-preview:not([open]){display:none}
.hs-product-preview .hs-preview-close{position:absolute;right:10px;top:8px;z-index:2;width:32px;height:30px;padding:0;border:1px solid #375efb;border-radius:0;background:#375efb;color:#fff;font:24px/1 sans-serif;cursor:pointer}
.hs-product-preview .hs-preview-grid{display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:24px;align-items:start}
.hs-product-preview .hs-preview-card{min-width:0}
.hs-product-preview .hs-card{display:flex!important;flex-direction:column!important;width:100%;height:auto;margin:0!important}
.hs-product-preview .hs-card .hs-ph{width:100%!important;height:220px!important;min-height:0!important;aspect-ratio:auto!important;grid-area:auto!important}
.hs-product-preview .hs-card .hs-body,.hs-product-preview .hs-card .hs-card-flags{grid-area:auto!important}
.hs-product-preview .hs-card h3{font-size:16px!important;line-height:1.35!important}
.hs-product-preview .hs-card .hs-qv-btn{display:none!important}
.hs-product-preview .hs-preview-details{min-width:0;color:#161a20}
.hs-product-preview .hs-preview-details h2{margin:0 0 12px;font-size:20px;font-weight:700;line-height:1.25;color:#161a20;text-transform:none}
.hs-product-preview .hs-preview-table{width:100%;max-width:100%;overflow-x:auto}
/* Match the client's PDP table: narrow rows, grey labels, strong outside border. */
.hs-product-preview table.woocommerce-product-attributes{display:table!important;width:100%!important;border:2px solid #475569!important;border-collapse:collapse!important;background:#fff;font-size:15px!important;line-height:1.25!important;color:#0f172a;margin:0 0 20px!important}
.hs-product-preview table.woocommerce-product-attributes tbody{display:table-row-group!important}
.hs-product-preview table.woocommerce-product-attributes tr{display:table-row!important;height:auto!important;width:auto!important}
.hs-product-preview table.woocommerce-product-attributes th,
.hs-product-preview table.woocommerce-product-attributes td{display:table-cell!important;float:none!important;padding:3px 10px!important;line-height:1.25!important;height:auto!important;font-size:15px!important;border-bottom:1px solid #e2e8f0!important;vertical-align:middle!important;text-align:left!important;font-style:normal!important;color:#0f172a!important;box-sizing:border-box}
.hs-product-preview table.woocommerce-product-attributes th{font-weight:700!important;white-space:nowrap;width:1%;padding-right:18px!important;background:#e2e8f0!important;border-right:1px solid #94a3b8!important;border-left:0!important}
.hs-product-preview table.woocommerce-product-attributes td{font-weight:500!important;border-left:0!important}
.hs-product-preview table.woocommerce-product-attributes td p{margin:0!important;padding:0!important;font-style:normal!important;line-height:1.25!important}
.hs-product-preview table.woocommerce-product-attributes tr:nth-child(odd) td{background:#f8fafc}
.hs-product-preview table.woocommerce-product-attributes tr:last-child th,
.hs-product-preview table.woocommerce-product-attributes tr:last-child td{border-bottom:0!important}
.hs-product-preview table.woocommerce-product-attributes td:before,.hs-product-preview table.woocommerce-product-attributes th:before{content:none!important;display:none!important}
.hs-product-preview .hs-preview-full{display:inline-flex;padding:12px 18px;border:1px solid #375efb;background:#375efb;color:#fff!important;text-decoration:none;font-size:13px;font-weight:700}
.hs-product-preview .hs-preview-loading{padding:40px 16px;margin:0;font-size:16px;text-align:center}
.hs-product-preview .hs-btn:hover,.hs-product-preview button:not(:disabled):hover,.hs-product-preview button:focus-visible{background:#61ce70!important;border-color:#61ce70!important;color:#fff!important}
@media(max-width:767px){
  dialog.hs-product-preview.hs-product-carousel{width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:44px 12px 16px}
  .hs-product-preview .hs-preview-grid{grid-template-columns:1fr;gap:20px}
  .hs-product-preview .hs-preview-card{max-width:360px;width:100%;margin-inline:auto}
  .hs-product-preview .hs-card .hs-ph{height:160px!important}
  .hs-product-preview table.woocommerce-product-attributes{table-layout:fixed;font-size:14px!important}
  .hs-product-preview table.woocommerce-product-attributes th{width:48%!important;white-space:normal!important;font-size:13px!important;padding:3px 8px!important;overflow-wrap:anywhere}
  .hs-product-preview table.woocommerce-product-attributes td{font-size:14px!important;padding:3px 8px!important;overflow-wrap:anywhere}
}
