/* VERDONI quality fixes: preserve palette, photography and established layout. */
html { max-width:100%; }
body { overflow-x:clip; }
body.page #primary article.hentry { position:relative; isolation:isolate; }
body.page #primary article.hentry::before { left:0!important; right:0!important; width:auto!important; max-width:100%!important; }
#primary, .entry-content, .verdoni-container { min-width:0; }
#primary .entry-content img, #primary .entry-content video { max-width:100%; height:auto; }
#primary .entry-content :is(h1,h2,h3,p,a) { overflow-wrap:break-word; }
body.page :is(.entry-content,.entry-header) { max-width:100%; }
body.page :is(.vsm-page,.vcraft-page,.vcraft-main,.vd-home) { max-width:100vw; }
body.page :is(.entry-content .alignfull) { max-width:100vw; }
body.page:not(.home) #primary { padding-top:clamp(28px,4vw,58px); }
body.page #primary .entry-header { margin-top:0!important; padding-top:clamp(28px,4vw,52px)!important; padding-bottom:clamp(28px,4vw,52px)!important; }
body.page #primary .entry-title { font-size:clamp(2.1rem,4.7vw,4.5rem)!important; }
body.page :is(.vsm-page,.vcraft-main,.verdoni-contact-page) :is(.hero,.vsm-hero,.vcraft-hero) { margin-top:0!important; }
#primary .woocommerce-products-header { padding-block:28px!important; margin-bottom:16px!important; }
#primary .woocommerce-products-header .page-title { font-size:clamp(2.3rem,4.2vw,4.6rem)!important; margin-bottom:18px!important; }
#primary .verdoni-category-intro { max-width:960px; margin:0 0 22px; color:#d4d0c8; line-height:1.65; }
#primary .verdoni-category-intro p { margin:0; }
#primary .verdoni-category-details { clear:both; border-block:1px solid #5e5032; padding:18px 0; margin:32px 0; color:#d4d0c8; }
#primary .verdoni-category-details summary { cursor:pointer; padding:10px 8px; color:#e0bd6c; font-weight:600; min-height:44px; }
body.search #primary .verdoni-shop-categories, body.search #primary .verdoni-new-products-title { display:none!important; }
body.search #primary { padding-top:28px; }
body.search #primary .woocommerce-products-header { margin-bottom:18px!important; }
body.search #primary .woocommerce-products-header .page-title { font-size:clamp(2rem,4vw,3.4rem)!important; }
body.woocommerce-page #primary ul.products li.product .price { display:block; font-size:16px!important; line-height:1.7!important; }
body.woocommerce-page #primary ul.products li.product .price :is(del,ins) { display:inline-block; margin-right:5px; }
body.woocommerce-page #primary ul.products li.product .woocommerce-price-suffix { display:block!important; font-size:12px!important; line-height:1.55!important; margin-block:4px 10px; color:#d8c48c!important; }
body.woocommerce-page #primary ul.products li.product img { object-fit:contain!important; }
body #primary div.product .woocommerce-tabs ul.tabs li { background:#111!important; border-color:#76633b!important; }
body #primary div.product .woocommerce-tabs ul.tabs li a { color:#e4d3a9!important; min-height:44px; padding:12px 16px!important; }
body #primary div.product .woocommerce-tabs ul.tabs li.active { background:#d6b05d!important; }
body #primary div.product .woocommerce-tabs ul.tabs li.active a { color:#111!important; }
body #primary div.product form.cart .button:not(:disabled) { color:#e9c978!important; border-color:#d6b05d!important; opacity:1!important; }
body #primary div.product form.cart .button:disabled { color:#c4b688!important; opacity:.65!important; }
body #primary div.product form.cart :is(select,.qty) { min-height:48px; font-size:16px!important; }
body #primary div.product .product_meta { color:#bfbab0; font-size:13px; line-height:1.8; }
body #primary div.product .woocommerce-product-gallery .flex-control-thumbs { display:grid!important; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin-top:12px; }
body #primary div.product .woocommerce-product-gallery .flex-control-thumbs li { width:auto!important; float:none!important; margin:0!important; }
body #primary div.product .woocommerce-product-gallery .flex-control-thumbs img { aspect-ratio:1; object-fit:contain; background:#151515; }
body.woocommerce-cart #primary, body.woocommerce-checkout #primary, body.woocommerce-account #primary { padding-top:28px!important; }
body.woocommerce-cart #primary .entry-header, body.woocommerce-checkout #primary .entry-header, body.woocommerce-account #primary .entry-header { padding-block:24px!important; margin-bottom:24px!important; }
body.woocommerce-checkout #primary .wc-block-components-text-input input, body.woocommerce-checkout #primary .wc-blocks-components-select__select { background:#fff!important; color:#171717!important; font-size:16px!important; min-height:54px; }
body.woocommerce-checkout #primary .wc-block-components-text-input label, body.woocommerce-checkout #primary .wc-blocks-components-select__label { color:#484848!important; opacity:1!important; }
body.woocommerce-checkout #primary input::placeholder { color:#626262!important; opacity:1!important; }
body #primary .wc-block-cart__submit-button, body #primary .wc-block-components-checkout-place-order-button { background:#d6b05d!important; color:#101010!important; font-weight:700!important; min-height:50px; }
body #primary .wc-block-components-quantity-selector { min-height:44px; min-width:130px; }
body #primary .wc-block-components-quantity-selector__button { min-width:40px; min-height:42px; color:#f4e6bf!important; }
body #primary .wc-block-cart-item__remove-link { min-height:44px; min-width:44px; color:#efe2bf!important; }
.site-header .header-icon, .site-header .menu-toggle { width:44px; height:44px; flex-shrink:0; }
.site-header .verdoni-language-link { display:inline-flex; align-items:center; justify-content:center; min-width:28px; min-height:44px; color:#d9c18c; }
.site-header .verdoni-language-link.is-current { color:#f0d185; }
.site-footer .footer-column a, .site-footer .footer-social-link, .site-footer .footer-bottom a { color:#c7c2b7!important; display:inline-flex; align-items:center; min-height:32px; }
.site-footer .footer-bottom { color:#aaa59b!important; }
#primary a:focus-visible, #masthead :focus-visible, #colophon a:focus-visible { outline:2px solid #f1d68c!important; outline-offset:4px; }
.verdoni-quality-color-note { font-size:14px; color:#d8c48c; margin:10px 0; }
@media(min-width:901px) {
 body #primary div.product .woocommerce-product-gallery__image > a > img { max-height:780px; object-fit:contain; }
}
@media(max-width:1050px) {
 .site-header .main-navigation.is-open { max-height:calc(100dvh - 112px); overflow-y:auto; }
 .site-header .submenu-toggle { width:44px!important; height:44px!important; top:2px!important; }
}
@media(max-width:900px) {
 body #primary div.product .woocommerce-product-gallery__image > a > img { max-height:65vh; object-fit:contain; }
 body.single-product #primary { padding-top:28px!important; }
}
@media(max-width:780px) {
 body.page #primary .entry-header { padding:28px 20px!important; }
 body.page #primary .entry-content { padding-inline:0; }
 body #primary div.product .woocommerce-tabs ul.tabs { display:flex!important; flex-wrap:wrap; gap:4px; }
 body #primary div.product .woocommerce-tabs ul.tabs li { margin:0!important; }
 body #primary div.product .woocommerce-tabs ul.tabs li a { font-size:14px!important; padding:12px!important; }
 body #primary div.product .woocommerce-product-gallery .flex-control-thumbs { grid-template-columns:repeat(4,minmax(0,1fr)); }
 body.woocommerce-page #primary ul.products li.product .price { font-size:14px!important; }
 body.woocommerce-page #primary ul.products li.product .woocommerce-price-suffix { font-size:11px!important; }
 body #primary ul.products li.product .button { min-height:44px; display:flex; align-items:center; justify-content:center; }
}
@media(max-width:520px) {
 .site-header .header-inner { gap:6px; padding-inline:14px; }
 .site-header .main-navigation { margin-inline:-14px!important; padding:12px 14px 24px!important; }
 .site-header .brand-logo img, .site-header .custom-logo { max-width:112px!important; width:112px!important; height:auto!important; object-fit:contain; }
 .site-header .header-actions { gap:0!important; min-width:0; }
 .site-header .verdoni-language-switcher { gap:0!important; padding-right:0; margin-right:0; }
 .site-header .verdoni-language-link { min-width:25px; font-size:11px!important; letter-spacing:0!important; }
 .site-header .header-icon, .site-header .menu-toggle { width:42px; height:44px; }
 .announcement-bar { font-size:9px!important; padding-inline:12px; line-height:1.7; }
 body.page #primary .entry-title { font-size:2rem!important; }
}
@media(max-width:700px) {
 body #primary .wc-block-cart .wc-block-cart__main { width:100%!important; min-width:0!important; }
 body #primary .wc-block-cart table.wc-block-cart-items { width:100%!important; min-width:0!important; table-layout:fixed!important; }
 body #primary .wc-block-cart table.wc-block-cart-items thead { display:none!important; }
 body #primary .wc-block-cart table.wc-block-cart-items tbody { display:block; width:100%; }
 body #primary .wc-block-cart table.wc-block-cart-items tbody tr { display:grid!important; grid-template-columns:64px minmax(0,1fr); column-gap:12px; width:100%!important; }
 body #primary .wc-block-cart .wc-block-cart-item__image { width:64px!important; padding:16px 0!important; }
 body #primary .wc-block-cart .wc-block-cart-item__product { width:auto!important; min-width:0!important; grid-column:2; padding:16px 0 8px!important; }
 body #primary .wc-block-cart .wc-block-cart-item__total { width:auto!important; grid-column:2!important; grid-row:2!important; display:block!important; padding:0 0 16px!important; text-align:left!important; justify-self:start; }
 body #primary .wc-block-cart .wc-block-cart-item__wrap, body #primary .wc-block-cart .wc-block-cart-item__prices { min-width:0!important; }
 body #primary .wc-block-cart .wc-block-cart-items__row { border-bottom:1px solid #544932; }
}
@media(prefers-reduced-motion:reduce) {
 *, *::before, *::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
