.cc3d-host { margin: 0 0 24px; min-width: 0; }
/* Storefront clips the core's full-width configurator inside its product box.
   Preserve a formatting context while allowing the enabled 3D layout to fit. */
.woocommerce div.product.cc3d-product { overflow: visible; display: flow-root; }
.cc3d { position: relative; overflow: hidden; border: 1px solid #dfe2df; border-radius: 18px; color: #263730; font: 14px/1.5 system-ui, sans-serif; }
.cc3d__header { position: absolute; top: 20px; left: 22px; display: flex; align-items: center; gap: 10px; z-index: 1; pointer-events: none; }
.cc3d__badge { border: 1px solid #b6c5b9; border-radius: 6px; padding: 2px 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.cc3d__stage { position: relative; height: clamp(340px, 40vw, 560px); }
.cc3d__model { position: relative; top: 52px; display: block; width: 100%; height: calc(100% - 52px); --progress-bar-color: #38654c; --poster-color: transparent; }
.cc3d__poster { position: absolute; width: 100%; height: 100%; object-fit: contain; padding: 50px 25px 20px; box-sizing: border-box; }
.cc3d__status { text-align: center; padding: 0 20px; margin: 0 0 14px; min-height: 21px; font-size: 12px; color: #53655b; }
.cc3d__toolbar { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0 16px 20px; }
.cc3d .cc3d__button { appearance: none; background: #fff; color: #263730; border: 1px solid #d5ddd6; border-radius: 8px; padding: 9px 13px; min-height: 44px; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.4; box-shadow: none; }
.cc3d .cc3d__button:disabled { opacity: .45; cursor: default; }
.cc3d .cc3d__button[aria-pressed="true"] { background: #263f30; color: #fff; }
.cc3d .cc3d__button:focus-visible { outline: 3px solid #24784a; outline-offset: 3px; }
.cc3d [hidden] { display: none !important; }
.cc3d[data-state="loading"] .cc3d__stage::after { content: ''; position: absolute; top: 50%; left: calc(50% - 15px); width: 30px; height: 30px; border: 2px solid #ccd6ce; border-top-color: #38654c; border-radius: 50%; animation: cc3d-spin 1s linear infinite; pointer-events: none; }
.cc3d:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.cc3d:fullscreen .cc3d__stage { flex: 1; height: auto; }
.cc3d-settings { display: grid; gap: 20px; }
.cc3d-settings__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cc3d-settings label { display: grid; gap: 6px; }
.cc3d-settings input:not([type="checkbox"]), .cc3d-settings select { width: 100%; min-width: 0; }
.cc3d-settings__wide { grid-column: 1 / -1; }
.cc3d-mapping { border: 1px solid #dde3df; padding: 16px; border-radius: 10px; margin-bottom: 14px; }
.cc3d-inventory { white-space: pre-wrap; overflow-wrap: anywhere; }
.cc3d-preview-options { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
@keyframes cc3d-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cc3d[data-state="loading"] .cc3d__stage::after { animation: none; } }
@media (max-width: 600px) { .cc3d-settings__grid { grid-template-columns: 1fr; } .cc3d__header { top: 16px; left: 16px; } }

/* Pro Studio: persistent product stage on the left, one purchase column on the right. */
section.destinxpc-wrap.cc3d-studio { width:100%; max-width:none; margin:0; padding:0; left:auto; transform:none; color:#f4f5f7; background:#0b1425; --destinxpc-primary:#c49b7c; --destinxpc-card-bg:#172438; --destinxpc-quote-bg:#0b1425; }
section.destinxpc-wrap.cc3d-studio .destinxpc-container { width:100%; max-width:none; margin:0; padding:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-row { position:relative; display:grid; grid-template-columns:minmax(0,1fr) clamp(400px,32vw,560px); gap:0; align-items:start; }
section.destinxpc-wrap.cc3d-studio .cc3d-host { position:sticky; top:0; margin:0; min-width:0; }
section.destinxpc-wrap.cc3d-studio .cc3d { height:100vh; height:100svh; min-height:580px; display:flex; flex-direction:column; border:0; border-radius:0; color:#f5f5f5; background:#1b293b; }
section.destinxpc-wrap.cc3d-studio .cc3d__header { top:28px; left:auto; right:28px; color:#c1cbd5; font-size:12px; }
section.destinxpc-wrap.cc3d-studio .cc3d__badge { border-color:#738093; }
section.destinxpc-wrap.cc3d-studio .cc3d__header strong { display:none; }
section.destinxpc-wrap.cc3d-studio .cc3d__stage { flex:1; min-height:0; height:auto; }
section.destinxpc-wrap.cc3d-studio .cc3d__model { --progress-bar-color:#c49b7c; }
section.destinxpc-wrap.cc3d-studio .cc3d__status { color:#adb8c6; font-size:11px; letter-spacing:.03em; }
section.destinxpc-wrap.cc3d-studio .cc3d__toolbar { padding:0 24px 24px; }
section.destinxpc-wrap.cc3d-studio .cc3d__button { color:#e8edf3; background:transparent; border-color:#536174; border-radius:6px; }
section.destinxpc-wrap.cc3d-studio .cc3d__button:hover, section.destinxpc-wrap.cc3d-studio .cc3d__button[aria-pressed="true"] { background:#34435a; color:#fff; }
section.destinxpc-wrap.cc3d-studio .cc3d__button:focus-visible { outline-color:#e3b998; }
.cc3d-studio__back { position:absolute; left:30px; top:28px; z-index:2; color:#c1cbd5; text-decoration:none; font:13px/1.5 system-ui,sans-serif; }
.cc3d-studio__back:hover { color:#fff; }
.cc3d-studio__panel { min-width:0; padding:64px 32px 40px; background:#0b1425; }
.cc3d-studio__panel .destinxpc-col { width:100%; max-width:none; flex:none; margin:0; }
.cc3d-studio__heading { text-align:center; margin:0 0 40px; }
.cc3d-studio__heading h1 { color:#fff; margin:0 0 14px; font:600 clamp(27px,2.1vw,38px)/1.15 system-ui,sans-serif; letter-spacing:-.04em; }
.cc3d-studio__price { color:#e6e9ef; font-size:19px; margin:0 0 20px; }
.cc3d-studio__description { color:#aab5c6; font-size:14px; line-height:1.7; margin:0 auto; max-width:400px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-box[data-destinxpc] { margin:0; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; color:#f4f5f7; overflow:visible; }
section.destinxpc-wrap.cc3d-studio .destinxpc-box .destinxpc-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 28px; padding:0 0 20px; border-bottom:1px solid #2a3547; }
/* Respect the core's measured narrow header instead of shrinking its title
   beside a quantity control that already occupies the whole row. */
section.destinxpc-wrap.cc3d-studio .destinxpc-box .destinxpc-head.is-space-constrained { display:grid; grid-template-columns:minmax(0,1fr); }
section.destinxpc-wrap.cc3d-studio .destinxpc-title { color:#fff; margin:0; font-size:18px; line-height:1.3; font-weight:600; letter-spacing:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-kicker, section.destinxpc-wrap.cc3d-studio .destinxpc-step__label, .cc3d-studio__tabs { display:none !important; }
section.destinxpc-wrap.cc3d-studio .destinxpc-qtybox { display:flex; align-items:center; gap:10px; padding:0; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; width:auto; min-width:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-qtybox__label { color:#aab5c6; font-size:10px; margin:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-qtyinput { background:#172438; border:1px solid #344157; color:#fff; width:64px; min-height:40px; margin:0; padding:8px; border-radius:6px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-box .destinxpc-step { margin:0; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; overflow:visible; }
section.destinxpc-wrap.cc3d-studio .destinxpc-box .destinxpc-pane { margin:0; padding:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-box .destinxpc-field { margin:0 0 30px; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
section.destinxpc-wrap.cc3d-studio .destinxpc-field__head { display:flex; align-items:center; justify-content:space-between; margin:0 0 12px; padding:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-field__title { color:#fff; font-size:14px; line-height:1.5; font-weight:600; letter-spacing:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-field__required { color:#c49b7c; }
section.destinxpc-wrap.cc3d-studio .destinxpc-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt { display:block; min-width:0; margin:0; padding:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt .destinxpc-opt__ui { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; width:100%; min-height:132px; margin:0; padding:17px 6px; border:1px solid transparent; border-radius:9px; box-shadow:none; color:#e5eaf0; background:#19273a; transform:none; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt:hover .destinxpc-opt__ui { background:#223148; border-color:#647189; transform:none; box-shadow:none; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt input:checked + .destinxpc-opt__ui { border-color:#c49b7c; background:#263348; box-shadow:0 0 0 1px #c49b7c; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt input:focus-visible + .destinxpc-opt__ui { outline:2px solid #eac3a4; outline-offset:4px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt input:checked + .destinxpc-opt__ui::after { content:'✓'; position:absolute; top:5px; right:7px; color:#eac3a4; width:auto; height:auto; border:0; background:none; box-shadow:none; font-size:12px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt__swatch { display:block; width:54px; height:54px; min-width:54px; border:0; border-radius:50%; box-shadow:none; background:transparent; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt__swatch-chip { display:block; width:100%; height:100%; border-radius:50%; background:var(--destinxpc-swatch); border:1px solid #ffffff26; box-shadow:inset 0 2px 8px #ffffff10; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt__text { display:block; text-align:center; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt__label { color:#eff1f5; font-size:12px; line-height:1.4; font-weight:500; letter-spacing:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-quote { position:static !important; top:auto; max-height:none !important; overflow:visible; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#eff1f5; }
section.destinxpc-wrap.cc3d-studio .destinxpc-mobile-quote-sheet { position:static !important; display:block !important; transform:none !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important; width:auto; max-height:none; overflow:visible; padding:0; margin:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
section.destinxpc-wrap.cc3d-studio .destinxpc-mobile-quote-bar,
section.destinxpc-wrap.cc3d-studio .destinxpc-mobile-quote-backdrop,
section.destinxpc-wrap.cc3d-studio .destinxpc-mobile-quote-sheet__handle,
section.destinxpc-wrap.cc3d-studio .destinxpc-mobile-quote-sheet__head,
section.destinxpc-wrap.cc3d-studio .destinxpc-quote__head,
section.destinxpc-wrap.cc3d-studio .destinxpc-quote__snapshot,
section.destinxpc-wrap.cc3d-studio .destinxpc-quote__section-head,
section.destinxpc-wrap.cc3d-studio .destinxpc-hero-mini,
section.destinxpc-wrap.cc3d-studio .destinxpc-hero-price__sub,
section.destinxpc-wrap.cc3d-studio .destinxpc-action-panel__meta { display:none !important; }
section.destinxpc-wrap.cc3d-studio .destinxpc-quote__section, section.destinxpc-wrap.cc3d-studio .destinxpc-action-panel { margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
section.destinxpc-wrap.cc3d-studio .destinxpc-quote__hero { display:block; margin:0 0 20px; padding:20px 0 0; border:0; border-top:1px solid #2a3547; border-radius:0; background:transparent; box-shadow:none; }
section.destinxpc-wrap.cc3d-studio .destinxpc-hero-price { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0; padding:0; border:0; background:transparent; }
section.destinxpc-wrap.cc3d-studio .destinxpc-hero-price__label { color:#c5ceda; font-size:13px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-hero-price__value { color:#fff; font-size:27px; line-height:1.2; }
section.destinxpc-wrap.cc3d-studio .destinxpc-quote__actions { display:block; margin:0; }
section.destinxpc-wrap.cc3d-studio .destinxpc-btn--cart { width:100%; min-height:52px; padding:14px 16px; background:#c49b7c; color:#101a2b; border:1px solid #c49b7c; border-radius:7px; box-shadow:none; font-size:14px; font-weight:650; line-height:1.4; }
section.destinxpc-wrap.cc3d-studio .destinxpc-btn--cart:disabled { opacity:.5; }
section.destinxpc-wrap.cc3d-studio .destinxpc-quote-actions__secondary { display:flex; gap:14px; justify-content:center; margin:12px 0 20px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-btn--ghost { min-height:40px; margin:0; padding:8px 0; border:0; background:transparent; color:#aab5c6; border-radius:0; box-shadow:none; font-size:11px; }
.cc3d-studio__details { border-top:1px solid #2a3547; padding:16px 0; font-size:12px; color:#b8c3d1; }
.cc3d-studio__details summary { cursor:pointer; padding:3px 0; min-height:28px; }
.cc3d-studio__details[open] summary { margin-bottom:16px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-quote__prices { border-color:#2a3547; }
section.destinxpc-wrap.cc3d-studio .destinxpc-price-row, section.destinxpc-wrap.cc3d-studio .destinxpc-line { color:#b8c3d1; font-size:12px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-chip { color:#e4e8ef; background:#19273a; border-color:#344157; font-size:11px; }
section.destinxpc-wrap.cc3d-studio .destinxpc-info-trigger { background:#253248; color:#e4e8ef; border-color:#526178; }
section.destinxpc-wrap.cc3d-studio .destinxpc-info-modal { color:#182131; }
/* Dedicated single-product presentation; shortcodes only change their own wrap. */
body.cc3d-studio-page .site-header,
body.cc3d-studio-page .site-footer,
body.cc3d-studio-page .storefront-handheld-footer-bar,
body.cc3d-studio-page .storefront-sticky-add-to-cart,
body.cc3d-studio-page .storefront-product-pagination,
body.cc3d-studio-page .destinxpc-product-hero,
body.cc3d-studio-page .destinxpc-product-hero-breadcrumbs,
body.cc3d-studio-page .woocommerce-breadcrumb,
body.cc3d-studio-page .related.products,
body.cc3d-studio-page .upsells.products { display:none !important; }
body.cc3d-studio-page { background:#0b1425; }
body.cc3d-studio-page .site-content, body.cc3d-studio-page .site-content .col-full,
body.cc3d-studio-page .content-area, body.cc3d-studio-page .site-main,
body.cc3d-studio-page div.product.cc3d-product { width:100%; max-width:none; margin:0; padding:0; float:none; }
body.cc3d-studio-page.admin-bar section.destinxpc-wrap.cc3d-studio .cc3d-host { top:32px; }
body.cc3d-studio-page.admin-bar section.destinxpc-wrap.cc3d-studio .cc3d { height:calc(100svh - 32px); }
@media (max-width:900px) {
  section.destinxpc-wrap.cc3d-studio .destinxpc-row { grid-template-columns:1fr; }
  section.destinxpc-wrap.cc3d-studio .cc3d-host { position:relative; top:auto; }
  section.destinxpc-wrap.cc3d-studio .cc3d { height:60svh; min-height:390px; max-height:620px; }
  .cc3d-studio__panel { padding:32px 24px 28px; }
  .cc3d-studio__heading { margin-bottom:28px; }
  .cc3d-studio__heading h1 { font-size:29px; }
  .cc3d-studio__back { left:22px; top:24px; }
  section.destinxpc-wrap.cc3d-studio .cc3d__toolbar { padding-bottom:18px; }
  section.destinxpc-wrap.cc3d-studio .cc3d__button { font-size:11px; }
  body.cc3d-studio-page.admin-bar section.destinxpc-wrap.cc3d-studio .cc3d-host { top:auto; }
  body.cc3d-studio-page.admin-bar section.destinxpc-wrap.cc3d-studio .cc3d { height:60svh; }
}

/* Storefront's overflow-x:hidden creates an unwanted sticky scroll container. */
body.cc3d-studio-page, body.cc3d-studio-page #page { overflow-x:clip; overflow-y:visible; }
body.cc3d-studio-page .storefront-breadcrumb { display:none; }
body.cc3d-studio-page .destinxpc-wrap--dr { margin:0; padding:28px; background:#0b1425; }
section.destinxpc-wrap.cc3d-studio .destinxpc-opt__swatch-chip { border-radius:50% !important; }

section.destinxpc-wrap.cc3d-studio .destinxpc-opt input:checked + .destinxpc-opt__ui::before { display:none; }

/* Product information stays with the purchase controls, including the native
   WooCommerce review form, rating controls and moderation behaviour. */
body.single-product.destinxpc-has-configurator.cc3d-studio-page section.destinxpc-wrap--dr[hidden] { display:none !important; }
.cc3d-studio__info { margin-top:20px; color:#b8c3d1; font-size:13px; line-height:1.8; }
.cc3d-studio__info-tabs { display:flex; gap:24px; border-bottom:1px solid #344157; }
.cc3d-studio__info-tabs [role="tab"] { appearance:none; background:none; border:0; border-bottom:2px solid transparent; border-radius:0; color:#aab5c6; padding:16px 0; margin:0 0 -1px; font:600 13px/1.5 system-ui,sans-serif; cursor:pointer; }
.cc3d-studio__info-tabs [role="tab"][aria-selected="true"] { color:#eac3a4; border-bottom-color:#c49b7c; }
.cc3d-studio__info-tabs [role="tab"]:focus-visible { outline:2px solid #eac3a4; outline-offset:4px; }
.cc3d-studio__info-panel { display:block !important; width:100% !important; float:none !important; margin:0 !important; padding:24px 0 0 !important; border:0; }
.cc3d-studio__info-panel[hidden] { display:none !important; }
.cc3d-studio__info-panel > h2:first-child, .cc3d-studio__info .woocommerce-Reviews-title { display:none; }
.cc3d-studio__info p { margin:0 0 16px; }
.cc3d-studio__info h3, .cc3d-studio__info h4, .cc3d-studio__info strong, .cc3d-studio__info label { color:#edf1f6; }
.cc3d-studio__info ul { margin:0 0 16px 18px; }
.cc3d-studio__info a, .cc3d-studio__info .star-rating, .cc3d-studio__info .stars a { color:#eac3a4; }
.cc3d-studio__info #reviews, .cc3d-studio__info #comments, .cc3d-studio__info #review_form_wrapper { margin:0; width:100%; }
.cc3d-studio__info #respond { margin:24px 0 0; padding:24px 0 0; background:none; border-top:1px solid #2a3547; }
.cc3d-studio__info .comment-reply-title { display:block; margin-bottom:16px; font-size:16px; color:#f1f4f8; }
.cc3d-studio__info input[type="text"], .cc3d-studio__info input[type="email"], .cc3d-studio__info textarea, .cc3d-studio__info select { width:100%; border:1px solid #3b4b62; border-radius:6px; background:#172438; color:#fff; box-shadow:none; padding:10px 12px; }
.cc3d-studio__info input:focus, .cc3d-studio__info textarea:focus { outline:2px solid #c49b7c; outline-offset:2px; }
.cc3d-studio__info .comment-form-author, .cc3d-studio__info .comment-form-email { width:100% !important; float:none !important; margin-right:0 !important; }
.cc3d-studio__info input[type="submit"] { width:100%; padding:12px; border:1px solid #c49b7c; border-radius:6px; color:#eac3a4; background:transparent; }
.cc3d-studio__info #reviews .commentlist li .comment_container { color:#c6cfdb; }
.cc3d-studio__info #reviews .commentlist .description, .cc3d-studio__info #reviews .commentlist .comment-text { background:transparent; color:#c6cfdb; border-color:#344157; }
section.destinxpc-wrap.cc3d-studio .destinxpc-field select { width:100%; min-height:48px; padding:12px; border:1px solid #3b4b62; border-radius:6px; background:#172438; color:#f1f4f8; box-shadow:none; }
section.destinxpc-wrap.cc3d-studio .destinxpc-field select:focus-visible { outline:2px solid #eac3a4; outline-offset:3px; }
.cc3d-studio__info .woocommerce-noreviews { padding:14px 16px; background:#19273a; color:#b8c3d1; border:1px solid #344157; border-radius:6px; }
.cc3d-studio__info .woocommerce-noreviews::before { display:none; }
.cc3d-studio__info #reply-title { display:block !important; }
.cc3d-studio__info-tabs { flex-wrap:wrap; }
.cc3d-studio__info-panel { overflow-wrap:anywhere; }
.cc3d-studio__info #review_form p.stars a { width:44px; height:44px; font-size:22px; }
.cc3d-studio__info #review_form p.stars a::before { top:11px; left:11px; color:#8996a8; opacity:1; }
.cc3d-studio__info #review_form p.stars:hover a::before,
.cc3d-studio__info #review_form p.stars.selected a::before { color:#eac3a4; opacity:1; }
.cc3d-studio__info #review_form p.stars a:hover ~ a::before,
.cc3d-studio__info #review_form p.stars.selected a.active ~ a::before { color:#8996a8; opacity:1; }
.cc3d-studio__info #review_form p.stars a:focus-visible { outline:2px solid #eac3a4; outline-offset:1px; }
