/*
Theme Name: Made to Be Modest
Theme URI: https://madetobemodest.com
Author: Crystal
Description: Premium WooCommerce-ready theme
Version: 2.7.0
Text Domain: made-to-be-modest
*/
:root{--warm:#fcfaf7;--bg:#f7f3ee;--taupe:#c5b7a7;--mocha:#7f6c5c;--espresso:#2e231d;--gold:#b7935f;--border:#e6ddd2;--text:#342922;--muted:#6f6258;--shadow:0 14px 40px rgba(46,35,29,.08);--max:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,var(--warm) 0%,#f9f5ef 45%,#f4eee7 100%);line-height:1.6}
h1,h2,h3,h4,.site-title,.section-kicker{font-family:"Playfair Display",Georgia,serif;color:var(--espresso);letter-spacing:.01em}
a{text-decoration:none;color:inherit}img{max-width:100%;display:block}
.site-shell{width:min(var(--max),calc(100% - 32px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(252,250,247,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(230,221,210,.9)}
.site-header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.branding{display:flex;align-items:center;gap:14px}
.logo-wrap img,.logo-fallback,.custom-logo-link img{width:54px;height:54px;border-radius:50%;object-fit:cover}
.logo-fallback{display:grid;place-items:center;background:linear-gradient(135deg,var(--espresso),var(--mocha));color:#fff;font-family:"Playfair Display",Georgia,serif;font-size:18px;box-shadow:var(--shadow)}
.site-title{margin:0;font-size:1.2rem}.site-tagline{margin:3px 0 0;color:var(--mocha);font-size:.82rem}
.main-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.main-nav ul{display:flex;align-items:center;gap:18px;list-style:none;padding:0;margin:0}
.main-nav a{color:var(--muted);font-size:.95rem}.main-nav a:hover{color:var(--espresso)}
.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid transparent!important;border-radius:999px!important;padding:14px 22px!important;font-weight:600!important;font-size:.96rem!important;line-height:1.2!important;background:var(--espresso)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;visibility:visible!important;white-space:nowrap!important;box-shadow:0 10px 24px rgba(46,35,29,.18)}
.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#201713!important}
.button .btn-label,.woocommerce a.button .btn-label{display:inline!important;color:inherit!important;-webkit-text-fill-color:inherit!important;opacity:1!important;visibility:visible!important}
.button.alt{background:rgba(255,255,255,.82)!important;color:var(--espresso)!important;-webkit-text-fill-color:var(--espresso)!important;border:1px solid var(--border)!important;box-shadow:none}
.button.alt .btn-label{color:var(--espresso)!important;-webkit-text-fill-color:var(--espresso)!important}
.section{padding:64px 0}.section-head{max-width:760px;margin-bottom:28px}
.section-kicker{color:var(--gold)!important;font-size:.92rem;text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px}
.section-head h2{margin:0 0 12px;font-size:clamp(2rem,3.4vw,3rem);line-height:1.05}
.section-head p,.hero p,.cta-panel p,.offer-card p,.proof-card span,.trust-item span,.info-card p,.legal-card p{color:var(--muted)!important;opacity:1!important;visibility:visible!important}
.hero{padding:56px 0 28px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}
.eyebrow{display:inline-flex!important;align-items:center;padding:9px 14px;border:1px solid var(--taupe);border-radius:999px;background:rgba(255,255,255,.82);font-size:.84rem;color:var(--mocha)!important;margin-bottom:18px}
.hero h1{display:block!important;margin:0 0 16px!important;font-size:clamp(2.4rem,5vw,4.8rem)!important;line-height:.98!important;color:var(--espresso)!important;-webkit-text-fill-color:var(--espresso)!important;opacity:1!important;visibility:visible!important}
.hero p{margin:0 0 24px;font-size:1.06rem;max-width:640px}
.hero-actions{display:flex!important;flex-wrap:wrap!important;gap:14px!important;margin-bottom:28px!important}
.hero-proof,.trust-grid,.why-grid,.legal-grid{display:grid;gap:18px}
.hero-proof,.why-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.trust-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.legal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.proof-card,.trust-item,.info-card,.legal-card,.offer-card,.cta-panel,.content-card,.woocommerce ul.products li.product,.woocommerce div.product{background:rgba(255,255,255,.84);border:1px solid var(--border);border-radius:26px;box-shadow:var(--shadow)}
.proof-card,.trust-item,.info-card,.legal-card,.content-card{padding:20px}
.proof-card strong,.trust-item strong{display:block;color:var(--espresso)!important;margin-bottom:6px}
.visual-card{background:linear-gradient(180deg,#fff,#f6efe8);border:1px solid var(--border);border-radius:34px;padding:18px;box-shadow:0 24px 60px rgba(46,35,29,.12)}
.visual-stage{aspect-ratio:4/5;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#f7f1ea,#efe5db);position:relative;display:grid;place-items:center}
.visual-stage img{width:100%;height:100%;object-fit:cover}
.floating-note{position:absolute;right:16px;bottom:16px;background:rgba(255,255,255,.95);border:1px solid var(--border);border-radius:18px;padding:14px 16px;max-width:240px;box-shadow:var(--shadow);font-size:.88rem;color:var(--muted)}
.floating-note strong{display:block;color:var(--espresso);margin-bottom:5px}.visual-support-box{margin-top:16px;padding:18px 20px;border-radius:22px;background:rgba(255,255,255,.92);border:1px solid var(--border);display:grid;gap:8px}.visual-support-box strong{color:var(--espresso)!important;font-size:1.02rem}.visual-support-box span{color:var(--muted)!important;font-size:.95rem}
.offer-wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:22px}
.offer-card{padding:28px}.offer-price-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:14px}.offer-regular-price{font-size:2rem;font-weight:700;color:var(--muted)!important;text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:rgba(127,108,92,.7)}.offer-sale-copy{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#f4ece3;border:1px solid var(--border);font-size:.9rem;font-weight:600;color:var(--mocha)!important}.offer-sale-price{font-size:2.5rem;font-weight:800;color:var(--espresso)!important;line-height:1}
.offer-list{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:12px}
.offer-list li{padding:12px 14px;border-radius:14px;background:#faf7f2;border:1px solid var(--border);color:var(--text)!important}
.note-line{font-size:13px;margin-top:10px;color:var(--mocha)!important}
.cta-panel{padding:34px;text-align:center;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(247,243,238,1))}
.cta-panel h2{color:var(--espresso)!important;opacity:1!important;visibility:visible!important}
.legal-card{display:block;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.legal-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(46,35,29,.12);border-color:var(--taupe)}
.site-footer{padding:28px 0 36px;color:var(--muted)}.site-footer .footer-inner{border-top:1px solid var(--border);padding-top:20px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0!important;padding:0!important;list-style:none!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:100%!important;margin:0!important;padding:18px!important;display:flex;flex-direction:column;justify-content:space-between}
.woocommerce ul.products li.product a img{border-radius:18px;margin-bottom:14px;width:100%!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce div.product .product_title{color:var(--espresso)!important;font-family:"Playfair Display",Georgia,serif;font-size:1.25rem;opacity:1!important;visibility:visible!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--espresso)!important;font-weight:700}
@media (max-width:1080px){.hero-grid,.offer-wrap,.hero-proof,.trust-grid,.why-grid,.legal-grid,.woocommerce ul.products{grid-template-columns:1fr 1fr!important}}
@media (max-width:760px){.site-header-inner{align-items:flex-start;padding:14px 0}.main-nav,.main-nav ul{gap:12px}.hero-grid,.offer-wrap,.hero-proof,.trust-grid,.why-grid,.legal-grid,.woocommerce ul.products{grid-template-columns:1fr!important}.hero{padding-top:28px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{width:100%}.hero-actions{flex-direction:column}}


.offer-wrap{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.95fr);gap:18px;align-items:stretch}
.offer-card-visual{display:flex;flex-direction:column;justify-content:flex-start;overflow:visible;position:relative;padding-left:0}
.offer-angled-stage{display:flex;justify-content:flex-start;align-items:flex-start;padding:18px 0 8px;min-height:470px}
.offer-angled-frame{position:relative;width:min(100%,360px);margin-left:-72px;padding:14px;border:1px solid rgba(197,183,167,.55);border-radius:28px;background:linear-gradient(180deg,#faf6f1 0%,#f4ede5 100%);box-shadow:0 24px 44px rgba(46,35,29,.10),0 10px 18px rgba(46,35,29,.05);transform:rotate(-8deg);transform-origin:center center;transition:transform .25s ease, box-shadow .25s ease}
.offer-angled-frame:hover{transform:rotate(-5deg) translateY(-2px);box-shadow:0 28px 52px rgba(46,35,29,.14),0 12px 22px rgba(46,35,29,.08)}
.offer-angled-frame::before{content:"";position:absolute;inset:10px;border-radius:22px;border:1px solid rgba(197,183,167,.4);pointer-events:none}
.offer-angled-frame img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:20px;background:#efe6db;box-shadow:0 10px 24px rgba(46,35,29,.08)}
.offer-visual-caption{margin-top:auto;padding:6px 8px 2px;color:var(--muted);font-size:.98rem;line-height:1.7}
.offer-visual-caption strong{color:var(--espresso);font-weight:700;margin-right:6px}
.offer-price-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.offer-regular-price{text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:rgba(46,35,29,.75)}

@media (max-width: 920px){
  .offer-wrap{grid-template-columns:1fr}
  .offer-angled-stage{min-height:auto;padding-top:6px;justify-content:center}
  .offer-angled-frame{width:min(100%,330px);margin-left:0}
}


/* Offer layout refinement v2.5.8 */
.offer-wrap{display:block}
.offer-card-floating-visual{position:relative;overflow:visible;min-height:auto;padding:42px 300px 34px 28px}
.offer-floating-visual{position:absolute;top:18px;right:34px;width:182px;pointer-events:auto;z-index:3}
.offer-card-floating-visual .offer-angled-frame{width:100%;margin-left:0;transform:rotate(9deg);transform-origin:center center;transition:transform .25s ease,box-shadow .25s ease}
.offer-card-floating-visual .offer-angled-frame:hover{transform:rotate(13deg) translateY(-4px);box-shadow:0 30px 56px rgba(46,35,29,.16),0 14px 26px rgba(46,35,29,.10)}
.offer-card-floating-visual h3,.offer-card-floating-visual .offer-price-wrap,.offer-card-floating-visual > p:first-of-type,.offer-card-floating-visual .offer-list,.offer-card-floating-visual .button,.offer-card-floating-visual .note-line{position:relative;z-index:1;max-width:none}
.offer-card-floating-visual h3{margin-bottom:16px}
.offer-card-floating-visual .offer-price-wrap{margin-bottom:16px}
.offer-card-floating-visual > p:first-of-type{margin-top:8px;margin-bottom:14px;max-width:650px}
.offer-card-floating-visual .offer-list{width:100%;max-width:none}
.offer-card-floating-visual .button,.offer-card-floating-visual .note-line{max-width:none}
.offer-card-visual,.offer-angled-stage,.offer-visual-caption{display:none!important}
@media (max-width: 980px){
  .offer-card-floating-visual{padding:28px}
  .offer-floating-visual{position:relative;top:auto;right:auto;width:min(100%,220px);margin:12px auto 24px}
  .offer-card-floating-visual .offer-angled-frame{transform:rotate(7deg)}
  .offer-card-floating-visual .offer-angled-frame:hover{transform:rotate(11deg) translateY(-4px)}
  .offer-card-floating-visual > p:first-of-type,.offer-card-floating-visual .offer-list{max-width:none}
}


/* Repair + requested alignment updates */
.offer-card-floating-visual{
  text-align:center;
  padding:42px 260px 34px 28px;
}
.offer-card-floating-visual h3{
  text-align:center;
}
.offer-card-floating-visual .offer-price-wrap{
  align-items:center;
  justify-content:center;
}
.offer-card-floating-visual > p:first-of-type{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.offer-card-floating-visual .offer-list{
  max-width:640px;
  margin:0 auto 22px;
}
.offer-card-floating-visual .offer-list li{
  text-align:center;
}
.offer-card-floating-visual .button{
  margin-left:auto;
  margin-right:auto;
}
.offer-card-floating-visual .note-line,
.site-footer,
.site-footer .footer-inner{
  text-align:center;
}
.offer-floating-visual{
  width:208px;
  right:28px;
}
.offer-card-floating-visual .offer-angled-frame img{
  width:115%;
  max-width:none;
  margin-left:-7.5%;
}
@media (max-width: 980px){
  .offer-card-floating-visual{
    padding:28px;
  }
  .offer-floating-visual{
    width:min(100%,240px);
    right:auto;
  }
  .offer-card-floating-visual .offer-angled-frame img{
    width:112%;
    margin-left:-6%;
  }
}

.offer-role-line{margin:8px 0 14px;color:#6b5848;font-size:15px;line-height:1.5;font-weight:500;}

/* Boutique shop + product refresh v2.7 */
.mtbm-shop-page{padding-top:48px}
.mtbm-shop-hero{margin-bottom:22px;text-align:center}
.mtbm-shop-hero p{max-width:760px;margin-left:auto;margin-right:auto}
.mtbm-shop-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 32px}
.mtbm-shop-benefit{padding:18px 20px;border:1px solid var(--border);border-radius:22px;background:rgba(255,255,255,.72);box-shadow:0 12px 30px rgba(46,35,29,.06)}
.mtbm-shop-benefit strong{display:block;margin-bottom:6px;color:var(--espresso);font-family:"Playfair Display",Georgia,serif;font-size:1.06rem}
.mtbm-shop-benefit span{color:var(--muted);font-size:.95rem}

.woocommerce nav.woocommerce-breadcrumb{margin:0 0 18px;color:#8a7766;font-size:.92rem}
.woocommerce nav.woocommerce-breadcrumb a{color:#8a7766}
.woocommerce-result-count,.woocommerce-ordering{margin-bottom:18px}
.woocommerce .woocommerce-ordering select{border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.88);padding:12px 16px;color:var(--espresso)}

.woocommerce ul.products{gap:26px!important;align-items:stretch}
.woocommerce ul.products li.product{padding:16px!important;border-radius:28px;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;position:relative;background:rgba(255,255,255,.92)}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 24px 52px rgba(46,35,29,.12);border-color:rgba(183,147,95,.4)}
.woocommerce ul.products li.product a:first-child{display:block}
.woocommerce ul.products li.product a img{aspect-ratio:4/5;object-fit:cover;border-radius:22px;background:#f2eae1;margin-bottom:16px;transition:transform .3s ease}
.woocommerce ul.products li.product:hover a img{transform:scale(1.02)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.34rem!important;line-height:1.2;margin:4px 0 10px}
.woocommerce ul.products li.product .price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 4px}
.woocommerce ul.products li.product .price del{color:#9a8777;opacity:1;font-size:1rem}
.woocommerce ul.products li.product .price ins{text-decoration:none;font-size:1.42rem}
.woocommerce ul.products li.product .button{margin-top:16px!important;width:100%;border-radius:18px!important;padding:15px 18px!important;font-size:.95rem!important;letter-spacing:.01em}
.woocommerce ul.products li.product .added_to_cart{margin-top:12px;display:inline-block}
.woocommerce span.onsale{left:20px!important;top:20px!important;min-height:auto!important;min-width:auto!important;line-height:1!important;padding:14px 18px!important;border-radius:999px!important;background:#a58f1b!important;color:#fff!important;font-weight:800!important;font-size:1rem!important;box-shadow:0 14px 30px rgba(46,35,29,.18);letter-spacing:.01em}
.woocommerce ul.products li.product .star-rating{display:none!important}

.mtbm-loop-badge{display:inline-flex;align-items:center;padding:7px 11px;margin:0 0 10px;border-radius:999px;background:#f6efe5;border:1px solid #dfd1bf;color:#6a5543;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.mtbm-loop-copy{margin:6px 0 0;color:#6d5a4a;font-size:.94rem;line-height:1.55;min-height:3em}

.single-product .section{padding-top:42px}
.single-product div.product{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.86fr);gap:34px;align-items:start;background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important}
.single-product div.product div.images,
.single-product div.product div.summary{float:none!important;width:100%!important;margin:0!important}
.single-product div.product div.images{padding:24px;border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(246,239,232,.94));border:1px solid var(--border);box-shadow:0 18px 40px rgba(46,35,29,.08);position:relative}
.single-product div.product div.images .woocommerce-product-gallery__wrapper,
.single-product div.product div.images .woocommerce-product-gallery__image:first-child{border-radius:26px;overflow:hidden}
.single-product div.product div.images img{border-radius:26px;object-fit:cover;width:100%}
.single-product div.product .summary{padding:30px 30px 26px;border-radius:30px;background:rgba(255,255,255,.96);border:1px solid var(--border);box-shadow:0 18px 40px rgba(46,35,29,.08);position:relative;top:auto;align-self:start}
.single-product div.product{align-items:start}
.single-product .woocommerce-tabs,.single-product .related.products{clear:both;position:relative;z-index:1}

.single-product .product_title{font-size:clamp(2rem,3vw,2.6rem)!important;line-height:1.05;margin:0 0 14px!important}
.single-product .summary .price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 18px!important;padding-bottom:16px;border-bottom:1px solid rgba(230,221,210,.85)}
.single-product .summary .price del{font-size:1.25rem;color:#9a8777;opacity:1}
.single-product .summary .price ins{text-decoration:none;font-size:2.15rem;font-weight:800;letter-spacing:-.02em}
.single-product .summary .price .amount{color:var(--espresso)}
.single-product .summary .mtbm-price-note{margin:-4px 0 18px;color:#7a604d;font-size:.96rem;font-weight:600;line-height:1.5}
.single-product .summary .woocommerce-product-details__short-description,
.single-product .summary p{font-size:1rem;line-height:1.75;color:#4d3b31}
.single-product .summary .mtbm-direct-checkout{display:block;width:100%;text-align:center;border-radius:18px!important;padding:17px 20px!important;margin:18px 0 12px;background:var(--espresso)!important;color:#fff!important;box-shadow:0 14px 28px rgba(46,35,29,.18)!important}
.single-product .summary .mtbm-direct-checkout:hover{transform:translateY(-1px);background:#2e221c!important}
.single-product .summary form.cart{display:flex;flex-direction:column;gap:14px;margin:0 0 18px}
.single-product .summary form.cart .quantity{display:none!important}
.single-product .summary form.cart .button{width:100%;border-radius:18px!important;padding:16px 20px!important;font-size:1rem!important;background:transparent!important;color:var(--espresso)!important;border:2px solid rgba(62,42,31,.18)!important;box-shadow:none!important}
.single-product .summary .product_meta{padding-top:16px;border-top:1px solid rgba(230,221,210,.85);font-size:.9rem;color:#8a7766}
.single-product .summary .product_meta a{color:#8a7766}
.single-product .summary .product_meta .sku_wrapper{display:none}
.single-product .summary .woocommerce-review-link,.single-product .summary .star-rating{display:none!important}
.single-product .summary .onsale{display:none!important}

.mtbm-product-kicker{display:inline-flex;align-items:center;align-self:flex-start;padding:8px 13px;border-radius:999px;background:#f5eee4;border:1px solid #e2d5c6;color:#6a5543;font-size:.75rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;margin-bottom:6px}
.mtbm-product-intro{display:grid;gap:16px;margin-top:2px}
.mtbm-product-chips{display:flex;flex-wrap:wrap;gap:10px}
.mtbm-product-chips span{display:inline-flex;align-items:center;padding:9px 13px;border-radius:999px;background:#faf4ec;border:1px solid #e4d8cc;color:#5d493b;font-size:.82rem;font-weight:600}
.mtbm-product-chips span::before{content:"";width:6px;height:6px;border-radius:50%;background:#b7935f;margin-right:8px;display:inline-block}
.mtbm-single-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
.mtbm-what-you-get,.mtbm-reassurance,.mtbm-testimonials>div{padding:20px;border:1px solid #e8ddd1;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,243,236,.9))}
.mtbm-what-you-get h3,.mtbm-reassurance strong{margin:0;color:var(--espresso);font-size:1.18rem;font-family:"Playfair Display",Georgia,serif}
.mtbm-what-you-get ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:12px}
.mtbm-what-you-get li{position:relative;padding-left:22px;color:#4d3b31;line-height:1.55}
.mtbm-what-you-get li::before{content:"•";position:absolute;left:2px;top:-1px;color:#b7935f;font-size:1.2rem}
.mtbm-reassurance{display:grid;align-content:start}
.mtbm-reassurance p{margin:10px 0 0;color:#5d493b;line-height:1.7}
.mtbm-urgency{margin:2px 0 0;padding:12px 14px;border-radius:16px;background:#f5eee4;border:1px solid #e2d5c6;font-weight:700;color:#6a5543;text-align:center}
.mtbm-testimonials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mtbm-testimonials strong{display:block;color:var(--espresso);font-family:"Playfair Display",Georgia,serif;font-size:1.02rem}
.mtbm-testimonials p{margin:8px 0 0;color:#5d493b;line-height:1.65}

.single-product .woocommerce-product-gallery__trigger{top:40px!important;right:40px!important;border-radius:50%!important;box-shadow:0 10px 24px rgba(46,35,29,.12)}
.single-product .related.products{margin-top:42px}
.single-product .related.products > h2{font-size:2rem;margin-bottom:20px}
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .up-sells,
.single-product .woocommerce-Reviews{padding:28px;border-radius:28px;background:rgba(255,255,255,.9);border:1px solid var(--border);box-shadow:0 20px 48px rgba(46,35,29,.08);margin-top:26px}
.single-product .woocommerce-tabs ul.tabs::before{border-color:var(--border)}
.single-product .woocommerce-tabs ul.tabs li{border-radius:16px 16px 0 0;border-color:var(--border);background:#f8f2eb}
.single-product .woocommerce-tabs ul.tabs li.active{background:#fff}

@media (max-width:1080px){
  .mtbm-shop-benefits,
  .mtbm-single-grid,
  .single-product div.product{grid-template-columns:1fr!important}
  .single-product div.product .summary{position:static}
}
@media (max-width:760px){
  .mtbm-shop-page{padding-top:24px}
  .woocommerce ul.products{grid-template-columns:1fr!important}
  .woocommerce ul.products li.product{padding:14px!important}
  .single-product div.product div.images{padding:16px;border-radius:24px}
  .single-product div.product .summary{padding:22px 18px}
  .single-product .product_title{font-size:1.9rem!important}
  .single-product .summary .price ins{font-size:1.8rem}
  .mtbm-testimonials{grid-template-columns:1fr}
}


/* Luxury single-product flow refresh */
.single-product .woocommerce-tabs,
.single-product .related.products{
  width:100%!important;
  float:none!important;
  display:block!important;
}
.single-product .woocommerce-tabs{
  margin-top:34px!important;
  margin-bottom:26px!important;
}
.single-product .related.products{
  margin-top:0!important;
}
.single-product .related.products ul.products{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .up-sells,
.single-product .woocommerce-Reviews{
  padding:34px!important;
  border-radius:32px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,243,236,.92))!important;
}
.single-product .woocommerce-tabs .panel{
  padding-top:18px;
}
.single-product .woocommerce-tabs h2,
.single-product .related.products > h2{
  font-size:clamp(2rem,3vw,2.7rem)!important;
  line-height:1.02;
  margin:0 0 20px!important;
}
.single-product .woocommerce-tabs ul.tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 8px!important;
  padding:0!important;
}
.single-product .woocommerce-tabs ul.tabs li{
  margin:0!important;
  border-radius:16px!important;
  padding:0!important;
  overflow:hidden;
}
.single-product .woocommerce-tabs ul.tabs li a{
  padding:14px 18px!important;
  font-weight:700;
}
.single-product .woocommerce-tabs ul.tabs li.active{
  box-shadow:0 10px 24px rgba(46,35,29,.08);
}
.single-product .woocommerce-tabs p,
.single-product .woocommerce-tabs li{
  font-size:1.04rem;
  line-height:1.8;
  color:#4d3b31;
}
.single-product .woocommerce-tabs ul:not(.tabs){
  padding-left:1.2rem;
}
.single-product .related.products > h2::after{
  content:"Curated to pair beautifully with this look";
  display:block;
  margin-top:8px;
  font-family:Inter,Arial,sans-serif;
  font-size:1rem;
  font-weight:500;
  color:var(--muted);
}
@media (max-width:1080px){
  .single-product .related.products ul.products{
    grid-template-columns:1fr 1fr!important;
  }
}
@media (max-width:760px){
  .single-product .woocommerce-tabs,
  .single-product .related.products,
  .single-product .up-sells,
  .single-product .woocommerce-Reviews{
    padding:22px!important;
    border-radius:24px!important;
  }
  .single-product .related.products ul.products{
    grid-template-columns:1fr!important;
  }
  .single-product .woocommerce-tabs ul.tabs li a{
    padding:12px 14px!important;
  }
}

/* Force single-product lower sections into a full-width vertical flow */
.single-product .site-shell .woocommerce-tabs,
.single-product .site-shell .related.products,
.single-product .site-shell .up-sells,
.single-product .site-shell .upsells.products,
.single-product .site-shell .woocommerce-Reviews{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  clear:both !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

.single-product .site-shell .woocommerce-tabs + .related.products,
.single-product .site-shell .woocommerce-tabs + .up-sells,
.single-product .site-shell .woocommerce-tabs + .upsells.products{
  margin-top:28px !important;
}

.single-product .site-shell .related.products ul.products,
.single-product .site-shell .up-sells ul.products,
.single-product .site-shell .upsells.products ul.products{
  width:100% !important;
}


/* Actual fix: because the single-product layout uses CSS grid, lower sections must span both columns */
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related.products,
.single-product div.product > .up-sells,
.single-product div.product > .upsells.products,
.single-product div.product > .woocommerce-Reviews{
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}

.single-product div.product > .woocommerce-tabs{
  order: 3;
}

.single-product div.product > .related.products,
.single-product div.product > .up-sells,
.single-product div.product > .upsells.products{
  order: 4;
}


.single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px!important}
.single-product .flex-control-thumbs li{float:none!important;width:auto!important;list-style:none}
.single-product .flex-control-thumbs img{width:100%!important;border-radius:18px;border:1px solid #e4d8cc;background:#fff;cursor:pointer;opacity:1!important;transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.single-product .flex-control-thumbs img:hover,.single-product .flex-control-thumbs .flex-active{transform:translateY(-2px);border-color:#c9b39e;box-shadow:0 10px 20px rgba(46,35,29,.10)}


/* Product-page refinement: smaller gallery, visible CTAs, arrow controls */
.single-product div.product{grid-template-columns:minmax(0,.92fr) minmax(360px,1fr)!important;gap:16px!important}
.single-product div.product div.images{max-width:610px;width:100%!important;justify-self:start;padding:20px!important}
.single-product div.product div.images .woocommerce-product-gallery__image:first-child img,
.single-product div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image img{max-height:760px;object-fit:cover}
.single-product .summary form.cart{display:none!important}
.single-product .summary .mtbm-cta-stack{display:grid;gap:12px;margin:18px 0 18px}
.single-product .summary .mtbm-secondary-cart{display:block!important;width:100%!important;text-align:center!important;border-radius:18px!important;padding:15px 20px!important;background:#fff!important;color:var(--espresso)!important;border:2px solid rgba(62,42,31,.16)!important;box-shadow:none!important;font-weight:700!important;text-decoration:none!important}
.single-product .summary .mtbm-secondary-cart:hover{background:#f7f1ea!important;border-color:#cdb7a2!important}
.single-product .summary .mtbm-direct-checkout{margin:0!important}

.single-product .woocommerce-product-gallery__wrapper{position:relative}
.single-product .mtbm-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:44px;height:44px;border:none;border-radius:999px;background:rgba(255,255,255,.96);color:#3e2a1f;box-shadow:0 12px 24px rgba(46,35,29,.16);cursor:pointer;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center}
.single-product .mtbm-gallery-prev{left:16px}
.single-product .mtbm-gallery-next{right:16px}
.single-product .mtbm-gallery-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.03)}
.single-product .flex-control-thumbs li.mtbm-thumb-active img,
.single-product .flex-control-thumbs img.flex-active{border-color:#b7935f!important;box-shadow:0 12px 22px rgba(46,35,29,.12)!important}

@media (max-width:1080px){
  .single-product div.product{grid-template-columns:1fr!important}
  .single-product div.product div.images{max-width:100%!important}
}
@media (max-width:760px){
  .single-product .mtbm-gallery-arrow{width:38px;height:38px;font-size:18px}
  .single-product .mtbm-gallery-prev{left:10px}
  .single-product .mtbm-gallery-next{right:10px}
}


/* Final CTA polish: luxury checkout block + black Add to Cart text */
.single-product .summary .mtbm-cta-stack{
  gap: 10px !important;
  margin: 20px 0 10px !important;
  padding: 0 !important;
}
.single-product .summary .mtbm-direct-checkout{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  border-radius: 18px !important;
  padding: 16px 22px !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  background: #3b291f !important;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid #3b291f !important;
  box-shadow: 0 8px 20px rgba(46,35,29,.12) !important;
}
.single-product .summary .mtbm-direct-checkout:hover{
  background:#2d1f18 !important;
  border-color:#2d1f18 !important;
}
.single-product .summary .mtbm-secondary-cart,
.single-product .summary a.mtbm-secondary-cart,
.single-product .summary .mtbm-cta-stack .mtbm-secondary-cart{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  border-radius:18px !important;
  padding:14px 20px !important;
  background:#fff !important;
  color:#000 !important;
  -webkit-text-fill-color:#000 !important;
  border:2px solid #000 !important;
  box-shadow:none !important;
  font-weight:700 !important;
  font-size:1rem !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
.single-product .summary .mtbm-secondary-cart:hover,
.single-product .summary a.mtbm-secondary-cart:hover{
  background:#000 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border-color:#000 !important;
}
.single-product .summary .product_meta{
  display:none !important;
}


/* Gallery refinement v3.1 */
.single-product div.product{grid-template-columns:minmax(0,.92fr) minmax(360px,.92fr);gap:30px}
.single-product div.product div.images{padding:20px 20px 18px}
.single-product .woocommerce-product-gallery{max-width:430px;margin:0 auto}
.single-product div.product div.images .woocommerce-product-gallery__wrapper,
.single-product div.product div.images .woocommerce-product-gallery__image:first-child,
.single-product .woocommerce-product-gallery__image{border-radius:26px;overflow:hidden;background:#f8f5f0}
.single-product div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
.single-product .woocommerce-product-gallery__image img{
  width:100%;
  height:620px !important;
  object-fit:contain !important;
  display:block;
  border-radius:0 !important;
  transition:transform .35s ease, opacity .35s ease;
}

.single-product .flex-control-thumbs img,
.single-product .woocommerce-product-gallery ol.flex-control-nav img{
  width:72px !important;
  height:72px !important;
  max-height:72px !important;
  object-fit:cover !important;
  display:block;
  border-radius:16px;
  border:2px solid transparent;
  background:#fff;
  cursor:pointer;
  transition:all .25s ease;
  opacity:1 !important;
}
.single-product .woocommerce-product-gallery__image:hover img{transform:scale(1.03)}
.single-product .woocommerce-product-gallery__image.gallery-fade img{animation:galleryFadeIn .35s ease}
@keyframes galleryFadeIn{from{opacity:.45}to{opacity:1}}
.single-product .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav{display:flex !important;flex-wrap:wrap;gap:12px;margin-top:16px !important;padding:0 !important;justify-content:center}
.single-product .flex-control-thumbs li,
.single-product .woocommerce-product-gallery ol.flex-control-nav li{width:72px !important;list-style:none}
.single-product .flex-control-thumbs img:hover,
.single-product .woocommerce-product-gallery ol.flex-control-nav img:hover{transform:translateY(-2px);border-color:#3b271d}
.single-product .woocommerce-product-gallery a.is-active-thumb img{border-color:#3b271d !important;box-shadow:0 6px 14px rgba(0,0,0,.08)}
.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#2a1c15;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  z-index:20;
  transition:all .25s ease;
}
.gallery-arrow.left{left:16px}
.gallery-arrow.right{right:16px}
.gallery-arrow:hover{background:#2a1c15;color:#fff}
.single-product div.product .summary{padding:34px 34px 30px;border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,243,236,.96));box-shadow:0 22px 48px rgba(46,35,29,.09)}
.single-product .product_title{letter-spacing:-.03em}
.single-product .summary .price{margin:0 0 16px!important}
.single-product .summary .mtbm-direct-checkout{border-radius:999px!important;padding:18px 22px!important;font-weight:700;letter-spacing:.01em}
.single-product .summary form.cart .button{border-radius:999px!important;color:#000 !important;border:1.5px solid #000 !important;background:transparent !important;font-weight:700;letter-spacing:.02em}
.single-product .summary form.cart .button:hover{background:#000 !important;color:#fff !important}
.single-product .summary .mtbm-price-note{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;background:#f5eee4;border:1px solid #e2d5c6;border-radius:999px}
.single-product .summary .mtbm-price-note::before{content:"";width:7px;height:7px;border-radius:50%;background:#b7935f;display:inline-block}
.single-product .summary .product_meta{display:none !important}
@media (max-width: 767px){
  .single-product .woocommerce-product-gallery{max-width:100%}
  .single-product div.product div.images{padding:16px}
  .single-product div.product div.images img,
  .single-product .woocommerce-product-gallery__image img{height:480px !important}
  .gallery-arrow{width:40px;height:40px;font-size:20px}
  .single-product div.product .summary{padding:24px}
}


/* Gallery stability fix v3.2 */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper{position:relative}
.single-product .woocommerce-product-gallery__wrapper{display:block}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
.single-product .woocommerce-product-gallery__image:first-child img{
  width:100%;
  height:620px !important;
  max-height:620px !important;
  object-fit:contain !important;
  object-position:center center !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child){display:none !important}
.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .woocommerce-product-gallery ol.flex-control-nav li{
  width:72px !important;
  max-width:72px !important;
  flex:0 0 72px !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img,
.single-product .woocommerce-product-gallery ol.flex-control-nav li img{
  width:72px !important;
  height:72px !important;
  max-width:72px !important;
  max-height:72px !important;
  min-height:72px !important;
  object-fit:cover !important;
}
.single-product .mtbm-gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:30;
  width:46px;
  height:46px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#2a1c15;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:24px;
  line-height:1;
}
.single-product .mtbm-gallery-prev{left:16px}
.single-product .mtbm-gallery-next{right:16px}
.single-product .mtbm-gallery-arrow:hover{background:#2a1c15;color:#fff}
.single-product .woocommerce-product-gallery__image.gallery-fade img{animation:galleryFadeIn .28s ease}
@media (max-width: 767px){
  .single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
  .single-product .woocommerce-product-gallery__image:first-child img{
    height:480px !important;
    max-height:480px !important;
  }
  .single-product .mtbm-gallery-arrow{width:40px;height:40px;font-size:20px}
}


/* Gallery interaction fix v3.3 */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image:first-child{position:relative !important}
.single-product .woocommerce-product-gallery__wrapper{
  transform:none !important;
  width:100% !important;
  display:block !important;
}
.single-product .woocommerce-product-gallery .flex-viewport{
  overflow:visible !important;
  height:auto !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{
  float:none !important;
  width:100% !important;
  margin:0 !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child){
  display:none !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
.single-product .woocommerce-product-gallery__image:first-child img{
  width:100% !important;
  height:620px !important;
  max-height:620px !important;
  object-fit:contain !important;
  object-position:center center !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav{
  justify-content:center !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .woocommerce-product-gallery ol.flex-control-nav li{
  width:72px !important;
  max-width:72px !important;
  flex:0 0 72px !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img,
.single-product .woocommerce-product-gallery ol.flex-control-nav li img{
  width:72px !important;
  height:72px !important;
  max-width:72px !important;
  max-height:72px !important;
  min-height:72px !important;
  object-fit:cover !important;
}
.single-product .woocommerce-product-gallery .mtbm-thumb-active img,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active{
  border-color:#3b271d !important;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
}
.single-product .mtbm-gallery-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:40 !important;
}
.single-product .mtbm-gallery-prev{left:16px !important}
.single-product .mtbm-gallery-next{right:16px !important}
@media (max-width:767px){
  .single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
  .single-product .woocommerce-product-gallery__image:first-child img{
    height:480px !important;
    max-height:480px !important;
  }
}


/* Gallery cleanup v4 */
.single-product .woocommerce-product-gallery__image:hover img{
  transform:none !important;
}
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child{
  position:relative !important;
}
.single-product .woocommerce-product-gallery__wrapper{
  display:block !important;
  transform:none !important;
  width:100% !important;
}
.single-product .woocommerce-product-gallery .flex-viewport{
  overflow:visible !important;
  height:auto !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{
  float:none !important;
  width:100% !important;
  margin:0 !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child){
  display:none !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
.single-product .woocommerce-product-gallery__image:first-child img{
  width:100% !important;
  height:620px !important;
  max-height:620px !important;
  object-fit:contain !important;
  object-position:center center !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  gap:12px !important;
  margin-top:16px !important;
  padding:0 !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .woocommerce-product-gallery ol.flex-control-nav li{
  width:72px !important;
  max-width:72px !important;
  flex:0 0 72px !important;
  list-style:none !important;
  display:block !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img,
.single-product .woocommerce-product-gallery ol.flex-control-nav li img{
  width:72px !important;
  height:72px !important;
  max-width:72px !important;
  max-height:72px !important;
  min-height:72px !important;
  object-fit:cover !important;
  border-radius:16px !important;
  border:2px solid transparent !important;
  background:#fff !important;
  opacity:1 !important;
  display:block !important;
  cursor:pointer !important;
  transform:none !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover img,
.single-product .woocommerce-product-gallery ol.flex-control-nav li:hover img,
.single-product .woocommerce-product-gallery .mtbm-thumb-active img,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active{
  border-color:#3b271d !important;
  box-shadow:0 6px 14px rgba(0,0,0,.08) !important;
}
.single-product .mtbm-gallery-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:60 !important;
  width:44px !important;
  height:44px !important;
  border:none !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.96) !important;
  color:#2a1c15 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  box-shadow:0 6px 18px rgba(0,0,0,.12) !important;
}
.single-product .mtbm-gallery-prev{left:16px !important}
.single-product .mtbm-gallery-next{right:16px !important}
.single-product .mtbm-gallery-arrow:hover{background:#2a1c15 !important;color:#fff !important}
@media (max-width:767px){
  .single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
  .single-product .woocommerce-product-gallery__image:first-child img{
    height:480px !important;
    max-height:480px !important;
  }
  .single-product .mtbm-gallery-arrow{width:40px !important;height:40px !important;font-size:20px !important}
}


/* Final gallery repair overrides */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
    position: relative !important;
}
.single-product .woocommerce-product-gallery {
    max-width: 430px !important;
    margin: 0 auto !important;
}
.single-product .woocommerce-product-gallery__wrapper {
    display: block !important;
    background: #f8f5f0 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
    display: none !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
.single-product .woocommerce-product-gallery__image:first-child img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 760px !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}
.single-product .woocommerce-product-gallery__image:hover img {
    transform: none !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
    margin-top: 16px !important;
    padding: 0 !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .woocommerce-product-gallery ol.flex-control-nav li {
    list-style: none !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    float: none !important;
    flex: 0 0 72px !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img,
.single-product .woocommerce-product-gallery ol.flex-control-nav li img {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 16px !important;
    border: 2px solid transparent !important;
    background: #fff !important;
    opacity: 1 !important;
    transform: none !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover img,
.single-product .woocommerce-product-gallery ol.flex-control-nav li:hover img,
.single-product .woocommerce-product-gallery .mtbm-thumb-active img,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #3b271d !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;
}
.single-product .mtbm-gallery-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 30 !important;
    width: 44px !important;
    height: 44px !important;
    border: none !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.94) !important;
    color: #2a1c15 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.12) !important;
    cursor: pointer !important;
    font-size: 24px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.single-product .mtbm-gallery-prev { left: 16px !important; }
.single-product .mtbm-gallery-next { right: 16px !important; }
.single-product .mtbm-gallery-arrow:hover { background: #2a1c15 !important; color: #fff !important; }
.single-product .woocommerce-product-gallery__image.gallery-fade img { animation: galleryFadeIn .28s ease !important; }
@media (max-width: 767px) {
    .single-product .woocommerce-product-gallery { max-width: 100% !important; }
    .single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
    .single-product .woocommerce-product-gallery__image:first-child img { max-height: 520px !important; }
    .single-product .mtbm-gallery-arrow { width: 40px !important; height: 40px !important; font-size: 20px !important; }
}

/* Tighten gallery-to-summary spacing */
.single-product div.product div.images{margin-right:0!important;padding-right:0!important}
.single-product div.product div.summary{margin-left:0!important}


/* --- Final gallery alignment + thumbnail restore fix --- */
.single-product div.product{display:grid !important;grid-template-columns:minmax(0,500px) minmax(0,1fr) !important;gap:18px !important;align-items:start !important;}
.single-product .woocommerce-product-gallery{max-width:500px !important;margin:0 !important;}
.single-product .woocommerce-product-gallery,.single-product .woocommerce-product-gallery .flex-viewport,.single-product .woocommerce-product-gallery__wrapper,.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child{background:#f8f5f0 !important;border-radius:26px !important;overflow:hidden !important;}
.single-product .woocommerce-product-gallery .flex-viewport{margin-bottom:14px !important;}
.single-product .woocommerce-product-gallery__wrapper{display:block !important;width:100% !important;transform:none !important;}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{display:none !important;width:100% !important;margin:0 !important;float:none !important;}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child{display:block !important;}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,.single-product .woocommerce-product-gallery__image:first-child img{display:block !important;width:100% !important;height:620px !important;max-height:none !important;object-fit:contain !important;object-position:center center !important;background:#f8f5f0 !important;margin:0 auto !important;transform:none !important;}
.single-product .woocommerce-product-gallery__image:hover img{transform:none !important;}
.single-product .woocommerce-product-gallery .flex-control-thumbs,.single-product .woocommerce-product-gallery ol.flex-control-nav{display:flex !important;flex-wrap:wrap !important;justify-content:flex-start !important;gap:12px !important;padding:0 !important;margin:0 !important;list-style:none !important;}
.single-product .woocommerce-product-gallery .flex-control-thumbs li,.single-product .woocommerce-product-gallery ol.flex-control-nav li{display:block !important;width:78px !important;min-width:78px !important;list-style:none !important;margin:0 !important;float:none !important;}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img,.single-product .woocommerce-product-gallery ol.flex-control-nav li img{display:block !important;width:78px !important;height:78px !important;object-fit:cover !important;object-position:center center !important;border-radius:16px !important;border:1px solid #e4d8cc !important;background:#fff !important;opacity:1 !important;cursor:pointer !important;}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover img,.single-product .woocommerce-product-gallery ol.flex-control-nav li:hover img,.single-product .woocommerce-product-gallery .mtbm-thumb-active img,.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,.single-product .woocommerce-product-gallery ol.flex-control-nav li img.flex-active{border-color:#b7935f !important;box-shadow:0 10px 18px rgba(46,35,29,.10) !important;}
.single-product .mtbm-gallery-arrow{position:absolute !important;top:50% !important;transform:translateY(-50%) !important;z-index:10 !important;width:44px !important;height:44px !important;border:none !important;border-radius:999px !important;background:rgba(255,255,255,.96) !important;color:#2a1c15 !important;display:flex !important;align-items:center !important;justify-content:center !important;cursor:pointer !important;box-shadow:0 12px 24px rgba(46,35,29,.16) !important;}
.single-product .mtbm-gallery-prev{left:16px !important;}
.single-product .mtbm-gallery-next{right:16px !important;}
.single-product .mtbm-gallery-arrow:hover{background:#2a1c15 !important;color:#fff !important;}
.single-product .woocommerce-product-gallery__trigger{top:18px !important;right:18px !important;}
@media (max-width:980px){.single-product div.product{grid-template-columns:1fr !important;gap:20px !important;}.single-product .woocommerce-product-gallery{max-width:100% !important;}.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,.single-product .woocommerce-product-gallery__image:first-child img{height:520px !important;}}


/* Final gallery thumb + centering fix */
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav{display:none !important;}
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child{
  background:#f8f5f0 !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child,
.single-product .woocommerce-product-gallery__image:first-child{
  min-height:620px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child a{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:620px !important;
}
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
.single-product .woocommerce-product-gallery__image:first-child img{
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  max-height:620px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 auto !important;
}
.single-product .mtbm-custom-thumbs{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  gap:12px !important;
  margin-top:16px !important;
  padding:0 !important;
}
.single-product .mtbm-thumb-button{
  width:72px !important;
  height:72px !important;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
}
.single-product .mtbm-thumb-button img{
  width:72px !important;
  height:72px !important;
  border-radius:16px !important;
  object-fit:cover !important;
  border:2px solid transparent !important;
  box-shadow:none !important;
  display:block !important;
  background:#fff !important;
}
.single-product .mtbm-thumb-button.mtbm-thumb-active img,
.single-product .mtbm-thumb-button:hover img{
  border-color:#3b271d !important;
  box-shadow:0 6px 14px rgba(0,0,0,.08) !important;
}
@media (max-width:767px){
  .single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child,
  .single-product .woocommerce-product-gallery__image:first-child,
  .single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child a{
    min-height:480px !important;
  }
  .single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img,
  .single-product .woocommerce-product-gallery__image:first-child img{
    max-height:480px !important;
  }
}

/* Final reliable gallery strip + centering override */
.single-product div.product{grid-template-columns:minmax(0,500px) minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
.single-product div.product div.images{padding:22px!important}
.single-product .woocommerce-product-gallery{max-width:500px!important;margin:0!important;position:relative!important}
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child,
.single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child a{background:#f8f5f0!important;border-radius:26px!important}
.single-product .woocommerce-product-gallery .flex-viewport{margin-bottom:14px!important;overflow:hidden!important;position:relative!important}
.single-product .woocommerce-product-gallery__wrapper{display:block!important;transform:none!important}
.single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image{display:none!important;float:none!important;width:100%!important;margin:0!important}
.single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child{display:flex!important;align-items:center!important;justify-content:center!important;min-height:620px!important;overflow:hidden!important}
.single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:620px!important;overflow:hidden!important}
.single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child img,
.single-product .woocommerce-product-gallery__image:first-child img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:620px!important;object-fit:contain!important;object-position:center center!important;margin:0 auto!important;transform:none!important;background:#f8f5f0!important}
.single-product .woocommerce-product-gallery__image:hover img{transform:none!important}
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav{display:none!important}
.single-product .mtbm-custom-thumbs{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:12px!important;margin-top:0!important;padding:0!important;min-height:72px!important}
.single-product .mtbm-thumb-button{display:flex!important;align-items:center!important;justify-content:center!important;width:72px!important;height:72px!important;padding:0!important;border:none!important;background:transparent!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important}
.single-product .mtbm-thumb-button img{display:block!important;width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;border-radius:16px!important;object-fit:cover!important;object-position:center center!important;background:#fff!important;border:2px solid transparent!important;box-shadow:none!important;opacity:1!important}
.single-product .mtbm-thumb-button:hover img,
.single-product .mtbm-thumb-button.mtbm-thumb-active img{border-color:#3b271d!important;box-shadow:0 6px 14px rgba(0,0,0,.08)!important}
.single-product .mtbm-gallery-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:20!important;width:44px!important;height:44px!important;border:none!important;border-radius:999px!important;background:rgba(255,255,255,.96)!important;color:#2a1c15!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:0 12px 24px rgba(46,35,29,.16)!important}
.single-product .mtbm-gallery-prev{left:16px!important}
.single-product .mtbm-gallery-next{right:16px!important}
.single-product .mtbm-gallery-arrow:hover{background:#2a1c15!important;color:#fff!important}
.single-product .woocommerce-product-gallery__trigger{top:18px!important;right:18px!important}
@media (max-width:980px){
  .single-product div.product{grid-template-columns:1fr!important;gap:20px!important}
  .single-product .woocommerce-product-gallery{max-width:100%!important}
  .single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child,
  .single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child a{min-height:520px!important}
  .single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child img,
  .single-product .woocommerce-product-gallery__image:first-child img{max-height:520px!important}
}


/* Shop hero centering + sale badge fixes v2.8 */
.mtbm-shop-hero{max-width:980px;margin:0 auto 22px;text-align:center!important;display:flex;flex-direction:column;align-items:center}
.mtbm-shop-hero .section-kicker,.mtbm-shop-hero h2,.mtbm-shop-hero p{margin-left:auto;margin-right:auto;text-align:center!important}
.mtbm-shop-hero h2{max-width:1100px;width:100%}
.mtbm-shop-hero p{max-width:860px;width:100%}
.woocommerce ul.products li.product{position:relative}
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:max-content!important;white-space:nowrap!important;right:auto!important;bottom:auto!important;transform:none!important}
.woocommerce ul.products li.product .onsale{left:24px!important;top:22px!important;padding:12px 22px!important;border-radius:999px!important;z-index:3}
.woocommerce div.product div.images .onsale{left:20px!important;top:20px!important;padding:14px 18px!important}
@media (max-width: 980px){.mtbm-shop-hero{max-width:100%}.mtbm-shop-hero h2{max-width:760px}.mtbm-shop-hero p{max-width:680px}}


/* MTBM Academy template */
.mtbm-academy-page{padding-top:48px}
.mtbm-academy-hero{padding:34px;border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(247,243,238,.94))}
.mtbm-academy-kicker{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:#f6efe6;color:#6f5a49;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:16px}
.mtbm-academy-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:24px;align-items:start}
.mtbm-academy-hero h1{margin:0 0 14px;font-size:clamp(2.4rem,4.4vw,4.2rem);line-height:.98}
.mtbm-academy-intro{font-size:1.08rem;max-width:760px;margin:0 0 22px;color:var(--muted)}
.mtbm-academy-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.mtbm-academy-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mtbm-academy-proof div,.mtbm-academy-highlight,.mtbm-academy-card,.mtbm-academy-tool-card,.mtbm-academy-idea-card,.mtbm-academy-post-card,.mtbm-academy-empty{background:rgba(255,255,255,.9);border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow)}
.mtbm-academy-proof div{padding:18px}
.mtbm-academy-proof strong{display:block;margin-bottom:6px;color:var(--espresso);font-family:"Playfair Display",Georgia,serif}
.mtbm-academy-proof span{color:var(--muted);font-size:.95rem}
.mtbm-academy-highlight{padding:22px}
.mtbm-academy-highlight ul{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:12px}
.mtbm-academy-highlight li{padding-left:18px;position:relative;color:#4d3b31}
.mtbm-academy-highlight li::before{content:"•";position:absolute;left:2px;top:-1px;color:var(--gold);font-size:1.25rem}
.mtbm-academy-section{padding:26px 0}
.mtbm-academy-head{text-align:center;margin:0 auto 22px}
.mtbm-academy-pillars,.mtbm-academy-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.mtbm-academy-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
.mtbm-academy-card,.mtbm-academy-tool-card,.mtbm-academy-idea-card{padding:22px}
.mtbm-academy-card h3,.mtbm-academy-tool-card h3,.mtbm-academy-idea-card h3,.mtbm-academy-post-card h3,.mtbm-academy-empty h3{margin:0 0 10px;font-size:1.32rem;line-height:1.1}
.mtbm-academy-card p,.mtbm-academy-tool-card p,.mtbm-academy-idea-card p,.mtbm-academy-post-card p,.mtbm-affiliate-note,.mtbm-academy-empty p{margin:0;color:var(--muted)}
.mtbm-affiliate-note{margin-top:14px;padding:14px 18px;border-radius:18px;border:1px dashed #d7c7b6;background:#fbf6ef;font-size:.94rem}
.mtbm-academy-ideas,.mtbm-academy-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mtbm-academy-post-card{overflow:hidden;display:flex;flex-direction:column}
.mtbm-academy-post-thumb{display:block;aspect-ratio:4/3;background:#f3ebe2}
.mtbm-academy-post-thumb img{width:100%;height:100%;object-fit:cover}
.mtbm-academy-post-body{padding:20px}
.mtbm-read-more{display:inline-flex;align-items:center;margin-top:12px;color:#6a5543;font-weight:700}
.mtbm-read-more:hover{color:var(--espresso)}
@media (max-width:1080px){.mtbm-academy-hero-grid,.mtbm-academy-proof,.mtbm-academy-pillars,.mtbm-academy-tools,.mtbm-academy-ideas,.mtbm-academy-posts{grid-template-columns:1fr 1fr!important}}
@media (max-width:760px){.mtbm-academy-hero{padding:24px}.mtbm-academy-hero-grid,.mtbm-academy-proof,.mtbm-academy-pillars,.mtbm-academy-tools,.mtbm-academy-ideas,.mtbm-academy-posts{grid-template-columns:1fr!important}.mtbm-academy-actions{flex-direction:column}}
