/*
Theme Name: X:AGE Cosmetics Visual 8.5.1
Theme URI: https://xage.local/
Author: X:AGE / SF SRL
Description: Tema classico X:AGE con pannello dedicato per la gestione della homepage e compatibilità WooCommerce.
Version: 8.5.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: xage
*/

/* 8.5.1: collegamenti interni alle categorie da homepage, Negozio e footer. */
/* 8.5.0: landing SEO distinte e modificabili per le categorie prodotto. */
/* 8.4.9: archivi tag prodotto noindex e rimossi dalla sitemap. */
/* 8.4.8: gestione corretta degli URL completi e relativi nel footer. */
/* 8.4.7: collegamenti interni diretti alla pagina EMPRO SpaceLift. */
/* 8.4.6: esclusi dalla sitemap gli archivi marchio non disponibili. */
/* 8.4.5: pagine marchio SEO affidabili senza dipendenza dai permalink server. */
/* 8.4.4: rigenerazione affidabile dei permalink marchi e menu uniforme. */
/* 8.4.3: archivi SEO dedicati per i marchi AGE:ZERO ed EMPRO. */
/* 8.3.4: rimosso temporaneamente il comando di ricerca dall'header. */
/* 8.3.3: protezione dall'accesso diretto su tutti i template PHP. */
/* 8.3.2: hardening sicurezza dell'editor e delle migrazioni amministrative. */
/* 8.3.1: metodi di pagamento nel footer. */
.footer-payments{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:24px 0;
  border-top:1px solid #393532;
}
.footer-payments__title{
  margin:0;
  color:#fff;
  font-size:10px!important;
  font-weight:700;
  letter-spacing:1.7px;
  white-space:nowrap;
}
.footer-payments__list{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.payment-method{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:7px 13px;
  border:1px solid rgba(217,209,199,.22);
  border-radius:3px;
  color:#d9d1c7;
  font-size:11px;
  letter-spacing:.35px;
  background:rgba(255,255,255,.025);
}
.payment-method svg{width:34px;height:24px;fill:none;stroke:#c99a55;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.payment-method--paypal svg path:first-child{fill:rgba(201,154,85,.18)}
.footer-payments+.footer-bottom{border-top:1px solid #393532}
.xage-newsletter-message{margin-top:10px;font-size:12px;line-height:1.45}
.xage-newsletter-message.is-success{color:#b9dfbd}
.xage-newsletter-message.is-error{color:#ffc1bd}
@media(max-width:780px){
  .footer-payments{align-items:flex-start;flex-direction:column;gap:15px}
  .footer-payments__list{justify-content:flex-start;width:100%}
}
@media(max-width:480px){
  .footer-payments{grid-column:1;padding:22px 0}
  .footer-payments__list{display:grid;grid-template-columns:1fr;width:100%}
  .payment-method{width:100%}
}

/* 8.3: punto focale della foto principale spostato verso destra per mostrare il volto intero. */
body.page-template-page-chi-siamo .about-hero figure img{
  object-position:72% center;
}

/* 8.2: contenuti allineati alla home, sfondi delle sezioni estesi a tutta pagina. */
body.page-template-page-chi-siamo .xage-about{
  width:min(1280px,86vw);
  margin-inline:auto;
  overflow:visible;
}
body.page-template-page-chi-siamo .xage-about>section{
  clip-path:inset(0 -100vmax);
}
body.page-template-page-chi-siamo .about-hero{
  box-shadow:0 0 0 100vmax #f2ece4;
}
body.page-template-page-chi-siamo .about-origins{
  box-shadow:0 0 0 100vmax #f7f2ec;
}
body.page-template-page-chi-siamo .about-science{
  box-shadow:0 0 0 100vmax #1e1c19;
}
body.page-template-page-chi-siamo .about-results{
  position:relative;
  isolation:isolate;
  background:linear-gradient(135deg,#f7efe5,#fff 54%,#efe2d1);
}
body.page-template-page-chi-siamo .about-results::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 -100vmax;
  background:inherit;
}
@media(max-width:780px){
  body.page-template-page-chi-siamo .xage-about{width:calc(100% - 48px)}
}
@media(max-width:480px){
  body.page-template-page-chi-siamo .xage-about{width:calc(100% - 32px)}
}

/* 7.9: navigazione marchi dentro lo Shop, tra hero e prodotti. */
.xage-shop-brand-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,3vw,38px);margin:-25px auto 48px;padding:17px 24px;border-top:1px solid rgba(189,135,60,.28);border-bottom:1px solid rgba(189,135,60,.28)}
.xage-shop-brand-nav a{position:relative;padding:6px 3px;color:#5f554b;font-size:12px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;white-space:nowrap}
.xage-shop-brand-nav a:after{content:"";position:absolute;right:50%;bottom:0;left:50%;height:1px;background:var(--gold,#bd873c);transition:left .25s ease,right .25s ease}
.xage-shop-brand-nav a:hover,.xage-shop-brand-nav a.is-active{color:var(--ink,#151412)}
.xage-shop-brand-nav a:hover:after,.xage-shop-brand-nav a.is-active:after{right:0;left:0}
@media(max-width:600px){.xage-shop-brand-nav{gap:10px;margin:-18px auto 35px;padding:14px 5px;overflow-x:auto;justify-content:flex-start}.xage-shop-brand-nav a{font-size:10px;letter-spacing:1px;padding-inline:8px}}
.xage-shop-category-nav,.xage-home-category-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 24px}
.xage-shop-category-nav{margin:-25px auto 48px;padding:0 20px 18px;border-bottom:1px solid rgba(189,135,60,.28)}
.xage-shop-brand-nav+.xage-shop-category-nav{margin-top:-36px}
.xage-shop-category-nav a,.xage-home-category-links a{position:relative;color:#5f554b;font-size:11px;font-weight:600;letter-spacing:1.1px;text-transform:uppercase}
.xage-shop-category-nav a:hover,.xage-shop-category-nav a.is-active,.xage-home-category-links a:hover{color:var(--ink,#151412)}
.xage-shop-category-nav a.is-active{text-decoration:underline;text-decoration-color:var(--gold,#bd873c);text-underline-offset:6px}
.xage-home-category-links{max-width:980px;margin:-18px auto 44px;padding:0 24px}
@media(max-width:600px){.xage-shop-category-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;margin:-18px auto 34px;padding:0 8px 15px}.xage-shop-brand-nav+.xage-shop-category-nav{margin-top:-24px}.xage-shop-category-nav a{white-space:nowrap}.xage-home-category-links{gap:10px 18px;margin:-10px auto 34px;padding:0 12px}.xage-home-category-links a{font-size:10px}}

/* 6.1: WooCommerce archive and product layout, isolated from plugin defaults. */
body.post-type-archive-product .xage-shop-container,
body.tax-product_cat .xage-shop-container,
body.tax-product_tag .xage-shop-container,
body.tax-xage_brand .xage-shop-container,
body.single-product .xage-shop-container{width:min(1320px,92vw);margin-inline:auto}
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products,
body.tax-xage_brand ul.products,
body.single-product .related ul.products,
body.single-product .upsells ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:28px!important;row-gap:52px!important;clear:both;margin:0 0 80px!important;padding:0!important}
body.woocommerce ul.products::before,body.woocommerce ul.products::after{display:none!important}
body.woocommerce ul.products li.product{float:none!important;width:100%!important;margin:0!important;padding:0!important;min-width:0}
body.woocommerce ul.products li.product a img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1.06!important;object-fit:contain!important;margin:0 0 20px!important;padding:28px!important;background:#f2ece5}
body.single-product .xage-shop-main{padding-bottom:90px}
body.single-product div.product{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(360px,.82fr)!important;gap:clamp(42px,6vw,86px)!important;align-items:start!important}
body.single-product div.product::before,body.single-product div.product::after{display:none!important}
body.single-product div.product>.woocommerce-product-gallery,
body.single-product div.product>.summary{float:none!important;width:100%!important;max-width:none!important;margin:0!important}
body.single-product div.product>.woocommerce-product-gallery{padding:30px!important;background:#f2ece5}
body.single-product div.product .woocommerce-product-gallery__image a{min-height:0!important;aspect-ratio:1/1.08;display:flex;align-items:center;justify-content:center}
body.single-product div.product .woocommerce-product-gallery__image img{display:block;width:100%!important;height:100%!important;max-height:650px!important;object-fit:contain!important}
body.single-product div.product>.summary{padding:18px 0 0!important}
body.single-product div.product>.woocommerce-tabs,
body.single-product div.product>.related,
body.single-product div.product>.upsells{grid-column:1/-1!important;width:100%!important;max-width:none!important;clear:both!important}
@media(max-width:980px){body.post-type-archive-product ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products,body.single-product .related ul.products,body.single-product .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.single-product div.product{grid-template-columns:1fr!important}}
@media(max-width:600px){body.post-type-archive-product ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products,body.single-product .related ul.products,body.single-product .upsells ul.products{grid-template-columns:1fr!important}body.woocommerce ul.products li.product a img{padding:22px!important}body.single-product div.product>.woocommerce-product-gallery{padding:18px!important}}
.hero-slider{position:relative;width:min(720px,100%);height:clamp(410px,45vw,610px);transform:translateY(21px);overflow:hidden;border-radius:18px;background:linear-gradient(145deg,#f8f2eb,#eadfd4);box-shadow:0 32px 75px rgba(79,51,31,.18),inset 0 0 0 1px rgba(255,255,255,.5)}.hero-slider:after{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;box-shadow:inset 0 0 80px rgba(255,250,244,.38)}.hero-slider .hero-slide{position:absolute;inset:0;margin:0;display:grid;place-items:center;opacity:0;transform:scale(1.018);transition:opacity 1.45s ease,transform 7s ease;pointer-events:none;isolation:isolate}.hero-slider .hero-slide.is-active{opacity:1;transform:scale(1);z-index:1}.hero-slide-atmosphere{position:absolute;z-index:-2;inset:-9%;width:118%;height:118%;display:block;object-fit:cover;filter:blur(30px) saturate(.76) brightness(1.06);opacity:.64;transform:scale(1.09)}.hero-slide-veil{position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at center,rgba(255,252,248,.22) 0%,rgba(249,241,233,.48) 67%,rgba(237,222,210,.64) 100%),linear-gradient(115deg,rgba(255,255,255,.32),transparent 48%,rgba(205,166,144,.15))}.hero-slide-product{position:relative;width:100%;height:100%;display:block;object-fit:contain;object-position:center;padding:clamp(20px,3vw,44px);filter:drop-shadow(0 18px 28px rgba(59,39,28,.15));mix-blend-mode:normal}.hero-slider-dots{position:absolute;z-index:4;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:9px;padding:8px 11px;border-radius:20px;background:rgba(54,39,31,.22);backdrop-filter:blur(8px)}.hero-slider-dots button{width:7px;height:7px;padding:0;border:1px solid rgba(255,255,255,.95);border-radius:50%;background:transparent;cursor:pointer;transition:.25s}.hero-slider-dots button.is-active{width:22px;border-radius:9px;background:#fff}.hero-products>.hero-slider{filter:none}
@media(max-width:780px){.hero-slider{height:clamp(430px,128vw,590px);margin-top:32px;transform:none;border-radius:14px}.hero-slide-product{padding:24px 18px 38px}.hero-slide-atmosphere{filter:blur(24px) saturate(.72) brightness(1.08)}.hero-slider-dots{bottom:14px}}
@media(prefers-reduced-motion:reduce){.hero-slider .hero-slide{transition:opacity .2s ease;transform:none!important}}
.xage-layout-text-left{direction:rtl}.xage-layout-text-left>*{direction:ltr}.xage-layout-stacked{display:block!important}.xage-layout-stacked>*{width:100%!important}.xage-layout-stacked figure img{max-height:620px;object-fit:cover}.xage-item-image{width:100%;height:190px;object-fit:cover;margin:0 0 20px}.xage-custom-section{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;min-height:480px;background:#f7f2eb}.xage-custom-section figure{margin:0;min-height:480px}.xage-custom-section img{display:block;width:100%;height:100%;object-fit:cover}.xage-custom-section>div{padding:clamp(45px,7vw,110px);display:flex;flex-direction:column;justify-content:center}.xage-custom-section h2{font-family:var(--serif,serif);font-size:clamp(38px,5vw,68px);line-height:1;margin:12px 0 24px}.xage-custom-button{align-self:flex-start;margin-top:20px;padding:15px 25px;background:#171714;color:#fff;text-decoration:none;font-size:12px;letter-spacing:1.5px}.xage-custom-section.xage-layout-stacked{grid-template-columns:1fr}.xage-custom-section.xage-layout-stacked figure{max-height:580px}@media(max-width:780px){.xage-custom-section{grid-template-columns:1fr}.xage-custom-section figure{min-height:330px}.xage-custom-section>div{padding:45px 25px}.xage-layout-text-left{direction:ltr}}

/* 5.2: pagina Chi siamo. */
.xage-about{background:#fbf8f3}.about-hero{min-height:760px;padding-top:144px;display:grid;grid-template-columns:47% 53%;background:#f2ece4}.about-hero .about-copy{padding:clamp(70px,8vw,135px) 9%;display:flex;flex-direction:column;justify-content:center}.about-hero figure,.about-split figure{margin:0;overflow:hidden}.about-hero img,.about-split img{width:100%;height:100%;display:block;object-fit:cover}.xage-about h1,.xage-about h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.04;margin:0}.xage-about h1{font-size:clamp(52px,6vw,88px)}.xage-about h2{font-size:clamp(40px,5vw,66px)}.about-lead,.about-section-head>p:last-child,.about-copy>p:not(.eyebrow),.origin-list p{color:#756d64}.about-lead{font-size:18px;max-width:650px}.about-image-left>figure{order:-1}.about-text-left>.about-copy,.about-text-left>.origin-list{order:-1}.about-section{padding:clamp(80px,9vw,140px) 7%}.about-section-head{max-width:880px;margin-bottom:60px}.about-section-head h2{margin:0 0 25px}.about-section-head>p:last-child{font-size:17px;max-width:780px}.about-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,6vw,90px);align-items:stretch}.about-origins{background:#f7f2ec}.about-origins .about-split figure{min-height:620px}.origin-list{display:flex;flex-direction:column;justify-content:center}.origin-list article{padding:28px 0;border-top:1px solid #ddd2c4}.origin-list span{font-family:Georgia,serif;color:#bd873c;font-size:25px}.origin-list h3{font-size:15px;letter-spacing:2px;margin:7px 0 10px;text-transform:uppercase}.origin-list p{margin:0}.about-statement{font-family:Georgia,serif;font-size:clamp(28px,3vw,42px);line-height:1.25;text-align:center;max-width:900px;margin:90px auto 0}.about-science{background:#1e1c19;color:#fff}.about-science .about-copy{padding:30px 0;display:flex;flex-direction:column;justify-content:center}.about-science .about-copy>p:not(.eyebrow){color:#c9c0b6}.about-science h2{margin-bottom:30px}.about-science figure{min-height:600px}.about-method{border-top:1px solid #6c6053;padding-top:24px;color:#fff!important;font-family:Georgia,serif;font-size:22px}.about-results{text-align:center;padding:clamp(90px,10vw,160px) 8%;background:linear-gradient(135deg,#f7efe5,#fff 54%,#efe2d1)}.about-results h2{max-width:950px;margin:0 auto}.about-results .gold-line{margin:30px auto}.about-results>p:last-of-type{max-width:800px;margin:0 auto 28px;color:#5f5850;font-size:17px}.about-results .button{margin-top:20px}.about-hero.about-image-left>figure{order:-1}.about-hero.about-image-left>.about-copy{order:2}
@media(max-width:900px){.about-hero{min-height:0;padding-top:120px;grid-template-columns:1fr}.about-hero figure{height:520px;order:-1}.about-hero .about-copy{padding:70px 7%}.about-split{grid-template-columns:1fr}.about-split figure,.about-origins .about-split figure,.about-science figure{min-height:0;height:500px;order:-1}.about-text-left>.about-copy,.about-text-left>.origin-list{order:2}}
@media(max-width:600px){.about-hero{padding-top:110px}.about-hero figure{height:390px}.about-hero .about-copy{padding:55px 24px 70px}.xage-about h1{font-size:48px}.xage-about h2{font-size:39px}.about-section{padding:75px 24px}.about-section-head{margin-bottom:38px}.about-split figure,.about-origins .about-split figure,.about-science figure{height:350px}.origin-list article{padding:24px 0}.about-statement{margin-top:58px}.about-results{padding:85px 24px}}

.xage-preview-mode .xage-home>section{cursor:pointer;outline:2px solid transparent;outline-offset:-2px;transition:outline-color .2s ease}.xage-preview-mode .xage-home>section:hover{outline-color:#bd873c}.xage-preview-mode .xage-home>section:hover:after{content:"Modifica sezione";position:absolute;z-index:9999;right:18px;top:18px;background:#171714;color:#fff;padding:8px 12px;font:600 11px/1 Arial;letter-spacing:.8px}.xage-preview-mode .xage-home>section{position:relative}

body{overflow-x:hidden}.wp-site-blocks{padding:0}.wp-block-post-content{margin:0}.wp-block-image{margin:0}.wp-block-image img{vertical-align:middle}
.xage-main-group{margin:0!important}.xage-main-group>.wp-block-group__inner-container{max-width:none!important}
.block-editor-block-list__layout .reveal{opacity:1!important;transform:none!important}
.wp-block-navigation .wp-block-navigation-item__content{font-size:13px;letter-spacing:1.35px}
.wp-block-site-logo img{width:230px;height:auto}
.xage-edit-note{display:none}
.wp-block-button.button{padding:0}.wp-block-button.button .wp-block-button__link{border-radius:0;background:transparent;color:inherit;padding:16px 30px;font-size:12px;letter-spacing:1.7px}
.wp-block-button.button.dark{background:#171714;color:#fff}.wp-block-button.button.outline{border:1px solid #151412;background:transparent;color:#151412}
.story-image.wp-block-image:before{z-index:0}.story-image.wp-block-image img{position:relative;z-index:1}
.hero .product-stage.wp-block-image{margin:0}.product-card .product-image.wp-block-image{margin-bottom:24px}
.empro-intro>.wp-block-column:last-child img{width:100%;max-height:680px;object-fit:cover;box-shadow:0 28px 70px rgba(91,45,63,.14)}
.spacelift-visual .wp-block-image,.spacelift-visual img,.promise-image.wp-block-image img{width:100%;height:100%;object-fit:cover}
.service-strip>p{margin:0;text-align:center;font-size:11px}.service-strip>p:first-letter{color:#bd873c;font-size:22px}
.footer>.wp-block-group,.footer>p{margin:0}.footer .footer-bottom{grid-column:1/-1;width:100%}
.header .wp-block-search{width:auto}.header .wp-block-search__inside-wrapper{padding:0;border:0}.header .wp-block-search__input{position:absolute;left:-9999px}.header .wp-block-search__button{background:transparent;color:#151412;padding:4px;font-size:25px}
.header .wc-block-mini-cart,.header .wp-block-woocommerce-customer-account{margin:0}
.brand-experience{background:#f6f0e8;padding:0 0 90px}.experience-stage{min-height:570px;background:url('assets/images/concept-ingredients.jpg') center/cover no-repeat;position:relative;display:flex;align-items:center;padding:70px 8%;color:#fff}.experience-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,15,11,.84),rgba(18,15,11,.12))}.experience-copy{position:relative;z-index:1;max-width:620px}.experience-copy h2{font-size:clamp(42px,5vw,76px);line-height:.92;margin:8px 0 24px}.experience-copy h3{font-size:25px;margin:18px 0 12px}.experience-copy p{max-width:540px}.experience-tabs{display:grid;grid-template-columns:repeat(4,1fr);max-width:1280px;margin:auto;padding:30px 3%}.experience-tabs>div{border-right:1px solid #dfd5c7;padding:10px 24px}.experience-tabs>div:last-child{border:0}.experience-tabs strong,.experience-tabs small{display:block}.experience-tabs small{margin-top:5px;color:#746c62}.origins{display:grid;grid-template-columns:1fr 1.25fr;max-width:1120px;margin:55px auto 30px;background:#201f1b}.origins-image{min-height:600px;background:url('assets/images/concept-research.jpg') center/cover no-repeat}.origins-copy{padding:55px}.origin-list>div{display:grid;grid-template-columns:38px 1fr;gap:12px;border-top:1px solid rgba(255,255,255,.14);padding:15px 0}.origin-list strong{display:block;margin-bottom:4px}.philosophy-signature{text-align:center;margin-top:38px}.philosophy-signature p{font-family:serif;font-size:25px;font-style:italic;color:#c7954e}.empro-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:45px 5%;background:#fff}.empro-gallery figure{margin:0}.empro-gallery img{width:100%;height:auto;display:block}.empro-gallery figcaption{text-align:center;padding:12px;font-size:12px}.spacelift-benefits{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin:22px 0}.spacelift-badges{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}.spacelift-badges b{font-size:10px;border:1px solid #c6b9ad;padding:7px 9px}.promise-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px;font-size:11px;letter-spacing:.8px}
@media(max-width:780px){.wp-block-navigation__responsive-container.is-menu-open{background:#fbf8f3;color:#151412;padding:120px 28px 45px}.footer{display:grid!important}.service-strip{display:grid!important}}
@media(max-width:780px){.experience-tabs{grid-template-columns:1fr 1fr}.experience-stage{min-height:500px;padding:55px 25px}.origins{grid-template-columns:1fr}.origins-image{min-height:360px}.origins-copy{padding:35px 25px}.empro-gallery{grid-template-columns:1fr}.spacelift-benefits,.promise-list{grid-template-columns:1fr}}

/* Slider valori: ripristina i controlli interattivi del tema originale. */
.brand-experience .experience-tabs{max-width:1440px;padding:0}
.brand-experience .experience-stage{display:block;min-height:500px;padding:0;background:#302a24}
.brand-experience .experience-stage:before{display:none}
.brand-experience .experience-copy{max-width:none}
.brand-experience .experience-copy h2{font-size:48px;line-height:1.02;margin:28px 0 14px}
.brand-experience .experience-copy h3{font-size:15px;margin:0 0 14px}
.experience-tab span:last-child{display:block}
.experience-tabs{align-items:stretch}.experience-tab{height:100%;min-height:168px;align-self:stretch}.experience-tab>span:last-child{display:flex;flex-direction:column;justify-content:center;min-height:86px}.experience-tab strong{min-height:44px}.experience-tab small{min-height:42px}.experience-link{display:none!important}.brand-experience .experience-stage{height:620px;min-height:620px;overflow:hidden}.brand-experience .experience-copy{display:flex;min-height:620px;flex-direction:column;justify-content:center}
.experience-tab:focus-visible{outline:2px solid #bd873c;outline-offset:-4px}
@media(max-width:780px){.brand-experience .experience-stage{height:680px;min-height:680px;padding:0}.brand-experience .experience-copy{min-height:680px;justify-content:flex-end;padding-bottom:70px}.brand-experience .experience-copy h2{font-size:38px}}
@media(max-width:480px){.brand-experience .experience-stage{min-height:560px}.brand-experience .experience-copy h2{font-size:34px}}

/* 2.4: template full-width e markup Gutenberg stabilizzato. */
.xage-theme-logo{display:block;width:230px;height:auto;object-fit:contain;transition:width .3s ease,transform .3s ease;filter:drop-shadow(0 2px 5px rgba(0,0,0,.1))}
.header.scrolled .xage-theme-logo{width:185px}.brand-lockup:hover .xage-theme-logo{transform:scale(1.02)}
.footer .xage-theme-logo{width:260px;filter:drop-shadow(0 5px 14px rgba(0,0,0,.28))}
@media(max-width:1100px){.xage-theme-logo{width:205px}.header.scrolled .xage-theme-logo{width:170px}}
@media(max-width:780px){.xage-theme-logo{width:170px}.header.scrolled .xage-theme-logo{width:150px}.footer .xage-theme-logo{width:230px}}
@media(max-width:420px){.xage-theme-logo{width:145px}.header.scrolled .xage-theme-logo{width:132px}.footer .xage-theme-logo{width:210px}}
.experience-tab .animated-icon.xage-value-icon{position:relative;display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border:1px solid rgba(189,135,60,.28);border-radius:50%;color:var(--gold);background:radial-gradient(circle,rgba(255,255,255,.96),rgba(246,237,225,.72));overflow:visible}
.experience-tab .xage-value-icon:before,.experience-tab .xage-value-icon:after{display:none}.xage-value-icon svg{width:36px;height:36px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.xage-value-icon .icon-accent{opacity:.55}.xage-value-icon .icon-spark{transform-box:fill-box;transform-origin:center}
.experience-tab:hover .xage-value-icon,.experience-tab.active .xage-value-icon{transform:translateY(-2px) scale(1.07);border-color:rgba(189,135,60,.62);box-shadow:0 8px 24px rgba(133,88,31,.16);filter:none}
.experience-tab:hover .icon-leaf,.experience-tab.active .icon-leaf{animation:xage-leaf 2.2s ease-in-out infinite}.experience-tab:hover .icon-liquid,.experience-tab.active .icon-liquid{animation:xage-liquid 1.8s ease-in-out infinite}.experience-tab:hover .icon-glow,.experience-tab.active .icon-glow{animation:xage-glow 1.7s ease-in-out infinite}.experience-tab:hover .icon-diamond,.experience-tab.active .icon-diamond{animation:xage-diamond 2.4s ease-in-out infinite}.experience-tab:hover .icon-spark,.experience-tab.active .icon-spark{animation:xage-spark 1.6s ease-in-out infinite}
@keyframes xage-leaf{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(5deg) translateY(-1px)}}@keyframes xage-liquid{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes xage-glow{0%,100%{opacity:.45;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}@keyframes xage-diamond{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes xage-spark{0%,100%{opacity:.35;transform:scale(.72) rotate(0)}50%{opacity:1;transform:scale(1.18) rotate(18deg)}}
@media(max-width:780px){.experience-tab .animated-icon.xage-value-icon{flex-basis:52px;width:52px;height:52px;transform:none}.xage-value-icon svg{width:30px;height:30px}}
.hero-copy,.story-copy,.empro-intro>.wp-block-column:first-child,.promise-copy,.xage-custom-section>div{display:flex;flex-direction:column}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-image{height:350px}.product-card h3{font-size:23px}@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.product-grid{grid-template-columns:1fr}.product-image{height:390px}}

/* 5.6.0: allineamento uniforme dei contenuti nelle quattro schede prodotto. */
.story-promise{margin-top:34px;padding-top:28px;border-top:1px solid rgba(184,143,75,.35)}
.story-copy>h2,.story-promise h3{font-family:Georgia,'Times New Roman',serif;font-style:normal;font-weight:400}
.story-promise h3{font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.2;margin:8px 0 20px}
.story-promise .promise-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.story-promise .promise-list span{font-size:.78rem;letter-spacing:.08em}
@media(max-width:640px){.story-promise .promise-list{grid-template-columns:1fr}}
.product-grid>.wp-block-column{display:flex}
.product-card{display:flex;flex-direction:column;width:100%;height:100%}
.product-card .category{min-height:31px;margin:0}
.product-card h3{display:flex;align-items:flex-start;justify-content:center;min-height:58px}
.product-card>p:not(.category){min-height:66px;margin-bottom:0}
.product-card>.wp-block-buttons{margin-top:auto;padding-top:13px}
.product-card .button.outline{margin-top:0}
@media(max-width:780px){.product-card .category,.product-card h3,.product-card>p:not(.category){min-height:0}.product-card>.wp-block-buttons{margin-top:0}}

/* 4.5: navigazione tablet coerente con il menu mobile. */
@media(max-width:1100px){
  body.menu-open{overflow:hidden}
  .header{grid-template-columns:36px 1fr auto;column-gap:12px;padding-left:20px;padding-right:20px}
  .header>.menu-btn{display:block;grid-column:1;grid-row:1;width:30px;position:relative;z-index:31;cursor:pointer}
  .menu-btn span{display:block;height:1px;background:#111;margin:7px 0}
  .header>.logo{grid-column:2;grid-row:1;justify-self:start}
  .header>.nav-left{display:none}
  .header>.nav-actions{grid-column:3;grid-row:1}
  .menu-open .header>.nav-left{display:flex;position:fixed;inset:0;padding:145px 35px 45px;background:rgba(251,248,243,.98);flex-direction:column;align-items:flex-start;gap:28px;z-index:30;overflow:auto}
  .menu-open .nav-left a{font-size:18px}
}

/* 4.6: griglia centrale simmetrica per tutte le aree del sito. */
:root{
  --xage-content-max:1440px;
  --xage-page-gutter:clamp(22px,5vw,84px);
  --xage-content-pad:max(var(--xage-page-gutter),calc((100vw - var(--xage-content-max))/2));
}

/* Gli sfondi restano a tutta larghezza; i contenuti hanno lo stesso asse centrale. */
.header,
.hero,
.benefits,
.section,
.service-strip,
.footer{
  padding-left:var(--xage-content-pad);
  padding-right:var(--xage-content-pad);
}

.hero{
  grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);
  column-gap:clamp(28px,4vw,72px);
}

.hero-copy{padding-left:0}
.hero-products{min-width:0}

.brand-experience .experience-tabs,
.brand-experience .experience-stage,
.origins{
  width:min(calc(100% - var(--xage-page-gutter) - var(--xage-page-gutter)),var(--xage-content-max));
  margin-left:auto;
  margin-right:auto;
}

.promise,
.xage-custom-section{
  width:min(calc(100% - var(--xage-page-gutter) - var(--xage-page-gutter)),var(--xage-content-max));
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:1100px){
  .header,.hero,.benefits,.section,.service-strip,.footer{
    padding-left:var(--xage-page-gutter);
    padding-right:var(--xage-page-gutter);
  }
  .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:30px}
}

@media(max-width:780px){
  :root{--xage-page-gutter:22px}
  .hero{display:block}
  .brand-experience .experience-tabs,
  .brand-experience .experience-stage,
  .origins,
  .promise,
  .xage-custom-section{width:calc(100% - var(--xage-page-gutter) - var(--xage-page-gutter))}
}

@media(max-width:480px){
  :root{--xage-page-gutter:16px}
}

/* 4.9.0 — header stabile senza announcement e valori responsive tablet/mobile. */
.announcement[hidden]{display:none!important}
.header .brand-full-logo{
  max-height:calc(100% - 16px);
  width:auto;
  max-width:min(230px,100%);
  object-fit:contain;
}

@media(max-width:1100px){
  .brand-experience .experience-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .experience-tab{
    width:100%;
    min-width:0;
    min-height:126px;
    padding:22px 16px;
    gap:14px;
    justify-content:flex-start;
    overflow:hidden;
  }
  .experience-tab:nth-child(2n){border-right:0}
  .experience-tab:nth-child(-n+2){border-bottom:1px solid #e7ded3}
  .experience-tab>span:last-child{min-width:0;overflow:visible}
  .experience-tab strong,
  .experience-tab small{
    display:block;
    max-width:100%;
    overflow:visible;
    overflow-wrap:normal;
    word-break:normal;
  }
}

@media(max-width:782px){
  body.admin-bar .header:not(.scrolled){top:46px}
}

@media(max-width:780px){
  .header{
    height:78px;
    min-height:78px;
    align-items:center;
  }
  .header .logo{
    height:100%;
    min-width:0;
    overflow:visible;
  }
  .header .brand-full-logo{
    width:auto;
    max-width:min(150px,100%);
    max-height:68px;
  }
  .hero{padding-top:118px}
  body.admin-bar .hero{padding-top:118px}
  .experience-tab{padding:18px 12px;gap:10px}
  .experience-tab .animated-icon.xage-value-icon{
    flex:0 0 48px;
    width:48px;
    height:48px;
  }
  .experience-tab strong{font-size:11px;letter-spacing:1.45px;line-height:1.55}
  .experience-tab small{font-size:10px;line-height:1.55}
}

@media(max-width:420px){
  .brand-experience{padding-left:0;padding-right:0}
  .brand-experience .experience-tabs,
  .brand-experience .experience-stage{width:calc(100% - 32px)}
  .experience-tab{min-height:140px;padding:16px 9px;gap:8px}
  .experience-tab .animated-icon.xage-value-icon{
    flex-basis:42px;
    width:42px;
    height:42px;
  }
  .experience-tab strong{font-size:10px;letter-spacing:1.25px}
  .experience-tab small{font-size:9.5px}
}

@media(max-width:350px){
  .brand-experience .experience-tabs{grid-template-columns:1fr}
  .experience-tab{min-height:104px}
  .experience-tab:nth-child(3){border-bottom:1px solid #e7ded3}
}

/* 5.9.0 — esperienza Shop e scheda prodotto */
.woocommerce-page .xage-shop-main{padding-top:clamp(158px,14vw,205px);background:#fbf8f3}
.xage-shop-hero{position:relative;margin:0 0 55px;padding:clamp(52px,7vw,88px) clamp(28px,7vw,92px);overflow:hidden;background:linear-gradient(120deg,#eee5da 0%,#f8f3ed 62%,#e5d7c8 100%);text-align:center}
.xage-shop-hero:before,.xage-shop-hero:after{content:"";position:absolute;border:1px solid rgba(189,135,60,.32);border-radius:50%}
.xage-shop-hero:before{width:260px;height:260px;left:-110px;top:-150px}.xage-shop-hero:after{width:330px;height:330px;right:-190px;bottom:-245px}
.xage-shop-hero .eyebrow{margin-bottom:14px}.xage-shop-hero h1{margin:0;font-size:clamp(43px,5.4vw,72px);line-height:1.03}
.xage-shop-hero>p:last-child{max-width:680px;margin:22px auto 0;color:var(--muted);font-size:15px;line-height:1.85}
.woocommerce .woocommerce-breadcrumb{margin:0 0 30px;color:#91877b;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.woocommerce .woocommerce-result-count{margin:9px 0 33px;color:var(--muted);font-size:12px;letter-spacing:.04em}
.woocommerce .woocommerce-ordering{margin:0 0 28px}.woocommerce .woocommerce-ordering select{min-width:235px;padding:12px 40px 12px 15px;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font-size:12px}
.woocommerce ul.products{gap:42px 27px;margin-bottom:70px}.woocommerce ul.products li.product{display:flex;flex-direction:column;text-align:center}
.woocommerce ul.products li.product a.woocommerce-loop-product__link{display:flex;flex:1;flex-direction:column}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1/1.08;margin:0 0 22px;padding:clamp(18px,2vw,30px);object-fit:contain;background:#f1ebe4;transition:transform .45s ease,box-shadow .45s ease}
.woocommerce ul.products li.product:hover a img{transform:translateY(-4px);box-shadow:0 20px 42px rgba(68,48,31,.10)}
.xage-product-kicker{display:block;margin:0 0 8px;color:var(--gold);font-size:10px;letter-spacing:2px;text-transform:uppercase}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:58px;margin:0;padding:0 8px;font-size:23px;font-weight:400;line-height:1.22}
.woocommerce ul.products li.product .price{margin:13px 0 17px;font-family:Georgia,'Times New Roman',serif;font-size:19px;font-weight:400}
.woocommerce ul.products li.product .button{align-self:center;margin:0;padding:13px 23px;background:transparent;color:var(--ink);border:1px solid var(--ink)}
.woocommerce ul.products li.product .button:hover{background:var(--ink);color:#fff;box-shadow:none}

/* Scheda prodotto */
.single-product .xage-shop-container{max-width:1360px}.single-product div.product{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);gap:clamp(45px,7vw,100px);align-items:start}
.single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{float:none!important;width:auto!important;margin:0!important}
.single-product div.product .woocommerce-product-gallery{padding:clamp(24px,3.5vw,48px);background:#f1ebe4}
.single-product div.product .woocommerce-product-gallery__wrapper{display:flex;align-items:center}
.single-product div.product .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;min-height:560px}
.single-product div.product .woocommerce-product-gallery__image img{max-height:680px;width:100%;object-fit:contain}
.single-product div.product .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:13px!important}
.single-product div.product .flex-control-thumbs li{width:auto!important;float:none!important;background:#fff}.single-product div.product .flex-control-thumbs img{aspect-ratio:1;object-fit:contain;padding:7px}
.single-product div.product .summary{padding-top:18px}.single-product .product_title{margin:0 0 18px!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(38px,4vw,57px)!important;font-weight:400;line-height:1.08}
.single-product div.product .summary .price{margin:0 0 24px;color:var(--gold)!important;font-family:Georgia,'Times New Roman',serif;font-size:30px!important}
.single-product .woocommerce-product-details__short-description{padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:15px;line-height:1.75}
.single-product form.cart{display:flex;align-items:stretch;gap:12px;margin:30px 0 24px!important}.single-product form.cart:before,.single-product form.cart:after{display:none}
.single-product form.cart .quantity .qty{width:76px;height:52px;border:1px solid var(--line);background:#fff;text-align:center}
.single-product form.cart .single_add_to_cart_button{flex:1;min-height:52px!important;background:var(--ink)!important;color:#fff!important;font-weight:400!important;letter-spacing:1.8px!important;text-transform:uppercase}
.single-product form.cart .single_add_to_cart_button:hover{background:var(--gold)!important}
.xage-product-facts{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 17px}.xage-product-facts span{min-width:130px;padding:12px 15px;border:1px solid var(--line);font-size:12px}.xage-product-facts small{display:block;margin-bottom:3px;color:var(--gold);font-size:9px;letter-spacing:1.4px;text-transform:uppercase}
.xage-purchase-note{display:flex;align-items:center;gap:14px;padding:17px 19px;background:#f1ebe4}.xage-purchase-note>span{color:var(--gold);font-size:22px}.xage-purchase-note p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.xage-purchase-note strong{color:var(--ink);font-size:11px;letter-spacing:.7px;text-transform:uppercase}
.single-product .woocommerce-tabs,.single-product .related.products,.single-product .upsells.products{grid-column:1/-1;float:none!important;width:100%!important}
.single-product .woocommerce-tabs{margin-top:35px;padding-top:20px;border-top:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:38px;margin:0 0 36px;padding:0;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0 0 14px;border:0!important;border-radius:0;background:transparent!important}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:1px solid var(--gold)!important}.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:0;font-size:11px;font-weight:400;letter-spacing:1.4px;text-transform:uppercase}
.woocommerce div.product .woocommerce-tabs .panel{max-width:930px;margin:0 auto 65px;color:var(--muted);line-height:1.85}.woocommerce div.product .woocommerce-tabs .panel h2,.single-product .related.products>h2,.single-product .upsells.products>h2{font-family:Georgia,'Times New Roman',serif;font-size:34px;font-weight:400;color:var(--ink)}
.single-product .related.products,.single-product .upsells.products{padding-top:38px;border-top:1px solid var(--line)}.single-product .related.products>h2,.single-product .upsells.products>h2{margin:0 0 35px;text-align:center}

@media(max-width:980px){
  .single-product div.product{grid-template-columns:1fr;gap:40px}
  .single-product div.product .woocommerce-product-gallery__image a{min-height:480px}
  .single-product div.product .summary{padding-top:0}
}
@media(max-width:780px){
  .woocommerce-page .xage-shop-main{padding-top:135px}
  .xage-shop-hero{margin-left:-4px;margin-right:-4px;margin-bottom:38px;padding:50px 22px}.xage-shop-hero h1{font-size:42px}.xage-shop-hero>p:last-child{font-size:14px}
  .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;width:100%;text-align:left}.woocommerce .woocommerce-ordering select{width:100%}
  .woocommerce ul.products{gap:32px 17px}.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:48px;font-size:19px}.woocommerce ul.products li.product a img{padding:14px}
  .single-product div.product .woocommerce-product-gallery{padding:18px}.single-product div.product .woocommerce-product-gallery__image a{min-height:420px}.single-product .product_title{font-size:40px!important}
  .woocommerce div.product .woocommerce-tabs ul.tabs{gap:20px;overflow-x:auto}.woocommerce div.product .woocommerce-tabs ul.tabs li{white-space:nowrap}
}
@media(max-width:520px){
  .woocommerce ul.products{grid-template-columns:1fr!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:0;font-size:24px}.woocommerce ul.products li.product a img{aspect-ratio:1/1.04;padding:24px}
  .single-product div.product .woocommerce-product-gallery__image a{min-height:330px}.single-product .product_title{font-size:35px!important}.single-product form.cart{flex-wrap:wrap}.single-product form.cart .single_add_to_cart_button{min-width:calc(100% - 90px)}
  .woocommerce div.product .woocommerce-tabs ul.tabs{display:block;border-bottom:0}.woocommerce div.product .woocommerce-tabs ul.tabs li{display:block;margin-bottom:12px!important;padding-bottom:9px}
}

/* 6.3.0 — contenitori WooCommerce allineati al sito e separati dall'header */
body.woocommerce-page .xage-shop-main{
  box-sizing:border-box;
  width:100%;
  padding:calc(var(--xage-header-offset,144px) + 44px) clamp(20px,7vw,96px) 96px!important;
  background:var(--paper);
}
body.woocommerce-page .xage-shop-container{
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  margin-inline:auto!important;
}
body.post-type-archive-product .xage-shop-hero,
body.tax-product_cat .xage-shop-hero,
body.tax-product_tag .xage-shop-hero{
  width:100%;
  margin:0 auto 54px;
  padding:clamp(44px,6vw,72px) clamp(20px,5vw,64px);
}
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products{
  width:100%;
  max-width:1120px;
  margin-inline:auto!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.post-type-archive-product ul.products li.product a img,
body.tax-product_cat ul.products li.product a img,
body.tax-product_tag ul.products li.product a img{
  height:340px!important;
  padding:22px!important;
}
body.single-product .xage-shop-container{
  width:min(1100px,100%)!important;
  max-width:1100px!important;
}
body.single-product div.product{
  width:100%;
  grid-template-columns:minmax(0,500px) minmax(320px,460px)!important;
  justify-content:center!important;
  gap:clamp(42px,6vw,76px)!important;
}
body.single-product div.product>.woocommerce-product-gallery{
  max-width:500px!important;
  justify-self:center;
}
body.single-product div.product>.summary{
  width:100%!important;
  max-width:460px!important;
  justify-self:center;
}
body.single-product div.product .woocommerce-product-gallery__image a{
  height:480px!important;
}
body.single-product div.product .woocommerce-product-gallery__image img{
  max-height:480px!important;
}
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .upsells.products{
  max-width:1100px;
  margin-inline:auto;
}
@media(max-width:980px){
  body.single-product div.product{grid-template-columns:minmax(0,680px)!important}
  body.single-product div.product>.summary{max-width:680px!important}
}
@media(max-width:780px){
  body.woocommerce-page .xage-shop-main{
    padding:calc(var(--xage-mobile-header-offset,118px) + 28px) 20px 72px!important;
  }
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.post-type-archive-product ul.products li.product a img,
  body.tax-product_cat ul.products li.product a img,
  body.tax-product_tag ul.products li.product a img{height:300px!important;padding:16px!important}
}
@media(max-width:520px){
  body.woocommerce-page .xage-shop-main{padding-left:16px!important;padding-right:16px!important}
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products{grid-template-columns:1fr!important;max-width:420px}
  body.post-type-archive-product ul.products li.product a img,
  body.tax-product_cat ul.products li.product a img,
  body.tax-product_tag ul.products li.product a img{height:min(360px,84vw)!important}
  body.single-product div.product .woocommerce-product-gallery__image a{height:min(390px,84vw)!important}
}

/* 6.2.0 — proporzioni definitive Shop e galleria prodotto */
body.post-type-archive-product .xage-shop-container,
body.tax-product_cat .xage-shop-container,
body.tax-product_tag .xage-shop-container{width:min(1180px,90vw)}
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products{column-gap:34px!important;row-gap:58px!important}
body.woocommerce ul.products li.product a img{box-sizing:border-box!important;height:390px!important;aspect-ratio:auto!important;padding:26px!important;object-fit:contain!important;object-position:center!important}
body.single-product .xage-shop-container{width:min(1160px,90vw);max-width:1160px}
body.single-product div.product{grid-template-columns:minmax(0,560px) minmax(330px,1fr)!important;gap:clamp(40px,5vw,72px)!important}
body.single-product div.product>.woocommerce-product-gallery{box-sizing:border-box!important;width:100%!important;max-width:560px!important;padding:24px!important;opacity:1!important;visibility:visible!important}
body.single-product div.product .woocommerce-product-gallery__image a{width:100%!important;min-height:0!important}
body.single-product div.product .woocommerce-product-gallery__image a{height:540px!important;aspect-ratio:auto!important}
body.single-product div.product .woocommerce-product-gallery__image img{width:100%!important;height:100%!important;max-height:540px!important;opacity:1!important;visibility:visible!important;object-fit:contain!important}
body.single-product div.product .flex-control-thumbs{grid-template-columns:repeat(5,minmax(0,72px))!important;justify-content:center!important;gap:10px!important}
body.single-product div.product .flex-control-thumbs li{max-width:72px!important}
body.single-product div.product .flex-control-thumbs img{box-sizing:border-box!important;width:72px!important;height:72px!important;padding:6px!important}
body.single-product .related ul.products li.product a img,
body.single-product .upsells ul.products li.product a img{height:330px!important}
@media(max-width:980px){
  body.single-product div.product{grid-template-columns:1fr!important}
  body.single-product div.product>.woocommerce-product-gallery{margin-inline:auto!important}
  body.single-product div.product>.summary{max-width:680px!important;margin-inline:auto!important}
}
@media(max-width:780px){
  body.woocommerce ul.products li.product a img{height:330px!important;padding:20px!important}
  body.single-product div.product .woocommerce-product-gallery__image a{height:min(500px,72vw)!important}
}
@media(max-width:520px){
  body.post-type-archive-product .xage-shop-container,
  body.tax-product_cat .xage-shop-container,
  body.tax-product_tag .xage-shop-container,
  body.single-product .xage-shop-container{width:min(92vw,460px)}
  body.woocommerce ul.products li.product a img{height:min(390px,88vw)!important;padding:18px!important}
  body.single-product div.product>.woocommerce-product-gallery{padding:14px!important}
  body.single-product div.product .woocommerce-product-gallery__image a{height:min(420px,88vw)!important}
  body.single-product div.product .flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,62px))!important}
  body.single-product div.product .flex-control-thumbs li{max-width:62px!important}
  body.single-product div.product .flex-control-thumbs img{width:62px!important;height:62px!important}
}
