
:root{
 --wm-gold:#C39655;
 --wm-gold2:#D7B078;
 --wm-bg:#111111;
 --wm-black:#090909;
 --wm-panel:#191919;
 --wm-panel2:#202020;
 --wm-border:#343434;
 --wm-white:#f6f5f2;
 --wm-muted:#aaa9a5;
 --wm-radius:18px;
}

body.wmds-v2{
 background:var(--wm-bg);
 color:var(--wm-white);
 --theme-palette-color-1:var(--wm-gold);
 --theme-link-hover-color:var(--wm-gold);
}

.wmds-v2 .entry-header{display:none}
.wmds-v2 .entry-content{margin:0!important;max-width:none!important}
.wmds-v2 .site-main{overflow:hidden}
.wmds-shell{width:min(1180px,calc(100% - 42px));margin:0 auto;padding:70px 0 100px}
.wmds-shell *{box-sizing:border-box}
.wmds-kicker{display:inline-block;color:var(--wm-gold);font-size:12px;font-weight:800;letter-spacing:.28em;margin-bottom:18px}
.wmds-shell h1,.wmds-shell h2,.wmds-shell h3{color:#fff;letter-spacing:-.035em}
.wmds-shell em{font-style:normal;color:var(--wm-gold)}
.wmds-shell p{color:var(--wm-muted);line-height:1.75}

.wmds-btn{
 display:inline-flex;align-items:center;justify-content:center;
 padding:13px 22px;border-radius:var(--wm-radius);
 text-decoration:none;font-weight:700
}
.wmds-btn-gold{background:var(--wm-gold);color:#111}
.wmds-btn-gold:hover{background:var(--wm-gold2);color:#111;transform:translateY(-2px)}
.wmds-btn-ghost{border:1px solid #444;color:#fff;background:#181818}
.wmds-btn-ghost:hover{border-color:var(--wm-gold);color:var(--wm-gold);transform:translateY(-2px)}
.wmds-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}

/* =========================================================
   GLOBAL BORDER SYSTEM — ONE RADIUS EVERYWHERE
   ========================================================= */
.wmds-v2 :is(
 .wmds-service-card,.wmds-bg-card,.wmds-page-hero,.wmds-values article,
 .wmds-cta,.wmds-masonry figure,.wmds-form-card,.wmds-contact-card,
 .wmds-quote-services article,.wmds-faq details,.wmds-legal-hero,
 .wmds-legal-contact
){
 border-radius:var(--wm-radius)!important;
}

.wmds-v2 :is(
 input,select,textarea,button,.button,.wp-element-button,
 .woocommerce a.button,.woocommerce button.button,
 .wc-block-components-button
){
 border-radius:12px!important;
}

/* =========================================================
   HEADER / MENU
   ========================================================= */
.wmds-v2 header#header,.wmds-v2 .ct-header{
 background:#111!important;
 border-bottom:1px solid rgba(195,150,85,.14);
 position:relative;
 z-index:1000;
}
.wmds-v2 header .menu>li>a,.wmds-v2 .ct-header .menu>li>a{
 font-size:13px;font-weight:700;white-space:nowrap
}
.wmds-v2 header .menu>li.current-menu-item>a,
.wmds-v2 header .menu>li>a:hover,
.wmds-v2 .ct-header .menu>li.current-menu-item>a,
.wmds-v2 .ct-header .menu>li>a:hover{
 color:var(--wm-gold)!important
}

/* Our own "Mais" dropdown */
.wmds-more-created{position:relative!important}
.wmds-more-created>a:after{content:"⌄";margin-left:7px;font-size:12px}
.wmds-more-created>.sub-menu{
 display:none!important;
 position:absolute!important;
 top:100%!important;left:0!important;
 min-width:190px!important;
 background:#171717!important;
 border:1px solid #333!important;
 border-radius:var(--wm-radius)!important;
 padding:8px!important;
 box-shadow:0 20px 50px rgba(0,0,0,.35)!important;
 z-index:9999!important;
}
.wmds-more-created:hover>.sub-menu{display:block!important}
.wmds-more-created>.sub-menu li{display:block!important;width:100%!important}
.wmds-more-created>.sub-menu a{
 display:block!important;padding:10px 12px!important;color:#ddd!important
}
.wmds-more-created>.sub-menu a:hover{color:var(--wm-gold)!important}

/* =========================================================
   HOME
   ========================================================= */
.wmds-hero{
 min-height:590px;
 display:grid;
 grid-template-columns:1fr 1fr;
 align-items:center;
 gap:48px;
 position:relative;
 margin-bottom:100px
}
.wmds-hero:before{
 content:"";position:absolute;width:390px;height:390px;
 border:1px solid rgba(195,150,85,.18);
 border-radius:50%;left:-280px;top:60px
}
.wmds-hero-copy{position:relative;z-index:3;padding:30px 0}
.wmds-hero h1{font-size:clamp(50px,6vw,78px);line-height:.98;margin:0}
.wmds-hero h1 span{color:var(--wm-gold)}
.wmds-hero-copy p{max-width:610px;font-size:17px}

.wmds-hero-art{
 height:500px;
 position:relative;
 display:flex;
 align-items:center;
 justify-content:center
}
.wmds-hero-image{
 position:relative;
 width:100%;
 height:100%;
 display:flex;
 align-items:center;
 justify-content:center;
 overflow:hidden;
 background:#0d0d0d;
 border:1px solid #2e2e2e;
 border-radius:var(--wm-radius);
 box-shadow:0 24px 65px rgba(0,0,0,.28)
}
.wmds-hero-image:after{display:none!important}
.wmds-hero-image img{
 width:100%;
 height:100%;
 object-fit:contain;
 object-position:center;
 display:block
}
.wmds-shape-a{
 position:absolute;width:145px;height:145px;
 right:-24px;top:-24px;border:1px solid rgba(195,150,85,.28);
 border-radius:50%
}
.wmds-shape-b{display:none}
.wmds-outline-word{
 position:absolute;right:20px;bottom:18px;
 font-size:72px;font-weight:900;letter-spacing:-.08em;
 color:transparent;-webkit-text-stroke:1px rgba(195,150,85,.14)
}

.wmds-intro{text-align:center;max-width:850px;margin:0 auto 65px}
.wmds-intro h2{font-size:clamp(40px,5vw,62px);line-height:1.05;margin:0 0 18px}
.wmds-intro p{max-width:650px;margin:auto}

/* All 3 service cards perfectly aligned */
.wmds-service-grid{
 display:grid;grid-template-columns:repeat(3,1fr);
 gap:24px;margin-bottom:120px;align-items:stretch
}
.wmds-service-card{
 min-height:320px;height:100%;
 padding:34px;border:1px solid var(--wm-border);
 background:linear-gradient(145deg,rgba(195,150,85,.05),transparent 35%),var(--wm-panel);
 position:relative;transition:.25s;
 transform:none!important;margin:0!important
}
.wmds-service-card:hover{transform:translateY(-5px)!important;border-color:rgba(195,150,85,.5)}
.wmds-service-card>span:not(.wmds-emoji){
 position:absolute;right:28px;top:24px;color:#626262;font-weight:800
}
.wmds-emoji{
 width:62px;height:62px;border-radius:var(--wm-radius);
 background:#242424;display:grid;place-items:center;
 font-size:28px;margin-bottom:45px
}
.wmds-service-card h3{font-size:30px;margin:0 0 12px}

.wmds-split{
 display:grid;grid-template-columns:1fr 1fr;
 align-items:center;gap:70px;margin-bottom:120px
}
.wmds-split-image{position:relative}
.wmds-split-image img{
 width:100%;display:block;border-radius:var(--wm-radius);
 box-shadow:0 30px 70px rgba(0,0,0,.28)
}
.wmds-split-image:after{display:none}
.wmds-split-copy h2{font-size:clamp(42px,5vw,64px);line-height:1.04;margin:0 0 20px}
.wmds-bg-card{
 min-height:430px;background-size:cover;background-position:center;
 border:1px solid #343434
}

.wmds-why{
 display:grid;grid-template-columns:.8fr 1.2fr;
 gap:70px;margin-bottom:120px;align-items:start
}
.wmds-why-title{position:sticky;top:140px}
.wmds-why-title h2{font-size:52px;line-height:1.05;margin:0}
.wmds-why-list{border-top:1px solid #383838}
.wmds-why-list>div{
 display:grid;grid-template-columns:65px 1fr;gap:12px;
 padding:24px 4px;border-bottom:1px solid #303030;transition:.2s
}
.wmds-why-list>div:hover{padding-left:12px;border-color:rgba(195,150,85,.45)}
.wmds-why-list b{color:var(--wm-gold)}
.wmds-why-list span{font-size:19px;font-weight:650}

.wmds-faq{margin-bottom:40px}
.wmds-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wmds-faq details{
 background:#181818;border:1px solid #323232;padding:20px 22px
}
.wmds-faq summary{cursor:pointer;font-weight:700;color:#eee}
.wmds-faq details[open]{
 border-color:rgba(195,150,85,.38);
 background:linear-gradient(120deg,rgba(195,150,85,.07),#181818 35%)
}

/* =========================================================
   GENERAL PAGE HERO
   ========================================================= */
.wmds-page-hero{
 min-height:400px;display:flex;flex-direction:column;justify-content:center;
 position:relative;margin-bottom:70px;padding:58px;
 border:1px solid rgba(195,150,85,.18);
 background:linear-gradient(130deg,rgba(195,150,85,.07),transparent 30%),#161616;
 overflow:hidden
}
.wmds-page-hero:after{
 content:"WM";position:absolute;right:-20px;bottom:-55px;
 font-size:200px;font-weight:900;color:transparent;
 -webkit-text-stroke:1px rgba(195,150,85,.10)
}
.wmds-page-hero h1{
 font-size:clamp(48px,6vw,76px);line-height:1;margin:0 0 20px;max-width:850px
}
.wmds-page-hero p{max-width:700px;font-size:17px}

/* =========================================================
   ABOUT
   ========================================================= */
.wmds-values{
 display:grid;grid-template-columns:repeat(3,1fr);
 gap:22px;margin-bottom:110px;align-items:stretch
}
.wmds-values article{
 padding:36px;border:1px solid #333;background:#191919;
 min-height:285px;height:100%;margin:0!important;transform:none!important
}
.wmds-values article.featured{
 background:linear-gradient(145deg,rgba(195,150,85,.07),#191919 35%);
 border-color:rgba(195,150,85,.3)
}
.wmds-values article>span{font-size:35px}
.wmds-values h3{font-size:28px}

/* Stable process grid, no floating cards */
.wmds-process{margin-bottom:110px}
.wmds-process>h2{font-size:56px;line-height:1.05}
.wmds-process-line{
 display:grid;grid-template-columns:repeat(4,1fr);
 gap:14px;margin-top:40px;border-top:0
}
.wmds-process-line article{
 min-height:260px;
 padding:28px 24px;
 border:1px solid #333;
 border-radius:var(--wm-radius);
 background:#181818;
 position:relative
}
.wmds-process-line article:before{
 content:"";position:absolute;left:24px;right:24px;top:74px;height:1px;background:#303030
}
.wmds-process-line b{color:var(--wm-gold);display:block;margin-bottom:42px}
.wmds-process-line span{font-size:32px}
.wmds-process-line h3{font-size:23px;margin-bottom:8px}

.wmds-cta{
 text-align:center;padding:60px 30px;
 background:linear-gradient(120deg,rgba(195,150,85,.08),transparent 45%),#171717;
 border:1px solid rgba(195,150,85,.2)
}
.wmds-cta h2{font-size:48px;margin:0}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.wmds-filter{
 display:flex;justify-content:center;align-items:center;
 flex-wrap:wrap;gap:10px;margin:-34px auto 55px;
 position:relative;z-index:2;text-align:center
}
.wmds-filter button{
 border:1px solid #3a3a3a;background:#191919;color:#ddd;
 border-radius:999px!important;padding:10px 17px;cursor:pointer
}
.wmds-filter button:hover,.wmds-filter button.active{
 background:var(--wm-gold);color:#111;border-color:var(--wm-gold)
}
.wmds-masonry{columns:3 260px;column-gap:18px}
.wmds-masonry figure{
 break-inside:avoid;margin:0 0 18px;overflow:hidden;
 border:1px solid #333;background:#191919
}
.wmds-masonry img{width:100%;display:block;transition:.3s}
.wmds-masonry figure:hover img{transform:scale(1.025);filter:brightness(1.05)}

/* =========================================================
   CONTACT
   ========================================================= */
.wmds-contact-layout{
 display:grid;grid-template-columns:1.25fr .75fr;gap:35px;align-items:start
}
.wmds-form-card{
 padding:34px;border:1px solid #333;background:#181818
}
.wmds-contact-card{
 padding:38px;position:sticky;top:120px;
 border:1px solid rgba(195,150,85,.25);
 background:linear-gradient(145deg,rgba(195,150,85,.07),#181818 35%)
}
.wmds-contact-card h2{font-size:38px}
.wmds-contact-item{
 display:grid;grid-template-columns:50px 1fr;gap:12px;
 padding:18px 0;border-bottom:1px solid #313131
}
.wmds-contact-item>span{font-size:24px}
.wmds-contact-item p{margin:4px 0 0}

/* =========================================================
   QUOTE — all aligned
   ========================================================= */
.wmds-quote-services{
 display:grid;grid-template-columns:repeat(4,1fr);
 gap:16px;margin-bottom:80px;align-items:stretch
}
.wmds-quote-services article{
 padding:28px;border:1px solid #333;background:#191919;
 transition:.25s;height:100%;min-height:250px;
 transform:none!important;margin:0!important
}
.wmds-quote-services article:hover{
 border-color:rgba(195,150,85,.5);transform:translateY(-4px)!important
}
.wmds-quote-services span{font-size:32px}
.wmds-quote-services h3{font-size:23px}

/* Stable 3-step process */
.wmds-how{
 display:grid;grid-template-columns:repeat(3,1fr);
 margin:80px 0;gap:16px
}
.wmds-how>div{
 min-height:230px;padding:28px;
 border:1px solid #333;border-radius:var(--wm-radius);
 background:#181818
}
.wmds-how b{color:var(--wm-gold)}
.wmds-how span{display:block;font-size:31px;margin:24px 0 12px}
.wmds-how h3{margin-bottom:8px}

.wmds-quote-form{
 display:grid;grid-template-columns:.65fr 1.35fr;gap:45px;align-items:start
}
.wmds-quote-form-head{padding-top:20px}
.wmds-quote-form-head h2{font-size:48px}

/* =========================================================
   FLUENT FORMS
   ========================================================= */
.wmds-v2 .fluentform .ff-el-input--label label{color:#eee!important;font-weight:600}
.wmds-v2 .fluentform .ff-el-form-control{
 background:#111!important;color:#f5f5f2!important;
 border:1px solid #3c3c3c!important;
 min-height:48px;box-shadow:none!important
}
.wmds-v2 .fluentform .ff-el-form-control:focus{
 border-color:var(--wm-gold)!important;
 box-shadow:0 0 0 3px rgba(195,150,85,.1)!important
}
.wmds-v2 .fluentform .ff-btn-submit,
.wmds-v2 .fluentform button[type=submit]{
 background:var(--wm-gold)!important;color:#111!important;
 border:1px solid var(--wm-gold)!important;font-weight:800!important;
 padding:12px 24px!important
}
.wmds-v2 .fluentform .ff-btn-submit:hover{background:var(--wm-gold2)!important}

/* =========================================================
   SHOP — preserve WooCommerce layout, organize LEFT sidebar
   ========================================================= */
.wmds-shop-v2 .site-main,
.wmds-shop-v2 .content-area{
 overflow:visible!important
}

/* Blocksy sidebar on left */
.wmds-shop-v2 [data-sidebar="left"],
.wmds-shop-v2 .ct-sidebar{
 order:-1
}
.wmds-shop-v2 #secondary .widget,
.wmds-shop-v2 .ct-sidebar .widget{
 background:#181818;
 border:1px solid #343434;
 border-radius:var(--wm-radius)!important;
 padding:22px;
 margin-bottom:16px
}
.wmds-shop-v2 #secondary .widget-title,
.wmds-shop-v2 .ct-sidebar .widget-title{
 color:#fff;font-size:17px;
 padding-bottom:12px;margin-bottom:12px;
 border-bottom:1px solid #303030
}
.wmds-shop-v2 .product-categories,
.wmds-shop-v2 .wc-block-product-categories-list{
 list-style:none;padding:0;margin:0
}
.wmds-shop-v2 .product-categories li,
.wmds-shop-v2 .wc-block-product-categories-list-item{
 margin:3px 0
}
.wmds-shop-v2 .product-categories a,
.wmds-shop-v2 .wc-block-product-categories-list-item a{
 display:flex;align-items:center;
 color:#ddd;padding:9px 10px;
 border-radius:10px;text-decoration:none
}
.wmds-shop-v2 .product-categories a:before,
.wmds-shop-v2 .wc-block-product-categories-list-item a:before{
 content:"";width:5px;height:5px;border-radius:50%;
 background:#565656;margin-right:9px;flex:none
}
.wmds-shop-v2 .product-categories a:hover,
.wmds-shop-v2 .current-cat>a,
.wmds-shop-v2 .wc-block-product-categories-list-item a:hover{
 background:rgba(195,150,85,.08);color:var(--wm-gold)
}
.wmds-shop-v2 .product-categories a:hover:before,
.wmds-shop-v2 .current-cat>a:before{
 background:var(--wm-gold)
}
.wmds-v2 .woocommerce ul.products li.product{
 transition:.25s;border-radius:var(--wm-radius);overflow:hidden
}
.wmds-v2 .woocommerce ul.products li.product:hover{transform:translateY(-4px)}
.wmds-v2 .woocommerce a.button,.wmds-v2 .woocommerce button.button{
 border-radius:12px!important
}
.wmds-v2 .woocommerce a.button.alt,.wmds-v2 .woocommerce button.button.alt{
 background:var(--wm-gold)!important;color:#111!important
}

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
body.single-product.wmds-v2 .site-main{
 padding-top:40px
}
body.single-product.wmds-v2 div.product{
 display:grid;
 grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
 gap:54px;
 align-items:start
}
body.single-product.wmds-v2 .woocommerce-product-gallery,
body.single-product.wmds-v2 .summary{
 width:auto!important;float:none!important
}
body.single-product.wmds-v2 .woocommerce-product-gallery{
 border:1px solid #333;border-radius:var(--wm-radius);
 background:#181818;padding:18px
}
body.single-product.wmds-v2 .summary{
 border:1px solid #333;border-radius:var(--wm-radius);
 background:#181818;padding:30px
}
body.single-product.wmds-v2 .product_title{font-size:42px}
body.single-product.wmds-v2 .price{color:var(--wm-gold)!important;font-size:22px!important}

/* =========================================================
   MY ACCOUNT
   ========================================================= */
body.woocommerce-account.wmds-v2 .site-main{
 padding-top:55px;padding-bottom:80px
}
body.woocommerce-account.wmds-v2 .woocommerce{
 display:grid;
 grid-template-columns:250px minmax(0,1fr);
 gap:24px;
 width:min(1180px,calc(100% - 42px));
 margin:0 auto
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
 float:none!important;width:auto!important;
 background:#181818;border:1px solid #333;
 border-radius:var(--wm-radius);padding:12px
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation ul{
 margin:0;padding:0;list-style:none
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a{
 display:block;padding:12px 14px;border-radius:10px;
 color:#ddd;text-decoration:none
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a:hover{
 background:rgba(195,150,85,.1);color:var(--wm-gold)
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content{
 float:none!important;width:auto!important;
 min-height:420px;
 background:#181818;border:1px solid #333;
 border-radius:var(--wm-radius);padding:30px
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content table{
 border-color:#333!important
}

/* =========================================================
   CART
   ========================================================= */
body.woocommerce-cart.wmds-v2 .site-main{
 padding-top:55px;padding-bottom:80px
}
body.woocommerce-cart.wmds-v2 .woocommerce{
 width:min(1180px,calc(100% - 42px));margin:0 auto
}
body.woocommerce-cart.wmds-v2 .woocommerce-cart-form,
body.woocommerce-cart.wmds-v2 .cart_totals{
 background:#181818;border:1px solid #333;
 border-radius:var(--wm-radius);padding:24px
}
body.woocommerce-cart.wmds-v2 .shop_table{
 border-color:#333!important
}
body.woocommerce-cart.wmds-v2 .cart_totals{
 margin-top:24px
}

/* =========================================================
   CHECKOUT
   ========================================================= */
body.woocommerce-checkout.wmds-v2 .site-main{
 padding-top:55px;padding-bottom:80px
}
body.woocommerce-checkout.wmds-v2 form.checkout{
 width:min(1180px,calc(100% - 42px));
 margin:0 auto;
 display:grid;
 grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);
 gap:28px;
 align-items:start
}
body.woocommerce-checkout.wmds-v2 #customer_details{
 background:#181818;border:1px solid #333;
 border-radius:var(--wm-radius);padding:26px
}
body.woocommerce-checkout.wmds-v2 #order_review_heading,
body.woocommerce-checkout.wmds-v2 #order_review{
 grid-column:2
}
body.woocommerce-checkout.wmds-v2 #order_review_heading{
 margin:0 0 -18px;padding:0 4px
}
body.woocommerce-checkout.wmds-v2 #order_review{
 background:#181818;border:1px solid #333;
 border-radius:var(--wm-radius);padding:24px
}
body.woocommerce-checkout.wmds-v2 .woocommerce-checkout-payment{
 background:#111!important;border-radius:12px!important
}
body.woocommerce-checkout.wmds-v2 input.input-text,
body.woocommerce-checkout.wmds-v2 select,
body.woocommerce-checkout.wmds-v2 textarea{
 background:#111!important;color:#eee!important;
 border:1px solid #3b3b3b!important
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:1000px){
 .wmds-process-line{grid-template-columns:1fr 1fr}
 .wmds-quote-services{grid-template-columns:1fr 1fr}
 body.single-product.wmds-v2 div.product{grid-template-columns:1fr}
 body.woocommerce-checkout.wmds-v2 form.checkout{grid-template-columns:1fr}
 body.woocommerce-checkout.wmds-v2 #order_review_heading,
 body.woocommerce-checkout.wmds-v2 #order_review{grid-column:1}
}

@media(max-width:900px){
 .wmds-hero{grid-template-columns:1fr;min-height:auto}
 .wmds-hero-art{height:400px}
 .wmds-service-grid,.wmds-values{grid-template-columns:1fr 1fr}
 .wmds-split,.wmds-why,.wmds-contact-layout,.wmds-quote-form{grid-template-columns:1fr}
 .wmds-why-title,.wmds-contact-card{position:static}
 body.woocommerce-account.wmds-v2 .woocommerce{grid-template-columns:1fr}
}

@media(max-width:620px){
 .wmds-shell{width:min(100% - 26px,1180px);padding-top:35px}
 .wmds-hero h1{font-size:48px}
 .wmds-hero-art{height:310px}
 .wmds-outline-word{font-size:54px}
 .wmds-service-grid,.wmds-values,.wmds-quote-services,
 .wmds-how,.wmds-faq-grid,.wmds-process-line{grid-template-columns:1fr}
 .wmds-page-hero{padding:34px 24px}
 .wmds-page-hero:after{font-size:120px}
 body.woocommerce-account.wmds-v2 .woocommerce,
 body.woocommerce-cart.wmds-v2 .woocommerce,
 body.woocommerce-checkout.wmds-v2 form.checkout{
   width:min(100% - 26px,1180px)
 }
}


/* =========================================================
   V2.2 OVERRIDES
   ========================================================= */

/* HOME HERO — wide background behind text */
.wmds-home-v2 .wmds-hero-background{
    position:relative;
    min-height:560px;
    display:flex;
    align-items:center;
    margin-bottom:100px;
    overflow:hidden;
    border:1px solid #303030;
    border-radius:var(--wm-radius);
    background:#0d0d0d;
    box-shadow:0 26px 70px rgba(0,0,0,.26);
}
.wmds-home-v2 .wmds-hero-background:before{
    display:none!important;
}
.wmds-home-v2 .wmds-hero-bg{
    position:absolute;
    inset:0;
    z-index:0;
}
.wmds-home-v2 .wmds-hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    transform:scale(1.015);
}
.wmds-home-v2 .wmds-hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(90deg, rgba(13,13,13,.98) 0%, rgba(13,13,13,.93) 29%, rgba(13,13,13,.70) 48%, rgba(13,13,13,.15) 78%, rgba(13,13,13,.08) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.28));
}
.wmds-home-v2 .wmds-hero-background .wmds-hero-copy{
    position:relative;
    z-index:3;
    width:min(650px,62%);
    padding:62px 54px;
}
.wmds-home-v2 .wmds-hero-background h1{
    font-size:clamp(48px,5.4vw,74px);
    line-height:.99;
    text-shadow:0 5px 25px rgba(0,0,0,.28);
}
.wmds-home-v2 .wmds-hero-background .wmds-outline-word{
    z-index:3;
    right:28px;
    bottom:18px;
    opacity:.55;
}
.wmds-home-v2 .wmds-hero-background .wmds-btn-ghost{
    background:rgba(18,18,18,.74);
    backdrop-filter:blur(6px);
}

/* MY ACCOUNT — larger spacing and clearer visual hierarchy */
body.woocommerce-account.wmds-v2 .site-main{
    padding-top:70px!important;
    padding-bottom:100px!important;
}
body.woocommerce-account.wmds-v2 .woocommerce{
    width:min(1220px,calc(100% - 56px))!important;
    grid-template-columns:275px minmax(0,1fr)!important;
    gap:38px!important;
    align-items:start;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
    padding:16px!important;
    border:1px solid #343434!important;
    background:#171717!important;
    box-shadow:0 18px 50px rgba(0,0,0,.18);
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation ul{
    display:grid;
    gap:5px;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li{
    margin:0!important;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a{
    min-height:46px;
    display:flex!important;
    align-items:center;
    gap:10px;
    padding:11px 14px!important;
    border:1px solid transparent;
    border-radius:10px!important;
    line-height:1.35;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a:hover{
    background:#101010!important;
    border-color:rgba(195,150,85,.28)!important;
    color:var(--wm-gold)!important;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content{
    padding:36px!important;
    min-height:520px!important;
    background:#171717!important;
    border:1px solid #343434!important;
    box-shadow:0 18px 50px rgba(0,0,0,.16);
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content > *:first-child{
    margin-top:0!important;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content h2,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content h3{
    margin-top:0;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .woocommerce-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .woocommerce-column{
    width:auto!important;
    float:none!important;
    padding:22px!important;
    border:1px solid #333;
    border-radius:var(--wm-radius);
    background:#1c1c1c;
}
body.woocommerce-account.wmds-v2 table.shop_table{
    border:1px solid #333!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    border-radius:var(--wm-radius)!important;
    overflow:hidden;
}
body.woocommerce-account.wmds-v2 table.shop_table th,
body.woocommerce-account.wmds-v2 table.shop_table td{
    padding:14px 16px!important;
    border-color:#2f2f2f!important;
}

/* SHOP — sidebar panel instead of floating list */
.wmds-shop-v2 .ct-sidebar,
.wmds-shop-v2 #secondary{
    position:relative;
    padding:22px!important;
    background:#171717!important;
    border:1px solid #333!important;
    border-radius:var(--wm-radius)!important;
    box-shadow:0 20px 55px rgba(0,0,0,.17);
    align-self:start;
}
.wmds-shop-v2 .ct-sidebar:before,
.wmds-shop-v2 #secondary:before{
    content:"CATEGORIAS";
    display:block;
    color:var(--wm-gold);
    font-size:11px;
    font-weight:800;
    letter-spacing:.22em;
    margin:0 0 18px;
}
.wmds-shop-v2 .ct-sidebar .widget,
.wmds-shop-v2 #secondary .widget{
    padding:0!important;
    margin:0 0 22px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
.wmds-shop-v2 .ct-sidebar .widget:last-child,
.wmds-shop-v2 #secondary .widget:last-child{
    margin-bottom:0!important;
}
.wmds-shop-v2 .ct-sidebar .widget-title,
.wmds-shop-v2 #secondary .widget-title{
    padding:0 0 12px!important;
    margin:0 0 10px!important;
    border-bottom:1px solid #303030!important;
    color:#fff!important;
    font-size:15px!important;
}

/* Category tree */
.wmds-shop-v2 .product-categories,
.wmds-shop-v2 .wc-block-product-categories-list{
    display:grid;
    gap:4px;
}
.wmds-shop-v2 .product-categories > li,
.wmds-shop-v2 .wc-block-product-categories-list > li{
    position:relative;
}
.wmds-shop-v2 .product-categories > li > a,
.wmds-shop-v2 .wc-block-product-categories-list > li > a{
    min-height:42px;
    padding:9px 11px!important;
    font-weight:600;
    color:#ecebea!important;
    background:#1b1b1b;
    border:1px solid #2b2b2b;
}
.wmds-shop-v2 .product-categories > li > a:hover,
.wmds-shop-v2 .product-categories > li.current-cat > a,
.wmds-shop-v2 .product-categories > li.current-cat-parent > a,
.wmds-shop-v2 .wc-block-product-categories-list > li > a:hover{
    background:rgba(195,150,85,.09)!important;
    border-color:rgba(195,150,85,.3)!important;
    color:var(--wm-gold)!important;
}

/* Subcategories */
.wmds-shop-v2 .product-categories .children,
.wmds-shop-v2 .wc-block-product-categories-list ul{
    margin:6px 0 7px 16px!important;
    padding:4px 0 4px 13px!important;
    border-left:1px solid rgba(195,150,85,.22);
    display:grid;
    gap:3px;
}
.wmds-shop-v2 .product-categories .children li a,
.wmds-shop-v2 .wc-block-product-categories-list ul li a{
    min-height:36px;
    padding:7px 9px!important;
    font-size:14px;
    font-weight:500;
    color:#bcbcb8!important;
    background:transparent!important;
    border:0!important;
}
.wmds-shop-v2 .product-categories .children li a:before,
.wmds-shop-v2 .wc-block-product-categories-list ul li a:before{
    width:4px!important;
    height:4px!important;
    background:#555!important;
}
.wmds-shop-v2 .product-categories .children li a:hover,
.wmds-shop-v2 .product-categories .children li.current-cat a,
.wmds-shop-v2 .wc-block-product-categories-list ul li a:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.05)!important;
}
.wmds-shop-v2 .product-categories .children li.current-cat a:before{
    background:var(--wm-gold)!important;
}

/* Search box inside shop sidebar */
.wmds-shop-v2 .ct-sidebar input[type="search"],
.wmds-shop-v2 #secondary input[type="search"]{
    background:#111!important;
    color:#eee!important;
    border:1px solid #333!important;
}
.wmds-shop-v2 .ct-sidebar button,
.wmds-shop-v2 #secondary button{
    border-color:#3a3a3a!important;
}

/* Product cards stay visually separated from sidebar */
.wmds-shop-v2 .woocommerce ul.products{
    gap:26px 20px!important;
}
.wmds-shop-v2 .woocommerce ul.products li.product{
    border:1px solid #333;
    background:#181818!important;
    padding:14px!important;
}
.wmds-shop-v2 .woocommerce ul.products li.product .woocommerce-loop-product__title,
.wmds-shop-v2 .woocommerce ul.products li.product .price{
    padding-left:2px;
    padding-right:2px;
}

/* Responsive improvements */
@media(max-width:900px){
    .wmds-home-v2 .wmds-hero-background{
        min-height:520px;
    }
    .wmds-home-v2 .wmds-hero-background .wmds-hero-copy{
        width:78%;
        padding:46px 34px;
    }
    body.woocommerce-account.wmds-v2 .woocommerce{
        grid-template-columns:1fr!important;
        width:min(100% - 30px,1220px)!important;
    }
    body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation ul{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:620px){
    .wmds-home-v2 .wmds-hero-background{
        min-height:540px;
    }
    .wmds-home-v2 .wmds-hero-bg img{
        object-position:68% center;
    }
    .wmds-home-v2 .wmds-hero-overlay{
        background:linear-gradient(90deg,rgba(13,13,13,.98),rgba(13,13,13,.82) 60%,rgba(13,13,13,.48));
    }
    .wmds-home-v2 .wmds-hero-background .wmds-hero-copy{
        width:100%;
        padding:38px 24px;
    }
    body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation ul{
        grid-template-columns:1fr;
    }
    body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content{
        padding:22px!important;
    }
    body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .woocommerce-Addresses,
    body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .woocommerce-columns{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   V2.2.1 — FINAL SHOP SIDEBAR + HOME TITLE WRAP
   ========================================================= */

/* HOME: prevent "S." from wrapping alone */
.wmds-home-v2 .wmds-hero-background .wmds-hero-copy{
    width:min(720px,64%)!important;
}
.wmds-home-v2 .wmds-hero-background h1{
    font-size:clamp(46px,5vw,68px)!important;
    line-height:1!important;
    max-width:700px!important;
    text-wrap:balance;
}
.wmds-home-v2 .wmds-hero-background h1 span{
    display:inline-block;
    max-width:100%;
}
@media(min-width:1100px){
    .wmds-home-v2 .wmds-hero-background h1{
        font-size:64px!important;
    }
}
@media(max-width:900px){
    .wmds-home-v2 .wmds-hero-background .wmds-hero-copy{
        width:76%!important;
    }
}
@media(max-width:620px){
    .wmds-home-v2 .wmds-hero-background .wmds-hero-copy{
        width:100%!important;
    }
    .wmds-home-v2 .wmds-hero-background h1{
        font-size:44px!important;
    }
}

/* SHOP SIDEBAR — one contained panel */
body.wmds-shop-v2 #secondary,
body.wmds-shop-v2 .ct-sidebar,
body.wmds-shop-v2 aside[data-sidebar]{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:310px!important;
    min-width:260px!important;
    padding:22px!important;
    background:#171717!important;
    border:1px solid #333!important;
    border-radius:var(--wm-radius)!important;
    box-shadow:0 18px 50px rgba(0,0,0,.18)!important;
    overflow:hidden!important;
    align-self:start!important;
}

/* Avoid double cards inside the sidebar */
body.wmds-shop-v2 #secondary .widget,
body.wmds-shop-v2 .ct-sidebar .widget,
body.wmds-shop-v2 aside[data-sidebar] .widget{
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0 0 22px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}
body.wmds-shop-v2 #secondary .widget:last-child,
body.wmds-shop-v2 .ct-sidebar .widget:last-child,
body.wmds-shop-v2 aside[data-sidebar] .widget:last-child{
    margin-bottom:0!important;
}

/* Search */
body.wmds-shop-v2 #secondary .wp-block-search,
body.wmds-shop-v2 .ct-sidebar .wp-block-search{
    margin-bottom:22px!important;
}
body.wmds-shop-v2 #secondary input[type="search"],
body.wmds-shop-v2 .ct-sidebar input[type="search"]{
    width:100%!important;
    height:44px!important;
    color:#eee!important;
    background:#111!important;
    border:1px solid #343434!important;
}
body.wmds-shop-v2 #secondary .wp-block-search__inside-wrapper,
body.wmds-shop-v2 .ct-sidebar .wp-block-search__inside-wrapper{
    width:100%!important;
}

/* Category container */
body.wmds-shop-v2 #secondary .product-categories,
body.wmds-shop-v2 .ct-sidebar .product-categories,
body.wmds-shop-v2 #secondary .wc-block-product-categories-list,
body.wmds-shop-v2 .ct-sidebar .wc-block-product-categories-list{
    display:grid!important;
    gap:6px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

/* Main categories */
body.wmds-shop-v2 .product-categories > li,
body.wmds-shop-v2 .wc-block-product-categories-list > li{
    width:100%!important;
    margin:0!important;
}
body.wmds-shop-v2 .product-categories > li > a,
body.wmds-shop-v2 .wc-block-product-categories-list > li > a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:42px!important;
    padding:10px 11px!important;
    color:#efefec!important;
    background:#1c1c1c!important;
    border:1px solid #2d2d2d!important;
    border-radius:10px!important;
    font-weight:600!important;
    text-decoration:none!important;
    line-height:1.3!important;
}

/* Dot marker */
body.wmds-shop-v2 .product-categories > li > a:before,
body.wmds-shop-v2 .wc-block-product-categories-list > li > a:before{
    content:""!important;
    width:5px!important;
    height:5px!important;
    flex:0 0 5px!important;
    margin-right:9px!important;
    border-radius:50%!important;
    background:#5a5a5a!important;
}

/* Active/hover main category */
body.wmds-shop-v2 .product-categories > li > a:hover,
body.wmds-shop-v2 .product-categories > li.current-cat > a,
body.wmds-shop-v2 .product-categories > li.current-cat-parent > a,
body.wmds-shop-v2 .wc-block-product-categories-list > li > a:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.08)!important;
    border-color:rgba(195,150,85,.32)!important;
}
body.wmds-shop-v2 .product-categories > li.current-cat > a:before,
body.wmds-shop-v2 .product-categories > li.current-cat-parent > a:before{
    background:var(--wm-gold)!important;
}

/* Subcategories */
body.wmds-shop-v2 .product-categories .children,
body.wmds-shop-v2 .wc-block-product-categories-list ul{
    display:grid!important;
    gap:3px!important;
    margin:6px 0 2px 14px!important;
    padding:4px 0 4px 12px!important;
    border-left:1px solid rgba(195,150,85,.22)!important;
    list-style:none!important;
}
body.wmds-shop-v2 .product-categories .children li,
body.wmds-shop-v2 .wc-block-product-categories-list ul li{
    margin:0!important;
    width:100%!important;
}
body.wmds-shop-v2 .product-categories .children li a,
body.wmds-shop-v2 .wc-block-product-categories-list ul li a{
    display:flex!important;
    align-items:center!important;
    min-height:34px!important;
    width:100%!important;
    padding:7px 9px!important;
    color:#bcbcb8!important;
    background:transparent!important;
    border:0!important;
    border-radius:8px!important;
    font-size:14px!important;
    font-weight:500!important;
}
body.wmds-shop-v2 .product-categories .children li a:before,
body.wmds-shop-v2 .wc-block-product-categories-list ul li a:before{
    content:""!important;
    width:4px!important;
    height:4px!important;
    flex:0 0 4px!important;
    margin-right:8px!important;
    border-radius:50%!important;
    background:#555!important;
}
body.wmds-shop-v2 .product-categories .children li a:hover,
body.wmds-shop-v2 .product-categories .children li.current-cat > a,
body.wmds-shop-v2 .wc-block-product-categories-list ul li a:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.05)!important;
}

/* Sidebar titles */
body.wmds-shop-v2 #secondary .widget-title,
body.wmds-shop-v2 .ct-sidebar .widget-title{
    margin:0 0 12px!important;
    padding:0 0 11px!important;
    color:#fff!important;
    border-bottom:1px solid #2e2e2e!important;
    font-size:15px!important;
    font-weight:700!important;
}

/* Prevent sidebar text from spilling out */
body.wmds-shop-v2 #secondary *,
body.wmds-shop-v2 .ct-sidebar *{
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow-wrap:anywhere;
}

@media(max-width:900px){
    body.wmds-shop-v2 #secondary,
    body.wmds-shop-v2 .ct-sidebar,
    body.wmds-shop-v2 aside[data-sidebar]{
        max-width:none!important;
        min-width:0!important;
        width:100%!important;
    }
}


/* =========================================================
   V2.2.2 — LEGAL FOOTER MENU
   ========================================================= */
.wmds-legal-footer{
    width:100%;
    background:#0d0d0d;
    border-top:1px solid rgba(195,150,85,.18);
    margin-top:40px;
}
.wmds-legal-footer-inner{
    width:min(1180px,calc(100% - 42px));
    margin:0 auto;
    min-height:110px;
    display:grid;
    grid-template-columns:1fr auto auto;
    align-items:center;
    gap:34px;
    padding:24px 0;
}
.wmds-legal-footer-brand{
    display:grid;
    gap:4px;
}
.wmds-legal-footer-brand strong{
    color:#f5f5f2;
    font-size:15px;
}
.wmds-legal-footer-brand span{
    color:#7f7f7b;
    font-size:12px;
    letter-spacing:.05em;
}
.wmds-legal-footer-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px 22px;
}
.wmds-legal-footer-nav a{
    color:#aaa9a5;
    font-size:13px;
    text-decoration:none;
    white-space:nowrap;
}
.wmds-legal-footer-nav a:hover{
    color:var(--wm-gold);
}
.wmds-legal-footer-copy{
    color:#6f6f6c;
    font-size:12px;
    white-space:nowrap;
}
@media(max-width:900px){
    .wmds-legal-footer-inner{
        grid-template-columns:1fr;
        text-align:center;
        gap:16px;
        padding:28px 0;
    }
    .wmds-legal-footer-brand{
        justify-items:center;
    }
    .wmds-legal-footer-copy{
        white-space:normal;
    }
}


/* =========================================================
   V2.2.3 — MY ACCOUNT SIDEBAR + HEADER ICONS
   ========================================================= */

/* MY ACCOUNT: give the navigation enough room and prevent label overflow */
body.woocommerce-account.wmds-v2 .woocommerce{
    width:min(1240px,calc(100% - 56px))!important;
    grid-template-columns:320px minmax(0,1fr)!important;
    gap:42px!important;
}

body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
    width:320px!important;
    min-width:320px!important;
    max-width:320px!important;
    padding:16px!important;
    overflow:hidden!important;
}

body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation ul{
    width:100%!important;
    margin:0!important;
    padding:0!important;
}

body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li{
    width:100%!important;
    margin:0!important;
}

body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a{
    width:100%!important;
    min-height:50px!important;
    display:flex!important;
    align-items:center!important;
    gap:13px!important;
    padding:12px 14px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    box-sizing:border-box!important;
}

body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a:before,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a .dashicons,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a svg{
    flex:0 0 auto!important;
}

body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a span,
body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a{
    max-width:100%!important;
}

body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content{
    min-width:0!important;
    padding:38px!important;
}

/* Header account/cart icon buttons */
.wmds-v2 .wmds-header-icon-item{
    display:flex!important;
    align-items:center!important;
}

.wmds-v2 .wmds-header-icon-link{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    background:#171717!important;
    color:#f0f0ed!important;
    line-height:1!important;
}

.wmds-v2 .wmds-header-icon-link:hover{
    color:var(--wm-gold)!important;
    border-color:rgba(195,150,85,.45)!important;
    background:rgba(195,150,85,.06)!important;
}

.wmds-v2 .wmds-header-icon-link svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

.wmds-v2 .wmds-header-icon-item + .wmds-header-icon-item{
    margin-left:6px!important;
}

.wmds-v2 .wmds-header-icon-cart{
    margin-right:10px!important;
}

.wmds-v2 .screen-reader-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}

@media(max-width:1000px){
    body.woocommerce-account.wmds-v2 .woocommerce{
        grid-template-columns:280px minmax(0,1fr)!important;
        gap:26px!important;
    }
    body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
        width:280px!important;
        min-width:280px!important;
        max-width:280px!important;
    }
}

