/* SCONOSCIUTO Commerce V2.2 — native WooCommerce / WoodMart styling.
   This file does not hide WooCommerce functionality, remove controls, or change buying behavior. */
body.single-product, body.woocommerce-cart, body.woocommerce-checkout {
  --scv2-black:#111111; --scv2-ink:#242424; --scv2-gray:#686868;
  --scv2-line:#DEDEDE; --scv2-soft:#F5F5F5; --scv2-white:#FFFFFF;
  --scv2-radius:14px; --scv2-focus:#404040;
  color:var(--scv2-ink);
}
body:is(.single-product,.woocommerce-cart,.woocommerce-checkout) .main-page-wrapper {
  background:#fff;
}
body:is(.single-product,.woocommerce-cart,.woocommerce-checkout) :is(.entry-title,.product_title,.cart_totals h2,.woocommerce-checkout h3) {
  color:var(--scv2-black); letter-spacing:-.025em; text-wrap:balance;
}
/* Single product, never replace WoodMart product template. */
body.single-product .scv2-product-eyebrow {
  margin:0 0 10px !important; color:var(--scv2-gray) !important;
  font-size:11px !important; line-height:1.4 !important;
  font-weight:750 !important; letter-spacing:.18em !important; text-transform:uppercase;
}
body.single-product .product_title {font-weight:750!important;font-size:clamp(28px,2.8vw,44px)!important;line-height:1.15!important;}
body.single-product :is(.product-image-summary .product-images,.woocommerce-product-gallery) {
  border-radius:var(--scv2-radius); overflow:hidden;
}
body.single-product .product-image-summary .product-images img {height:auto;max-width:100%;}
body.single-product .summary-inner .price {font-size:clamp(21px,2vw,28px)!important;line-height:1.4!important;color:var(--scv2-black)!important;}
body.single-product :is(.summary-inner .price .amount,.summary-inner .price .woocommerce-Price-currencySymbol){color:var(--scv2-black)!important;}
body.single-product .summary-inner .price del,body.single-product .summary-inner .price del .amount{color:var(--scv2-gray)!important;opacity:1;}
body.single-product :is(.woocommerce-product-details__short-description,.woocommerce-product-details__short-description p) {color:var(--scv2-gray)!important;line-height:1.8!important;}
body.single-product :is(.variations label,.wd-label,.product_meta span){color:var(--scv2-ink)!important;}
body.single-product :is(.variations select,.quantity,input.qty) {border:1px solid var(--scv2-line)!important;background:#fff!important;color:#111!important;}
body.single-product :is(.wd-swatch,.wd-swatch-text) {border-color:var(--scv2-line);}
body.single-product :is(.wd-swatch.wd-active,.wd-swatch:hover) {border-color:var(--scv2-black)!important;}
body.single-product :is(.single_add_to_cart_button,.wd-buy-now-btn) {
  background:var(--scv2-black)!important;border:1px solid var(--scv2-black)!important;
  color:#fff!important;min-height:50px;border-radius:8px!important;
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
body.single-product :is(.single_add_to_cart_button,.wd-buy-now-btn):hover{background:#303030!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 10px 25px #00000020;}
body.single-product :is(.single_add_to_cart_button,.wd-buy-now-btn):disabled{opacity:.5!important;cursor:not-allowed;transform:none;}
body.single-product :is(.woocommerce-tabs,.product-tabs-wrapper){border-color:var(--scv2-line);}
body.single-product :is(.woocommerce-tabs .tabs li a,.wd-nav-tabs li a){color:var(--scv2-gray)!important;}
body.single-product :is(.woocommerce-tabs .tabs li.active a,.wd-nav-tabs li.active a){color:var(--scv2-black)!important;}
body.single-product :is(.woocommerce-product-gallery__trigger,.wd-action-btn a){color:var(--scv2-black)!important;}
/* Cart page: align visual surface, preserve table, coupon, totals and quantity native behavior. */
body.woocommerce-cart :is(.woocommerce-cart-form,.cart-totals-inner,.cart_totals) {
  background:#fff;border:1px solid var(--scv2-line)!important;
  border-radius:var(--scv2-radius)!important;box-shadow:0 14px 35px #00000009;
}
body.woocommerce-cart :is(.woocommerce-cart-form,.cart-totals-inner){padding:clamp(14px,2vw,28px);}
body.woocommerce-cart :is(.shop_table th,.shop_table td){border-color:var(--scv2-line)!important;color:var(--scv2-ink)!important;}
body.woocommerce-cart :is(.product-name a,.product-name,.cart-subtotal .amount,.order-total .amount){color:var(--scv2-black)!important;}
body.woocommerce-cart :is(.product-thumbnail img,.cart_item img){border-radius:9px;}
body.woocommerce-cart :is(.coupon input,.quantity input.qty){background:#fff!important;border:1px solid var(--scv2-line)!important;color:var(--scv2-black)!important;}
body.woocommerce-cart :is(.checkout-button,.wc-proceed-to-checkout .button){background:var(--scv2-black)!important;color:#fff!important;border-color:var(--scv2-black)!important;border-radius:8px!important;min-height:52px;}
body.woocommerce-cart :is(.checkout-button,.wc-proceed-to-checkout .button):hover{background:#303030!important;color:#fff!important;}
/* Classic Checkout & Checkout Block: styling only. */
body.woocommerce-checkout :is(.woocommerce-checkout-review-order,.woocommerce-checkout-payment,.wc-block-components-sidebar-layout .wc-block-components-main,.wc-block-components-sidebar){
  border:1px solid var(--scv2-line)!important;border-radius:var(--scv2-radius)!important;background:#fff!important;
}
body.woocommerce-checkout :is(.woocommerce-checkout-review-order,.woocommerce-checkout-payment){padding:clamp(14px,2vw,26px);}
body.woocommerce-checkout :is(.form-row label,.woocommerce-billing-fields label,.wc-block-components-text-input label){color:var(--scv2-ink)!important;}
body.woocommerce-checkout :is(input:not([type='radio']):not([type='checkbox']),textarea,select,.select2-selection){border:1px solid var(--scv2-line)!important;background:#fff!important;color:#111!important;border-radius:8px!important;}
body.woocommerce-checkout :is(.payment_box,.wc_payment_methods){background:var(--scv2-soft)!important;color:var(--scv2-ink)!important;}
body.woocommerce-checkout :is(#place_order,.wc-block-components-checkout-place-order-button){background:var(--scv2-black)!important;border-color:var(--scv2-black)!important;color:#fff!important;border-radius:8px!important;min-height:52px;}
body.woocommerce-checkout :is(#place_order,.wc-block-components-checkout-place-order-button):hover{background:#303030!important;color:#fff!important;}
/* Reusable accessibility and stock/messaging feedback. */
body:is(.single-product,.woocommerce-cart,.woocommerce-checkout) :is(a,button,input,select,textarea,[role='button']):focus-visible{
  outline:3px solid var(--scv2-focus)!important;outline-offset:3px!important;
}
body:is(.single-product,.woocommerce-cart,.woocommerce-checkout) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){
  background:#fff!important;border-radius:10px!important;color:var(--scv2-ink)!important;
  border:1px solid var(--scv2-line)!important;box-shadow:none;
}
body:is(.single-product,.woocommerce-cart,.woocommerce-checkout) :is(.woocommerce-message a,.woocommerce-info a,.woocommerce-error a){text-decoration:underline;color:var(--scv2-black)!important;}
body:is(.single-product,.woocommerce-cart,.woocommerce-checkout) :is(.price,.amount,.woocommerce-Price-amount){font-variant-numeric:tabular-nums;}
@media(max-width:767px){
  body.single-product .product_title{font-size:clamp(26px,6vw,34px)!important;}
  body.woocommerce-cart :is(.woocommerce-cart-form,.cart-totals-inner){padding:14px;}
  body.woocommerce-checkout :is(.woocommerce-checkout-review-order,.woocommerce-checkout-payment){padding:14px;}
}
@media(prefers-reduced-motion:reduce){
  body:is(.single-product,.woocommerce-cart,.woocommerce-checkout) :is(a,button,input,select){transition:none!important;animation:none!important;}
}
