/* Mars 1.2.0 — responsive, account, swatches, product questions, AJAX cart */
html,body{max-width:100%;overflow-x:hidden}
body *{min-width:0}
.mars-container{max-width:calc(100% - 20px)}
.mars-page-main,.mars-shop-main,.mars-home,.mars-content-card,.entry-content,.woocommerce,.woocommerce-page{max-width:100%}
img,svg,video,iframe{max-width:100%}

/* Header / Topbar panel variables */
.mars-topbar{height:var(--mars-topbar-height)!important;min-height:var(--mars-topbar-height);background:var(--mars-topbar-bg)!important;color:var(--mars-topbar-text)!important;font-family:var(--mars-topbar-font)!important;font-size:var(--mars-topbar-size)!important}
.mars-topbar a,.mars-topbar span{color:inherit}
.mars-header{background:var(--mars-header-bg)!important}
.mars-header__inner{min-height:var(--mars-header-height)!important;height:var(--mars-header-height);font-family:var(--mars-header-font);font-size:var(--mars-header-size)}
.mars-logo{max-width:var(--mars-logo-width)!important}
.mars-logo img{width:min(100%,var(--mars-logo-width));max-height:calc(var(--mars-header-height) - 20px);object-fit:contain}
.mars-menu a{color:var(--mars-header-menu)!important;font-family:var(--mars-header-font);font-size:var(--mars-header-size)!important}
.mars-menu a:hover,.mars-menu .current-menu-item>a{color:var(--mars-header-hover)!important}
.mars-header-action{color:var(--mars-header-menu)!important}
.mars-header-action:hover{color:var(--mars-header-hover)!important}

/* Secondary menu */
.mars-secondary-menu{background:var(--mars-secondary-menu-bg)!important;color:var(--mars-secondary-menu-color);font-family:var(--mars-secondary-menu-font);position:relative;z-index:84}
.mars-secondary-menu__list{height:var(--mars-secondary-menu-height)!important;gap:var(--mars-secondary-menu-gap)!important;scrollbar-width:none;overscroll-behavior-x:contain}
.mars-secondary-menu__list::-webkit-scrollbar{display:none}
.mars-secondary-menu__list a{font-size:var(--mars-secondary-menu-size)!important;font-weight:var(--mars-secondary-menu-weight)!important;color:var(--mars-secondary-menu-color)!important}
.mars-secondary-menu__list a:hover{color:var(--mars-secondary-menu-hover)!important}
.mars-secondary-menu--above{border-top:0}

/* Slider / banner dimensions */
.mars-home-slider{height:var(--mars-slider-height)!important;max-width:100%;touch-action:pan-y}
.mars-slide{background-size:var(--slide-fit,var(--mars-slider-fit,cover))!important;background-position:var(--slide-position,var(--mars-slider-position,center center))!important;background-repeat:no-repeat}
.mars-home-banner{height:var(--banner-height-desktop,220px)!important;min-height:0!important;aspect-ratio:var(--banner-ratio,auto);background-size:var(--banner-fit,cover)!important;background-position:var(--banner-position,center center)!important;background-repeat:no-repeat;max-width:100%}
.mars-home-banners,.mars-product-section,.mars-category-strip,.mars-trust-strip,.mars-shipping-banner,.mars-home-blog,.mars-home-cta{max-width:calc(100% - 20px)}

/* Carousels: no phantom width / no trailing overflow */
.mars-carousel-shell{position:relative;max-width:100%;overflow:hidden}
.mars-product-carousel{max-width:100%;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scroll-padding-inline:1px;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-inline:0!important;margin-inline:0!important}
.mars-product-carousel::-webkit-scrollbar{display:none}
.mars-product-carousel>.product{scroll-snap-align:start;flex-shrink:0;max-width:100%}
.mars-product-carousel>.product:last-child{margin-right:0!important}
.mars-product-card,.mars-product-card__visual,.mars-product-card__body{max-width:100%;overflow:hidden}

