/*
Theme Name: Damatec 2026
Theme URI: https://damatec.it/
Author: Damatec
Description: Tema originale Damatec responsive, Gutenberg e WooCommerce, senza Newspaper/tagDiv.
Version: 0.5.7
Requires at least: 6.1
Requires PHP: 7.4
Text Domain: damatec-2026
License: GNU General Public License v2 or later
*/
:root{--dama-pink:#f50078;--dama-black:#101116;--dama-grey:#5b606b;--dama-border:#e9e9ee;--dama-max:1320px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--dama-black);background:#fff;font-family:Montserrat,Arial,Helvetica,sans-serif;line-height:1.55}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}a:hover{color:var(--dama-pink)}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3,h4{line-height:1.12;letter-spacing:-.03em}.dama-container{width:min(calc(100% - 44px),var(--dama-max));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.screen-reader-text:focus{clip:auto;width:auto;height:auto}
.dama-site-header{position:relative;z-index:100;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.065)}.dama-header-inner{min-height:84px;display:flex;align-items:center;gap:26px}.dama-brand{display:flex;align-items:center;flex:0 0 auto;min-width:170px}.dama-brand img{display:block;width:220px;max-height:72px;object-fit:contain;object-position:left}.dama-logo-text{font-size:30px;font-weight:800;letter-spacing:-2px}.dama-logo-text::first-letter{color:var(--dama-pink)}.dama-primary-nav{flex:1;min-width:0}.dama-nav-list,.dama-nav-list ul{list-style:none;padding:0;margin:0}.dama-nav-list{display:flex;align-items:center;gap:3px;justify-content:center}.dama-nav-list>li{position:relative}.dama-nav-list>li>a,.dama-nav-list>li>button{display:flex;align-items:center;gap:5px;border:0;border-bottom:3px solid transparent;background:transparent;padding:30px 9px 26px;color:#161616;font-size:13px;font-weight:700;white-space:nowrap;text-transform:uppercase}.dama-nav-list>li:hover>a,.dama-nav-list>li:hover>button,.dama-nav-list>li.current-menu-item>a,.dama-nav-list>li.current-menu-ancestor>a{border-bottom-color:var(--dama-pink)}.dama-nav-list li{position:relative}.dama-nav-list .sub-menu{position:absolute;top:100%;left:0;min-width:190px;background:#fff;box-shadow:0 7px 20px rgba(0,0,0,.14);display:none;z-index:150;padding:12px 0}.dama-nav-list li:hover>.sub-menu,.dama-nav-list li:focus-within>.sub-menu,.dama-nav-list li.is-open>.sub-menu{display:block}.dama-nav-list .sub-menu a{display:block;padding:10px 20px;font-size:13px;font-weight:500;white-space:nowrap}.dama-nav-list .sub-menu a:hover{background:#fff4f9}.dama-nav-list .sub-menu .sub-menu{top:0;left:100%}.dama-header-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.dama-cart,.dama-account{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:750}.dama-account{font-size:23px}.dama-menu-toggle{display:none;border:0;background:#fff;padding:8px;font-size:26px}
.dama-hero,.damatec-home-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 75% 16%,#f8d7e7 0,transparent 35%),radial-gradient(circle at 99% 99%,#e0f6ff 0,transparent 30%),#f7f7f8}.dama-hero-grid{display:grid;grid-template-columns:45% 55%;align-items:center;min-height:590px;gap:8px;padding:58px 0}.dama-eyebrow{font-size:12px;color:var(--dama-pink);font-weight:850;letter-spacing:.18em;text-transform:uppercase}.dama-hero h1{font-size:clamp(54px,6.6vw,102px);font-weight:900;line-height:.86;margin:18px 0 24px;letter-spacing:-.065em}.dama-hero h1 span{display:block;color:var(--dama-pink)}.dama-hero p{color:#5c5f65;font-size:18px;line-height:1.6;max-width:600px}.dama-hero img{width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 26px 28px rgba(0,0,0,.10))}.dama-btn,.wp-block-button__link{display:inline-block;background:var(--dama-pink);color:#fff!important;padding:14px 23px;border:1px solid var(--dama-pink);border-radius:100px;font-size:14px;font-weight:750}.dama-btn:hover,.wp-block-button__link:hover{background:#c90062;color:#fff}.dama-btn--outline{background:transparent;color:var(--dama-black)!important;border-color:#ccc}.dama-section{padding:68px 0}.dama-section h2{font-size:clamp(31px,3vw,46px);margin:0 0 24px}.dama-grid-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.dama-cat-card{border:1px solid var(--dama-border);border-radius:17px;overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}.dama-cat-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.08)}.dama-cat-card img{aspect-ratio:1.25;object-fit:cover;width:100%;display:block}.dama-cat-card strong{display:block;padding:18px 20px;font-size:17px}.dama-banner{border-radius:18px;background:#101116;color:#fff;padding:42px}.dama-banner h2{color:#fff;margin:0 0 10px}.dama-banner .dama-btn{margin-top:12px}
.dama-main{min-height:55vh}.dama-content{padding:48px 0 70px}.dama-content>article{max-width:950px;margin:auto}.dama-entry-title{font-size:clamp(32px,4vw,48px);margin:12px 0 26px}.dama-entry-content{font-size:16px;line-height:1.8;overflow-wrap:anywhere}.dama-entry-content a{text-decoration:underline;text-decoration-color:var(--dama-pink);text-underline-offset:3px}.dama-entry-content img{height:auto}.dama-entry-content .alignwide{max-width:1200px}.dama-entry-content .alignfull{width:100vw;max-width:none;position:relative;left:50%;transform:translateX(-50%)}.dama-entry-content blockquote{border-left:4px solid var(--dama-pink);padding-left:22px;margin-left:0}.dama-breadcrumb{font-size:12px;color:#777}.dama-post-meta{color:#70747e;font-size:13px;margin-bottom:24px}.dama-feature-img{width:100%;max-height:510px;object-fit:cover;border-radius:16px;margin-bottom:30px}.dama-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.dama-post-card{border:1px solid var(--dama-border);border-radius:15px;overflow:hidden}.dama-post-card img{width:100%;aspect-ratio:1.6;object-fit:cover;display:block}.dama-post-card-body{padding:20px}.dama-post-card h2{font-size:22px;margin:9px 0}.dama-post-card p{color:#5e6168;font-size:14px}.dama-post-card time{color:#777;font-size:12px}.navigation.pagination{margin:32px 0}.nav-links{display:flex;gap:13px;flex-wrap:wrap}
.dama-site-footer{background:#101116;color:#fff;padding:52px 0 22px}.dama-site-footer a:hover{color:#ff66ae}.dama-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:42px}.dama-site-footer h3{margin:0 0 13px;font-size:17px}.dama-site-footer p,.dama-site-footer li{font-size:14px;color:#d4d4d6}.dama-site-footer ul{padding:0;list-style:none;margin:0}.dama-site-footer li{margin-bottom:9px}.dama-footer-bottom{border-top:1px solid #444;margin-top:35px;padding-top:20px;font-size:12px;color:#ccc}.dama-content .woocommerce{font-size:15px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--dama-pink)!important;color:#fff!important;border-radius:30px!important}.woocommerce .price{color:var(--dama-pink)!important}
.damatec-home-hero{padding:64px max(22px,calc((100vw - 1320px)/2))}.damatec-home-hero h1{font-size:clamp(52px,6vw,90px);line-height:.9;letter-spacing:-.06em}.damatec-home-hero p{color:#575a61}.damatec-home-hero img{width:100%}.damatec-category-tiles .wp-block-column{border:1px solid #ebebef;border-radius:16px;overflow:hidden}.damatec-category-tiles .wp-block-column h3{padding:0 18px 14px}
@media(max-width:1140px){.dama-header-inner{gap:14px}.dama-brand img{width:180px}.dama-nav-list>li>a,.dama-nav-list>li>button{padding-inline:6px;font-size:12px}}@media(max-width:990px){.dama-menu-toggle{display:block}.dama-primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 12px 14px #0001;max-height:72vh;overflow:auto;padding:12px 22px}.dama-primary-nav.is-open{display:block}.dama-header-inner{min-height:72px;justify-content:space-between}.dama-nav-list{display:block}.dama-nav-list>li>a,.dama-nav-list>li>button{width:100%;padding:13px 10px;justify-content:space-between}.dama-nav-list .sub-menu,.dama-nav-list .sub-menu .sub-menu{position:static;display:block;box-shadow:none;background:#f8f8fa;margin:0 0 0 14px;padding:0;min-width:0}.dama-nav-list .sub-menu a{white-space:normal}.dama-header-actions{margin-left:auto}.dama-hero-grid{grid-template-columns:1fr 1fr;min-height:470px}.dama-hero h1{font-size:clamp(48px,6vw,82px)}.dama-grid-categories{grid-template-columns:repeat(2,1fr)}.dama-post-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.dama-container{width:min(calc(100% - 32px),var(--dama-max))}.dama-brand img{width:160px}.dama-account{display:none}.dama-cart{font-size:12px}.dama-hero-grid{grid-template-columns:1fr;padding:40px 0;gap:18px}.dama-hero h1{font-size:clamp(54px,12vw,80px)}.dama-hero p{font-size:16px}.dama-grid-categories,.dama-post-grid,.dama-footer-grid{grid-template-columns:1fr}.dama-section{padding:45px 0}.dama-banner{padding:27px}.dama-content{padding:32px 0 48px}.damatec-home-hero{padding:40px 16px}.damatec-home-hero .wp-block-columns{flex-direction:column}}
/* Navigation refinement – v0.2.0 */
.dama-nav-list>li.menu-item-has-children>a::after{content:"";width:6px;height:6px;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:5px}
.dama-nav-list .sub-menu .menu-item-has-children>a::after{content:"›";float:right;margin-left:20px;font-size:19px;line-height:18px}
.dama-nav-list .sub-menu a{min-width:190px}
.dama-primary-nav .dama-nav-list>li:focus-within>.sub-menu{display:block}
.dama-nav-list a:focus-visible{outline:2px solid #f50078;outline-offset:3px}
@media(min-width:991px){.dama-nav-list>li>.sub-menu{top:calc(100% - 1px)}.dama-nav-list>li>.sub-menu>li>.sub-menu{top:-12px}}
/* Full-width WooCommerce single product. Keep the configurator plugin's own CSS intact. */
.dama-commerce-container{width:min(calc(100% - 44px),1320px);padding:34px 0 74px;margin-inline:auto}
body.single-product .dama-commerce-container{width:min(calc(100% - 40px),1600px);max-width:1600px;padding-top:34px}
body.single-product .dama-commerce-container .woocommerce{width:100%;max-width:none;min-width:0}
body.single-product .dama-commerce-container .product{width:100%;max-width:none;min-width:0}
body.single-product .dama-commerce-container .product .entry-summary{max-width:none}
body.single-product .woocommerce div.product .product_title{font-size:clamp(28px,2.4vw,40px);line-height:1.16;letter-spacing:-.025em;margin-bottom:12px}
body.single-product .woocommerce div.product p.price{font-size:20px}
body.single-product .woocommerce .woocommerce-tabs{clear:both;margin-top:35px}
body.single-product .woocommerce .woocommerce-tabs .panel{line-height:1.7}
body.single-product .woocommerce form.cart input,body.single-product .woocommerce form.cart select,body.single-product .woocommerce form.cart textarea{max-width:100%}
.dama-commerce-container img{max-width:100%;height:auto}
@media(max-width:1024px){
  body.single-product .dama-commerce-container{width:calc(100% - 30px)}
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary{float:none;width:100%;margin-left:0;margin-right:0}
  .dama-commerce-container .woocommerce{overflow-wrap:anywhere}
}
@media(max-width:680px){
  .dama-commerce-container,body.single-product .dama-commerce-container{width:calc(100% - 26px);padding:24px 0 48px}
  .dama-commerce-container .woocommerce{font-size:15px}
  .dama-nav-list>li.menu-item-has-children>a::after{margin-left:auto}
}

/* Header controls, search and footer improvements — v0.3 */
.dama-header-actions{display:flex;align-items:center;gap:15px;flex-shrink:0}
.dama-icon-btn{border:0;background:transparent;color:#15151a;display:inline-flex;justify-content:center;align-items:center;padding:5px;border-radius:8px;line-height:1}
.dama-icon-btn svg,.dama-header-actions a svg{width:22px;height:22px;display:block;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dama-search-toggle:hover,.dama-search-toggle[aria-expanded="true"]{color:var(--dama-pink)}
.dama-header-actions .dama-cart,.dama-header-actions .dama-account{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#15151a}
.dama-header-actions .dama-cart:hover,.dama-header-actions .dama-account:hover{color:var(--dama-pink)}
.dama-header-actions .dama-cart-total{font-weight:750;font-size:13px}
.dama-header-inner{position:relative}
.dama-site-header .dama-search-panel{position:absolute;top:100%;right:max(22px,calc((100vw - 1320px)/2));width:min(440px,calc(100vw - 30px));background:white;box-shadow:0 12px 30px #0002;padding:18px;border-radius:0 0 14px 14px;z-index:210}
.dama-search-panel[hidden]{display:none!important}
.dama-search-form{display:flex;gap:8px}
.dama-search-form input[type="search"]{flex:1;min-width:0;padding:12px;border:1px solid #d5d5db;border-radius:7px;font-size:14px}
.dama-search-form button{border:0;color:white;background:var(--dama-pink);border-radius:8px;padding:8px 18px;font-size:13px;font-weight:800}
.dama-footer-grid{grid-template-columns:1.35fr .85fr 1.2fr}
.dama-site-footer .menu{list-style:none;padding:0;margin:0}
.dama-site-footer li{margin-bottom:10px}
.dama-site-footer a{text-decoration:none}
.dama-site-footer a:focus-visible{outline:2px solid #ff69b4}
.dama-home-layout,.dama-home-layout .dama-entry-content{width:100%;max-width:none;padding:0;margin:0}
body.home #dama-main{min-height:0}
@media(max-width:990px){.dama-header-actions{gap:9px}.dama-header-inner{gap:10px}.dama-search-panel{right:12px}}
@media(max-width:680px){.dama-header-actions .dama-cart-total{font-size:11px}.dama-header-actions{gap:5px}.dama-header-actions .dama-account{display:inline-flex}.dama-header-actions a svg,.dama-icon-btn svg{width:19px;height:19px}.dama-brand img{width:150px}.dama-search-panel{width:calc(100vw - 24px)}.dama-footer-grid{grid-template-columns:1fr}}

/* 0.4: only the owner controls the primary WordPress menu. */
.dama-header-actions{flex:0 0 auto;display:flex;align-items:center;gap:12px}
.dama-site-header .dama-primary-nav{flex:1}
.dama-site-header .dama-cart{gap:9px}
.dama-site-header .dama-cart-total{display:inline-block;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}
.dama-site-header .dama-icon-btn,.dama-site-header .dama-account{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0}
.dama-site-header .dama-icon-btn svg,.dama-site-header .dama-cart svg,.dama-site-header .dama-account svg{display:block;width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dama-site-header .dama-icon-btn:hover,.dama-site-header .dama-cart:hover,.dama-site-header .dama-account:hover{color:#f50078}
body.home #dama-main{min-height:0}
#dama-home.dama-home-layout{width:100%;max-width:100%;margin:0;padding:0;overflow:hidden}
#dama-home .dama-hero-grid{max-width:1500px}
@media(min-width:991px){.dama-menu-toggle{display:none}.dama-header-inner{gap:20px}}
@media(max-width:990px){.dama-menu-toggle{display:block}.dama-header-inner{gap:10px}}
@media(max-width:680px){.dama-header-actions{gap:8px}.dama-site-header .dama-brand img{width:145px}.dama-site-header .dama-account{display:inline-flex!important}.dama-header-actions .dama-cart-total{font-size:11px}}

/* v0.5 – 3 columns footer with greater contrast */
.dama-site-footer{background:#101116;color:#f6f6f8;padding-top:68px}
.dama-site-footer .dama-footer-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1.1fr);column-gap:58px;row-gap:28px;align-items:start}
.dama-site-footer h3{color:#fff;font-size:21px;font-weight:800;line-height:1.35;margin:0 0 22px}
.dama-site-footer p{color:#e7e7ec;font-size:16px;line-height:1.6;margin:19px 0}
.dama-site-footer .dama-footer-brand address{color:#f3f3f4;font-size:16px;line-height:1.65;font-style:normal}
.dama-site-footer .dama-footer-logo{display:inline-flex;align-items:center;background:#fff;border-radius:13px;padding:11px 16px;max-width:100%;margin-bottom:4px}
.dama-site-footer .dama-footer-logo img{display:block;width:210px;height:auto;max-height:68px;object-fit:contain}
.dama-site-footer ul,.dama-site-footer ul.menu{list-style:none;padding:0;margin:0}
.dama-site-footer li{margin:0 0 11px}
.dama-site-footer li a{color:#f1f1f3!important;font-size:16px;line-height:1.5;text-decoration:none}
.dama-site-footer a:hover,.dama-site-footer a:focus-visible{color:#ff64ae!important;text-decoration:underline}
.dama-site-footer .dama-footer-bottom{border-top:1px solid rgba(255,255,255,.32);margin-top:38px;padding:23px 0 25px;color:#f4f4f6;font-size:15px;line-height:1.55}
@media(max-width:900px){.dama-site-footer .dama-footer-grid{column-gap:22px;grid-template-columns:1.15fr .9fr 1.05fr}}
@media(max-width:680px){.dama-site-footer{padding-top:48px}.dama-site-footer .dama-footer-grid{grid-template-columns:1fr;row-gap:25px}.dama-site-footer .dama-footer-bottom{margin-top:22px;font-size:14px}}

/* DAMATEC 2026 v0.5.2 — three actual navigation columns in footer.
   Brand/contact details stay on their own row above the three menus. */
.dama-site-footer .dama-footer-brandbar{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  align-items:center;gap:40px;padding-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.19)
}
.dama-site-footer .dama-footer-brandbar .dama-footer-brand p{
  max-width:540px;margin:12px 0 0
}
.dama-site-footer .dama-footer-brandbar address{
  color:#f3f3f4;font-size:16px;line-height:1.75;font-style:normal
}
.dama-site-footer .dama-footer-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:56px;row-gap:28px;align-items:start;margin-top:35px
}
.dama-site-footer .dama-footer-grid > section{min-width:0}
.dama-site-footer .dama-footer-grid h3{margin:0 0 20px}
.dama-site-footer .dama-footer-grid .dama-footer-links{list-style:none;padding:0;margin:0}
.dama-site-footer .dama-footer-grid .dama-footer-links li{
  margin:0 0 13px
}
@media(max-width:900px){
 .dama-site-footer .dama-footer-grid{
   grid-template-columns:repeat(3,minmax(0,1fr));column-gap:22px
 }
 .dama-site-footer .dama-footer-brandbar{gap:20px}
}
@media(max-width:650px){
 .dama-site-footer .dama-footer-brandbar{grid-template-columns:1fr;gap:22px}
 .dama-site-footer .dama-footer-grid{grid-template-columns:1fr;gap:26px;margin-top:28px}
 .dama-site-footer .dama-footer-grid h3{margin-bottom:13px}
}

/* DAMATEC 2026 v0.5.3 - compact but fully WooCommerce-editable product information */
body.single-product .dama-commerce-container{padding-top:27px}
body.single-product .dama-commerce-container .woocommerce{max-width:none}
body.single-product .woocommerce div.product .product_title{
 font-size:clamp(27px,2.3vw,37px);line-height:1.16;letter-spacing:-.03em;
 margin:0 0 6px
}
body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price{
 font-size:clamp(19px,1.65vw,25px);line-height:1.25;margin:6px 0 12px
}
body.single-product .woocommerce-product-details__short-description{
 max-width:1100px;margin:0 0 20px;line-height:1.6;color:#353942
}
body.single-product .woocommerce-product-details__short-description p{
 font-size:16px;line-height:1.6;margin:0 0 12px
}
body.single-product .dmc-root{max-width:none;width:100%;margin-top:12px}
body.single-product .dmc-root .dmc-grid{align-items:start}
body.single-product .dmc-root .dmc-box{box-shadow:0 3px 14px rgba(13,20,37,.035)}
body.single-product .dmc-root .dmc-side{min-width:0}
body.single-product .dmc-root .dmc-side .dmc-box{margin-bottom:13px}
body.single-product .dama-tier-sidebar-card{
 border:1px solid #e1e4eb;border-radius:13px;background:#fff;
 padding:17px 18px;margin:0 0 13px;color:#242934;
 box-shadow:0 3px 14px rgba(13,20,37,.035)
}
body.single-product .dama-tier-sidebar-card h3{
 font-size:17px;line-height:1.3;letter-spacing:-.015em;margin:0 0 11px;color:#161922
}
body.single-product .dama-tier-table-scroll{max-width:100%;overflow-x:auto}
body.single-product .dama-tier-sidebar-card table{
 width:100%;min-width:0;border-collapse:collapse;table-layout:auto;
 font-size:13px;line-height:1.45;margin:0
}
body.single-product .dama-tier-sidebar-card th,
body.single-product .dama-tier-sidebar-card td{
 border:0;border-bottom:1px solid #e8ebf0;padding:8px 5px;
 vertical-align:top;text-align:left;background:transparent;color:#272c35
}
body.single-product .dama-tier-sidebar-card th{font-weight:750;font-size:11.5px}
body.single-product .dama-tier-sidebar-card td:first-child,
body.single-product .dama-tier-sidebar-card th:first-child{padding-left:0;white-space:nowrap}
body.single-product .dama-tier-sidebar-card td:last-child,
body.single-product .dama-tier-sidebar-card th:last-child{padding-right:0}
body.single-product .dama-tier-sidebar-card tbody tr:last-child td{border-bottom:0}
body.single-product .dama-tier-sidebar-card .dama-tier-note{
 margin:10px 0 0;font-size:12px;line-height:1.5;color:#535963
}
body.single-product .dama-commerce-container .product_meta{margin-top:15px}
@media(min-width:1201px){
 body.single-product .dmc-root .dmc-grid{
   display:grid;
   grid-template-columns:minmax(255px,.91fr) minmax(400px,1.46fr) minmax(280px,.89fr);
   gap:16px;
 }
 body.single-product .dmc-root .dmc-side{grid-column:3}
}
@media(max-width:1200px){
 body.single-product .dmc-root .dmc-grid{gap:14px}
 body.single-product .dama-tier-sidebar-card{padding:14px 15px}
}
@media(max-width:750px){
 body.single-product .dama-commerce-container{padding-top:20px}
 body.single-product .woocommerce div.product .product_title{font-size:28px}
 body.single-product .woocommerce-product-details__short-description{margin-bottom:14px}
 body.single-product .woocommerce-product-details__short-description p{font-size:15px}
 body.single-product .dmc-root .dmc-grid{display:block}
 body.single-product .dama-tier-sidebar-card table{font-size:13px}
}

/* DAMATEC 2026 v0.5.4 - compact footer, equal 3 navigation columns */
.dama-site-footer{
  background:#101116;color:#f8f8fa;
  padding:0!important;
}
.dama-site-footer > .dama-container{
  width:calc(100% - 64px);max-width:1280px;
  margin-inline:auto;padding-top:30px;
}
.dama-site-footer .dama-footer-brandbar{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.95fr);
  align-items:center;column-gap:34px;
  border-bottom:1px solid rgba(255,255,255,.17);
  padding:0 0 19px;margin:0;
}
.dama-site-footer .dama-footer-identity{
  display:flex;align-items:center;gap:21px;min-width:0;
}
.dama-site-footer .dama-footer-logo{
  display:inline-flex;flex:0 0 auto;align-items:center;
  border-radius:12px;padding:8px 11px;background:#fff;margin:0;
  box-shadow:0 2px 12px rgba(0,0,0,.1);
}
.dama-site-footer .dama-footer-logo img{
  display:block;width:160px;max-height:53px;height:auto;object-fit:contain;
}
.dama-site-footer .dama-footer-brandbar .dama-footer-intro{
  margin:0;max-width:320px;font-size:15px;line-height:1.55;
  color:#e4e6eb;
}
.dama-site-footer .dama-footer-brandbar address{
  margin:0;font-size:15px;line-height:1.65;
  font-style:normal;color:#e9e9ee;
}
.dama-site-footer .dama-footer-brandbar address a{
  color:#f7f7f9!important;text-decoration:none;
}
.dama-site-footer .dama-footer-brandbar address a:hover{
  color:#ff6cad!important;text-decoration:underline;
}
.dama-site-footer .dama-footer-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px 34px;align-items:start;
  margin:22px 0 0;padding:0;
}
.dama-site-footer .dama-footer-grid > section{
  padding:0;min-width:0;
}
.dama-site-footer .dama-footer-grid h3{
  display:flex;gap:10px;align-items:center;
  color:#fff;font-size:18px;line-height:1.3;
  font-weight:750;margin:0 0 11px;letter-spacing:-.02em;
}
.dama-site-footer .dama-footer-grid h3::before{
  content:"";display:inline-block;flex:0 0 22px;
  width:22px;height:3px;background:#f50078;border-radius:4px;
}
.dama-site-footer .dama-footer-grid .dama-footer-links{
  padding:0;margin:0;list-style:none;
}
.dama-site-footer .dama-footer-grid .dama-footer-links li{
  margin:0 0 5px;padding:0;
}
.dama-site-footer .dama-footer-grid .dama-footer-links li a{
  display:inline-block;padding:3px 0;
  color:#e7e8ee!important;font-size:15.5px;line-height:1.42;
  font-weight:400;text-decoration:none;
}
.dama-site-footer .dama-footer-grid .dama-footer-links li a:hover,
.dama-site-footer .dama-footer-grid .dama-footer-links li a:focus-visible{
  color:#ff6cad!important;text-decoration:underline;
}
.dama-site-footer .dama-footer-bottom{
  border-top:1px solid rgba(255,255,255,.18);
  margin:19px 0 0;padding:14px 0 19px;
  color:#cfd2da;font-size:13.5px;line-height:1.5;
}
@media(max-width:900px){
 .dama-site-footer > .dama-container{width:calc(100% - 36px)}
 .dama-site-footer .dama-footer-brandbar{grid-template-columns:1fr;gap:16px}
 .dama-site-footer .dama-footer-grid{
   grid-template-columns:repeat(3,minmax(0,1fr));gap:16px
 }
 .dama-site-footer .dama-footer-grid h3{font-size:16px}
 .dama-site-footer .dama-footer-grid .dama-footer-links li a{font-size:14.5px}
}
@media(max-width:610px){
 .dama-site-footer > .dama-container{width:calc(100% - 32px);padding-top:26px}
 .dama-site-footer .dama-footer-identity{align-items:flex-start;gap:14px}
 .dama-site-footer .dama-footer-logo img{width:133px}
 .dama-site-footer .dama-footer-brandbar .dama-footer-intro{font-size:13.5px}
 .dama-site-footer .dama-footer-grid{grid-template-columns:1fr 1fr;gap:22px 17px;margin-top:22px}
 .dama-site-footer .dama-footer-grid > section:last-child{grid-column:1/-1}
 .dama-site-footer .dama-footer-grid h3{font-size:16px}
 .dama-site-footer .dama-footer-grid .dama-footer-links li a{font-size:15px}
 .dama-site-footer .dama-footer-bottom{font-size:12.5px}
}
@media(max-width:400px){
 .dama-site-footer .dama-footer-identity{flex-direction:column;gap:10px}
 .dama-site-footer .dama-footer-grid{grid-template-columns:1fr;gap:20px}
 .dama-site-footer .dama-footer-grid > section:last-child{grid-column:auto}
}


/* DAMATEC 2026 v0.5.7 — header navigation: seven editable WordPress items.
   Older menus remain saved; only the newly assigned primary menu is shown.
   Do not affect nested dropdowns that the store owner adds subsequently. */
@media (min-width:991px) {
  .dama-site-header .dama-container.dama-header-inner {
    width:min(calc(100% - 34px), 1490px);
    max-width:none;
    min-height:82px;
    gap:clamp(11px,1.3vw,20px);
  }
  .dama-site-header .dama-brand {min-width:0;flex:0 0 auto;}
  .dama-site-header .dama-brand img {width:clamp(165px,15vw,205px);height:auto;max-height:65px;}
  .dama-site-header .dama-primary-nav {min-width:0;flex:1 1 auto;}
  .dama-site-header .dama-nav-list {
    display:flex;flex-flow:row nowrap;justify-content:center;align-items:center;
    gap:clamp(1px,.28vw,5px);width:100%;
  }
  .dama-site-header .dama-nav-list>li {flex:0 0 auto;}
  .dama-site-header .dama-nav-list>li>a {
    padding:27px clamp(4px,.58vw,10px) 24px;
    font-family:Montserrat,Arial,sans-serif;
    font-size:clamp(11.5px,.89vw,13px);
    font-weight:500;line-height:1.35;letter-spacing:.005em;
    white-space:nowrap;text-transform:uppercase;
  }
  .dama-site-header .dama-nav-list>li.menu-item-has-children>a::after {
    width:5px;height:5px;margin-left:4px;border-width:1.5px;
  }
  .dama-site-header .dama-header-actions {gap:clamp(7px,.8vw,13px);flex-shrink:0;}
}
@media (min-width:991px) and (max-width:1170px) {
  .dama-site-header .dama-container.dama-header-inner {gap:9px;width:calc(100% - 24px);}
  .dama-site-header .dama-brand img {width:152px;}
  .dama-site-header .dama-nav-list>li>a {font-size:11.2px;padding-inline:3px;letter-spacing:0;}
  .dama-site-header .dama-header-actions {gap:6px;}
  .dama-site-header .dama-header-actions .dama-cart {gap:4px;}
  .dama-site-header .dama-header-actions svg {width:18px;height:18px;}
  .dama-site-header .dama-cart-total {font-size:11px;}
}
@media (max-width:990px) {
  .dama-site-header .dama-nav-list>li>a {font-weight:500;letter-spacing:.005em;}
}
