/* Existing GRAPHEX identity and real product controls remain the source of truth. */
body.gx-brand-active.single-product .gx-product-intro,
body.gx-brand-active.single-product .ge-volantes-intro{margin:0 0 28px;min-width:0}
body.gx-brand-active.single-product :is(.gx-product-intro,.ge-volantes-intro) .product_title{margin:0 0 12px;font-size:clamp(28px,3.1vw,42px);line-height:1.15;overflow-wrap:anywhere}
body.gx-brand-active.single-product :is(.gx-product-intro,.ge-volantes-intro) .woocommerce-product-details__short-description{max-width:900px;font-size:16px;line-height:1.65}
body.gx-brand-active.single-product :is(.gx-product-intro,.ge-volantes-intro) .ge-product-quick-help{margin-bottom:0}
body.gx-brand-active.single-product div.product .single-product-top{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start}
body.gx-brand-active.single-product div.product .single-product-top::before,
body.gx-brand-active.single-product div.product .single-product-top::after{display:none}
body.gx-brand-active.single-product div.product .single-product-top>:is(.single-product-image-wrap,.single-product-summary),
body.gx-brand-active.single-product div.product .summary{float:none!important;width:100%!important;min-width:0;margin:0!important;padding:0!important;box-sizing:border-box;order:initial}
body.gx-brand-active.single-product .single-product-image-wrap{grid-column:1;grid-row:1}
body.gx-brand-active.single-product .single-product-summary{grid-column:2;grid-row:1}
body.gx-brand-active.single-product .summary-content{padding:0;margin:0;min-width:0}
body.gx-brand-active.single-product .summary p.price:empty{display:none}
body.gx-brand-active.single-product .summary :is(.ge-storefront-config,.ge-digital-calculator){margin-top:0;padding:clamp(20px,2.4vw,32px);border-radius:var(--gx-radius,24px);max-width:100%}
body.gx-brand-active.single-product :is(.ge-storefront-selectors,.ge-digital-fields){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
body.gx-brand-active.single-product :is(select,input[type=number],input[type=text],input[type=file],textarea){max-width:100%;min-width:0;font-size:16px}
body.gx-brand-active.single-product :is(select,button,.button,input[type=number]){min-height:44px}
body.gx-brand-active.single-product :is(.ge-storefront-upload,.ge-digital-upload,fieldset){min-width:0;overflow-wrap:anywhere}
body.gx-brand-active.single-product .woocommerce-product-gallery{width:100%!important;max-width:100%;margin:0!important}
body.gx-brand-active.single-product .woocommerce-product-gallery img{max-width:100%;height:auto}
body.gx-brand-active.single-product .gx-single-quote{padding:24px;border:1px solid var(--gx-line);border-radius:var(--gx-radius);margin-top:0}
/* One entry point; Canva controls are moved intact into a native, accessible dialog. */
body.gx-brand-active.single-product .gx-canva-launch{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;margin:20px 0;padding:12px 18px;border:1px solid var(--gx-line);border-radius:16px;background:#fff;color:var(--gx-ink);font:inherit;text-align:left;cursor:pointer;box-shadow:0 6px 20px rgba(17,17,22,.06)}
.gx-canva-logo{display:block;width:32px;height:32px;object-fit:contain;margin:8px;flex:none}
.gx-canva-launch strong{display:block;font-size:18px;line-height:1.3}.gx-canva-launch small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:var(--gx-muted);font-size:14px;line-height:1.4}.gx-canva-launch>span:nth-child(2){min-width:0}.gx-canva-launch>span:last-child{margin-left:auto;font-size:24px}
.gx-canva-launch:hover{border-color:var(--gx-violet);box-shadow:0 8px 24px rgba(91,81,245,.12)}
dialog.gx-canva-dialog{width:min(860px,calc(100% - 32px));max-width:860px;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--gx-line);border-radius:24px;background:var(--gx-paper);color:var(--gx-ink);overflow:hidden;font-family:inherit;box-shadow:var(--gx-shadow);margin:auto}
dialog.gx-canva-dialog[open]{display:flex;flex-direction:column}
dialog.gx-canva-dialog::backdrop{background:rgba(17,17,22,.65)}
.gx-canva-dialog-head{display:flex;align-items:center;gap:12px;flex-shrink:0;padding:12px 20px;background:#fff;border-bottom:1px solid var(--gx-line)}
.gx-canva-dialog-head h2{margin:0;font-size:22px;line-height:1.3;color:var(--gx-ink)}
.gx-canva-close{margin-left:auto;flex:none;width:44px;min-height:44px;background:var(--gx-soft);border:1px solid var(--gx-line);border-radius:50%;color:var(--gx-ink);font-size:24px;cursor:pointer}
.gx-canva-dialog-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:20px;scroll-padding:16px}
.gx-canva-dialog-body :is(.gxc-canva-panel,.gxc-canva-entry){margin:0;padding:0;border:0;border-radius:0;scroll-margin:0}
.gx-canva-dialog-body :is(.gxc-canva-panel,.gxc-canva-entry)>h3{display:none}
.gx-canva-dialog-body [data-canva-designs]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:16px 0}
.gx-canva-dialog-body [data-canva-designs]>li{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:16px;background:#fff;border:1px solid var(--gx-line);border-radius:12px;min-width:0;overflow-wrap:anywhere}
.gx-canva-dialog-body [data-canva-designs]>li strong{margin-bottom:auto;line-height:1.4}
.gx-canva-dialog-body [data-canva-designs] button{width:100%;margin:0;white-space:normal;min-height:44px;padding:10px 14px;border:1px solid var(--gx-line);border-radius:8px;background:var(--gx-ink);color:var(--gx-paper);font:inherit;cursor:pointer}
.gx-canva-dialog-body [data-canva-status]:not(:empty){padding:14px;border:1px solid var(--gx-line);background:#fff;border-radius:12px}
.gx-canva-dialog-body .gx-canva-preview-note{font-size:14px;color:var(--gx-muted)}
.gx-canva-return{min-height:44px;width:100%;padding:12px 16px;margin-top:16px;border:1px solid var(--gx-line);border-radius:10px;background:var(--gx-yellow);color:var(--gx-ink);font:inherit;font-weight:600;cursor:pointer}
.gx-canva-dialog-body img{max-width:100%;height:auto}
@media(max-width:767px){
 body.gx-brand-active.single-product div.product .single-product-top{grid-template-columns:minmax(0,1fr);gap:24px}
 body.gx-brand-active.single-product .single-product-image-wrap{grid-column:1;grid-row:1}
 body.gx-brand-active.single-product .single-product-summary{grid-column:1;grid-row:2}
 body.gx-brand-active.single-product :is(.ge-storefront-selectors,.ge-digital-fields){grid-template-columns:1fr}
 dialog.gx-canva-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:18px}
 .gx-canva-dialog-head{padding:8px 12px;gap:8px}.gx-canva-dialog-head h2{font-size:19px}
 .gx-canva-dialog-body{padding:16px}.gx-canva-dialog-body [data-canva-designs]{grid-template-columns:1fr}
 .gx-canva-launch small{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.gx-canva-launch{transition:none}}