@media(max-width:900px){
    body.woocommerce-account.wmds-v2 .woocommerce{
        grid-template-columns:1fr!important;
    }
    body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}


/* =========================================================
   V2.2.4 — ACCOUNT HARD OVERRIDE + HEADER ICON POSITION
   ========================================================= */

/* Force My Account layout independently of Blocksy/Woo defaults */
html body.woocommerce-account.wmds-v2 main#main,
html body.woocommerce-account.wmds-v2 .site-main{
    overflow:visible!important;
}

html body.woocommerce-account.wmds-v2 .site-main .woocommerce,
html body.woocommerce-account.wmds-v2 main#main .woocommerce,
html body.woocommerce-account.wmds-v2 article .woocommerce{
    display:grid!important;
    grid-template-columns:360px minmax(0,1fr)!important;
    gap:44px!important;
    align-items:start!important;
    width:min(1280px,calc(100vw - 80px))!important;
    max-width:1280px!important;
    margin:0 auto!important;
    padding:0!important;
}

html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
    float:none!important;
    position:relative!important;
    width:360px!important;
    min-width:360px!important;
    max-width:360px!important;
    flex:0 0 360px!important;
    padding:18px!important;
    margin:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:var(--wm-radius)!important;
}

html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation ul{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
}

html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    padding:12px 14px!important;
    gap:14px!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    word-break:keep-all!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.25!important;
}

