/* Compact product detail, matching the reference; isolated from header/footer. */
.cl-product-page {
    --cl-product-border: #ebebeb;
    --cl-ink: #222327;
    --cl-text: #606166;
    padding-block: 22px 60px;
    background: #fff;
    color: var(--cl-ink);
    font-family: var(--font-body);
}
.cl-product-page > .cl-container { width: min(1180px, calc(100% - 64px)); }
.cl-product-page *, .cl-sticky-footer * { box-sizing: border-box; }
.cl-product-page :is(button, input, select, a):focus-visible,
.cl-sticky-footer :focus-visible, .cl-lightbox :focus-visible { outline: 3px solid #987700; outline-offset: 3px; }
.cl-product-page [hidden], .cl-sticky-footer [hidden] { display: none !important; }
.cl-product-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 22px; font-size: 11px; color: #777; }
.cl-product-breadcrumb a { color: inherit; }
.cl-product-breadcrumb a:hover { text-decoration: underline; }
.cl-product-breadcrumb .sep { opacity: .5; }
.cl-product-breadcrumb .current { color: #555; }
.cl-product-main { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cl-product-gallery, .cl-product-details { min-width: 0; }
.cl-product-gallery { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .cl-product-gallery { position: sticky; top: calc(var(--header-h, 90px) + 16px); } }
.cl-gallery-main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 7px; background: #fff; cursor: zoom-in; }
.cl-gallery-main > img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s ease; }
@media (hover: hover) { .cl-gallery-main:hover > img { transform: scale(1.02); } }
.cl-gallery-badge { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 7px 15px; background: var(--cl-yellow); border-radius: 7px; font-size: 12px; font-weight: 700; }
.cl-gallery-zoom-btn { position: absolute; bottom: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #eee; border-radius: 50%; background: #fffffff2; color: var(--cl-ink); cursor: zoom-in; }
.cl-gallery-zoom-btn:hover { background: var(--cl-yellow); }
.cl-gallery-zoom-btn svg { width: 20px; height: 20px; }
.cl-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; max-width: 100%; padding: 4px; margin: -4px; scrollbar-width: thin; scrollbar-color: #ddd transparent; scroll-snap-type: x proximity; }
.cl-gallery-thumb { flex: 0 0 68px; height: 68px; padding: 2px; border: 2px solid transparent; border-radius: 6px; background: #fff; cursor: pointer; scroll-snap-align: start; }
.cl-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; display: block; }
.cl-gallery-main.is-video { cursor: default; }
.cl-gallery-main.is-video .cl-gallery-zoom-btn { display: none; }
.cl-gallery-main > video { position: absolute; inset: 0; margin: auto; width: 100%; height: auto; max-height: 100%; object-fit: contain; display: block; background: transparent; }
.cl-gallery-main > video[hidden], .cl-gallery-main > img[hidden] { display: none; }
.cl-gallery-thumb--video { position: relative; }
.cl-gallery-thumb--video video { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; pointer-events: none; }
.cl-gallery-play { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; pointer-events: none; }
.cl-gallery-thumb:hover { border-color: #ddd; }
.cl-gallery-thumb.active { border-color: #edc241; }
.cl-product-details { display: flex; flex-direction: column; gap: 16px; }
.cl-product-page .cl-product-title { font-family: var(--font-body); font-size: clamp(28px, 2.3vw, 32px); font-weight: 700; line-height: 1.23; letter-spacing: -.035em; text-transform: none; color: var(--cl-ink); margin: 0; overflow-wrap: anywhere; }
.cl-product-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #777; }
.cl-product-rating .stars { color: #edb52c; letter-spacing: 2px; font-size: 21px; }
.cl-product-rating strong { color: var(--cl-ink); }
.cl-product-price-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-block: 2px; }
.cl-product-price { font-family: var(--font-body); font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.cl-price-from-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--cl-text); margin-bottom: 4px; }
.cl-product-price ins { text-decoration: none; }
.cl-product-price del { color: #888; font-size: .55em; font-weight: 400; margin-right: 6px; }
.cl-product-price .woocommerce-price-suffix { font-size: 12px; font-weight: 400; letter-spacing: normal; }
.cl-product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cl-product-sku { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; background: #f0f0f0; color: #666; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.cl-stock-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.cl-stock-badge--in { color: #2d7a35; background: #eaf6eb; }
.cl-stock-badge--out { color: #b8443d; background: #fdf0ef; }
.cl-stock-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.cl-product-excerpt { font-size: 14px; line-height: 1.65; color: var(--cl-text); }
.cl-product-excerpt > :first-child { margin-top: 0; }
.cl-product-excerpt > :last-child { margin-bottom: 0; }
.cl-product-excerpt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cl-product-excerpt.is-collapsed { position: relative; overflow: hidden; max-height: 4.95em; }
.cl-product-excerpt.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 1.65em; background: linear-gradient(#fff0, #fff); pointer-events: none; }
.cl-excerpt-toggle { display: block; margin-top: 5px; padding: 0; border: 0; background: none; color: #555; font: 600 12px var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cl-product-purchase { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid #eee; }
.cl-product-page .cl-purchase-heading h2 { margin: 0; font: 700 19px/1.4 var(--font-body); letter-spacing: -.02em; text-transform: none; }
.cl-product-options { display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 16px; border-radius: 7px; background: #f8f8f8; }
.cl-variation-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: #666; }
.cl-variation-buttons { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.cl-variation-btn { min-height: 42px; padding: 9px 24px; border: 1px solid #ddd; border-radius: 5px; background: #fff; color: var(--cl-ink); font: 500 13px var(--font-body); cursor: pointer; }
.cl-variation-btn:hover { border-color: #c2a23f; }
.cl-variation-btn.active { background: #fff7d8; border-color: #d3ac2f; }
.cl-variation-btn:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.cl-variation-buttons:has(.cl-variation-btn--swatch) { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 14px; }
.cl-variation-btn--swatch { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; padding: 4px; border: 0; background: transparent; text-align: left; line-height: 1.25; }
.cl-variation-btn--swatch.active { background: transparent; font-weight: 700; }
.cl-color-swatch { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid #0000001a; }
.cl-variation-btn--swatch.active .cl-color-swatch { outline: 2px solid #e7bd35; outline-offset: 3px; }
/* Preserve native selectors when JS is unavailable. */
.cl-variations-wrapper { display: none; }
.cl-product-enhanced .cl-variations-wrapper { display: flex; flex-direction: column; gap: 14px; }
.cl-product-enhanced .variations_form .variations { display: none; }
.cl-product-form .variations { width: 100%; }
.cl-product-form .variations select { max-width: 100%; min-height: 44px; }
.cl-product-claim { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 7px; background: #f8f8f8; }
.cl-claim-body { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cl-claim-item { display: flex; flex-direction: column; gap: 2px; }
.cl-claim-heading { font-size: 13px; font-weight: 700; color: var(--cl-ink); }
.cl-claim-sub { font-size: 11px; color: var(--cl-text); }
.cl-claim-cta { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 38px; padding: 8px 14px; border-radius: 6px; background: #128c7e; color: #fff; font: 600 12px var(--font-body); white-space: nowrap; }
.cl-claim-cta:hover { background: #0f7a6b; }
.cl-claim-cta svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.cl-whatsapp-link { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 14px; border-radius: 5px; background: #26713e; color: #fff; font-weight: 700; }
.cl-whatsapp-link:hover { background: #1b5a2f; }
.cl-product-form form.cart, .cl-product-form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 0; }
.cl-product-form form.cart > :not(.quantity):not(.cl-quantity-field):not(.single_add_to_cart_button):not(input[type="hidden"]),
.cl-product-form .woocommerce-variation-add-to-cart > :not(.quantity):not(.cl-quantity-field):not(.single_add_to_cart_button):not(input[type="hidden"]) { flex-basis: 100%; min-width: 0; }
.cl-quantity-field { flex: 0 0 auto; }
.cl-product-form .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cl-quantity-label { display: block; margin-bottom: 6px; font-size: 13px; color: #707070; }
.cl-product-form .quantity { display: flex; align-items: center; border: 1px solid #dedede; border-radius: 7px; overflow: hidden; background: #fff; }
.cl-product-form .quantity:focus-within, .cl-sticky-qty:focus-within { outline: 2px solid #987700; outline-offset: 3px; }
.cl-product-form .cl-quantity-field:has(input[type="hidden"]), .cl-product-form .quantity:has(input[type="hidden"]) { display: none; }
.cl-product-form .quantity .qty { width: 42px; height: 50px; padding: 0; border: none; text-align: center; font: 600 15px var(--font-body); color: var(--cl-ink); background: transparent; appearance: textfield; -moz-appearance: textfield; }
.cl-product-form .quantity .qty::-webkit-inner-spin-button, .cl-product-form .quantity .qty::-webkit-outer-spin-button,
.cl-sticky-qty input::-webkit-inner-spin-button, .cl-sticky-qty input::-webkit-outer-spin-button { display: none; }
.cl-product-page .cl-qty-btn, .cl-sticky-footer .cl-qty-btn { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 50px; padding: 0; border: 0; background: transparent; color: var(--cl-ink); font-size: 20px; cursor: pointer; }
.cl-product-page .cl-qty-btn:hover, .cl-sticky-footer .cl-qty-btn:hover { background: #fafafa; }
.cl-product-page .cl-qty-btn:disabled, .cl-sticky-footer .cl-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.cl-product-form .single_add_to_cart_button, .cl-sticky-add-btn { flex: 1 1 180px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 18px; border: 0; border-radius: 7px; background: #f7cc46; color: #202020; font: 700 16px/1.35 var(--font-body); cursor: pointer; transition: background .18s; }
.cl-product-form .single_add_to_cart_button::before { content: ''; width: 22px; height: 22px; flex-shrink: 0; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l3 13h11l2-9H6M8 12h12'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.cl-product-form .single_add_to_cart_button:hover, .cl-sticky-add-btn:hover { background: #f1c133; }
.cl-product-form .single_add_to_cart_button:is(:disabled, .disabled, .loading), .cl-sticky-add-btn:disabled { opacity: .5; cursor: not-allowed; }
.cl-product-form .single_add_to_cart_button.loading { cursor: progress; }
.cl-product-enhanced .woocommerce-variation-price { display: none; }
.cl-product-form .woocommerce-variation-description, .cl-product-form .stock { font-size: 13px; margin: 0 0 12px; }
.cl-product-form .stock.out-of-stock { color: #a13732; }
.cl-product-form .single_variation_wrap { width: 100%; }
.cl-product-services { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 7px; background: #f8f8f8; font-size: 13px; color: #676767; }
.cl-product-services > div { display: flex; align-items: center; gap: 12px; }
.cl-product-services svg { width: 23px; height: 23px; flex-shrink: 0; fill: none; stroke: #414141; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cl-product-services a { color: inherit; }
.cl-product-services a:hover { text-decoration: underline; }
/* ── Custom Fields ────────────────────────────────────────────────────────── */
.cl-customizer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    background: transparent;
    margin: 0;
}
.cl-customizer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--cl-ink);
    margin-bottom: 4px;
}
.cl-cf-field { display: flex; flex-direction: column; gap: 6px; }
.cl-cf-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--cl-ink);
}
.cl-cf-star { color: #e94560; margin-left: 2px; }

.cl-font-picker { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.cl-font-option { cursor: pointer; }
.cl-font-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.cl-font-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 24px; border: 1px solid #ddd; border-radius: 5px; background: #fff; color: var(--cl-ink); font-size: 17px; cursor: pointer; transition: border-color .15s, background .15s; }
.cl-font-option:hover .cl-font-btn { border-color: #c2a23f; }
.cl-font-option input[type="radio"]:checked + .cl-font-btn { background: #fff7d8; border-color: #d3ac2f; }
.cl-font-live-preview { margin-top: 10px; padding: 14px 18px; border: 1px dashed #ddd; border-radius: 6px; background: #fafafa; text-align: center; }
.cl-font-live-text { font-size: 26px; line-height: 1.4; color: var(--cl-ink); word-break: break-word; }

.cl-cf-text {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dedede;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    color: var(--cl-ink);
    background: #fff;

    transition: border-color .18s;
    box-sizing: border-box;
}
.cl-cf-text:focus { border-color: var(--cl-ink); background: #fff; }

.cl-cf-dropdown {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dedede;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    color: var(--cl-ink);
    background: #fff;

    appearance: auto;
    cursor: pointer;
    box-sizing: border-box;
}
.cl-cf-dropdown:focus { border-color: var(--cl-ink); }

/* Customizer: menu delle viste "fuori dal customizzatore" (disegnati da customizer-widget.js) */
.cl-customizer .cl-outside-field { display: flex; flex-direction: column; gap: 6px; }
.cl-customizer .cl-outside-label { font-size: 14px; font-weight: 600; color: var(--cl-ink); }
.cl-customizer .cl-outside-select {
    width: 100%;
    min-height: 0;
    padding: 10px 14px;
    border: 1px solid #dedede;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    color: var(--cl-ink);
    background: #fff;
    appearance: auto;
    cursor: pointer;
    box-sizing: border-box;
}
.cl-customizer .cl-outside-select:focus { border-color: var(--cl-ink); }
.cl-customizer .cl-choice-group { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.cl-customizer .cl-choice-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 24px; border: 1px solid #ddd; border-radius: 5px; background: #fff; color: var(--cl-ink); font-size: 15px; box-shadow: none; cursor: pointer; transition: border-color .15s, background .15s; }
.cl-customizer .cl-choice-btn:hover { border-color: #c2a23f; background: #fff; }
.cl-customizer .cl-choice-btn[aria-checked="true"] { background: #fff7d8; border-color: #d3ac2f; box-shadow: none; }

.cl-cf-file-zone {
    border: 2px dashed #c8c3b8;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s, background .2s;
    position: relative;
    overflow: hidden;
}
.cl-cf-file-zone:hover,
.cl-cf-file-zone.dragging {
    border-color: var(--cl-yellow);
    background: #fffdf0;
}
.cl-cf-file-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
.cl-cf-file-inner svg { color: #b0a99c; }
.cl-cf-file-inner span {
    font-size: 14px;
    font-weight: 600;
    color: var(--cl-ink);
}
.cl-cf-file-inner small {
    font-size: 12px;
    color: var(--cl-text);
}
.cl-cf-file-preview {
    position: relative;
}
.cl-cf-file-preview img {
    max-width: 100%;
    max-height: 180px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.cl-cf-file-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


.cl-assurances { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; padding: 0 4px; }
.cl-assurance-item { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; text-align: center; }
.cl-assurance-icon { display: grid; place-items: center; width: 34px; height: 34px; }
.cl-assurance-icon svg { width: 29px; height: 29px; }
.cl-assurance-text { font-size: 11px; font-weight: 600; line-height: 1.5; }
.cl-product-info { margin-top: 40px; padding: 0; background: #fff; }
.cl-tab-nav { display: flex; gap: 36px; border-bottom: 1px solid #ececec; margin-bottom: 22px; }
.cl-tab-btn { position: relative; min-height: 48px; padding: 12px 16px; border: 0; background: transparent; color: #777; font: 700 14px var(--font-body); cursor: pointer; }
.cl-tab-btn::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: #f4c844; transform: scaleX(0); transition: transform .18s; }
.cl-tab-btn.active { color: var(--cl-ink); }
.cl-tab-btn.active::after { transform: scaleX(1); }
.cl-tab-panel { display: none; overflow-wrap: anywhere; scroll-margin-top: 24px; }
.cl-tab-panel.active { display: block; }
.cl-tab-panel .cl-description { max-width: 100%; font-size: 14px; line-height: 1.75; color: var(--cl-text); }
.cl-tab-panel img { max-width: 100%; height: auto; }
.cl-product-page .cl-description :is(h2, h3) { font-family: var(--font-body); text-transform: none; font-weight: 700; line-height: 1.3; }
.cl-description-category:not(:first-child) { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.cl-attributes-table { width: 100%; max-width: 800px; border-collapse: collapse; font-size: 13px; }
.cl-attributes-table :is(th, td) { padding: 12px 16px; border-bottom: 1px solid #eee; text-align: left; }
.cl-attributes-table th { width: 35%; background: #fafafa; font-weight: 600; }
.cl-related-products { margin-top: 48px; }
.cl-product-page .cl-related-products .cl-section-title { font-family: var(--font-body); font-size: 24px; font-weight: 700; text-transform: none; line-height: 1.3; margin: 0 0 24px; }
.cl-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cl-product-page .woocommerce-message, .cl-product-page .woocommerce-info, .cl-product-page .woocommerce-error { padding: 16px 20px; margin: 0 0 24px; border: 1px solid #d9ddbd; border-radius: 12px; background: #f1f5e8; font-size: 14px; list-style-position: inside; }
.cl-product-page .woocommerce-error { background: #fbece8; border-color: #ebc3b7; }
.cl-product-page .woocommerce-message a { color: inherit; text-decoration: underline; font-weight: 700; }
.cl-sticky-footer { display: none; position: fixed; bottom: 0; left: 0; right: 0; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e8e8e8; box-shadow: 0 -4px 24px #35342f0d; z-index: 90; visibility: hidden; transform: translateY(100%); transition: transform .2s, visibility .2s; }
.cl-sticky-footer.visible { visibility: visible; transform: translateY(0); }
.cl-sticky-qty { display: flex; align-items: center; flex-shrink: 0; overflow: hidden; border: 1px solid #dedede; border-radius: 7px; background: #fff; }
.cl-sticky-qty input { width: 34px; height: 48px; padding: 0; border: 0; background: transparent; color: var(--cl-ink); text-align: center; font: 700 14px var(--font-body); appearance: textfield; -moz-appearance: textfield; }
.cl-sticky-footer .cl-qty-btn { width: 32px; height: 48px; }
.cl-sticky-add-btn { min-height: 50px; font-size: 16px; padding: 10px 12px; }
@media (max-width: 1100px) {
    .cl-product-form .single_add_to_cart_button { flex-basis: 150px; font-size: 14px; padding-inline: 12px; }
    .cl-product-price { font-size: 32px; }
}
@media (max-width: 899px) {
    .cl-product-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .cl-product-gallery { max-width: 640px; width: 100%; margin-inline: auto; }
    .cl-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .cl-product-page { padding-block: 16px 100px; }
    .cl-product-page > .cl-container { width: calc(100% - 32px); }
    .cl-product-breadcrumb { font-size: 10px; gap: 5px; margin-bottom: 16px; }
    .cl-product-main { gap: 24px; }
    .cl-gallery-thumbs { gap: 8px; }
    .cl-product-page .cl-product-title { font-size: 26px; }
    .cl-product-details { gap: 14px; }
    .cl-product-price { font-size: 32px; }
    .cl-product-options { padding: 14px; }
    .cl-product-page .cl-purchase-heading h2 { font-size: 18px; }
    .cl-assurances { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
    .cl-assurance-item { flex-direction: row; text-align: left; gap: 8px; }
    .cl-assurance-icon { flex-shrink: 0; }
    .cl-assurance-text { font-size: 11px; }
    .cl-product-info { margin-top: 28px; }
    .cl-tab-nav { gap: 20px; }
    .cl-product-services { padding: 16px; }
    .cl-related-products { margin-top: 36px; }
    .cl-related-grid { gap: 12px; }
    .cl-sticky-footer { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
    .cl-product-page *, .cl-sticky-footer { transition: none !important; }
}
/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.cl-lightbox {
    padding: 0;
    border: none;
    background: transparent;
    position: fixed;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    max-width: 90vw;
    max-height: 90dvh;
    border-radius: 12px;
    overflow: visible;
}
.cl-lightbox::backdrop {
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(4px);
}
.cl-lightbox-inner {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cl-lightbox-inner img {
    max-width: 85vw;
    max-height: 85dvh;
    object-fit: contain;
    display: block;
}
.cl-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.4);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 1;
}
.cl-lightbox-close:hover { background: rgba(255,255,255,.3); }

.cl-product-form .cl-btn-personalizza::before { display: none; }
