/* WooCommerce uses the existing theme tokens, header and footer. */
.fdp-shop{border-top:1px solid var(--line);min-height:55vh;background:#fff}
.fdp-shop-inner{padding-top:28px;padding-bottom:80px}
.fdp-shop-heading,.fdp-shop .woocommerce-products-header{margin:0 0 32px}
.fdp-shop h1{font-size:clamp(30px,3.1vw,44px);margin-bottom:20px;overflow-wrap:anywhere}
.fdp-shop h2{font-size:28px;margin-bottom:24px}
.fdp-shop h3{font-size:21px;margin-bottom:16px}
.fdp-shop p{line-height:1.7}
.fdp-shop p+p{margin-top:16px}
.fdp-shop .woocommerce-breadcrumb{font-size:12px;margin-bottom:32px;color:#69717d;line-height:1.8}
.fdp-shop .woocommerce-breadcrumb a{color:inherit;text-decoration:none}
.fdp-shop .woocommerce-breadcrumb a:hover{color:var(--red);text-decoration:underline}
.fdp-shop .woocommerce-breadcrumb span{margin:0 9px;color:#9199a5}
@media(max-width:760px){.fdp-shop .woocommerce-breadcrumb{font-size:11px;margin-bottom:28px}.fdp-shop .woocommerce-breadcrumb span{margin-inline:5px}}
.fdp-shop :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--red);outline-offset:3px}
/* Classic and block controls share the site's button treatment. */
.fdp-commerce .fdp-shop :is(a.button,button.button,input.button,#respond input#submit,.wc-block-components-button:not(.is-link),.wp-element-button){display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:14px 25px;border:1px solid transparent;border-radius:var(--radius);background:var(--red);color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1.3;text-decoration:none;box-shadow:none;white-space:normal;text-align:center;transition:background .15s ease}
.fdp-commerce .fdp-shop :is(a.button,button.button,input.button,#respond input#submit,.wc-block-components-button:not(.is-link),.wp-element-button):hover{background:#c70935;color:#fff}
.fdp-commerce .fdp-shop :is(button.button,input.button,.wc-block-components-button):disabled{opacity:.5;cursor:not-allowed}
.fdp-shop :is(.added_to_cart,.woocommerce-MyAccount-content a:not(.button),.woocommerce-LostPassword a,.woocommerce-privacy-policy-text a){color:var(--red);font-weight:650}
.fdp-shop .added_to_cart{display:block;padding-top:12px}
.fdp-shop :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){max-width:100%;min-height:48px;border:1px solid var(--line);border-radius:var(--radius);padding:11px 14px;background:#fff;color:var(--ink);font:inherit;box-shadow:none}
.fdp-shop input[type=checkbox],.fdp-shop input[type=radio]{accent-color:var(--red)}
.fdp-shop textarea{min-height:130px}
.fdp-shop label{font-size:14px;font-weight:650;line-height:1.6}
.fdp-shop .select2-container--default .select2-selection--single{height:48px;border:1px solid var(--line);border-radius:var(--radius)}
.fdp-shop .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:14px}
.fdp-shop .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
.fdp-shop .woocommerce-result-count{margin:10px 0 24px;color:var(--muted);font-size:14px}
.fdp-shop .woocommerce-ordering{margin-bottom:28px}
.fdp-shop .woocommerce-ordering select{font-size:14px}
/* Product archives and related products. Native add-to-cart behavior is preserved. */
.fdp-commerce .fdp-shop ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;clear:both;margin:0 0 48px;padding:0;list-style:none}
.fdp-commerce .fdp-shop ul.products::before,.fdp-commerce .fdp-shop ul.products::after{display:none}
.fdp-commerce .fdp-shop ul.products li.product{float:none;display:flex;flex-direction:column;position:relative;width:auto!important;min-width:0;margin:0!important;padding:0 24px 24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}
.fdp-shop ul.products li.product .woocommerce-loop-product__link{display:block;text-decoration:none}
.fdp-shop ul.products li.product a img{width:calc(100% + 48px);max-width:none;margin:0 -24px 24px;aspect-ratio:4/3;object-fit:contain;background:var(--warm)}
.fdp-shop ul.products li.product .woocommerce-loop-product__title{font-size:21px;line-height:1.4;letter-spacing:-.025em;padding:0;margin-bottom:12px}
.fdp-shop ul.products li.product .price{display:block;color:var(--ink);font-size:19px;font-weight:750;margin-bottom:22px}
.fdp-shop ul.products li.product .button{margin-top:auto;align-self:flex-start}
.fdp-shop .price del{color:var(--muted);font-size:.8em;font-weight:500;opacity:1}
.fdp-shop .price ins{background:none;text-decoration:none}
.fdp-shop span.onsale{min-width:0;min-height:0;top:14px;left:14px;right:auto;margin:0;padding:7px 12px;border-radius:var(--radius);background:var(--red);color:#fff;font-size:12px;font-weight:750;line-height:1.5;z-index:2}
.fdp-commerce .fdp-shop ul.products li.product .onsale{top:14px;left:14px;right:auto;margin:0}
.fdp-commerce :is(.site-header,.site-footer) a.button{display:inline-flex;justify-content:center;align-items:center;gap:13px;background:var(--red);color:#fff;border:1px solid transparent;border-radius:var(--radius);font-size:16px;padding:14px 25px;min-height:48px;font-weight:700;line-height:1.2;text-decoration:none;box-shadow:none}
.fdp-commerce .site-header a.header-quote{font-size:12px;padding:15px 18px;min-height:49px}
.fdp-commerce :is(.site-header,.site-footer) a.button:hover{background:#c70935;color:#fff}
.fdp-shop .star-rating{color:var(--red);margin-bottom:12px}
.fdp-shop .woocommerce-pagination ul{display:inline-flex;flex-wrap:wrap;border:0;gap:8px}
.fdp-shop .woocommerce-pagination ul li{border:1px solid var(--line);border-radius:var(--radius)}
.fdp-shop .woocommerce-pagination ul li :is(a,span){min-width:44px;min-height:44px;padding:13px}
.fdp-shop .woocommerce-pagination ul li .current,.fdp-shop .woocommerce-pagination ul li a:hover{background:var(--warm);color:var(--red)}
/* Product detail. Gallery scripts, variation forms and tabs remain WooCommerce native. */
.fdp-shop div.product{position:relative}
.fdp-shop div.product div.images{width:48%;margin-bottom:48px}
.fdp-shop div.product div.summary{width:46%;margin-bottom:48px}
.fdp-shop div.product div.images img{border-radius:var(--radius)}
.fdp-shop div.product .woocommerce-product-gallery__image{background:var(--warm)}
.fdp-shop div.product .woocommerce-product-gallery__image img{object-fit:contain}
.fdp-shop div.product div.images .flex-control-thumbs{margin-top:16px;display:flex;gap:12px}
.fdp-shop div.product div.images .flex-control-thumbs li{float:none;width:calc(25% - 9px)}
.fdp-shop div.product .product_title{font-size:clamp(28px,2.5vw,38px);line-height:1.2;margin-bottom:20px}
.fdp-shop div.product :is(p.price,span.price){display:block;font-size:28px;color:var(--ink);font-weight:750;margin:16px 0 24px}
.fdp-shop .woocommerce-product-details__short-description{margin-bottom:26px}
.fdp-shop div.product form.cart{margin:28px 0;display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.fdp-shop div.product form.variations_form{display:block}
.fdp-shop div.product form.cart .quantity{float:none;margin:0}
.fdp-shop .quantity .qty{width:80px;text-align:center}
.fdp-shop .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px}
.fdp-shop div.product form.cart .variations{width:100%;margin-bottom:20px}
.fdp-shop div.product form.cart .variations :is(th,td){padding:8px;text-align:left}
.fdp-shop div.product form.cart .variations select{width:100%}
.fdp-shop .reset_variations{display:inline-block;padding-block:10px;color:var(--red)}
.fdp-shop .product_meta{display:grid;gap:7px;padding-top:24px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.fdp-shop .product_meta a{color:var(--ink)}
.fdp-shop .product_meta .posted_in{display:none}
.fdp-shop .product_meta:not(:has(> :not(.posted_in))){display:none}
.fdp-shop div.product .woocommerce-tabs{clear:both;margin-bottom:48px}
.fdp-shop div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px 24px;padding:0;border-bottom:1px solid var(--line);margin:0 0 28px}
.fdp-shop div.product .woocommerce-tabs ul.tabs::before,.fdp-shop div.product .woocommerce-tabs ul.tabs li::before,.fdp-shop div.product .woocommerce-tabs ul.tabs li::after{display:none}
.fdp-shop div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none}
.fdp-shop div.product .woocommerce-tabs ul.tabs li a{display:block;padding:16px 0;color:var(--muted);font-size:15px}
.fdp-shop div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:var(--red);background:none}
.fdp-shop div.product .woocommerce-tabs ul.tabs li.active a{color:var(--red)}
.fdp-shop .woocommerce-Tabs-panel :is(p,ul,ol){margin-bottom:18px}
.fdp-shop .woocommerce-Tabs-panel table{width:100%}
.fdp-shop .related{clear:both;padding-top:30px;border-top:1px solid var(--line)}
/* Cart, checkout, notices and account (classic). */
.fdp-shop :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){background:var(--warm);border-top-color:var(--red);border-radius:var(--radius);color:var(--ink);line-height:1.6;margin-bottom:28px}
.fdp-shop :is(.woocommerce-message,.woocommerce-info)::before{color:var(--red)}
.fdp-shop table.shop_table{border:1px solid var(--line);border-radius:var(--radius);border-collapse:separate;margin-bottom:30px;text-align:left}
.fdp-shop table.shop_table th{background:var(--warm);padding:16px;font-size:14px}
.fdp-shop table.shop_table td{padding:18px 16px;border-color:var(--line)}
.fdp-shop table.shop_table .product-thumbnail img{width:80px;max-width:80px;border-radius:var(--radius)}
.fdp-shop table.shop_table .product-name a{font-weight:700;text-decoration:none}
.fdp-shop a.remove{color:var(--red)!important;min-width:36px;min-height:36px;line-height:34px;font-size:26px}
.fdp-shop a.remove:hover{background:var(--red);color:#fff!important}
.fdp-shop .coupon{display:flex;flex-wrap:wrap;gap:10px}
.fdp-shop #coupon_code{width:180px}
.fdp-shop .cart-collaterals .cart_totals{padding:28px;background:var(--warm);border:1px solid var(--line);border-radius:var(--radius)}
.fdp-shop .cart_totals table{background:#fff}
.fdp-shop .wc-proceed-to-checkout{padding:12px 0 0}
.fdp-shop .wc-proceed-to-checkout a.checkout-button{width:100%;margin:0;font-size:16px}
.fdp-shop form .form-row{padding:0;margin:0 0 20px}
.fdp-shop form .form-row label{margin-bottom:6px}
.fdp-shop form .form-row input.input-text,.fdp-shop form .form-row textarea{width:100%}
.fdp-shop .woocommerce-billing-fields h3,.fdp-shop #order_review_heading{margin-bottom:24px}
.fdp-shop #order_review_heading{clear:both;padding-top:32px}
.fdp-shop .woocommerce-additional-fields{margin-top:28px}
.fdp-shop #payment{background:var(--warm);border:1px solid var(--line);border-radius:var(--radius)}
.fdp-shop #payment div.payment_box{background:#fff;border:1px solid var(--line)}
.fdp-shop #payment div.payment_box::before{border-bottom-color:var(--line)}
.fdp-shop #payment .place-order{padding:24px}
.fdp-shop #payment .woocommerce-terms-and-conditions-wrapper{margin-bottom:20px}
.fdp-shop .woocommerce-MyAccount-navigation{width:25%;padding:16px;background:var(--warm);border:1px solid var(--line);border-radius:var(--radius)}
.fdp-shop .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.fdp-shop .woocommerce-MyAccount-navigation li+li{border-top:1px solid var(--line)}
.fdp-shop .woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:48px;padding:12px;text-decoration:none;font-size:14px;font-weight:700}
.fdp-shop .woocommerce-MyAccount-navigation .is-active a,.fdp-shop .woocommerce-MyAccount-navigation a:hover{color:var(--red)}
.fdp-shop .woocommerce-MyAccount-content{width:70%}
.fdp-shop :is(form.login,form.register,form.lost_reset_password){padding:28px;border:1px solid var(--line);border-radius:var(--radius);margin:24px 0}
.fdp-shop form.login .woocommerce-form-login__rememberme{display:block;margin-bottom:16px}
.fdp-shop form.login .woocommerce-LostPassword{margin-top:18px}
.fdp-shop .woocommerce-address-fields,.fdp-shop fieldset{min-width:0}
.fdp-shop fieldset{border:1px solid var(--line);padding:24px;margin:24px 0}
/* Cart / Checkout blocks: public component selectors, no React markup overrides. */
.fdp-commerce{--wp--preset--color--primary:var(--red);--wc--color--primary:var(--red)}
.fdp-shop :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){margin:0;max-width:none;font-family:inherit;color:var(--ink)}
.fdp-shop .wc-block-components-title{letter-spacing:-.025em;font-weight:800}
.fdp-shop .wc-block-components-product-name{color:var(--ink);font-weight:750;text-decoration:none}
.fdp-shop .wc-block-components-product-metadata{color:var(--muted);font-size:13px}
.fdp-shop .wc-block-cart-items__header{font-size:13px;color:var(--muted)}
.fdp-shop .wc-block-components-sidebar{background:var(--warm);border:1px solid var(--line);border-radius:var(--radius);padding:24px;height:fit-content}
.fdp-shop .wc-block-components-checkout-step{margin-bottom:32px}
.fdp-shop .wc-block-components-checkout-step__heading{margin-bottom:20px}
.fdp-shop .wc-block-components-checkout-step__description{font-size:14px}
.fdp-shop .wc-block-components-form .wc-block-components-text-input input,.fdp-shop .wc-block-components-text-input input{min-height:56px;border-radius:var(--radius);font-family:inherit}
.fdp-shop .wc-block-components-text-input label{font-weight:500}
.fdp-shop .wc-block-components-form .wc-block-components-text-input.is-active input,.fdp-shop .wc-block-components-text-input.is-active input{padding:24px 14px 8px}
.fdp-shop .wc-block-components-select .wc-block-components-select__select{min-height:56px;border-radius:var(--radius);padding:24px 36px 8px 14px;font-family:inherit}
.fdp-shop .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input{min-height:56px;padding:24px 14px 8px}
.fdp-shop .wc-block-components-form .wc-block-components-text-input input:focus,.fdp-shop .wc-block-components-text-input input:focus{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.fdp-shop .wc-block-components-quantity-selector{border:1px solid var(--line);border-radius:var(--radius);min-height:44px}
.fdp-shop .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{min-height:44px;padding:0;border:0;background:transparent}
.fdp-shop .wc-block-components-quantity-selector button{min-width:36px;color:var(--ink)}
.fdp-shop .wc-block-components-quantity-selector::after{border:0}
.fdp-shop .wc-block-cart-item__remove-link{color:var(--muted);min-height:44px}
.fdp-shop .wc-block-components-totals-wrapper{border-color:var(--line)}
.fdp-shop .wc-block-components-totals-footer-item{font-weight:800}
.fdp-shop .wc-block-components-radio-control .wc-block-components-radio-control__option{padding-block:18px}
.fdp-shop .wc-block-components-radio-control__input:checked{border-color:var(--red)}
.fdp-shop .wc-block-components-radio-control__input:checked::before{background:var(--red)}
.fdp-shop .wc-block-components-notice-banner{border-radius:var(--radius);font-family:inherit}
.fdp-shop .wc-block-components-checkout-place-order-button{width:100%}
.fdp-shop .wc-block-cart__empty-cart__title{font-size:28px}
.fdp-shop .wc-block-cart__empty-cart__title::before{display:none}
.fdp-shop .wp-block-product-new{margin-top:32px}
.fdp-shop .wc-block-grid__products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:0;padding:0}
.fdp-shop .wc-block-grid__products .wc-block-grid__product{position:relative;max-width:none;min-width:0;border:1px solid var(--line);border-radius:var(--radius);padding:0 24px 24px;overflow:hidden;text-align:left}
.fdp-shop .wc-block-grid__product-link{text-decoration:none}
.fdp-shop .wc-block-grid__product .wc-block-grid__product-image{display:block;margin:0 -24px 24px}
.fdp-shop .wc-block-grid__product-image img{width:100%;aspect-ratio:4/3;object-fit:contain;background:var(--warm)}
.fdp-shop .wc-block-grid__product-title{font-size:21px;line-height:1.4;font-weight:800;margin-bottom:12px}
.fdp-shop .wc-block-grid__product-price{font-size:19px;color:var(--ink);font-weight:750;margin-bottom:22px}
.fdp-shop .wc-block-grid__product-onsale{background:var(--red);color:#fff;border:0;border-radius:var(--radius);font-size:12px;padding:7px 12px}
.fdp-shop .wc-block-grid__product-add-to-cart{margin-bottom:0}
/* Shop actions must remain reachable above the theme's floating contact controls. */
.fdp-commerce .mobile-actions{display:none!important}
.fdp-commerce .whatsapp.whatsapp-floating{bottom:24px;width:48px;height:48px;right:10px}
.fdp-commerce .whatsapp.whatsapp-floating svg{width:32px;height:32px}
body.fdp-commerce.woocommerce-checkout .whatsapp-floating,body.fdp-commerce.woocommerce-cart .whatsapp-floating{display:none!important}
@media(max-width:1000px){
 .fdp-commerce .fdp-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fdp-shop .wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fdp-shop .cart-collaterals .cart_totals{width:100%}
 .fdp-shop .woocommerce-MyAccount-navigation{width:29%}
 .fdp-shop .woocommerce-MyAccount-content{width:66%}
}
@media(max-width:600px){
 body.fdp-commerce{padding-bottom:0}
 .fdp-shop-inner{padding-top:16px;padding-bottom:48px}
 .fdp-shop h2{font-size:24px}
 .fdp-shop .woocommerce-ordering{float:none;width:100%}
 .fdp-shop .woocommerce-ordering select{width:100%}
 .fdp-shop .woocommerce-result-count{float:none;margin-bottom:12px}
 .fdp-commerce .fdp-shop ul.products{grid-template-columns:minmax(0,1fr);gap:20px}
 .fdp-shop .wc-block-grid__products{grid-template-columns:minmax(0,1fr);gap:20px}
 .fdp-shop ul.products li.product .button{width:100%}
 .fdp-shop div.product div.images,.fdp-shop div.product div.summary{float:none;width:100%;margin-bottom:32px}
 .fdp-shop div.product form.cart .single_add_to_cart_button{flex:1}
 .fdp-shop div.product .woocommerce-tabs ul.tabs{gap:4px 18px}
 .fdp-shop table.shop_table td{padding:14px 12px}
 .fdp-shop .cart-collaterals .cart_totals{padding:20px}
 .fdp-shop .coupon{float:none!important;width:100%;margin-bottom:12px}
 .fdp-shop #coupon_code{width:100%;float:none}
 .fdp-shop .coupon .button{width:100%!important}
 .fdp-shop .woocommerce-MyAccount-navigation,.fdp-shop .woocommerce-MyAccount-content{float:none;width:100%}
 .fdp-shop .woocommerce-MyAccount-navigation{margin-bottom:28px}
 .fdp-shop .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}
 .fdp-shop .woocommerce-MyAccount-navigation li+li{border:0}
 .fdp-shop :is(form.login,form.register,form.lost_reset_password){padding:20px}
 .fdp-shop .woocommerce form .form-row-first,.fdp-shop .woocommerce form .form-row-last{float:none;width:100%}
 .fdp-shop .wc-block-components-sidebar{padding:20px}
 .fdp-shop .wc-block-components-checkout-return-to-cart-button{min-height:44px}
 .fdp-shop .wc-block-cart__submit-container--sticky{padding-bottom:env(safe-area-inset-bottom)}
}
@media(prefers-reduced-motion:reduce){.fdp-shop *{scroll-behavior:auto;transition:none!important}}
/* Add-to-cart confirmation reuses the professional-area dialog styling. */
#fdp-cart-dialog{width:min(540px,calc(100% - 36px));max-height:calc(100dvh - 48px);overflow-y:auto;padding:38px}
#fdp-cart-dialog .fdp-cart-success{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:24px;border-radius:50%;background:#fff0f3;color:var(--red)}
#fdp-cart-dialog .fdp-cart-success svg{width:32px;height:32px}
#fdp-cart-dialog h2{font-size:30px;margin:0 0 16px;line-height:1.2}
#fdp-cart-dialog p{margin:0 0 28px;font-size:16px;line-height:1.7;overflow-wrap:anywhere}
#fdp-cart-dialog .fdp-cart-dialog-actions{display:grid;gap:12px}
.fdp-commerce #fdp-cart-dialog a.button{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:50px;margin:0;padding:14px 20px;border:1px solid transparent;border-radius:var(--radius);background:var(--red);color:white;font:inherit;font-weight:700;line-height:1.3;text-decoration:none;box-shadow:none}
.fdp-commerce #fdp-cart-dialog a.button:hover{background:#c70935}
#fdp-cart-dialog .fdp-cart-continue{width:100%;min-height:48px;padding:12px 20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);font:inherit;font-weight:700;line-height:1.3}
#fdp-cart-dialog .fdp-cart-continue:hover{background:var(--warm)}
#fdp-cart-dialog :is(a,button):focus-visible{outline:3px solid var(--red);outline-offset:3px}
@media(max-width:600px){#fdp-cart-dialog{padding:30px 24px}#fdp-cart-dialog h2{font-size:26px}}