html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation li a *{
    white-space:normal!important;
    overflow:visible!important;
}

html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content{
    float:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:40px!important;
    box-sizing:border-box!important;
}

/* Make dashboard content less cramped */
html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .woocommerce-dashboard,
html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content > div{
    max-width:none!important;
}

html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .wmds-account-dashboard,
html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-content .dashboard-cards{
    gap:22px!important;
}

/* Header icons: push them toward the right edge of the primary menu */
.wmds-v2 header#header ul.menu,
.wmds-v2 .ct-header ul.menu{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
}

.wmds-v2 header#header .wmds-header-icon-account,
.wmds-v2 .ct-header .wmds-header-icon-account{
    margin-left:auto!important;
}

.wmds-v2 header#header .wmds-header-icon-cart,
.wmds-v2 .ct-header .wmds-header-icon-cart{
    margin-left:6px!important;
    margin-right:4px!important;
}

/* When Blocksy uses header items with spacing, reduce gap around icon items */
.wmds-v2 .wmds-header-icon-item{
    margin-top:0!important;
    margin-bottom:0!important;
}
.wmds-v2 .wmds-header-icon-link{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
}

/* Desktop account layout */
@media(min-width:901px){
    html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
        position:sticky!important;
        top:120px!important;
    }
}

/* Tablet/mobile */
@media(max-width:1050px){
    html body.woocommerce-account.wmds-v2 .site-main .woocommerce,
    html body.woocommerce-account.wmds-v2 main#main .woocommerce,
    html body.woocommerce-account.wmds-v2 article .woocommerce{
        grid-template-columns:300px minmax(0,1fr)!important;
        gap:28px!important;
        width:min(100% - 34px,1180px)!important;
    }
    html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
        width:300px!important;
        min-width:300px!important;
        max-width:300px!important;
        flex-basis:300px!important;
    }
}
@media(max-width:900px){
    html body.woocommerce-account.wmds-v2 .site-main .woocommerce,
    html body.woocommerce-account.wmds-v2 main#main .woocommerce,
    html body.woocommerce-account.wmds-v2 article .woocommerce{
        grid-template-columns:1fr!important;
        width:min(100% - 28px,1180px)!important;
    }
    html body.woocommerce-account.wmds-v2 .woocommerce-MyAccount-navigation{
        position:static!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}


/* =========================================================
   V2.2.5 — RUNTIME ACCOUNT WRAPPER + HEADER ACTION CLUSTER
   ========================================================= */

/* New account wrapper created by JS */
body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout{
    width:min(1280px,calc(100vw - 72px));
    max-width:1280px;
    margin:0 auto;
    display:grid;
    grid-template-columns:370px minmax(0,1fr);
    gap:36px;
    align-items:start;
}

/* Neutralise old Woo/Blocksy sizing once moved into our wrapper */
body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation{
    float:none!important;
    position:sticky!important;
    top:110px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:18px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:var(--wm-radius)!important;
    box-shadow:0 18px 46px rgba(0,0,0,.18)!important;
}

body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation ul{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation li{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
}

body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation li a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:52px!important;
    padding:12px 15px!important;
    gap:13px!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.25!important;
    color:#efefed!important;
    border:1px solid transparent!important;
    border-radius:10px!important;
    font-size:15px!important;
}

body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation li a:hover{
    color:var(--wm-gold)!important;
    background:#101010!important;
    border-color:rgba(195,150,85,.30)!important;
}

/* Ensure labels never clip */
body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation li a,
body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation li a *{
    max-width:none!important;
    overflow:visible!important;
    white-space:normal!important;
}

body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-content{
    float:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:38px!important;
    box-sizing:border-box!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:var(--wm-radius)!important;
    box-shadow:0 18px 46px rgba(0,0,0,.15)!important;
}

/* Hide empty original Woo container spacing after children are moved */
body.woocommerce-account.wmds-v2 .woocommerce.wmds-account-source-empty{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
}

/* Header action cluster inserted immediately before quote button */
.wmds-header-actions-cluster{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    margin-right:10px!important;
    flex:0 0 auto!important;
}

.wmds-header-actions-cluster .wmds-action-icon{
    width:40px!important;
    height:40px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    text-decoration:none!important;
    transition:.2s ease!important;
}

.wmds-header-actions-cluster .wmds-action-icon:hover{
    color:var(--wm-gold)!important;
    border-color:rgba(195,150,85,.5)!important;
    background:rgba(195,150,85,.06)!important;
}

.wmds-header-actions-cluster .wmds-action-icon svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

/* Hide the old account/cart menu items once custom cluster exists */
body.wmds-header-cluster-ready .wmds-header-icon-item{
    display:none!important;
}

@media(max-width:1050px){
    body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout{
        width:min(100% - 34px,1180px);
        grid-template-columns:320px minmax(0,1fr);
        gap:26px;
    }
}

@media(max-width:900px){
    body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout{
        grid-template-columns:1fr;
        width:min(100% - 28px,1180px);
    }
    body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation{
        position:static!important;
    }
    body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation ul{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

@media(max-width:620px){
    body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-navigation ul{
        grid-template-columns:1fr!important;
    }
    body.woocommerce-account.wmds-v2 .wmds-account-runtime-layout .woocommerce-MyAccount-content{
        padding:22px!important;
    }
}


/* =========================================================
   V2.2.6 — CUSTOM ACCOUNT NAV + GUARANTEED HEADER ICONS
   ========================================================= */

/* Hide Woo's original navigation once custom nav exists */
body.woocommerce-account.wmds-v2.wmds-custom-account-ready .woocommerce-MyAccount-navigation{
    display:none!important;
}

/* Our independent account layout */
body.woocommerce-account.wmds-v2 .wmds-account-custom-layout{
    width:min(1240px,calc(100vw - 70px));
    margin:0 auto;
    display:grid;
    grid-template-columns:320px minmax(0,1fr);
    gap:38px;
    align-items:start;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-nav{
    position:sticky;
    top:110px;
    width:100%;
    padding:16px;
    background:#171717;
    border:1px solid #343434;
    border-radius:var(--wm-radius);
    box-shadow:0 18px 48px rgba(0,0,0,.18);
    box-sizing:border-box;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-nav ul{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:6px;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-nav li{
    margin:0;
    padding:0;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-nav a{
    display:flex;
    align-items:center;
    gap:13px;
    width:100%;
    min-height:50px;
    padding:12px 14px;
    box-sizing:border-box;
    color:#efefec;
    text-decoration:none;
    border:1px solid transparent;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    line-height:1.25;
    white-space:normal;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-nav a:hover,
body.woocommerce-account.wmds-v2 .wmds-account-custom-nav li.is-active a{
    color:var(--wm-gold);
    background:#101010;
    border-color:rgba(195,150,85,.30);
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-nav .wmds-account-nav-icon{
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    flex:0 0 22px;
    color:currentColor;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-nav .wmds-account-nav-icon svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-content{
    min-width:0;
    background:#171717;
    border:1px solid #343434;
    border-radius:var(--wm-radius);
    padding:38px;
    box-shadow:0 18px 48px rgba(0,0,0,.15);
    box-sizing:border-box;
}

body.woocommerce-account.wmds-v2 .wmds-account-custom-content .woocommerce-MyAccount-content{
    display:block!important;
    float:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}

/* Header action group placed immediately before quote CTA */
.wmds-header-actions-fixed{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    margin-right:10px!important;
    flex:0 0 auto!important;
}

.wmds-header-actions-fixed a{
    width:40px!important;
    height:40px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    text-decoration:none!important;
}

.wmds-header-actions-fixed a:hover{
    color:var(--wm-gold)!important;
    border-color:rgba(195,150,85,.5)!important;
    background:rgba(195,150,85,.06)!important;
}

.wmds-header-actions-fixed svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

/* Hide any previous menu based icons */
body.wmds-v2 .wmds-header-icon-item,
body.wmds-v2 .wmds-header-actions-cluster{
    display:none!important;
}

@media(max-width:950px){
    body.woocommerce-account.wmds-v2 .wmds-account-custom-layout{
        grid-template-columns:1fr;
        width:min(100% - 30px,1180px);
    }
    body.woocommerce-account.wmds-v2 .wmds-account-custom-nav{
        position:static;
    }
    body.woocommerce-account.wmds-v2 .wmds-account-custom-nav ul{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    body.woocommerce-account.wmds-v2 .wmds-account-custom-nav ul{
        grid-template-columns:1fr;
    }
    body.woocommerce-account.wmds-v2 .wmds-account-custom-content{
        padding:22px;
    }
}


/* =========================================================
   V2.3.0 — PHOTOGRAPHY PORTFOLIO
   ========================================================= */
.wmds-photo-page{
    padding-top:65px;
}
.wmds-photo-hero{
    min-height:420px;
    background:
        radial-gradient(circle at 82% 20%, rgba(195,150,85,.11), transparent 24%),
        linear-gradient(130deg,rgba(195,150,85,.06),transparent 34%),
        #161616;
}
.wmds-photo-intro{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:end;
    margin:0 0 60px;
}
.wmds-photo-intro h2{
    font-size:clamp(40px,5vw,62px);
    line-height:1.04;
    margin:0;
}
.wmds-photo-intro p{
    margin:0 0 6px;
    max-width:540px;
}
.wmds-photo-gallery{
    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:22px;
    align-items:stretch;
    margin-bottom:80px;
}
.wmds-photo-item{
    position:relative;
    margin:0;
    overflow:hidden;
    border:1px solid #343434;
    border-radius:var(--wm-radius);
    background:#161616;
    min-height:620px;
}
.wmds-photo-wide{
    min-height:620px;
}
.wmds-photo-tall{
    min-height:620px;
}
.wmds-photo-item img{
    width:100%;
    height:100%;
    min-height:620px;
    object-fit:cover;
    display:block;
    transition:transform .45s ease, filter .45s ease;
}
.wmds-photo-wide img{
    object-position:center;
}
.wmds-photo-tall img{
    object-position:center;
}
.wmds-photo-item:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.82));
    pointer-events:none;
}
.wmds-photo-item:hover img{
    transform:scale(1.025);
    filter:brightness(1.04);
}
.wmds-photo-item figcaption{
    position:absolute;
    left:28px;
    right:28px;
    bottom:24px;
    z-index:2;
    display:grid;
    grid-template-columns:44px 1fr;
    gap:14px;
    align-items:end;
}
.wmds-photo-item figcaption > span{
    color:var(--wm-gold);
    font-weight:800;
    font-size:14px;
    padding-bottom:4px;
}
.wmds-photo-item figcaption strong{
    display:block;
    color:#fff;
    font-size:24px;
    line-height:1.1;
}
.wmds-photo-item figcaption small{
    display:block;
    margin-top:6px;
    color:#c0bfbb;
    font-size:12px;
    letter-spacing:.04em;
}
.wmds-photo-note{
    padding:42px;
    border:1px solid rgba(195,150,85,.22);
    border-radius:var(--wm-radius);
    background:linear-gradient(120deg,rgba(195,150,85,.07),transparent 45%),#171717;
    text-align:center;
}
.wmds-photo-note h3{
    font-size:34px;
    margin:0 0 8px;
}
.wmds-photo-note p{
    margin:0;
}
@media(max-width:900px){
    .wmds-photo-intro,
    .wmds-photo-gallery{
        grid-template-columns:1fr;
        gap:24px;
    }
    .wmds-photo-item,
    .wmds-photo-item img{
        min-height:480px;
    }
}
@media(max-width:620px){
    .wmds-photo-item,
    .wmds-photo-item img{
        min-height:380px;
    }
    .wmds-photo-item figcaption{
        left:18px;
        right:18px;
        bottom:18px;
    }
    .wmds-photo-item figcaption strong{
        font-size:20px;
    }
}

/* =========================================================
   V2.3.0 — GUARANTEED HEADER ACCOUNT/CART ICONS
   ========================================================= */
.wmds-header-actions-v230{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    margin-right:10px!important;
    flex:0 0 auto!important;
}
.wmds-header-actions-v230 a{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    text-decoration:none!important;
    box-sizing:border-box!important;
}
.wmds-header-actions-v230 a:hover{
    color:var(--wm-gold)!important;
    border-color:rgba(195,150,85,.52)!important;
    background:rgba(195,150,85,.06)!important;
}
.wmds-header-actions-v230 svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
body.wmds-v2 .wmds-header-actions-fixed,
body.wmds-v2 .wmds-header-actions-cluster,
body.wmds-v2 .wmds-header-icon-item{
    display:none!important;
}


/* =========================================================
   V2.3.1 — CLEAN PHOTOGRAPHY PAGE
   ========================================================= */
.wmds-photo-hero p{
    display:none!important;
}

.wmds-photo-intro{
    grid-template-columns:1fr!important;
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

.wmds-photo-gallery{
    grid-template-columns:1.25fr .75fr;
}

.wmds-photo-item figcaption{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    left:24px!important;
    right:24px!important;
    bottom:24px!important;
    text-align:center!important;
}

.wmds-photo-item figcaption > span,
.wmds-photo-item figcaption small{
    display:none!important;
}

.wmds-photo-item figcaption strong{
    font-size:25px!important;
    line-height:1.1!important;
}

.wmds-photo-note p{
    display:none!important;
}

.wmds-photo-note{
    padding:46px 30px!important;
}

/* =========================================================
   V2.3.1 — FOOTER MENU
   ========================================================= */
.wmds-legal-footer{
    width:100%;
    margin-top:40px;
    background:#0d0d0d;
    border-top:1px solid rgba(195,150,85,.20);
}

.wmds-legal-footer-inner{
    width:min(1180px,calc(100% - 42px));
    margin:0 auto;
    padding:28px 0;
    display:grid;
    grid-template-columns:minmax(210px,1fr) auto auto;
    align-items:center;
    gap:32px;
}

.wmds-legal-footer-brand{
    display:grid;
    gap:4px;
}

.wmds-legal-footer-brand strong{
    color:#f5f5f2;
    font-size:15px;
}

.wmds-legal-footer-brand span{
    color:#777773;
    font-size:12px;
}

.wmds-legal-footer-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 22px;
}

.wmds-legal-footer-nav a{
    color:#a7a7a3;
    font-size:13px;
    text-decoration:none;
}

.wmds-legal-footer-nav a:hover{
    color:var(--wm-gold);
}

.wmds-legal-footer-copy{
    color:#6e6e6a;
    font-size:12px;
    white-space:nowrap;
}

@media(max-width:900px){
    .wmds-photo-gallery{
        grid-template-columns:1fr!important;
    }

    .wmds-legal-footer-inner{
        grid-template-columns:1fr;
        text-align:center;
        gap:16px;
    }

    .wmds-legal-footer-brand{
        justify-items:center;
    }

    .wmds-legal-footer-copy{
        white-space:normal;
    }
}


/* =========================================================
   V2.3.2 — VERTICAL FOOTER MENU
   ========================================================= */
.wmds-legal-footer-inner{
    grid-template-columns:minmax(220px,1fr) 320px auto!important;
    align-items:start!important;
}

.wmds-legal-footer-nav{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:10px!important;
}

.wmds-legal-footer-nav a{
    display:block!important;
    width:100%!important;
    padding:3px 0!important;
}

.wmds-legal-footer-copy{
    align-self:end!important;
}

@media(max-width:900px){
    .wmds-legal-footer-inner{
        grid-template-columns:1fr!important;
        align-items:center!important;
    }

    .wmds-legal-footer-nav{
        align-items:center!important;
    }

    .wmds-legal-footer-copy{
        align-self:auto!important;
    }
}

/* =========================================================
   V2.3.2 — HEADER ICONS, GUARANTEED
   ========================================================= */
.wmds-header-actions-v232{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    margin-left:14px!important;
    margin-right:10px!important;
    flex:0 0 auto!important;
    position:relative!important;
    z-index:9999!important;
}

.wmds-header-actions-v232 .wmds-header-action-button{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    flex:0 0 40px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    margin:0!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    text-decoration:none!important;
    box-sizing:border-box!important;
    visibility:visible!important;
    opacity:1!important;
}

.wmds-header-actions-v232 .wmds-header-action-button:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.07)!important;
    border-color:rgba(195,150,85,.55)!important;
}

.wmds-header-actions-v232 svg{
    display:block!important;
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

/* Old icon systems stay hidden so only the new cluster is used */
.wmds-header-actions-v230,
.wmds-header-actions-fixed,
.wmds-header-actions-cluster,
.wmds-header-icon-item{
    display:none!important;
}


/* =========================================================
   V2.4.0 — CLEAN CUSTOM HEADER
   ========================================================= */
.wmds-main-nav-v240{
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:34px!important;
    min-height:72px!important;
    font-size:13px!important;
    font-weight:700!important;
    white-space:nowrap!important;
    position:relative!important;
    z-index:9999!important;
}

.wmds-main-nav-v240 > a,
.wmds-nav-parent-v240{
    color:#f2f2ef!important;
    text-decoration:none!important;
    transition:.2s ease!important;
}

.wmds-main-nav-v240 > a:hover,
.wmds-nav-parent-v240:hover{
    color:var(--wm-gold)!important;
}

.wmds-nav-dropdown-v240{
    position:relative!important;
}

.wmds-nav-parent-v240{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
}

.wmds-nav-parent-v240 span{
    font-size:11px!important;
    opacity:.7;
}

.wmds-nav-submenu-v240{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 16px)!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:180px!important;
    padding:8px!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:12px!important;
    box-shadow:0 20px 45px rgba(0,0,0,.32)!important;
}

.wmds-nav-dropdown-v240:hover .wmds-nav-submenu-v240{
    display:block!important;
}

.wmds-nav-submenu-v240:before{
    content:""!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:-18px!important;
    height:20px!important;
}

.wmds-nav-submenu-v240 a{
    display:block!important;
    padding:11px 12px!important;
    color:#e5e5e2!important;
    text-decoration:none!important;
    border-radius:8px!important;
}

.wmds-nav-submenu-v240 a:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.07)!important;
}

.wmds-nav-spacer-v240{
    width:10px!important;
}

.wmds-nav-icon-v240{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    margin-left:-24px!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    background:#171717!important;
}

.wmds-nav-icon-v240 + .wmds-nav-icon-v240{
    margin-left:-27px!important;
}

.wmds-nav-icon-v240 svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

.wmds-nav-cta-v240{
    margin-left:-18px!important;
    padding:11px 20px!important;
    border:1px solid #eee!important;
    border-radius:12px!important;
    color:#fff!important;
}

.wmds-nav-cta-v240:hover{
    border-color:var(--wm-gold)!important;
    color:var(--wm-gold)!important;
}

/* Hide legacy generated icon/header systems */
.wmds-header-actions-v232,
.wmds-header-actions-v230,
.wmds-header-actions-fixed,
.wmds-header-actions-cluster,
.wmds-header-icon-item{
    display:none!important;
}

/* =========================================================
   V2.4.0 — LEGAL PAGE DESIGN
   ========================================================= */
.wmds-legal-page{
    padding-top:64px!important;
}

.wmds-legal-v2-hero{
    position:relative;
    min-height:390px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:60px;
    margin-bottom:55px;
    overflow:hidden;
    border:1px solid rgba(195,150,85,.20);
    border-radius:var(--wm-radius);
    background:
        radial-gradient(circle at 84% 18%,rgba(195,150,85,.12),transparent 24%),
        linear-gradient(125deg,rgba(195,150,85,.08),transparent 32%),
        #161616;
}

.wmds-legal-v2-hero:after{
    content:"WM";
    position:absolute;
    right:-20px;
    bottom:-58px;
    font-size:210px;
    font-weight:900;
    color:transparent;
    -webkit-text-stroke:1px rgba(195,150,85,.10);
}

.wmds-legal-v2-hero h1{
    max-width:850px;
    margin:0 0 18px;
    font-size:clamp(48px,6vw,76px);
    line-height:.98;
}

.wmds-legal-v2-hero p{
    max-width:700px;
    margin:0;
    font-size:16px;
}

.wmds-legal-v2-layout{
    display:grid;
    grid-template-columns:270px minmax(0,1fr);
    gap:48px;
    align-items:start;
}

.wmds-legal-v2-index{
    position:sticky;
    top:110px;
    display:grid;
    gap:4px;
    padding:20px;
    border:1px solid #333;
    border-radius:var(--wm-radius);
    background:#171717;
}

.wmds-legal-v2-index .wmds-kicker{
    margin-bottom:10px;
}

.wmds-legal-v2-index a{
    display:block;
    padding:9px 10px;
    color:#aeadab;
    text-decoration:none;
    border-radius:8px;
    font-size:13px;
}

.wmds-legal-v2-index a:hover{
    color:var(--wm-gold);
    background:rgba(195,150,85,.06);
}

.wmds-legal-v2-content{
    border-top:1px solid #343434;
}

.wmds-legal-v2-content > section{
    display:grid;
    grid-template-columns:64px 1fr;
    gap:20px;
    padding:32px 0 36px;
    border-bottom:1px solid #303030;
    scroll-margin-top:110px;
}

.wmds-legal-v2-content > section > span{
    color:var(--wm-gold);
    font-weight:800;
    font-size:15px;
    padding-top:7px;
}

.wmds-legal-v2-content h2{
    margin:0 0 12px;
    color:#fff;
    font-size:clamp(24px,3vw,34px);
}

.wmds-legal-v2-content p,
.wmds-legal-v2-content li{
    color:#b7b7b3;
    line-height:1.75;
}

.wmds-legal-v2-content ul{
    margin:10px 0 0;
}

.wmds-legal-v2-contact{
    margin-top:36px;
    padding:34px;
    border:1px solid rgba(195,150,85,.25);
    border-radius:var(--wm-radius);
    background:linear-gradient(120deg,rgba(195,150,85,.08),transparent 48%),#171717;
}

.wmds-legal-v2-contact h3{
    margin:0 0 8px;
    font-size:28px;
}

.wmds-legal-v2-contact a{
    color:var(--wm-gold);
    text-decoration:none;
    font-weight:700;
}

/* footer remains vertical */
.wmds-legal-footer-nav{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:10px!important;
}

@media(max-width:1100px){
    .wmds-main-nav-v240{gap:22px!important}
}

@media(max-width:900px){
    .wmds-main-nav-v240{
        gap:14px!important;
        font-size:12px!important;
    }

    .wmds-legal-v2-layout{
        grid-template-columns:1fr;
    }

    .wmds-legal-v2-index{
        position:static;
    }
}

@media(max-width:760px){
    .wmds-main-nav-v240{
        display:none!important;
    }

    .wmds-legal-v2-hero{
        min-height:auto;
        padding:36px 24px;
    }

    .wmds-legal-v2-content > section{
        grid-template-columns:42px 1fr;
        gap:12px;
    }
}


/* =========================================================
   V2.4.1 — FINAL HEADER OVERRIDE
   ========================================================= */

/* Remove all previous generated header systems */
.wmds-main-nav-v240,
.wmds-header-actions-v232,
.wmds-header-actions-v230,
.wmds-header-actions-fixed,
.wmds-header-actions-cluster,
.wmds-header-icon-item{
    display:none!important;
}

body.wmds-header-v241-ready header#header,
body.wmds-header-v241-ready .ct-header,
body.wmds-header-v241-ready header{
    position:relative!important;
    min-height:92px!important;
}

.wmds-header-v241{
    position:absolute!important;
    top:50%!important;
    right:44px!important;
    transform:translateY(-50%)!important;
    z-index:99999!important;
    display:flex!important;
    align-items:center!important;
    gap:32px!important;
    white-space:nowrap!important;
    font-size:13px!important;
    font-weight:700!important;
}

.wmds-header-v241 a{
    text-decoration:none!important;
}

.wmds-v241-link{
    color:#f3f3f0!important;
    transition:.2s ease!important;
}

.wmds-v241-link:hover{
    color:var(--wm-gold)!important;
}

.wmds-v241-dropdown{
    position:relative!important;
}

.wmds-v241-parent{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
}

.wmds-v241-parent span{
    opacity:.72!important;
    font-size:11px!important;
}

.wmds-v241-submenu{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 15px)!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:170px!important;
    padding:8px!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:12px!important;
    box-shadow:0 18px 42px rgba(0,0,0,.32)!important;
}

.wmds-v241-dropdown:hover .wmds-v241-submenu{
    display:block!important;
}

.wmds-v241-submenu:before{
    content:""!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:-18px!important;
    height:20px!important;
}

.wmds-v241-submenu a{
    display:block!important;
    padding:11px 12px!important;
    color:#e6e6e3!important;
    border-radius:8px!important;
}

.wmds-v241-submenu a:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.07)!important;
}

.wmds-v241-actions{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    margin-left:8px!important;
}

.wmds-v241-icon{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
}

.wmds-v241-icon:hover{
    color:var(--wm-gold)!important;
    border-color:rgba(195,150,85,.5)!important;
    background:rgba(195,150,85,.06)!important;
}

.wmds-v241-icon svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

.wmds-v241-cta{
    margin-left:8px!important;
    padding:11px 20px!important;
    color:#fff!important;
    border:1px solid #eee!important;
    border-radius:12px!important;
    transition:.2s ease!important;
}

.wmds-v241-cta:hover{
    color:var(--wm-gold)!important;
    border-color:var(--wm-gold)!important;
}

/* Force old legal/menu text hidden in header */
body.wmds-header-v241-ready header a[href*="politica-de-devolu"],
body.wmds-header-v241-ready header a[href*="termos-e-condicoes"],
body.wmds-header-v241-ready .ct-header a[href*="politica-de-devolu"],
body.wmds-header-v241-ready .ct-header a[href*="termos-e-condicoes"]{
    display:none!important;
}

@media(max-width:1180px){
    .wmds-header-v241{
        right:24px!important;
        gap:20px!important;
        font-size:12px!important;
    }
}

@media(max-width:900px){
    .wmds-header-v241{
        display:none!important;
    }
}


/* =========================================================
   V2.4.2 — NATIVE WORDPRESS MENU ICONS
   ========================================================= */

/* Disable all previous custom-header layers completely */
.wmds-header-v241,
.wmds-main-nav-v240,
.wmds-header-actions-v232,
.wmds-header-actions-v230,
.wmds-header-actions-fixed,
.wmds-header-actions-cluster,
.wmds-header-icon-item{
    display:none!important;
}

/* Original Blocksy menu remains the single source of truth */
.wmds-v2 header#header ul.menu,
.wmds-v2 .ct-header ul.menu{
    display:flex!important;
    align-items:center!important;
}

/* Account + cart now render as actual icon-only menu items */
.wmds-v2 a.wmds-native-menu-icon-link{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    line-height:1!important;
    box-sizing:border-box!important;
}

.wmds-v2 a.wmds-native-menu-icon-link:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.06)!important;
    border-color:rgba(195,150,85,.5)!important;
}

