/* VEJA HOME V46.92 — only product detail, custom size, cart and checkout presentation */
#app .detail-layout{align-items:start!important;min-width:0}
#app .detail-layout>.details{min-width:0;max-width:100%}
#app .detail-layout .detail-gallery{align-self:start;height:max-content;min-height:0}
@media(min-width:901px){
 #app .detail-layout .detail-gallery{position:sticky;top:96px;z-index:1}
}
#app .detail-layout .detail-heading h1{overflow-wrap:anywhere;line-height:1.25;letter-spacing:-.025em}
#app .vh91-product-custom .vh91-form-head{margin-top:8px}
#app .vh92-shape-preview{display:flex;align-items:center;gap:18px;padding:10px 18px;margin:-3px 0 17px;border:1px solid #e8d8c8;border-radius:12px;background:#faf7f2;min-height:120px}
#app .vh92-shape-preview .vh92-preview-stage{flex:0 0 126px;height:103px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 50%,#eee5db 0%,transparent 75%)}
#app .vh92-preview-rug{width:auto;height:auto;max-width:106px;max-height:88px;min-width:42px;min-height:42px;aspect-ratio:4/5;background-image:repeating-linear-gradient(45deg,#ad9783 0 3px,#bda58c 3px 6px);background-position:center;background-size:cover;box-shadow:2px 5px 9px #33271d26;border:2px solid #f4e9dc;border-radius:4px;object-fit:cover}
#app .vh92-preview-rug[data-shape=round],#app .vh92-preview-rug[data-shape=oval]{border-radius:50%}
#app .vh92-preview-rug[data-shape=square]{width:83px;height:83px}
#app .vh92-preview-rug[data-shape=round]{width:83px;height:83px}
#app .vh92-preview-rug[data-shape=rect]{width:63px;height:89px}
#app .vh92-preview-rug[data-shape=oval]{width:65px;height:88px}
#app .vh92-shape-preview strong{display:block;color:#302723;font-weight:800;font-size:14px}
#app .vh92-shape-preview span{display:block;margin-top:6px;color:#88766b;font-size:12px}
#app .vh91-shapes label span{display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
#app .vh92-choice-shape{display:block;width:25px;height:27px;background:#ded4c9;border:2px solid #57483e;box-shadow:inset 0 0 0 3px #f7f0e6;flex:0 0 auto}
#app .vh92-choice-shape.vh92-choice-square{width:25px;height:25px}
#app .vh92-choice-shape.vh92-choice-round{width:25px;height:25px;border-radius:50%}
#app .vh92-choice-shape.vh92-choice-oval{height:23px;width:28px;border-radius:50%}
#app .vh92-quote-card>div{padding:3px 0;margin-bottom:10px}
#app .vh92-quote-card .vh91-quote-total{margin-bottom:0}
#app .vh92-quote-card .vh91-quote-total strong{font-size:25px}
#app .vh91-config .vh91-small-note{display:none}
#app .cart-summary .vh92-checkout-cta{background:#25211e;color:#fff;font-weight:750}
#app .cart-summary .vh92-keep-shopping{font-weight:700}
@media(max-width:900px){
 #app .detail-layout{grid-template-columns:1fr!important;gap:20px!important}
 #app .detail-layout .detail-gallery{position:static!important}
 #app .detail-gallery{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%;max-width:100%}
 #app .detail-gallery>.veja-detail-stage{order:1!important;width:100%!important;height:auto!important;aspect-ratio:auto}
 #app .detail-gallery>.thumb-list{order:2!important;display:flex!important;flex-flow:row nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:9px!important;scroll-snap-type:x proximity;max-width:100%!important;width:100%!important;min-height:0!important;height:auto!important;padding:4px 1px 8px!important;scrollbar-width:thin}
 #app .detail-gallery .thumb{flex:0 0 62px!important;width:62px!important;height:74px!important;min-width:62px!important;max-width:62px!important;overflow:hidden}
 #app .detail-gallery .veja-detail-thumb{flex:0 0 62px!important;width:62px!important;height:74px!important}
 #app .detail-gallery .veja-detail-stage .veja-open-zoom,#app .detail-gallery .veja-open-zoom>img.main-detail-image{width:100%!important;height:auto!important;min-height:0!important;max-height:min(61vh,530px)!important;aspect-ratio:4/5!important;object-fit:contain!important;background:#f6f2ec!important}
 #app .detail-layout .details{padding:0!important}
 #app .detail-heading h1{font-size:clamp(19px,4.5vw,26px)!important;line-height:1.3!important}
 #app .detail-layout .badge-row{margin:10px 0!important;gap:7px!important}
 #app .vh91-config{width:100%;max-width:100%}
 #app .vh91-form-head h3{font-size:19px}
 #app .vh91-shapes{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 #app .vh91-size-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #app .vh91-size-card{padding:11px 9px}
 #app .vh91-number{gap:3px}
 #app .vh91-number input[type=number]{font-size:15px;width:54px}
 #app .vh91-number button{width:27px;height:27px}
 #app .vh91-range-notes{font-size:9px}
 #app .vh91-secondary-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #app .vh92-shape-preview{margin:0 0 12px;padding:8px 12px;min-height:94px}
 #app .vh92-shape-preview .vh92-preview-stage{height:84px;flex-basis:96px}
 #app .vh92-preview-rug{max-height:70px;max-width:83px}
 #app .vh91-quote-card{padding:13px 15px}
 #app .vh91-add-row{display:flex;gap:9px}
 #app .vh91-add-row>.btn{min-width:0;flex:1}
 #app .product-specs{margin:23px 0!important}
 #app .related-section{margin-top:24px}
}
@media(max-width:380px){
 #app .vh91-shapes label span{font-size:9px;min-height:63px;padding:8px 2px}
 #app .vh92-choice-shape{transform:scale(.86)}
 #app .vh91-number input[type=number]{width:43px;font-size:14px}
 #app .vh91-number button{width:25px;height:25px}
 #app .vh91-size-card{padding:9px 7px}
 #app .vh91-secondary-fields{grid-template-columns:1fr}
 #app .vh91-mode-switch a{padding:12px 6px}
}


