/* Scoped to WooCommerce. Existing institutional header/footer are preserved. */
body.rfeb-store-view .rfeb-store-preview{display:none!important}
body.post-type-archive-product .rfeb-store-heading>p:not(.rfeb-store-eyebrow){display:none}
body.post-type-archive-product .rfeb-store-heading{margin-bottom:20px!important}
.rfeb-shop-intro{margin:0 0 42px;color:#c3c8db}
.rfeb-shop-intro>p{max-width:780px;font-size:18px;line-height:1.65;margin:0 0 28px}
.rfeb-shop-services{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #343044;background:#151122}
.rfeb-shop-services>div{padding:24px 28px;display:flex;flex-direction:column;justify-content:center;gap:8px;border-right:1px solid #343044}
.rfeb-shop-services>div:last-child{border-right:0}
.rfeb-shop-services strong{font-size:16px;color:#fff}
.rfeb-shop-services span,.rfeb-shop-services a{font-size:14px;line-height:1.5;color:#c3c8db}
body.rfeb-store-view .woocommerce-loop-product__title{font-size:27px!important;line-height:1.2!important;margin:18px 24px 12px!important;min-height:65px}
body.rfeb-store-view ul.products li.product .post_item{width:100%!important}
body.rfeb-store-view ul.products li.product .post_featured{display:block!important;width:100%!important;max-width:none!important;background:#fff!important;border:0!important;margin:0 0 18px!important;float:none!important}
body.rfeb-store-view ul.products li.product .post_featured>a{display:block;width:100%}
body.rfeb-store-view ul.products li.product .post_featured img{display:block;width:100%!important;max-width:none!important;height:300px!important;object-fit:contain!important;background:transparent!important;padding:0!important;margin:0!important;box-sizing:border-box}
body.rfeb-store-view ul.products li.post-2972 .post_featured,body.rfeb-store-view ul.products li.post-2999 .post_featured,body.rfeb-store-view ul.products li.post-3000 .post_featured,body.rfeb-store-view ul.products li.post-3001 .post_featured{background:#eee!important}
body.rfeb-store-view ul.products li.product .post_featured .icons{display:none!important}
body.rfeb-store-view ul.products li.product .post_data{padding:0!important}
body.rfeb-store-view ul.products li.product .button:not(.rfeb-choose-size){display:none!important}
body.rfeb-store-view .rfeb-choose-size{display:inline-flex!important;align-items:center;justify-content:center;margin-top:18px!important;padding:14px 24px!important;min-height:48px;box-sizing:border-box}
body.rfeb-store-view .woocommerce-loop-product__title a{color:#fff!important}
body.rfeb-store-view ul.products li.product .price{font-size:21px!important;color:#ff963c!important}
body.rfeb-store-view .summary .product_title{font-size:clamp(34px,4vw,52px)!important;line-height:1.16!important}
body.rfeb-store-view .summary .price{font-size:30px!important}
body.rfeb-store-view .woocommerce-product-gallery__image img{object-fit:contain;max-height:460px;background:#f5f5f5}
body.rfeb-store-view .woocommerce-product-gallery{background:#f5f5f5}
.rfeb-order-info{padding:20px 0;border-top:1px solid #343044;border-bottom:1px solid #343044;margin:22px 0;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.55;color:#c3c8db}
.rfeb-order-info strong{color:#fff;font-size:15px}
.rfeb-gallery-video{position:relative;background:#fff;height:clamp(260px,80vw,460px)!important;overflow:hidden}
body.rfeb-store-view .rfeb-gallery-video .rfeb-video-sizer{visibility:hidden;height:min(460px,80vw)!important;width:100%!important;object-fit:contain}
.rfeb-gallery-video video{position:absolute;inset:0;width:100%;height:100%;max-height:460px;object-fit:contain;background:#fff;z-index:2}
.rfeb-gallery-video .mejs-container{position:absolute!important;top:0;left:0;width:100%!important;height:100%!important;margin:0!important}
.rfeb-gallery-video .mejs-mediaelement,.rfeb-gallery-video .mejs-layer,.rfeb-gallery-video video{width:100%!important;height:100%!important}
.rfeb-gallery-video .mejs-poster{background-size:contain!important;background-color:#fff!important}
.rfeb-gallery-video .mejs-poster img{width:100%!important;height:100%!important;object-fit:contain!important}
.rfeb-gallery-video .zoomImg{display:none!important}
.woocommerce-product-gallery.rfeb-video-active .woocommerce-product-gallery__trigger{display:none!important}
.flex-control-thumbs .rfeb-video-thumb{position:relative}
.flex-control-thumbs .rfeb-video-thumb:after{content:'▶ Vídeo';position:absolute;bottom:0;left:0;right:0;background:#151122;color:#fff;text-align:center;font:600 12px/1.5 sans-serif;padding:4px;pointer-events:none}
.rfeb-video-thumb img:focus-visible{outline:3px solid #ff963c;outline-offset:-3px}
body.rfeb-store-view .rfeb-product-information{margin-top:24px;color:#c3c8db}
body.rfeb-store-view .woocommerce-product-attributes th,body.rfeb-store-view .woocommerce-product-attributes td{background:#151122!important;color:#e9e8ee!important;border-color:#343044!important;padding:14px 18px!important}
.rfeb-order-info a{color:#ff963c!important}
body.rfeb-store-view .summary form.cart .button{background:#ff963c!important;color:#090611!important;min-height:52px;border:0}
body.rfeb-store-view .stock.available-on-backorder{color:#ffb77b!important}
body.rfeb-store-view .woocommerce-tabs h2{font-size:30px!important;line-height:1.2!important;margin:32px 0 18px}
body.rfeb-store-view .woocommerce-tabs p,body.rfeb-store-view .woocommerce-tabs li{max-width:850px;line-height:1.7}
.rfeb-size-table{overflow-x:auto;max-width:850px;margin:20px 0}
.rfeb-size-table table{width:100%;border-collapse:collapse;font-size:15px;background:#151122!important}
.rfeb-size-table caption{text-align:left;color:#c3c8db;padding:0 0 12px;font-size:14px}
body.rfeb-store-view .rfeb-size-table th,body.rfeb-store-view .rfeb-size-table td{padding:13px 18px!important;border:1px solid #343044!important;color:#e9e8ee!important;background:transparent!important;text-align:left;white-space:nowrap}
body.rfeb-store-view .rfeb-size-table thead th{background:#252033!important;color:#fff!important}
.rfeb-shop-collaborator{clear:both;display:flex;align-items:center;gap:28px;border-top:1px solid #343044;margin-top:48px;padding-top:36px}
.rfeb-shop-collaborator img{object-fit:contain;background:white;flex:0 0 90px}
.rfeb-shop-collaborator h2{font-size:30px;line-height:1.2;margin:0 0 8px}
.rfeb-shop-collaborator p{margin:0;font-size:15px}
.rfeb-shop-collaborator .rfeb-store-eyebrow{margin-bottom:10px;font-size:11px}
.rfeb-shop-services{grid-template-columns:repeat(2,minmax(0,1fr))}
.rfeb-store-navigation .rfeb-store-enquiry-button{display:inline-flex;align-items:center;gap:8px;padding:0;background:none!important;border:0;box-shadow:none;color:inherit!important;font:inherit;text-transform:none;letter-spacing:inherit;cursor:pointer}
.rfeb-store-navigation .rfeb-store-enquiry-button svg{width:20px;height:20px;flex:none}
.rfeb-store-navigation .rfeb-store-enquiry-button:hover{color:#ff8c40!important}
.rfeb-store-navigation .rfeb-store-enquiry-button:focus-visible,.rfeb-shop-enquiry-dialog button:focus-visible{outline:2px solid #ff8c40;outline-offset:5px}
body.rfeb-shop-dialog-open{overflow:hidden}
.rfeb-shop-enquiry-dialog:not([open]){display:none!important}
.rfeb-shop-enquiry-dialog{width:calc(100% - 32px);max-width:880px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #514a65;background:#1c192e;color:#e7e6ed;box-shadow:0 24px 100px #0008;overflow-y:auto;overscroll-behavior:contain}
.rfeb-shop-enquiry-dialog::backdrop{background:#06040ddd;backdrop-filter:blur(3px)}
.rfeb-shop-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #373147;background:#1c192e;position:sticky;top:0;z-index:2}
.rfeb-shop-dialog-header .rfeb-store-eyebrow{font-size:12px;color:#ff8c40;margin:0 0 8px}
.rfeb-shop-dialog-header h2{font-size:32px;line-height:1.2;color:white;margin:0}
.rfeb-shop-dialog-close{display:flex;align-items:center;gap:10px;padding:8px!important;min-height:44px;background:none!important;border:0!important;box-shadow:none!important;color:white!important;font:500 14px/1.4 Inter,Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}
.rfeb-shop-dialog-close span{font:400 28px/1 Arial,sans-serif}
.rfeb-shop-dialog-body{padding:24px 28px}
.rfeb-shop-dialog-body>p{font:400 15px/1.7 Inter,Arial,sans-serif;color:#c1bfce;margin:0 0 20px}
.rfeb-shop-dialog-body a{color:#ff9a59}
.rfeb-shop-dialog-body .rfeb-contact-form{max-width:none;padding:0;border:0}
@media(max-width:767px){.rfeb-shop-dialog-header{padding:20px;gap:10px}.rfeb-shop-dialog-header h2{font-size:26px}.rfeb-shop-dialog-body{padding:20px}.rfeb-store-navigation{flex-wrap:wrap;gap:18px}}
.rfeb-shop-collaborator>a{margin-left:auto;font-weight:bold;color:#ff963c}
body.rfeb-store-view .wc-block-components-text-input input,body.rfeb-store-view .wc-block-components-combobox-control input,body.rfeb-store-view .wc-block-components-textarea,body.rfeb-store-view .wc-block-components-address-form select{background:#fff!important;color:#171321!important;border-color:#aaa5b3!important}
body.rfeb-store-view .wc-block-components-text-input label,body.rfeb-store-view .wc-block-components-combobox-control label{color:#514a60!important}
body.rfeb-store-view .wc-block-components-order-summary-item__image img{object-fit:contain;background:#fff}
body.rfeb-store-view .wc-block-cart-item__image img{opacity:1!important;object-fit:contain;background:#fff}
body.rfeb-store-view .wc-block-components-product-badge{background:#252033!important;color:#ffb77b!important;border-color:#51465f!important}
body.rfeb-store-view .wc-block-components-button.contained{background:#ff963c!important;color:#090611!important;border:0!important;min-height:52px;box-shadow:none!important}
body.rfeb-store-view .wc-block-components-payment-method-label,body.rfeb-store-view .wc-block-components-radio-control__label{color:#f7f5fb!important}
body.rfeb-store-view .wc-block-components-radio-control__input{border-color:#aaa5b3!important;accent-color:#ff963c}
/* The RFEB cart keeps this button in normal flow, including when Woo marks it sticky. */
body.rfeb-store-view .wc-block-cart__submit-container--sticky{display:flex!important;position:static!important;box-shadow:none!important;padding:0!important}
body.rfeb-store-view .wc-block-cart__submit{margin-top:24px}
@media(max-width:767px){
 .rfeb-shop-services{grid-template-columns:1fr}.rfeb-shop-services>div{padding:18px 20px;border-right:0;border-bottom:1px solid #343044}.rfeb-shop-services>div:last-child{border-bottom:0}
 .rfeb-shop-intro>p{font-size:16px}.rfeb-shop-collaborator{flex-wrap:wrap;gap:20px}.rfeb-shop-collaborator>div{flex:1;min-width:170px}.rfeb-shop-collaborator>a{margin-left:110px}
 body.rfeb-store-view ul.products li.product .post_featured img{height:260px!important}body.rfeb-store-view .woocommerce-tabs h2{font-size:26px!important}
 .rfeb-size-table table{font-size:13px}body.rfeb-store-view .rfeb-size-table th,body.rfeb-store-view .rfeb-size-table td{padding:10px!important}
}

.rfeb-store-navigation .rfeb-store-enquiry-button{margin-left:auto}

.rfeb-store-navigation .rfeb-store-enquiry-button{font:500 18px/27px Oswald,sans-serif;color:#fff!important}