.wmds-native-menu-icon{
    width:18px!important;
    height:18px!important;
    display:block!important;
}

.wmds-native-menu-icon svg{
    width:18px!important;
    height:18px!important;
    display:block!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

/* Keep the two icon items visually grouped and close to CTA */
.wmds-v2 header#header li:has(> a.wmds-native-menu-icon-link),
.wmds-v2 .ct-header li:has(> a.wmds-native-menu-icon-link){
    margin-left:5px!important;
    margin-right:0!important;
}

/* Portfolio dropdown remains vertical */
.wmds-v2 header#header .sub-menu,
.wmds-v2 .ct-header .sub-menu{
    min-width:180px!important;
}

.wmds-v2 header#header .sub-menu li,
.wmds-v2 .ct-header .sub-menu li{
    width:100%!important;
    display:block!important;
}

/* Accessibility label */
.wmds-v2 .screen-reader-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}


/* =========================================================
   V2.4.3 — HARD REPLACEMENT HEADER
   ========================================================= */

/* Kill every previous plugin-generated menu layer */
.wmds-header-v241,
.wmds-main-nav-v240,
.wmds-header-actions-v232,
.wmds-header-actions-v230,
.wmds-header-actions-fixed,
.wmds-header-actions-cluster,
.wmds-header-icon-item{
    display:none!important;
}

