/* Cloned from the Roc 3D Printing centerpiece configurator. Built by DTDwebsite build/woo/cfg-build-css.py. */
.dtd-cfg{--bg:#f4f5f7; --panel:#ffffff; --ink:#16181d; --muted:#5d636e; --line:#e3e6eb;
  --accent:#e4572e; --accent-ink:#ffffff; --chip:#f0f2f5; --viewer:#eceef1;
  --radius:14px;}
.dtd-cfg *{box-sizing:border-box}
.dtd-cfg .viewer{position:sticky;top:16px;background:var(--viewer);border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3.4;min-height:360px;border:1px solid var(--line)}
.dtd-cfg .viewer canvas{display:block;width:100%!important;height:100%!important;touch-action:none}
.dtd-cfg .vbar{position:absolute;left:12px;right:12px;bottom:12px;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;pointer-events:none}
.dtd-cfg .vbar button{pointer-events:auto}
.dtd-cfg .btn{font:600 13px Inter,sans-serif;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 14px;cursor:pointer;transition:background .15s,border-color .15s}
.dtd-cfg .btn:hover{border-color:#c5cad2}
.dtd-cfg .btn[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.dtd-cfg .hint{position:absolute;top:12px;left:12px;font-size:12px;color:var(--muted);background:rgba(255,255,255,.75);padding:5px 10px;border-radius:999px}
.dtd-cfg .loading{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:14px}
.dtd-cfg .panel{display:flex;flex-direction:column;gap:14px}
.dtd-cfg .card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.dtd-cfg .card h2{font-size:15px;margin:0 0 4px;display:flex;align-items:center;gap:10px}
.dtd-cfg .card h2 .n{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px}
.dtd-cfg .card .sub{color:var(--muted);font-size:13px;margin:0 0 12px}
.dtd-cfg .swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.dtd-cfg .sw{aspect-ratio:1;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer;padding:0;position:relative}
.dtd-cfg .sw[aria-checked="true"]{box-shadow:0 0 0 2px var(--ink)}
.dtd-cfg .sw.custom{background:conic-gradient(red,yellow,lime,cyan,blue,magenta,red)}
.dtd-cfg .sw.custom input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.dtd-cfg .picked{margin-top:10px;font-size:13px;color:var(--muted)}
.dtd-cfg .picked b{color:var(--ink)}
.dtd-cfg .opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dtd-cfg .opt{border:1.5px solid var(--line);border-radius:10px;padding:10px 12px;cursor:pointer;background:#fff;text-align:left;font:inherit;color:inherit}
.dtd-cfg .opt b{display:block;font-size:14px}
.dtd-cfg .opt span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.dtd-cfg .opt[aria-checked="true"]{border-color:var(--ink);background:var(--chip)}
.dtd-cfg .opt:disabled{opacity:.45;cursor:not-allowed}
.dtd-cfg .finNote{font-size:12px;color:var(--muted);margin:10px 0 0}
.dtd-cfg .finNote.hidden{display:none}
.dtd-cfg .fz{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.dtd-cfg .fz.hidden{display:none}
.dtd-cfg .fz h3{font-size:13px;margin:0 0 2px}
.dtd-cfg .fz .sub{margin-bottom:10px}
.dtd-cfg .pats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.dtd-cfg .pat{border:1.5px solid var(--line);border-radius:10px;padding:4px 4px 6px;cursor:pointer;background:#fff;font:inherit;color:inherit;text-align:center}
.dtd-cfg .pat canvas{display:block;width:100%;aspect-ratio:1;border-radius:6px}
.dtd-cfg .pat b{display:block;font-size:12px;margin-top:5px}
.dtd-cfg .pat[aria-checked="true"]{border-color:var(--ink);background:var(--chip)}
.dtd-cfg .fz .pdesc{font-size:12px;color:var(--muted);margin:10px 0 0;min-height:2.6em}
.dtd-cfg .fz .pdesc b{color:var(--ink)}
.dtd-cfg .seg{display:flex;background:var(--chip);border-radius:10px;padding:3px;gap:3px;margin-bottom:12px}
.dtd-cfg .seg button{flex:1;border:0;background:transparent;font:600 13px Inter,sans-serif;padding:8px;border-radius:8px;cursor:pointer;color:var(--muted)}
.dtd-cfg .seg button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.dtd-cfg label.f{display:block;font-size:12px;font-weight:600;color:var(--muted);margin:10px 0 5px}
.dtd-cfg input[type=text],.dtd-cfg textarea,.dtd-cfg select{width:100%;font:15px Inter,sans-serif;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}
.dtd-cfg textarea{resize:vertical;min-height:44px}
.dtd-cfg .row{display:flex;gap:10px;align-items:center}
.dtd-cfg .row > *{flex:1}
.dtd-cfg input[type=range]{width:100%;accent-color:var(--ink)}
.dtd-cfg .check{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:10px}
.dtd-cfg .mini{display:flex;gap:6px;flex-wrap:wrap}
.dtd-cfg .mini .sw{width:24px;height:24px}
.dtd-cfg .drop{display:block;border:1.5px dashed #c9ced6;border-radius:10px;padding:14px;text-align:center;font-size:13px;color:var(--muted);cursor:pointer;background:#fafbfc}
.dtd-cfg .drop strong{color:var(--ink)}
.dtd-cfg .hidden{display:none!important}
.dtd-cfg .summary{list-style:none;margin:0;padding:0;font-size:14px}
.dtd-cfg .summary li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}
.dtd-cfg .summary li:last-child{border-bottom:0}
.dtd-cfg .summary span:first-child{color:var(--muted)}
.dtd-cfg .summary span:last-child{text-align:right;font-weight:600}
.dtd-cfg .dot{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:-1px;margin-right:6px;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.dtd-cfg .cta{display:flex;gap:8px;margin-top:12px}
.dtd-cfg .cta .btn{flex:1;padding:11px 14px;font-size:14px}
.dtd-cfg .btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.dtd-cfg .fine{font-size:12px;color:var(--muted);margin:10px 0 0;line-height:1.45}
.dtd-cfg .price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:6px 0 2px}
.dtd-cfg .price .big{font-size:32px;font-weight:700;letter-spacing:-.02em}
.dtd-cfg .price .per{color:var(--muted);font-size:14px}
.dtd-cfg .total{font-size:14px;color:var(--muted)}
.dtd-cfg .total b{color:var(--ink)}
.dtd-cfg .save{display:inline-block;background:#e7f5ec;color:#1f7a3d;font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px}
.dtd-cfg .qty{display:flex;align-items:center;gap:8px}
.dtd-cfg .qty input{width:110px;font:600 16px Inter,sans-serif;padding:8px 10px;border:1px solid var(--line);border-radius:9px;text-align:center}
.dtd-cfg .qty button{width:38px;height:38px;border-radius:9px;border:1px solid var(--line);background:#fff;font:600 18px Inter,sans-serif;cursor:pointer}
.dtd-cfg .tiers{width:100%;border-collapse:collapse;font-size:13px;margin-top:12px}
.dtd-cfg .tiers th,.dtd-cfg .tiers td{padding:7px 6px;text-align:right;border-bottom:1px solid var(--line)}
.dtd-cfg .tiers th:first-child,.dtd-cfg .tiers td:first-child{text-align:left}
.dtd-cfg .tiers th{color:var(--muted);font-weight:600;font-size:12px}
.dtd-cfg .tiers tr.on td{background:var(--chip);font-weight:700}
.dtd-cfg .tiers tr{cursor:pointer}
.dtd-cfg details.matrix{margin-top:12px;font-size:13px}
.dtd-cfg details.matrix summary{cursor:pointer;font-weight:600}
.dtd-cfg .mx{overflow-x:auto;margin-top:8px}
.dtd-cfg .mx table{border-collapse:collapse;width:100%;min-width:430px;font-size:12px}
.dtd-cfg .mx th,.dtd-cfg .mx td{padding:6px 5px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.dtd-cfg .mx th:first-child,.dtd-cfg .mx td:first-child{text-align:left}
.dtd-cfg .mx th{color:var(--muted);font-weight:600}
.dtd-cfg .mx tr.on td{background:var(--chip);font-weight:700}
@media (max-width:900px){.dtd-cfg .viewer{position:relative;top:0;aspect-ratio:1/1}.dtd-cfg .swatches{grid-template-columns:repeat(8,1fr)}}
@media (max-width:420px){.dtd-cfg .swatches{grid-template-columns:repeat(6,1fr)}.dtd-cfg .opts{grid-template-columns:1fr}.dtd-cfg .pats{grid-template-columns:repeat(3,1fr)}}
/* DTD: the designer sits in the product summary, above the quantity box. */
.dtd-cfg{color:var(--ink);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;margin:0 0 24px;width:100%;flex-basis:100%}
.dtd-cfg header.top{margin:0 0 12px}
.dtd-cfg header.top h2{font-size:22px;margin:0;letter-spacing:-.02em;line-height:1.2}
.dtd-cfg header.top p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.45}
.dtd-cfg .layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:start}
.dtd-cfg .viewer{position:sticky;top:var(--dtd-head,150px)}
@media (max-width:960px){.dtd-cfg .layout{grid-template-columns:1fr}.dtd-cfg .viewer{position:relative;top:0;aspect-ratio:1/1}}
/* DTD: full-width section under the photo and summary (Rob, 2026-11-07). */
.dtd-cfg-section{clear:both;width:100%;padding:32px 0 8px}
.dtd-cfg-section form.cart{display:block!important;width:100%;margin:0!important}
.dtd-cfg .dtd-cfg-buy{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.dtd-cfg .dtd-cfg-buy .quantity{margin:0!important;float:none!important}
.dtd-cfg .dtd-cfg-buy button[name=add-to-cart]{flex:1 1 auto;margin:0!important;float:none!important;border-radius:999px!important}
/* Salient's #ajax-content-wrap is overflow:hidden, which stops position:sticky. clip looks the same but keeps sticky working. */
html body.dtd-cfg-page #ajax-content-wrap{overflow:clip!important}
/* Express checkout (WooPay) would skip the design upload, so it is hidden on designer products. */
.dtd-cfg-section .wcpay-express-checkout-wrapper,.dtd-cfg-section #wcpay-woopay-button,.dtd-cfg-section .woopay-express-button{display:none!important}
.dtd-cfg #holder{grid-template-columns:1fr}
.dtd-cfg-jump{margin:18px 0}
.dtd-cfg-jump .button{margin-right:10px}
.dtd-cfg-jump span{font-size:14px;opacity:.8}

.dtd-cfg .err{background:#fdecea;color:#8a1c12;border:1px solid #f5c2bd;border-radius:10px;padding:10px 12px;font-size:14px;margin:0}
.dtd-cfg button{text-transform:none;letter-spacing:normal;line-height:1.3;min-height:0;box-shadow:none}
.dtd-cfg .sw,.dtd-cfg .opt,.dtd-cfg .pat{margin:0}
form.cart:has(.dtd-cfg){flex-wrap:wrap}
/* DTD: undo Salient's typography inside the designer (line-height 40px+, theme fonts, 4px button radius). */
.dtd-cfg *{line-height:1.35}
.dtd-cfg h2,.dtd-cfg h3,.dtd-cfg button,.dtd-cfg input,.dtd-cfg select,.dtd-cfg textarea,.dtd-cfg table,.dtd-cfg label,.dtd-cfg summary{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif!important}
.dtd-cfg h2,.dtd-cfg h3{line-height:1.25!important;font-weight:700;letter-spacing:-.01em;text-transform:none}
.dtd-cfg .card h2{font-size:15px!important}
.dtd-cfg .card h2 .n{line-height:1!important}
.dtd-cfg .sw{border-radius:50%!important}
.dtd-cfg .swatches{grid-template-columns:repeat(8,minmax(0,44px))}
.dtd-cfg .opt,.dtd-cfg .pat{border-radius:10px!important;font-size:14px}
.dtd-cfg .seg button{border-radius:8px!important;font-size:13px!important}
.dtd-cfg .btn{border-radius:999px!important;font-size:13px!important}
.dtd-cfg .tiers th,.dtd-cfg .tiers td,.dtd-cfg .mx th,.dtd-cfg .mx td{padding:7px 6px!important;font-size:13px!important;background:transparent}
.dtd-cfg .tiers tr.on td,.dtd-cfg .mx tr.on td{background:var(--chip)}
.dtd-cfg table{margin:0;border:0}