/* Variation swatches */
.mars-variation-select-wrap{display:grid;gap:9px;width:100%}
.mars-variation-select-wrap>select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip:rect(0,0,0,0)!important}
.mars-variation-swatches{display:flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:100%}
.mars-swatch{appearance:none;border:1px solid #d8dee8;background:#fff;color:var(--mars-text);min-height:38px;min-width:42px;padding:7px 12px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:.18s ease;font-size:12px;font-weight:500;line-height:1.2;box-shadow:none}
.mars-swatch:hover{border-color:#aeb9c9;transform:translateY(-1px)}
.mars-swatch.is-selected{border-color:var(--mars-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--mars-primary) 14%,transparent);color:var(--mars-primary)}
.mars-swatch[disabled],.mars-swatch.is-disabled{opacity:.36;cursor:not-allowed;text-decoration:line-through;transform:none}
.mars-swatch--color{width:38px;height:38px;min-width:38px;padding:4px;border-radius:50%}
.mars-swatch__color{display:block;width:26px;height:26px;border-radius:50%;background:var(--mars-swatch-color);border:1px solid rgba(0,0,0,.12)}
.mars-swatch--image{padding:4px 8px;min-height:52px}
.mars-swatch--image img{width:40px;height:40px;border-radius:6px;object-fit:contain;background:#fff;border:1px solid #eef0f4}
.mars-swatch--image .mars-swatch__label{font-size:11px}
.single-product table.variations{width:100%;margin:0 0 10px!important;border:0!important}
.single-product table.variations tr{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;align-items:start;margin-bottom:13px}
.single-product table.variations th,.single-product table.variations td{display:block!important;padding:0!important;border:0!important;text-align:left!important}
.single-product table.variations th label{display:block;padding-top:8px;font-size:12px;color:var(--mars-text)}
.single-product table.variations .reset_variations{display:inline-flex!important;margin-top:8px;font-size:11px;color:var(--mars-primary)}

/* Product support / purchase area */
.mars-product-support{min-width:0}
.mars-support-btn{appearance:none;cursor:pointer;font-family:inherit}
.mars-support-btn--question{background:#fff}
.mars-purchase-block{max-width:100%}
.single-product form.cart,.single-product form.variations_form.cart{max-width:100%}
.single-product .woocommerce-variation-add-to-cart{max-width:100%}

/* Question modal */
.mars-question-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;transition:.2s ease}
.mars-question-modal.is-open{opacity:1;visibility:visible}
.mars-question-modal__backdrop{position:absolute;inset:0;background:rgba(4,16,31,.64);backdrop-filter:blur(3px)}
.mars-question-modal__dialog{position:relative;z-index:1;width:min(620px,100%);max-height:min(760px,calc(100vh - 32px));overflow:auto;background:#fff;border-radius:14px;padding:26px;box-shadow:0 30px 90px rgba(0,0,0,.25)}
.mars-question-modal__close{position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#f3f5f8;color:var(--mars-text);display:grid;place-items:center;cursor:pointer}
.mars-question-modal__head{display:flex;align-items:center;gap:12px;padding-right:44px;margin-bottom:20px}
.mars-question-modal__head>span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff2ea;color:var(--mars-primary);flex:0 0 auto}
.mars-question-modal__head h3{margin:0;font-size:20px}
.mars-question-modal__head p{margin:3px 0 0;color:var(--mars-muted);font-size:12px}
.mars-question-modal form{display:grid;gap:14px}
.mars-question-modal__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mars-question-modal label{display:grid;gap:6px;font-size:12px;font-weight:500}
.mars-question-modal input,.mars-question-modal textarea{width:100%;border:1px solid #dbe1ea;border-radius:var(--mars-input-radius);background:#fff;color:var(--mars-text);padding:11px 13px;outline:0;resize:vertical}
.mars-question-modal input:focus,.mars-question-modal textarea:focus{border-color:var(--mars-primary);box-shadow:0 0 0 3px rgba(255,91,10,.08)}
.mars-question-modal__status{font-size:12px;min-height:1px}
.mars-question-modal__status.is-error{color:#b42318}
.mars-question-modal__status.is-success{padding:10px 12px;border-radius:7px;background:#ecfdf3;color:#067647}
.mars-honeypot{position:absolute!important;left:-99999px!important;opacity:0!important}
body.mars-question-open{overflow:hidden}
.mars-questions-tab__intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.mars-questions-tab__intro h3{margin:0 0 4px}.mars-questions-tab__intro p{margin:0;color:var(--mars-muted)}
.mars-public-questions{display:grid;gap:12px}
.mars-public-questions article{border:1px solid var(--mars-border);border-radius:9px;overflow:hidden;background:#fff}
.mars-public-question,.mars-public-answer{padding:14px 16px}.mars-public-answer{background:#f8fafc;border-top:1px solid var(--mars-border)}
.mars-public-question strong,.mars-public-answer strong{display:flex;align-items:center;gap:7px;font-size:12px}.mars-public-question .mars-icon,.mars-public-answer .mars-icon{width:16px;height:16px;color:var(--mars-primary)}
.mars-public-question p,.mars-public-answer p{margin:6px 0 0;font-size:12px}

/* AJAX cart toast */
.mars-cart-toast{position:fixed;left:50%;bottom:26px;z-index:99999;transform:translate(-50%,24px);max-width:min(92vw,520px);display:flex;align-items:center;gap:10px;padding:11px 15px;border-radius:999px;background:#0b2037;color:#fff;box-shadow:0 16px 48px rgba(0,0,0,.23);font-size:12px;font-weight:500;opacity:0;visibility:hidden;transition:.24s ease;pointer-events:none}
.mars-cart-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.mars-cart-toast.is-error{background:#9f1c1c}
.mars-cart-toast__icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14)}
.mars-cart-toast__icon .mars-icon{width:14px;height:14px}
.single_add_to_cart_button.is-mars-loading{opacity:.68;pointer-events:none}
.single_add_to_cart_button.is-mars-added{background:#139b58!important}
.woocommerce-message:empty,.woocommerce-info:empty{display:none!important}

/* My Account rebuilt responsive skin */
.woocommerce-account .mars-content-card{overflow:visible}
.woocommerce-account .entry-content{overflow:visible}
.woocommerce-account .woocommerce{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:20px!important;align-items:start;width:100%;max-width:100%}
.woocommerce-account .woocommerce-MyAccount-navigation{width:100%!important;float:none!important;margin:0!important;padding:8px!important;border:1px solid var(--mars-border);border-radius:10px;background:#fff;overflow:hidden;position:sticky;top:calc(var(--mars-header-height) + 16px)}
.admin-bar.woocommerce-account .woocommerce-MyAccount-navigation{top:calc(var(--mars-header-height) + 48px)}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:0!important;display:grid!important;gap:2px!important;overflow:visible!important}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;width:100%}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex!important;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px 11px!important;border-radius:7px;font-size:12px!important;color:#344054!important;white-space:normal!important}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#f7f9fb;color:var(--mars-primary)!important}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#fff1e9!important;color:var(--mars-primary)!important}
.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;min-width:0!important;margin:0!important;border:1px solid var(--mars-border)!important;border-radius:10px!important;padding:20px!important;background:#fff;overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-content>p:first-child{margin-top:0}
.woocommerce-account .woocommerce-MyAccount-content form{max-width:100%}
.woocommerce-account .woocommerce-MyAccount-content input[type=text],.woocommerce-account .woocommerce-MyAccount-content input[type=email],.woocommerce-account .woocommerce-MyAccount-content input[type=password],.woocommerce-account .woocommerce-MyAccount-content input[type=tel],.woocommerce-account .woocommerce-MyAccount-content select,.woocommerce-account .woocommerce-MyAccount-content textarea{width:100%!important;max-width:100%;min-height:44px;border:1px solid #dce2eb;border-radius:var(--mars-input-radius);padding:9px 12px;background:#fff;outline:none}
.woocommerce-account .woocommerce-MyAccount-content input:focus,.woocommerce-account .woocommerce-MyAccount-content select:focus,.woocommerce-account .woocommerce-MyAccount-content textarea:focus{border-color:var(--mars-primary);box-shadow:0 0 0 3px rgba(255,91,10,.08)}
.woocommerce-account .woocommerce-MyAccount-content .form-row{float:none!important;width:100%!important;margin:0 0 14px!important}
.woocommerce-account .woocommerce-MyAccount-content .form-row-first,.woocommerce-account .woocommerce-MyAccount-content .form-row-last{width:calc(50% - 6px)!important;display:inline-block;vertical-align:top}
.woocommerce-account .woocommerce-MyAccount-content .form-row-first{margin-right:8px!important}
.woocommerce-account .woocommerce-MyAccount-content fieldset{border:1px solid var(--mars-border);border-radius:9px;padding:16px;margin:18px 0}
.woocommerce-account .woocommerce-MyAccount-content legend{padding:0 7px;font-weight:600}
.woocommerce-account .woocommerce-MyAccount-content .button{min-height:40px;border:0!important;border-radius:var(--mars-button-radius)!important;background:var(--mars-primary)!important;color:#fff!important;padding:0 16px!important}
.woocommerce-account table.shop_table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid var(--mars-border)!important;border-radius:9px!important;overflow:hidden;margin:0 0 16px!important}
.woocommerce-account table.shop_table th,.woocommerce-account table.shop_table td{padding:11px 12px!important;border:0!important;border-bottom:1px solid #edf0f4!important;font-size:11px;vertical-align:middle}
.woocommerce-account table.shop_table tr:last-child td{border-bottom:0!important}
.woocommerce-account table.shop_table th{background:#fafbfc;color:#53617a;font-weight:600}
.woocommerce-account .woocommerce-Addresses{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin:0!important}
.woocommerce-account .woocommerce-Address{float:none!important;width:100%!important;margin:0!important;border:1px solid var(--mars-border)!important;border-radius:9px!important;padding:16px!important;background:#fff}
.woocommerce-account .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.woocommerce-account .woocommerce-Address-title h2{margin:0;font-size:15px}.woocommerce-account .woocommerce-Address-title .edit{float:none!important;color:var(--mars-primary)}
.mars-account-dashboard,.mars-account-welcome,.mars-account-panel,.mars-account-addresses,.mars-account-quick-actions{width:100%;max-width:100%}
.mars-account-welcome{grid-template-columns:58px minmax(180px,.75fr) minmax(0,1.6fr)!important;gap:16px!important;padding:16px!important}
.mars-account-stats{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.mars-account-stats>div{min-width:0}
.mars-account-orders{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.mars-account-orders__row{min-width:590px!important}
.mars-account-addresses{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.mars-account-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Empty cart: only the requested state */
.mars-empty-cart--minimal{min-height:300px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:40px 20px!important}
.mars-empty-cart--minimal h2{margin:0;font-size:22px}
.mars-empty-cart--minimal .mars-empty-cart__icon{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#f5f7fa;color:var(--mars-primary)}
.mars-empty-cart--minimal .mars-empty-cart__icon .mars-icon{width:28px;height:28px}
.woocommerce-cart .return-to-shop,.woocommerce-cart .cross-sells{display:none!important}

/* Footer panel controls */
.mars-footer{background:var(--mars-footer-bg)!important;color:var(--mars-footer-text)!important;font-size:var(--mars-footer-font-size)!important}
.mars-footer__grid{grid-template-columns:repeat(var(--mars-footer-cols,5),minmax(0,1fr))!important;gap:28px!important}
.mars-footer__newsletter{grid-column:auto!important}
.mars-footer h3{color:var(--mars-footer-heading)!important;font-size:var(--mars-footer-heading-size)!important}
.mars-footer p,.mars-footer li,.mars-footer__bottom,.mars-footer-contact a{font-size:var(--mars-footer-font-size)!important;color:var(--mars-footer-muted)!important}
.mars-footer a{color:var(--mars-footer-link)!important;transition:.18s ease}
.mars-footer a:hover{color:var(--mars-footer-hover)!important}
.mars-socials{display:flex;flex-wrap:wrap;gap:8px}
.mars-socials a{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;display:grid!important;place-items:center;background:rgba(255,255,255,.035)}
.mars-socials a:hover{border-color:var(--mars-footer-hover);transform:translateY(-1px)}
.mars-socials .mars-icon{width:16px;height:16px}

/* Desktop quick access */
.mars-quick-access{position:fixed;right:18px;bottom:22px;z-index:180;display:flex;flex-direction:column;gap:8px}
.mars-quick-access a,.mars-quick-access button{width:44px;height:44px;border-radius:50%;border:1px solid #dbe1e9;background:#fff;color:var(--mars-secondary);display:grid;place-items:center;box-shadow:0 8px 28px rgba(7,27,49,.13);cursor:pointer;transition:.18s ease}
.mars-quick-access a:hover,.mars-quick-access button:hover{transform:translateY(-2px);border-color:var(--mars-primary);color:var(--mars-primary)}
.mars-quick-access .is-whatsapp{background:#159447;color:#fff;border-color:#159447}
.mars-quick-access .mars-icon{width:18px;height:18px}

/* Popup / forms global containment */
.woocommerce form,.woocommerce table,.woocommerce div.product,.woocommerce .products,.mars-auth-shell,.mars-favorites-layout,.mars-shop-layout{max-width:100%}
input,select,textarea,button{max-width:100%}

@media(max-width:1200px){
  .mars-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:980px){
  .mars-container{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important}
  .mars-header__inner{height:auto!important;min-height:var(--mars-header-height)!important}
  .mars-home-slider{height:var(--mars-slider-tablet-height)!important}
  .mars-home-banner{height:var(--banner-height-tablet,200px)!important}
  .mars-home-banners,.mars-product-section,.mars-category-strip,.mars-trust-strip,.mars-shipping-banner,.mars-home-blog,.mars-home-cta{max-width:calc(100% - 28px)}
  .mars-secondary-menu .mars-container{overflow:hidden}
  .mars-secondary-menu__list{justify-content:flex-start;overflow-x:auto;padding-inline:2px}
  .mars-quick-access{display:none!important}

  .woocommerce-account .woocommerce{grid-template-columns:1fr!important;gap:12px!important}
  .woocommerce-account .woocommerce-MyAccount-navigation{position:static!important;padding:6px!important;overflow:hidden!important}
  .woocommerce-account .woocommerce-MyAccount-navigation .mars-account-nav-user{display:none!important}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex!important;overflow-x:auto!important;gap:5px!important;scrollbar-width:none;padding:0!important;overscroll-behavior-x:contain}
  .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
  .woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto!important;width:auto!important}
  .woocommerce-account .woocommerce-MyAccount-navigation li a{white-space:nowrap!important;min-height:38px!important;padding:8px 11px!important}
  .woocommerce-account .woocommerce-MyAccount-content{padding:16px!important}
  .mars-account-welcome{grid-template-columns:54px minmax(0,1fr)!important}
  .mars-account-stats{grid-column:1/-1!important}
  .mars-account-addresses{grid-template-columns:1fr 1fr!important}
  .mars-account-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}

  .mars-question-modal{align-items:flex-end;padding:0}
  .mars-question-modal__dialog{width:100%;max-height:86vh;border-radius:18px 18px 0 0;padding:22px 16px calc(20px + env(safe-area-inset-bottom))}
  .mars-cart-toast{bottom:calc(76px + env(safe-area-inset-bottom))}
}

@media(max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  .mars-container{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin-left:auto!important;margin-right:auto!important}
  .mars-header{width:100%;max-width:100%}
  .mars-header__inner{grid-template-columns:40px minmax(0,1fr) auto!important;gap:6px!important;min-height:64px!important;height:64px!important;padding:0!important}
  .mars-header__logo{display:flex;align-items:center;justify-content:flex-start;overflow:hidden}
  .mars-logo{max-width:min(var(--mars-logo-width),145px)!important}
  .mars-logo img{width:100%!important;max-height:46px!important;object-fit:contain}
  .mars-header-actions{gap:2px!important}
  .mars-header-action{min-width:38px!important;padding:3px!important}
  .mars-header-action span{display:none!important}
  .mars-header-action .mars-icon{width:21px!important;height:21px!important}
  .mars-header-action b{right:0!important;top:0!important}
  .mars-topbar{max-width:100%;overflow:hidden}
  .mars-topbar__shipping{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  .mars-secondary-menu{width:100%;max-width:100%}
  .mars-secondary-menu .mars-container{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important}
  .mars-secondary-menu__list{height:var(--mars-secondary-menu-height)!important;gap:max(14px,var(--mars-secondary-menu-gap))!important}

  .mars-home{width:100%;max-width:100%;overflow:hidden}
  .mars-home-slider{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;height:var(--mars-slider-mobile-height)!important;margin-inline:auto!important;left:auto!important;right:auto!important}
  .mars-slide{background-image:var(--slide-mobile)!important;background-size:var(--slide-fit,var(--mars-slider-fit,cover))!important;background-position:var(--slide-position,var(--mars-slider-position,center center))!important}
  .mars-slide__content{width:100%;max-width:min(88%,520px)!important;padding:22px 18px!important}
  .mars-slider-arrow.is-prev{left:8px!important}.mars-slider-arrow.is-next{right:8px!important}
  .mars-slider-dots{bottom:12px!important;max-width:80%;overflow:hidden}

  .mars-home-banners{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;grid-template-columns:1fr!important;gap:10px!important;margin-inline:auto!important}
  .mars-home-banner{width:100%!important;max-width:100%!important;height:var(--banner-height-mobile,180px)!important;background-image:var(--banner-mobile)!important;background-size:var(--banner-fit,cover)!important;background-position:var(--banner-position,center center)!important}
  .mars-home-banner span{max-width:78%!important;padding:18px!important}

  .mars-product-section,.mars-category-strip,.mars-trust-strip,.mars-shipping-banner,.mars-home-blog,.mars-home-cta{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin-left:auto!important;margin-right:auto!important}
  .mars-carousel-shell{width:100%;max-width:100%;overflow:hidden!important}
  .mars-product-carousel{width:100%;max-width:100%;gap:10px!important;padding:0!important;margin:0!important}
  .mars-product-carousel>.product{flex-basis:calc((100% - (var(--mars-carousel-mobile) - 1)*10px)/var(--mars-carousel-mobile))!important;min-width:0!important;margin:0!important}
  .mars-product-card__visual img{max-width:100%!important;height:auto!important;object-fit:contain!important}

  .single-product table.variations tr{grid-template-columns:1fr!important;gap:4px!important}
  .single-product table.variations th label{padding-top:0}
  .mars-variation-swatches{gap:6px}
  .mars-swatch{min-height:36px;min-width:38px;padding:6px 9px;font-size:11px}
  .mars-swatch--image{min-height:48px;padding:4px 6px}.mars-swatch--image img{width:34px;height:34px}.mars-swatch--image .mars-swatch__label{font-size:9px}
  .mars-purchase-block{grid-template-columns:1fr!important;width:100%!important}
  .single-product form.cart,.single-product form.variations_form.cart .woocommerce-variation-add-to-cart{width:100%;max-width:100%}
  .mars-product-support{width:100%;grid-template-columns:1fr 1fr!important}

  .mars-question-modal__grid{grid-template-columns:1fr}
  .mars-question-modal__head h3{font-size:18px}
  .mars-questions-tab__intro{align-items:flex-start;flex-direction:column}
  .mars-questions-tab__intro .mars-button{width:100%}
  .mars-cart-toast{max-width:calc(100% - 24px);width:max-content;border-radius:10px;padding:10px 12px;text-align:left}

  .woocommerce-account .mars-content-card{padding:0!important;border:0!important;box-shadow:none!important}
  .woocommerce-account .mars-page-header{padding-inline:0}
  .woocommerce-account .entry-content{width:100%;max-width:100%}
  .woocommerce-account .woocommerce{width:100%!important;max-width:100%!important}
  .woocommerce-account .woocommerce-MyAccount-navigation{width:100%!important;max-width:100%!important}
  .woocommerce-account .woocommerce-MyAccount-content{width:100%!important;max-width:100%!important;padding:13px!important;border-radius:8px!important}
  .woocommerce-account .woocommerce-MyAccount-content .form-row-first,.woocommerce-account .woocommerce-MyAccount-content .form-row-last{width:100%!important;display:block!important;margin-right:0!important}
  .woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr!important}
  .mars-account-welcome{grid-template-columns:46px minmax(0,1fr)!important;padding:12px!important;gap:10px!important}
  .mars-account-avatar{width:44px!important;height:44px!important}
  .mars-account-welcome h2{font-size:15px!important}
  .mars-account-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .mars-account-stats>div{padding:7px 3px!important}
  .mars-account-stats strong{font-size:16px!important}.mars-account-stats small{font-size:7px!important;line-height:1.3}
  .mars-account-panel{padding:12px!important}
  .mars-account-orders__row{min-width:0!important;display:grid!important;grid-template-columns:1fr!important;gap:3px!important;padding:10px!important;border:1px solid #edf0f4!important;border-radius:7px!important;margin-bottom:8px!important;background:#fff}
  .mars-account-orders__head{display:none!important}
  .mars-account-orders__row>span{display:flex;justify-content:space-between;gap:10px;font-size:10px}
  .mars-account-addresses,.mars-account-quick-actions{grid-template-columns:1fr!important}
  .woocommerce-account table.shop_table_responsive thead{display:none!important}
  .woocommerce-account table.shop_table_responsive,.woocommerce-account table.shop_table_responsive tbody,.woocommerce-account table.shop_table_responsive tr,.woocommerce-account table.shop_table_responsive td{display:block!important;width:100%!important}
  .woocommerce-account table.shop_table_responsive tr{padding:8px 10px;border-bottom:1px solid var(--mars-border)}
  .woocommerce-account table.shop_table_responsive td{display:flex!important;justify-content:space-between;align-items:center;gap:12px;text-align:right!important;padding:7px 0!important;border:0!important}
  .woocommerce-account table.shop_table_responsive td:before{content:attr(data-title);font-weight:600;color:#475467;text-align:left;flex:1}
  .woocommerce-account table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions{display:flex!important;justify-content:flex-end;flex-wrap:wrap}
  .woocommerce-account table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions:before{display:none}

  .mars-footer{width:100%;max-width:100%;overflow:hidden;padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
  .mars-footer__grid{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;grid-template-columns:1fr!important;gap:22px!important}
  .mars-footer__bottom{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important}
  .mars-footer__newsletter,.mars-footer__column,.mars-footer__social-column{width:100%;max-width:100%}
  .mars-newsletter{max-width:100%}
  .mars-newsletter input{min-width:0}
  .mars-quick-access{display:none!important}

  .mars-mobile-canvas{max-width:92vw;overflow-x:hidden}
  .mars-search-dialog{max-width:100vw!important;overflow-x:hidden!important}
  .mars-mobile-bottom{max-width:100vw;overflow:hidden}
}

@media(max-width:420px){
  .mars-container,.mars-home-slider,.mars-home-banners,.mars-product-section,.mars-category-strip,.mars-trust-strip,.mars-shipping-banner,.mars-home-blog,.mars-home-cta{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important}
  .mars-header__inner{grid-template-columns:36px minmax(0,1fr) auto!important}
  .mars-logo{max-width:132px!important}
  .mars-product-support{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .mars-support-btn{font-size:10px!important;padding-inline:7px!important}
  .mars-swatch--image .mars-swatch__label{display:none}
}

/* WooCommerce cart / checkout / review hardening */
.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals,.woocommerce-checkout form.checkout,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review,.woocommerce-checkout #order_review_heading{max-width:100%;min-width:0}
.woocommerce-cart table.shop_table,.woocommerce-checkout table.shop_table{max-width:100%;table-layout:auto}
.woocommerce-cart .cart-collaterals{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:20px;align-items:start}
.woocommerce-cart .cart_totals{float:none!important;width:100%!important;max-width:100%}
.woocommerce-checkout .col2-set{display:grid!important;grid-template-columns:1fr 1fr;gap:20px;width:100%!important;float:none!important}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none!important;width:100%!important;max-width:100%}
.woocommerce-checkout .form-row{max-width:100%}
.woocommerce-checkout input,.woocommerce-checkout select,.woocommerce-checkout textarea{max-width:100%}
.woocommerce #review_form #respond{max-width:100%}
.woocommerce #review_form #respond textarea{width:100%;min-height:130px;border:1px solid #dce2eb;border-radius:var(--mars-input-radius);padding:12px;outline:none}
.woocommerce #review_form #respond input[type=text],.woocommerce #review_form #respond input[type=email]{width:100%;min-height:44px;border:1px solid #dce2eb;border-radius:var(--mars-input-radius);padding:9px 12px}
.woocommerce #review_form #respond .form-submit input{min-height:42px;border:0;border-radius:var(--mars-button-radius);background:var(--mars-primary);color:#fff;padding:0 18px;font-weight:600}

@media(max-width:700px){
  .woocommerce-cart .cart-collaterals,.woocommerce-checkout .col2-set{grid-template-columns:1fr!important}
  .woocommerce-cart table.shop_table_responsive,.woocommerce-cart table.shop_table_responsive tbody,.woocommerce-cart table.shop_table_responsive tr,.woocommerce-cart table.shop_table_responsive td{max-width:100%}
  .woocommerce-cart table.cart td.actions .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important;gap:7px!important}
  .woocommerce-cart table.cart td.actions .coupon .input-text{width:100%!important;min-width:0!important}
  .woocommerce-cart table.cart td.actions>.button{width:100%!important;margin-top:8px!important}
  .woocommerce-checkout #order_review{overflow:hidden}
  .woocommerce-checkout table.shop_table{font-size:11px}
  .woocommerce-checkout table.shop_table th,.woocommerce-checkout table.shop_table td{padding:9px 7px!important}
}

/* Logged-out My Account must not inherit the dashboard sidebar grid. */
.woocommerce-account:not(.logged-in) .woocommerce{display:block!important;width:100%!important;max-width:100%!important}
.woocommerce-account:not(.logged-in) .mars-auth-shell--woo{width:100%;max-width:100%}
.mars-home-banner--ratio{height:auto!important;aspect-ratio:var(--banner-ratio)!important}
@media(max-width:980px){.mars-home-banner--ratio{height:auto!important}}
@media(max-width:700px){.mars-home-banner--ratio{height:auto!important}}