body.wmds-final-header-ready header#header,
body.wmds-final-header-ready .ct-header,
body.wmds-final-header-ready header{
    position:relative!important;
    min-height:86px!important;
}

/* Independent menu positioned inside header, logo stays untouched */
.wmds-final-header-nav{
    position:absolute!important;
    right:36px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:999999!important;
    display:flex!important;
    align-items:center!important;
    gap:30px!important;
    margin:0!important;
    padding:0!important;
    font-size:13px!important;
    font-weight:700!important;
    white-space:nowrap!important;
}

.wmds-final-header-nav > a,
.wmds-final-parent{
    color:#f2f2ef!important;
    text-decoration:none!important;
    transition:.18s ease!important;
}

.wmds-final-header-nav > a:hover,
.wmds-final-parent:hover{
    color:var(--wm-gold)!important;
}

.wmds-final-dropdown{
    position:relative!important;
}

.wmds-final-parent{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
}

.wmds-final-parent span{
    font-size:11px!important;
    opacity:.7!important;
}

.wmds-final-submenu{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 15px)!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:175px!important;
    padding:8px!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:12px!important;
    box-shadow:0 18px 44px rgba(0,0,0,.34)!important;
}

.wmds-final-dropdown:hover .wmds-final-submenu{
    display:block!important;
}