/* V47.39 · Purpose-built textile silhouettes, independent of room/product photography. */
#app .vh39-shape-preview .vh92-preview-stage {
    background: radial-gradient(ellipse at center, rgba(181,155,129,.19), transparent 76%);
}
#app .vh39-shape-preview .vh92-preview-rug {
    background-color: #cbb59a !important;
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,.27) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(0deg, rgba(89,66,48,.16) 0 1px, transparent 1px 4px),
        linear-gradient(142deg,#e5d9c9 0%,#cbb49b 52%,#ab9078 100%) !important;
    background-size: auto !important;
    background-position: center !important;
    border: 3px solid #faf6ee !important;
    outline: 1px solid #b59c80;
    box-shadow: 0 3px 10px rgba(80,59,42,.17), inset 0 0 0 1px rgba(82,63,46,.17) !important;
    transition: width .22s, height .22s, border-radius .22s;
}
#app .vh39-shape-preview .vh92-preview-rug[data-shape="rect"]{border-radius:5px !important;}
#app .vh39-shape-preview .vh92-preview-rug[data-shape="square"]{border-radius:4px !important;}
#app .vh39-shape-preview .vh92-preview-rug[data-shape="round"]{border-radius:50% !important;}
#app .vh39-shape-preview .vh92-preview-rug[data-shape="oval"]{border-radius:50% !important;}
#app .vh91-shapes[hidden],#app .vh39-shape-heading[hidden],#app .vh39-fringe-section[hidden]{display:none !important;}
#app .vh39-standard-size{grid-template-columns: minmax(0, 1fr);}
#app .vh39-fringe-section{grid-template-columns:minmax(0, 1fr);}
#app .vh39-fringe-section label{display:block;max-width:460px;}