.wmds-final-submenu:before{
    content:""!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:-18px!important;
    height:20px!important;
}

.wmds-final-submenu a{
    display:block!important;
    padding:11px 12px!important;
    color:#e8e8e5!important;
    text-decoration:none!important;
    border-radius:8px!important;
}

.wmds-final-submenu a:hover{
    color:var(--wm-gold)!important;
    background:rgba(195,150,85,.07)!important;
}

.wmds-final-actions{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    margin-left:4px!important;
}

.wmds-final-icon{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    text-decoration:none!important;
}

.wmds-final-icon:hover{
    color:var(--wm-gold)!important;
    border-color:rgba(195,150,85,.5)!important;
    background:rgba(195,150,85,.06)!important;
}

.wmds-final-icon svg{
    width:18px!important;
    height:18px!important;
    display:block!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

.wmds-final-cta{
    margin-left:8px!important;
    padding:11px 20px!important;
    color:#fff!important;
    border:1px solid #eee!important;
    border-radius:12px!important;
    text-decoration:none!important;
}

.wmds-final-cta:hover{
    color:var(--wm-gold)!important;
    border-color:var(--wm-gold)!important;
}

@media(max-width:1150px){
    .wmds-final-header-nav{
        right:22px!important;
        gap:19px!important;
        font-size:12px!important;
    }
}

@media(max-width:900px){
    .wmds-final-header-nav{
        display:none!important;
    }
}


/* =========================================================
   V2.4.4 — DIRECTLY FIX THE REAL BLOCKSY MENU
   ========================================================= */

/* Never show synthetic menus from earlier experiments */
.wmds-final-header-nav,
.wmds-header-v241,
.wmds-main-nav-v240,
.wmds-header-actions-v232,
.wmds-header-actions-v230,
.wmds-header-actions-fixed,
.wmds-header-actions-cluster{
    display:none!important;
}

/* Real Blocksy primary menu stays visible */
header ul.menu.wmds-menu-fixed-v244,
.ct-header ul.menu.wmds-menu-fixed-v244{
    display:flex!important;
    align-items:center!important;
}

/* Icon-only account/cart */
.wmds-top-icon-item{
    display:flex!important;
    align-items:center!important;
}

.wmds-top-icon-link{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    color:#efefec!important;
    background:#171717!important;
    border:1px solid #343434!important;
    border-radius:10px!important;
    line-height:1!important;
    box-sizing:border-box!important;
}

.wmds-top-icon-link:hover{
    color:var(--wm-gold)!important;
    border-color:rgba(195,150,85,.52)!important;
    background:rgba(195,150,85,.06)!important;
}

.wmds-menu-svg,
.wmds-menu-svg svg{
    display:block!important;
    width:18px!important;
    height:18px!important;
}

.wmds-menu-svg svg{
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

/* Keep icons grouped close to quote */
.wmds-top-icon-account{
    margin-left:5px!important;
}
.wmds-top-icon-cart{
    margin-left:6px!important;
    margin-right:4px!important;
}

/* Portfolio submenu vertical and compact */
.wmds-menu-fixed-v244 > li.menu-item-has-children > .sub-menu{
    min-width:175px!important;
}

.wmds-menu-fixed-v244 > li.menu-item-has-children > .sub-menu > li{
    width:100%!important;
    display:block!important;
}

.wmds-menu-fixed-v244 > li.menu-item-has-children > .sub-menu a{
    width:100%!important;
    display:block!important;
}

/* Ensure old More/legal entries cannot flash if marked by href */
header a[href*="politica-de-devolu"],
header a[href*="termos-e-condicoes"],
.ct-header a[href*="politica-de-devolu"],
.ct-header a[href*="termos-e-condicoes"]{
    display:none!important;
}

/* Accessibility text */
.screen-reader-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}


/* =========================================================
   V2.4.6 — FINAL ACCOUNT DUPLICATE + HEADER SPACING
   ========================================================= */

/* Give the account/cart action group more breathing room after Contacto */
.wmds-menu-fixed-v244 > .wmds-top-icon-account{
    margin-left:22px!important;
}

/* Keep account/cart paired tightly together after that gap */
.wmds-menu-fixed-v244 > .wmds-top-icon-cart{
    margin-left:6px!important;
    margin-right:6px!important;
}

/* Safety: once the custom account layout exists, any surviving original
   WooCommerce account nav is never allowed to render. */
body.woocommerce-account .wmds-account-custom-layout ~ .woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce-account .wmds-account-custom-layout ~ .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-navigation[aria-hidden="true"]{
    display:none!important;
}

/* Prevent empty Woo account shells from creating extra vertical space */
body.woocommerce-account .wmds-account-custom-layout + .woocommerce:empty{
    display:none!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
}


/* =========================================================
   V2.4.7 — WOOCOMMERCE / WOOPAYMENTS CHECKOUT
   ========================================================= */

/* Main payment container */
body.woocommerce-checkout.wmds-v2 #payment,
body.woocommerce-checkout.wmds-v2 .woocommerce-checkout-payment,
body.woocommerce-checkout.wmds-v2 .wc-block-checkout__payment-method,
body.woocommerce-checkout.wmds-v2 .wc-block-components-checkout-step--with-step-number{
    background:#181818!important;
    border:1px solid #343434!important;
    border-radius:var(--wm-radius)!important;
}

/* Classic WooCommerce gateway list */
body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods{
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}

body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods > li{
    margin:0!important;
    padding:0!important;
    background:#2a2c30!important;
    border:1px solid #4a4c50!important;
    border-bottom:0!important;
}

body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods > li:first-child{
    border-radius:12px 12px 0 0!important;
}

body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods > li:last-child{
    border-bottom:1px solid #4a4c50!important;
    border-radius:0 0 12px 12px!important;
}

body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods > li > label{
    min-height:58px!important;
    margin:0!important;
    padding:15px 18px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    color:#f5f5f2!important;
    font-weight:700!important;
    cursor:pointer!important;
}

/* Payment logos stay aligned to the right */
body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods > li > label img{
    max-height:28px!important;
    width:auto!important;
    margin-left:auto!important;
    object-fit:contain!important;
}

body.woocommerce-checkout.wmds-v2 #payment .payment_box{
    margin:0!important;
    padding:18px 24px!important;
    color:#e4e4e1!important;
    background:#222428!important;
    border-top:1px solid #4a4c50!important;
    border-radius:0!important;
}

body.woocommerce-checkout.wmds-v2 #payment .payment_box:before{
    display:none!important;
}

/* Native radio controls */
body.woocommerce-checkout.wmds-v2 #payment input[type="radio"]{
    accent-color:var(--wm-gold)!important;
}

/* WooPayments / Stripe field wrappers */
body.woocommerce-checkout.wmds-v2 .wc-payment-form,
body.woocommerce-checkout.wmds-v2 .woocommerce-SavedPaymentMethods,
body.woocommerce-checkout.wmds-v2 .wcpay-payment-element,
body.woocommerce-checkout.wmds-v2 #wcpay-payment-request-wrapper,
body.woocommerce-checkout.wmds-v2 .wcpay-express-checkout-wrapper{
    margin-top:12px!important;
}

/* WooCommerce Blocks payment methods */
body.woocommerce-checkout.wmds-v2 .wc-block-components-radio-control{
    border:1px solid #43454a!important;
    border-radius:12px!important;
    overflow:hidden!important;
    background:#2a2c30!important;
}

body.woocommerce-checkout.wmds-v2 .wc-block-components-radio-control__option{
    min-height:60px!important;
    margin:0!important;
    padding:14px 16px!important;
    background:#2a2c30!important;
    color:#f5f5f2!important;
    border-bottom:1px solid #4a4c50!important;
}

body.woocommerce-checkout.wmds-v2 .wc-block-components-radio-control__option:last-child{
    border-bottom:0!important;
}

body.woocommerce-checkout.wmds-v2 .wc-block-components-radio-control__option:has(input:checked){
    background:linear-gradient(90deg,rgba(195,150,85,.08),#2a2c30 32%)!important;
}

body.woocommerce-checkout.wmds-v2 .wc-block-components-radio-control__label{
    color:#fff!important;
    font-weight:700!important;
}

/* Place order */
body.woocommerce-checkout.wmds-v2 #place_order,
body.woocommerce-checkout.wmds-v2 .wc-block-components-checkout-place-order-button{
    width:100%!important;
    min-height:54px!important;
    background:var(--wm-gold)!important;
    color:#111!important;
    border:1px solid var(--wm-gold)!important;
    border-radius:12px!important;
    font-weight:800!important;
    box-shadow:none!important;
}

body.woocommerce-checkout.wmds-v2 #place_order:hover,
body.woocommerce-checkout.wmds-v2 .wc-block-components-checkout-place-order-button:hover{
    background:var(--wm-gold2)!important;
    border-color:var(--wm-gold2)!important;
}

/* Express checkout / WooPayments buttons:
   PayPal, Google Pay, Apple Pay and future payment-request buttons. */
body.woocommerce-checkout.wmds-v2 .wcpay-express-checkout-wrapper,
body.woocommerce-checkout.wmds-v2 .wc-block-components-express-payment,
body.woocommerce-checkout.wmds-v2 .wc-block-components-express-payment__event-buttons{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
}

body.woocommerce-checkout.wmds-v2 .wcpay-express-checkout-wrapper > *,
body.woocommerce-checkout.wmds-v2 .wc-block-components-express-payment__event-buttons > *,
body.woocommerce-checkout.wmds-v2 .wc-block-components-express-payment__event-buttons li{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
}

/* Generic express iframe/button sizing */
body.woocommerce-checkout.wmds-v2 .wcpay-express-checkout-wrapper iframe,
body.woocommerce-checkout.wmds-v2 .wc-block-components-express-payment iframe,
body.woocommerce-checkout.wmds-v2 .wc-block-components-express-payment button{
    width:100%!important;
    min-height:48px!important;
    border-radius:12px!important;
}

/* Terms checkbox / legal acknowledgement */
body.woocommerce-checkout.wmds-v2 .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout.wmds-v2 .wc-block-checkout__terms{
    margin-top:18px!important;
    color:#c5c5c1!important;
    font-size:13px!important;
    line-height:1.6!important;
}

body.woocommerce-checkout.wmds-v2 .woocommerce-terms-and-conditions-wrapper a,
body.woocommerce-checkout.wmds-v2 .wc-block-checkout__terms a{
    color:var(--wm-gold)!important;
}

/* Avoid huge extra spacing between order total, place order and express methods */
body.woocommerce-checkout.wmds-v2 #order_review,
body.woocommerce-checkout.wmds-v2 .wc-block-checkout__actions{
    row-gap:16px!important;
}

/* Checkout mobile */
@media(max-width:720px){
    body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods > li > label{
        padding:14px 13px!important;
    }

    body.woocommerce-checkout.wmds-v2 #payment ul.payment_methods > li > label img{
        max-width:45%!important;
        max-height:24px!important;
    }
}
