/* Sara & Montiel – WooCommerce visual layer */
body.smh-woocommerce-design{--smh-wc-purple:#654779;--smh-wc-deep:#503461;--smh-wc-lilac:#9674b1;--smh-wc-aqua:#32b9b5;--smh-wc-ink:#352744;--smh-wc-soft:#f8f4f9;background:#fff;color:var(--smh-wc-ink)}
.smh-woocommerce-design .smh-wc-page-shell{width:100%;padding:34px 20px 100px;margin:0 0 52px;background:linear-gradient(180deg,#fff 0%,#fdfbfd 100%);min-height:320px}
.smh-woocommerce-design .smh-wc-page-inner{padding-bottom:12px}
.smh-woocommerce-design.woocommerce-account .smh-wc-page-shell,
.smh-woocommerce-design.woocommerce-cart .smh-wc-page-shell,
.smh-woocommerce-design.woocommerce-checkout .smh-wc-page-shell{padding-bottom:110px;margin-bottom:60px}
.smh-woocommerce-design .smh-wc-page-inner{max-width:var(--smh-width,1280px);margin:0 auto}
.smh-woocommerce-design .woocommerce-breadcrumb{font-size:12px;color:#8b7b91;margin:0 0 20px}
.smh-woocommerce-design .woocommerce-breadcrumb a{color:var(--smh-wc-lilac);text-decoration:none}
.smh-woocommerce-design .woocommerce-products-header{margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid #eee7f1}
.smh-woocommerce-design .woocommerce-products-header__title,.smh-woocommerce-design .woocommerce-products-header h1,.smh-woocommerce-design h1.product_title,.smh-woocommerce-design .entry-title{font-size:clamp(25px,3vw,36px);font-weight:800;line-height:1.15;color:var(--smh-wc-deep);letter-spacing:-.7px;margin:0 0 10px}
.smh-woocommerce-design .woocommerce-products-header__title:after,.smh-woocommerce-design .woocommerce-products-header h1:after{content:"";display:block;width:52px;height:3px;background:var(--smh-wc-aqua);border-radius:4px;margin-top:12px}
.smh-woocommerce-design .woocommerce-result-count{font-size:12px;color:#83758a}
.smh-woocommerce-design .woocommerce-ordering select,.smh-woocommerce-design .woocommerce div.product form.cart .variations select,.smh-woocommerce-design .woocommerce form .form-row input.input-text,.smh-woocommerce-design .woocommerce form .form-row textarea,.smh-woocommerce-design .select2-container--default .select2-selection--single{min-height:43px;border:1px solid #e6dce9;border-radius:9px;background:#fff;color:var(--smh-wc-ink);padding:9px 12px;font-size:13px;box-shadow:none}
.smh-woocommerce-design .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(var(--smh-wc-grid,4),minmax(0,1fr));gap:28px 20px;margin:22px 0!important;padding:0!important}
.smh-woocommerce-design.smh-wc-columns-2 .woocommerce ul.products{--smh-wc-grid:2}
.smh-woocommerce-design.smh-wc-columns-3 .woocommerce ul.products{--smh-wc-grid:3}
.smh-woocommerce-design.smh-wc-columns-4 .woocommerce ul.products{--smh-wc-grid:4}
.smh-woocommerce-design .woocommerce ul.products:before,.smh-woocommerce-design .woocommerce ul.products:after{display:none!important}
.smh-woocommerce-design .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px 12px 15px!important;position:relative;background:#fff;border:1px solid #f0eaf2;border-radius:13px;box-shadow:0 5px 18px rgba(66,43,78,.045);transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column;min-width:0}
.smh-woocommerce-design .woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(66,43,78,.11)}
.smh-woocommerce-design .woocommerce ul.products li.product a img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fbf9fc;border-radius:9px;margin:0 0 13px}
.smh-woocommerce-design .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.45;font-weight:700;color:var(--smh-wc-deep);padding:0!important;margin:0 0 8px!important;min-height:38px}
.smh-woocommerce-design .woocommerce ul.products li.product .price{font-size:15px!important;font-weight:800;color:var(--smh-wc-deep)!important;margin:0 0 12px!important}
.smh-woocommerce-design .woocommerce ul.products li.product .price del{font-size:11px;opacity:.55}
.smh-woocommerce-design .woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--smh-wc-purple)}
.smh-woocommerce-design .woocommerce ul.products li.product .star-rating{font-size:11px;color:#d6a84c;margin:0 0 8px}
.smh-woocommerce-design .woocommerce ul.products li.product .button,.smh-woocommerce-design .woocommerce a.button,.smh-woocommerce-design .woocommerce button.button,.smh-woocommerce-design .woocommerce input.button,.smh-woocommerce-design .woocommerce #respond input#submit,.smh-woocommerce-design .woocommerce button.alt,.smh-woocommerce-design .woocommerce a.added_to_cart{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 16px!important;border:0!important;border-radius:7px!important;background:linear-gradient(135deg,var(--smh-wc-lilac),var(--smh-wc-purple))!important;color:#fff!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important;box-shadow:none!important;transition:filter .2s,transform .2s}
.smh-woocommerce-design .woocommerce ul.products li.product .button{margin-top:auto!important;align-self:flex-start}
.smh-woocommerce-design .woocommerce .button:hover,.smh-woocommerce-design .woocommerce button.button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.smh-woocommerce-design .woocommerce span.onsale{min-height:0;min-width:0;top:20px!important;left:20px!important;right:auto!important;margin:0!important;padding:7px 10px!important;border-radius:5px!important;background:var(--smh-wc-aqua)!important;color:#fff!important;font-size:10px!important;font-weight:800;line-height:1.2}
.smh-woocommerce-design .woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:7px}
.smh-woocommerce-design .woocommerce nav.woocommerce-pagination ul li{border:0}
.smh-woocommerce-design .woocommerce nav.woocommerce-pagination ul li a,.smh-woocommerce-design .woocommerce nav.woocommerce-pagination ul li span{min-width:35px;height:35px;display:flex;align-items:center;justify-content:center;border:1px solid #e9dfed;border-radius:7px;background:#fff;color:var(--smh-wc-purple);font-size:12px}
.smh-woocommerce-design .woocommerce nav.woocommerce-pagination ul li span.current{background:var(--smh-wc-purple);color:#fff;border-color:var(--smh-wc-purple)}
/* Single product */
.smh-woocommerce-design div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:38px;align-items:start}
.smh-woocommerce-design div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
.smh-woocommerce-design div.product .woocommerce-product-gallery__wrapper{background:#fbf9fc;border-radius:15px;overflow:hidden}
.smh-woocommerce-design div.product .woocommerce-product-gallery__image img{mix-blend-mode:multiply}
.smh-woocommerce-design div.product .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:10px;margin-top:12px}
.smh-woocommerce-design div.product .woocommerce-product-gallery .flex-control-thumbs li{width:calc(25% - 8px);border:1px solid #eee5f1;border-radius:8px;overflow:hidden}
.smh-woocommerce-design div.product .summary{width:100%!important;float:none!important;margin:0!important;padding:8px 0}
.smh-woocommerce-design h1.product_title{font-size:clamp(25px,3vw,34px);margin-bottom:14px}
.smh-woocommerce-design .summary .price{font-size:25px!important;font-weight:800;color:var(--smh-wc-purple)!important;margin:12px 0}
.smh-woocommerce-design .summary .price del{font-size:16px;opacity:.5}
.smh-woocommerce-design .summary .price ins{text-decoration:none}
.smh-woocommerce-design .summary .woocommerce-product-details__short-description{font-size:14px;line-height:1.8;color:#716477}
.smh-woocommerce-design .summary form.cart{padding:18px 0;margin:18px 0!important;border-top:1px solid #eee7f1;border-bottom:1px solid #eee7f1}
.smh-woocommerce-design .woocommerce .quantity .qty{height:40px;border:1px solid #e7ddea;border-radius:7px;color:var(--smh-wc-ink);background:#fff}
.smh-woocommerce-design .summary .single_add_to_cart_button{min-height:43px!important;padding:12px 24px!important}
.smh-woocommerce-design .product_meta{font-size:11px;line-height:2;color:#87798e}
.smh-woocommerce-design .product_meta a{color:var(--smh-wc-lilac)}
.smh-woocommerce-design .woocommerce-tabs{grid-column:1/-1;margin-top:20px;padding:22px;background:#fff;border:1px solid #f0eaf2;border-radius:13px}
.smh-woocommerce-design .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 20px!important;border:0!important;display:flex;gap:8px;flex-wrap:wrap}
.smh-woocommerce-design .woocommerce-tabs ul.tabs:before,.smh-woocommerce-design .woocommerce-tabs ul.tabs li:before,.smh-woocommerce-design .woocommerce-tabs ul.tabs li:after{display:none!important}
.smh-woocommerce-design .woocommerce-tabs ul.tabs li{border:0!important;background:#f5eff8!important;border-radius:7px!important;padding:0!important;margin:0!important}
.smh-woocommerce-design .woocommerce-tabs ul.tabs li a{padding:11px 16px!important;color:var(--smh-wc-purple)!important;font-size:12px;font-weight:700}
.smh-woocommerce-design .woocommerce-tabs ul.tabs li.active{background:var(--smh-wc-purple)!important}
.smh-woocommerce-design .woocommerce-tabs ul.tabs li.active a{color:#fff!important}
.smh-woocommerce-design .woocommerce-tabs .panel{font-size:13px;line-height:1.8;color:#665a6d}
/* Benefits strip */
.smh-wc-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0;padding:15px;background:#f7f2f9;border-radius:11px}
.smh-wc-benefits>div{display:flex;align-items:center;gap:9px;min-width:0}
.smh-wc-benefit-icon{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--smh-wc-purple);font-size:20px}
.smh-wc-benefits strong,.smh-wc-benefits small{display:block}
.smh-wc-benefits strong{font-size:10px;color:var(--smh-wc-deep)}
.smh-wc-benefits small{font-size:9px;color:#8a7d90;margin-top:2px}
/* Cart, checkout and account */
.smh-woocommerce-design .woocommerce-cart-form,.smh-woocommerce-design .cart-collaterals .cart_totals,.smh-woocommerce-design .woocommerce-checkout #customer_details,.smh-woocommerce-design .woocommerce-checkout #order_review,.smh-woocommerce-design .woocommerce-MyAccount-content,.smh-woocommerce-design .woocommerce-MyAccount-navigation{background:#fff;border:1px solid #efe8f1;border-radius:13px;padding:20px;box-shadow:0 5px 18px rgba(66,43,78,.04)}
.smh-woocommerce-design table.shop_table{border:1px solid #eee6f0!important;border-radius:10px;overflow:hidden;border-collapse:separate;border-spacing:0;font-size:12px}
.smh-woocommerce-design table.shop_table th{background:#f7f2f9;color:var(--smh-wc-deep);font-weight:700;padding:13px!important}
.smh-woocommerce-design table.shop_table td{padding:13px!important;border-color:#f0eaf2!important}
.smh-woocommerce-design table.shop_table .product-name a{font-weight:700;color:var(--smh-wc-deep)}
.smh-woocommerce-design .cart-collaterals{margin-top:24px}
.smh-woocommerce-design .cart_totals h2,.smh-woocommerce-design #order_review_heading,.smh-woocommerce-design .woocommerce-billing-fields h3,.smh-woocommerce-design .woocommerce-shipping-fields h3{font-size:20px;color:var(--smh-wc-deep);font-weight:800;margin:0 0 17px}
.smh-woocommerce-design .wc-proceed-to-checkout a.checkout-button{width:100%;min-height:46px!important;font-size:14px!important}
.smh-woocommerce-design .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:22px;align-items:start}
.smh-woocommerce-design .woocommerce-checkout #customer_details{grid-column:1}
.smh-woocommerce-design .woocommerce-checkout #order_review_heading,.smh-woocommerce-design .woocommerce-checkout #order_review{grid-column:2}
.smh-woocommerce-design .woocommerce form .form-row{margin:0 0 14px}
.smh-woocommerce-design .woocommerce form .form-row label{font-size:11px;font-weight:700;color:#62536b;margin-bottom:6px}
.smh-woocommerce-design .woocommerce form .form-row input.input-text,.smh-woocommerce-design .woocommerce form .form-row textarea{width:100%;min-height:42px}
.smh-woocommerce-design .woocommerce form .form-row textarea{min-height:100px}
.smh-woocommerce-design #payment{background:#f8f4f9!important;border-radius:10px}
.smh-woocommerce-design #payment ul.payment_methods{border-color:#e9dfed}
.smh-woocommerce-design #payment div.payment_box{background:#fff;border-radius:8px}
.smh-woocommerce-design #payment div.payment_box:before{border-bottom-color:#fff}
.smh-woocommerce-design .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.smh-woocommerce-design .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid #f0eaf2}
.smh-woocommerce-design .woocommerce-MyAccount-navigation li:last-child{border:0}
.smh-woocommerce-design .woocommerce-MyAccount-navigation a{display:block;padding:12px 10px;color:var(--smh-wc-purple);font-size:12px;font-weight:700;text-decoration:none;border-radius:6px}
.smh-woocommerce-design .woocommerce-MyAccount-navigation .is-active a,.smh-woocommerce-design .woocommerce-MyAccount-navigation a:hover{background:#f5eff8}
.smh-woocommerce-design .woocommerce-info,.smh-woocommerce-design .woocommerce-message,.smh-woocommerce-design .woocommerce-error{border-top:3px solid var(--smh-wc-lilac)!important;border-radius:8px;background:#faf7fb!important;color:#5b4b63;padding:15px 18px 15px 48px!important;font-size:12px}
.smh-woocommerce-design .woocommerce-info:before,.smh-woocommerce-design .woocommerce-message:before{color:var(--smh-wc-purple)!important}
.smh-woocommerce-design .woocommerce-error{border-top-color:#c65c72!important}
.smh-woocommerce-design .woocommerce-error:before{color:#c65c72!important}
.smh-woocommerce-design .woocommerce .woocommerce-form-login,.smh-woocommerce-design .woocommerce .woocommerce-form-register,.smh-woocommerce-design .woocommerce .lost_reset_password{max-width:620px;padding:22px;border:1px solid #efe8f1;border-radius:13px;background:#fff}
.smh-woocommerce-design .woocommerce .col2-set,.smh-woocommerce-design .woocommerce-page .col2-set{width:100%}
.smh-woocommerce-design .woocommerce .col2-set .col-1,.smh-woocommerce-design .woocommerce .col2-set .col-2{width:100%;float:none}
.smh-woocommerce-design .woocommerce .woocommerce-pagination{margin-top:28px}
@media(max-width:900px){.smh-woocommerce-design .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}.smh-woocommerce-design div.product{gap:24px}.smh-woocommerce-design .woocommerce form.checkout{grid-template-columns:1fr}.smh-woocommerce-design .woocommerce-checkout #customer_details,.smh-woocommerce-design .woocommerce-checkout #order_review_heading,.smh-woocommerce-design .woocommerce-checkout #order_review{grid-column:1}}
@media(max-width:600px){.smh-woocommerce-design .smh-wc-page-shell{padding:24px 13px 40px}.smh-woocommerce-design .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.smh-woocommerce-design .woocommerce ul.products li.product{padding:8px!important;border-radius:10px}.smh-woocommerce-design .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;min-height:32px}.smh-woocommerce-design .woocommerce ul.products li.product .price{font-size:13px!important}.smh-woocommerce-design .woocommerce ul.products li.product .button{width:100%;font-size:10px!important;padding:8px 6px!important}.smh-woocommerce-design div.product{display:block}.smh-woocommerce-design div.product .summary{padding-top:22px}.smh-woocommerce-design .woocommerce-tabs{margin-top:24px;padding:14px}.smh-wc-benefits{grid-template-columns:1fr;gap:12px}.smh-wc-benefits>div{gap:11px}.smh-wc-benefits strong{font-size:11px}.smh-wc-benefits small{font-size:10px}.smh-woocommerce-design .woocommerce-cart-form,.smh-woocommerce-design .cart-collaterals .cart_totals,.smh-woocommerce-design .woocommerce-checkout #customer_details,.smh-woocommerce-design .woocommerce-checkout #order_review,.smh-woocommerce-design .woocommerce-MyAccount-content,.smh-woocommerce-design .woocommerce-MyAccount-navigation{padding:12px}.smh-woocommerce-design table.shop_table{font-size:10px}.smh-woocommerce-design table.shop_table th,.smh-woocommerce-design table.shop_table td{padding:8px 6px!important}.smh-woocommerce-design .woocommerce table.cart .product-thumbnail{display:none}}
@media(prefers-reduced-motion:reduce){.smh-woocommerce-design *{transition:none!important}}

/* Extra separation between WooCommerce content and the theme footer */
body.smh-woocommerce-design .smh-wc-page-shell{padding-bottom:clamp(80px,9vw,130px)!important;margin-bottom:clamp(35px,5vw,70px)!important}
body.smh-woocommerce-design .smh-wc-page-inner{min-height:260px}
body.smh-woocommerce-design.woocommerce-account .smh-wc-page-inner{padding-bottom:24px}
@media(max-width:600px){
 body.smh-woocommerce-design .smh-wc-page-shell{padding-bottom:76px!important;margin-bottom:35px!important}
 body.smh-woocommerce-design.woocommerce-account .smh-wc-page-shell,
 body.smh-woocommerce-design.woocommerce-cart .smh-wc-page-shell,
 body.smh-woocommerce-design.woocommerce-checkout .smh-wc-page-shell{padding-bottom:85px!important;margin-bottom:38px!important}
}

/* Catalog refinement: clean product tiles with centered copy, prices and actions (reference layout) */
.smh-woocommerce-design .woocommerce ul.products li.product{padding:8px 8px 14px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;align-items:center;text-align:center;transition:transform .22s ease!important}
.smh-woocommerce-design .woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:none!important}
.smh-woocommerce-design .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;align-items:center;width:100%;text-align:center}
.smh-woocommerce-design .woocommerce ul.products li.product a img{width:100%!important;max-width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff!important;border-radius:9px;margin:0 auto 12px!important}
.smh-woocommerce-design .woocommerce ul.products li.product .woocommerce-loop-product__title{width:100%;text-align:center!important;font-size:13px!important;line-height:1.4!important;font-weight:700!important;color:#352744!important;padding:0!important;margin:0 0 7px!important;min-height:38px;display:flex;align-items:flex-start;justify-content:center}
.smh-woocommerce-design .woocommerce ul.products li.product .price{width:100%;text-align:center!important;font-size:14px!important;font-weight:800!important;color:#352744!important;margin:0 0 12px!important}
.smh-woocommerce-design .woocommerce ul.products li.product .price del{font-size:11px;opacity:.55}
.smh-woocommerce-design .woocommerce ul.products li.product .price ins{text-decoration:none;color:#654779}
.smh-woocommerce-design .woocommerce ul.products li.product .star-rating{margin:0 auto 8px!important}
.smh-woocommerce-design .woocommerce ul.products li.product .button{align-self:center!important;margin:0 auto!important;min-height:36px!important;padding:9px 17px!important;border-radius:5px!important;background:linear-gradient(135deg,#9674b1,#654779)!important;color:#fff!important;font-size:12px!important;font-weight:700!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important;white-space:nowrap}
.smh-woocommerce-design .woocommerce ul.products li.product .button:before{content:"";display:inline-block;width:13px;height:13px;flex:0 0 13px;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E")}
.smh-woocommerce-design .woocommerce ul.products li.product .added_to_cart{align-self:center!important;margin:7px auto 0!important}
@media(max-width:900px){.smh-woocommerce-design .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}}
@media(max-width:600px){.smh-woocommerce-design .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.smh-woocommerce-design .woocommerce ul.products li.product{padding:5px 4px 12px!important}.smh-woocommerce-design .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;min-height:34px}.smh-woocommerce-design .woocommerce ul.products li.product .price{font-size:12px!important}.smh-woocommerce-design .woocommerce ul.products li.product .button{width:auto!important;max-width:100%;font-size:10px!important;padding:8px 12px!important}}


/* 1.3.1 – Product catalog: equal image, title, price and button alignment */
body.smh-woocommerce-design .woocommerce ul.products{
  display:grid!important;
  grid-template-columns:repeat(var(--smh-wc-grid,4),minmax(0,1fr))!important;
  align-items:stretch!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  height:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  text-align:center!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  text-align:center!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img{
  display:block!important;
  width:100%!important;
  height:190px!important;
  max-height:190px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto 12px!important;
  background:#fff!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product .woocommerce-loop-product__title{
  display:-webkit-box!important;
  width:100%!important;
  height:2.8em!important;
  min-height:2.8em!important;
  max-height:2.8em!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  line-height:1.4!important;
  text-align:center!important;
  align-items:initial!important;
  justify-content:initial!important;
  margin:0 0 7px!important;
  padding:0 3px!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product .price{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:1.6em!important;
  height:1.6em!important;
  margin:0 0 12px!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product .button,
body.smh-woocommerce-design .woocommerce ul.products li.product a.added_to_cart{
  display:inline-flex!important;
  flex:0 0 36px!important;
  align-self:center!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:132px!important;
  min-width:0!important;
  min-height:36px!important;
  height:36px!important;
  margin:0 auto!important;
  padding:0 10px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:5px!important;
  line-height:1!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product .button:before{
  width:13px!important;
  height:13px!important;
  flex:0 0 13px!important;
}
body.smh-woocommerce-design .woocommerce ul.products li.product .star-rating{
  flex:0 0 auto!important;
  margin:0 auto 7px!important;
}
@media(max-width:900px){
  body.smh-woocommerce-design .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img{height:170px!important;max-height:170px!important}
}
@media(max-width:600px){
  body.smh-woocommerce-design .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img{height:145px!important;max-height:145px!important;margin-bottom:9px!important}
  body.smh-woocommerce-design .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;height:2.8em!important;min-height:2.8em!important;max-height:2.8em!important}
  body.smh-woocommerce-design .woocommerce ul.products li.product .price{font-size:12px!important;margin-bottom:9px!important}
  body.smh-woocommerce-design .woocommerce ul.products li.product .button,
  body.smh-woocommerce-design .woocommerce ul.products li.product a.added_to_cart{max-width:125px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important;font-size:10px!important}
}


/* 1.3.2 – Ensure the design applies to classic WooCommerce archive and related-product loops */
body.smh-woocommerce-design.woocommerce ul.products,
body.smh-woocommerce-design.woocommerce-page ul.products,
body.smh-woocommerce-design .woocommerce ul.products,
body.smh-woocommerce-design .woocommerce-page ul.products{
  display:grid!important;
  grid-template-columns:repeat(var(--smh-wc-grid,4),minmax(0,1fr))!important;
  gap:26px 20px!important;
  align-items:stretch!important;
  width:100%!important;
  margin:22px 0!important;
  padding:0!important;
}
body.smh-woocommerce-design.smh-wc-columns-2 ul.products{--smh-wc-grid:2!important}
body.smh-woocommerce-design.smh-wc-columns-3 ul.products{--smh-wc-grid:3!important}
body.smh-woocommerce-design.smh-wc-columns-4 ul.products{--smh-wc-grid:4!important}

body.smh-woocommerce-design ul.products li.product,
body.smh-woocommerce-design .woocommerce ul.products li.product,
body.smh-woocommerce-design .woocommerce-page ul.products li.product{
  float:none!important;
  clear:none!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:8px 8px 14px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  height:100%!important;
}

body.smh-woocommerce-design ul.products li.product > a.woocommerce-LoopProduct-link,
body.smh-woocommerce-design ul.products li.product > a:first-child:not(.button){
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-width:0!important;
  text-align:center!important;
  text-decoration:none!important;
}

body.smh-woocommerce-design ul.products li.product a img{
  display:block!important;
  width:100%!important;
  height:190px!important;
  max-height:190px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto 12px!important;
  padding:0!important;
  background:#fff!important;
  border-radius:9px!important;
}

body.smh-woocommerce-design ul.products li.product .woocommerce-loop-product__title{
  display:-webkit-box!important;
  width:100%!important;
  height:2.8em!important;
  min-height:2.8em!important;
  max-height:2.8em!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-height:1.4!important;
  padding:0 3px!important;
  margin:0 0 7px!important;
  box-sizing:border-box!important;
  text-align:center!important;
  justify-content:center!important;
  align-items:initial!important;
  color:#352744!important;
  font-size:13px!important;
  font-weight:700!important;
}

body.smh-woocommerce-design ul.products li.product .price{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:1.7em!important;
  min-height:1.7em!important;
  margin:0 0 12px!important;
  color:#352744!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.smh-woocommerce-design ul.products li.product .price del{opacity:.55!important;font-size:11px!important}
body.smh-woocommerce-design ul.products li.product .price ins{color:#654779!important;text-decoration:none!important}
body.smh-woocommerce-design ul.products li.product .star-rating{margin:0 auto 8px!important;float:none!important}

body.smh-woocommerce-design ul.products li.product a.button,
body.smh-woocommerce-design ul.products li.product button.button,
body.smh-woocommerce-design ul.products li.product .add_to_cart_button,
body.smh-woocommerce-design ul.products li.product .product_type_variable,
body.smh-woocommerce-design ul.products li.product .product_type_grouped,
body.smh-woocommerce-design ul.products li.product a.added_to_cart{
  display:inline-flex!important;
  flex:0 0 36px!important;
  align-self:center!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:132px!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  margin:0 auto!important;
  padding:0 9px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:5px!important;
  background:linear-gradient(135deg,#9674b1,#654779)!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body.smh-woocommerce-design ul.products li.product a.button:before,
body.smh-woocommerce-design ul.products li.product button.button:before{
  content:"";
  display:inline-block;
  width:13px;
  height:13px;
  flex:0 0 13px;
  margin-right:6px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E");
}
body.smh-woocommerce-design ul.products li.product a.button:hover,
body.smh-woocommerce-design ul.products li.product button.button:hover{
  filter:brightness(1.08)!important;
  transform:translateY(-1px);
}

/* Related products on the single-product page */
body.smh-woocommerce-design.single-product .related.products,
body.smh-woocommerce-design.single-product .up-sells.upsells.products{
  display:block!important;
  clear:both!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  grid-column:1/-1!important;
  margin:38px 0 12px!important;
  padding:28px 0 0!important;
  border-top:1px solid #eee7f1!important;
}
body.smh-woocommerce-design.single-product .related.products > h2,
body.smh-woocommerce-design.single-product .up-sells.upsells.products > h2{
  display:block!important;
  width:100%!important;
  margin:0 0 8px!important;
  color:#503461!important;
  font-size:clamp(21px,2.4vw,28px)!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-align:left!important;
}
body.smh-woocommerce-design.single-product .related.products > h2:after,
body.smh-woocommerce-design.single-product .up-sells.upsells.products > h2:after{
  content:"";
  display:block;
  width:48px;
  height:3px;
  margin-top:10px;
  border-radius:4px;
  background:#32b9b5;
}
body.smh-woocommerce-design.single-product .related.products ul.products,
body.smh-woocommerce-design.single-product .up-sells.upsells.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px 18px!important;
  margin:20px 0 0!important;
  padding:0!important;
}
body.smh-woocommerce-design.single-product .related.products ul.products li.product,
body.smh-woocommerce-design.single-product .up-sells.upsells.products ul.products li.product{
  width:auto!important;
  margin:0!important;
}

/* Product detail: keep gallery and summary in their own columns; related products span below */
body.smh-woocommerce-design.single-product div.product{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  align-items:start!important;
}
body.smh-woocommerce-design.single-product div.product > .woocommerce-product-gallery,
body.smh-woocommerce-design.single-product div.product > .summary{
  grid-row:1!important;
}
body.smh-woocommerce-design.single-product div.product > .woocommerce-tabs,
body.smh-woocommerce-design.single-product div.product > .related,
body.smh-woocommerce-design.single-product div.product > .up-sells{
  grid-column:1/-1!important;
}

@media(max-width:900px){
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design.single-product .related.products ul.products,
  body.smh-woocommerce-design.single-product .up-sells.upsells.products ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:20px 14px!important;
  }
  body.smh-woocommerce-design ul.products li.product a img{height:170px!important;max-height:170px!important}
}
@media(max-width:600px){
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design.single-product .related.products ul.products,
  body.smh-woocommerce-design.single-product .up-sells.upsells.products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px 10px!important;
  }
  body.smh-woocommerce-design ul.products li.product{padding:5px 4px 12px!important}
  body.smh-woocommerce-design ul.products li.product a img{height:145px!important;max-height:145px!important;margin-bottom:9px!important}
  body.smh-woocommerce-design ul.products li.product .woocommerce-loop-product__title{font-size:11px!important}
  body.smh-woocommerce-design ul.products li.product .price{font-size:12px!important;margin-bottom:9px!important}
  body.smh-woocommerce-design ul.products li.product a.button,
  body.smh-woocommerce-design ul.products li.product button.button,
  body.smh-woocommerce-design ul.products li.product a.added_to_cart{max-width:125px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important;font-size:10px!important}
  body.smh-woocommerce-design.single-product .related.products,
  body.smh-woocommerce-design.single-product .up-sells.upsells.products{margin-top:28px!important;padding-top:22px!important}
}


/* 1.3.3 – Four-column premium catalog layout, independent of theme column classes */
body.smh-woocommerce-design.woocommerce ul.products,
body.smh-woocommerce-design.woocommerce-page ul.products,
body.smh-woocommerce-design .woocommerce ul.products,
body.smh-woocommerce-design .woocommerce-page ul.products,
body.smh-woocommerce-design.single-product .related.products ul.products,
body.smh-woocommerce-design.single-product .up-sells.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:30px 22px!important;
  width:100%!important;
  max-width:100%!important;
}
body.smh-woocommerce-design ul.products.columns-1,
body.smh-woocommerce-design ul.products.columns-2,
body.smh-woocommerce-design ul.products.columns-3,
body.smh-woocommerce-design ul.products.columns-5,
body.smh-woocommerce-design ul.products.columns-6{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.smh-woocommerce-design ul.products li.product,
body.smh-woocommerce-design .woocommerce ul.products li.product{
  box-sizing:border-box!important;
  min-height:100%!important;
  padding:14px 12px 16px!important;
  border:1px solid #f0eaf3!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 20px rgba(62,39,75,.055)!important;
  overflow:hidden!important;
  text-align:center!important;
  align-items:center!important;
  justify-content:flex-start!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
body.smh-woocommerce-design ul.products li.product:hover,
body.smh-woocommerce-design .woocommerce ul.products li.product:hover{
  transform:translateY(-3px)!important;
  border-color:#e3d5eb!important;
  box-shadow:0 12px 28px rgba(62,39,75,.11)!important;
}
body.smh-woocommerce-design ul.products li.product a.woocommerce-LoopProduct-link,
body.smh-woocommerce-design ul.products li.product a:first-child:not(.button){
  width:100%!important;
  flex:1 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
}
body.smh-woocommerce-design ul.products li.product a img{
  width:100%!important;
  height:205px!important;
  max-height:205px!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:9px!important;
  margin:0 0 13px!important;
  background:#fcfafc!important;
  border-radius:10px!important;
}
body.smh-woocommerce-design ul.products li.product .woocommerce-loop-product__title{
  width:100%!important;
  min-height:40px!important;
  height:40px!important;
  max-height:40px!important;
  margin:0 0 8px!important;
  padding:0 5px!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-height:1.45!important;
  color:#382746!important;
  font-size:13px!important;
  font-weight:700!important;
  text-align:center!important;
}
body.smh-woocommerce-design ul.products li.product .price{
  width:100%!important;
  min-height:24px!important;
  height:24px!important;
  margin:0 0 14px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  color:#382746!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
}
body.smh-woocommerce-design ul.products li.product a.button,
body.smh-woocommerce-design ul.products li.product button.button,
body.smh-woocommerce-design ul.products li.product .product_type_variable,
body.smh-woocommerce-design ul.products li.product .product_type_grouped,
body.smh-woocommerce-design ul.products li.product a.added_to_cart{
  display:inline-flex!important;
  flex:0 0 42px!important;
  align-self:center!important;
  justify-content:center!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  max-width:164px!important;
  min-width:145px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0 auto!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:7px!important;
  background:linear-gradient(135deg,#9674b1 0%,#654779 100%)!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-align:center!important;
  white-space:nowrap!important;
  box-shadow:0 4px 10px rgba(101,71,121,.16)!important;
}
body.smh-woocommerce-design ul.products li.product a.button:before,
body.smh-woocommerce-design ul.products li.product button.button:before{
  width:14px!important;height:14px!important;flex:0 0 14px!important;margin:0!important;
}
body.smh-woocommerce-design ul.products li.product .added_to_cart{margin-top:7px!important}

body.smh-woocommerce-design .woocommerce-result-count{
  color:#75677d!important;font-size:13px!important;
}
body.smh-woocommerce-design .woocommerce-ordering select{
  min-height:42px!important;padding:8px 34px 8px 13px!important;
  border:1px solid #e7ddeb!important;border-radius:9px!important;
  background:#fff!important;color:#503d5c!important;
  font-size:13px!important;box-shadow:0 3px 12px rgba(60,35,75,.04)!important;
}
body.smh-woocommerce-design nav.woocommerce-pagination ul{
  display:flex!important;justify-content:center!important;gap:7px!important;
  border:0!important;margin:30px 0!important;
}
body.smh-woocommerce-design nav.woocommerce-pagination ul li{
  border:0!important;margin:0!important;
}
body.smh-woocommerce-design nav.woocommerce-pagination ul li a,
body.smh-woocommerce-design nav.woocommerce-pagination ul li span{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:38px!important;height:38px!important;padding:0 10px!important;
  border:1px solid #eadfee!important;border-radius:8px!important;
  color:#654779!important;background:#fff!important;
}
body.smh-woocommerce-design nav.woocommerce-pagination ul li span.current{
  color:#fff!important;background:#654779!important;border-color:#654779!important;
}
@media(max-width:900px){
 body.smh-woocommerce-design.woocommerce ul.products,
 body.smh-woocommerce-design .woocommerce ul.products,
 body.smh-woocommerce-design.single-product .related.products ul.products,
 body.smh-woocommerce-design.single-product .up-sells.products ul.products{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px 15px!important;
 }
 body.smh-woocommerce-design ul.products li.product a img{height:175px!important;max-height:175px!important}
}
@media(max-width:600px){
 body.smh-woocommerce-design.woocommerce ul.products,
 body.smh-woocommerce-design .woocommerce ul.products,
 body.smh-woocommerce-design.single-product .related.products ul.products,
 body.smh-woocommerce-design.single-product .up-sells.products ul.products{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 10px!important;
 }
 body.smh-woocommerce-design ul.products li.product{padding:9px 7px 12px!important}
 body.smh-woocommerce-design ul.products li.product a img{height:145px!important;max-height:145px!important}
 body.smh-woocommerce-design ul.products li.product a.button,
 body.smh-woocommerce-design ul.products li.product button.button,
 body.smh-woocommerce-design ul.products li.product a.added_to_cart{
   max-width:145px!important;min-width:0!important;height:39px!important;min-height:39px!important;flex-basis:39px!important;padding:0 8px!important;font-size:11px!important;
 }
}

/* 1.3.4 – Hard reset WooCommerce/theme column widths and row clearing.
   Some themes assign width/clear/float to li.first/li.last or to the
   columns-* classes. Those legacy rules can leave only three cards in row 1. */
@media (min-width: 1024px) {
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design .woocommerce ul.products,
  body.smh-woocommerce-design .woocommerce-page ul.products,
  body.smh-woocommerce-design.single-product .related.products ul.products,
  body.smh-woocommerce-design.single-product .up-sells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: stretch !important;
    align-content: start !important;
    gap: 28px 20px !important;
  }
  body.smh-woocommerce-design ul.products > li.product,
  body.smh-woocommerce-design .woocommerce ul.products > li.product,
  body.smh-woocommerce-design .woocommerce-page ul.products > li.product,
  body.smh-woocommerce-design.single-product .related.products ul.products > li.product,
  body.smh-woocommerce-design.single-product .up-sells.products ul.products > li.product {
    display: flex !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    grid-column: auto / span 1 !important;
    grid-row: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  body.smh-woocommerce-design ul.products > li.product.first,
  body.smh-woocommerce-design ul.products > li.product.last,
  body.smh-woocommerce-design .woocommerce ul.products > li.product.first,
  body.smh-woocommerce-design .woocommerce ul.products > li.product.last {
    clear: none !important;
    float: none !important;
  }
}

/* Keep four columns on normal desktop/tablet landscape; three only on compact tablet. */
@media (min-width: 768px) and (max-width: 1023px) {
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design .woocommerce ul.products,
  body.smh-woocommerce-design .woocommerce-page ul.products,
  body.smh-woocommerce-design.single-product .related.products ul.products,
  body.smh-woocommerce-design.single-product .up-sells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px 14px !important;
  }
  body.smh-woocommerce-design ul.products > li.product,
  body.smh-woocommerce-design .woocommerce ul.products > li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
    grid-column: auto / span 1 !important;
  }
}


/* 1.3.5 – Full-width catalog reset.
   Fixes theme layouts where the first product loop is narrowed/floated to
   the right, leaving a large empty area and only three cards in its first row. */
@media (min-width: 1024px) {
  body.smh-woocommerce-design .woocommerce,
  body.smh-woocommerce-design .woocommerce-page,
  body.smh-woocommerce-design .woocommerce .products,
  body.smh-woocommerce-design .woocommerce-page .products,
  body.smh-woocommerce-design .woocommerce .products-container,
  body.smh-woocommerce-design .woocommerce-page .products-container,
  body.smh-woocommerce-design .elementor-widget-woocommerce-products,
  body.smh-woocommerce-design .elementor-widget-wc-archive-products,
  body.smh-woocommerce-design .elementor-widget-woocommerce-product-related,
  body.smh-woocommerce-design .elementor-widget-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design .woocommerce ul.products,
  body.smh-woocommerce-design .woocommerce-page ul.products,
  body.smh-woocommerce-design .elementor-widget-woocommerce-products ul.products,
  body.smh-woocommerce-design .elementor-widget-wc-archive-products ul.products,
  body.smh-woocommerce-design .elementor-widget-woocommerce-product-related ul.products,
  body.smh-woocommerce-design .elementor-products-grid ul.products,
  body.smh-woocommerce-design .related.products ul.products,
  body.smh-woocommerce-design .up-sells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    clear: both !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    justify-content: stretch !important;
    align-content: start !important;
    box-sizing: border-box !important;
    gap: 28px 20px !important;
  }

  body.smh-woocommerce-design ul.products::before,
  body.smh-woocommerce-design ul.products::after,
  body.smh-woocommerce-design .woocommerce ul.products::before,
  body.smh-woocommerce-design .woocommerce ul.products::after {
    content: none !important;
    display: none !important;
  }

  body.smh-woocommerce-design ul.products > li.product,
  body.smh-woocommerce-design .woocommerce ul.products > li.product,
  body.smh-woocommerce-design .woocommerce-page ul.products > li.product,
  body.smh-woocommerce-design .elementor-products-grid ul.products > li.product,
  body.smh-woocommerce-design .related.products ul.products > li.product,
  body.smh-woocommerce-design .up-sells.products ul.products > li.product {
    display: flex !important;
    grid-column: auto !important;
    grid-row: auto !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    inset: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.smh-woocommerce-design ul.products > li.product.first,
  body.smh-woocommerce-design ul.products > li.product.last,
  body.smh-woocommerce-design ul.products > li.product:nth-child(4n+1),
  body.smh-woocommerce-design ul.products > li.product:nth-child(4n),
  body.smh-woocommerce-design .woocommerce ul.products > li.product.first,
  body.smh-woocommerce-design .woocommerce ul.products > li.product.last {
    grid-column: auto !important;
    clear: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design .woocommerce ul.products,
  body.smh-woocommerce-design .woocommerce-page ul.products,
  body.smh-woocommerce-design .related.products ul.products,
  body.smh-woocommerce-design .up-sells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    transform: none !important;
  }
  body.smh-woocommerce-design ul.products > li.product {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }
}

@media (max-width: 767px) {
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design .woocommerce ul.products,
  body.smh-woocommerce-design .woocommerce-page ul.products,
  body.smh-woocommerce-design .related.products ul.products,
  body.smh-woocommerce-design .up-sells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    transform: none !important;
  }
  body.smh-woocommerce-design ul.products > li.product {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }
}


/* ============================================================
   1.3.6 – Compact WooCommerce footer spacing + vertical gallery
   ============================================================ */

/* Remove the oversized empty area after catalog pagination and product content. */
body.smh-woocommerce-design .smh-wc-page-shell{
  min-height:0!important;
  padding-top:26px!important;
  padding-bottom:22px!important;
  margin-top:0!important;
  margin-bottom:0!important;
  background:linear-gradient(180deg,#fff 0%,#fdfbfd 100%)!important;
}
body.smh-woocommerce-design .smh-wc-page-inner{
  min-height:0!important;
  padding-bottom:0!important;
}
body.smh-woocommerce-design nav.woocommerce-pagination{
  margin:18px 0 0!important;
  padding:0 0 4px!important;
}
body.smh-woocommerce-design nav.woocommerce-pagination ul{
  margin:0!important;
}
body.smh-woocommerce-design.single-product .smh-wc-page-shell{
  padding-bottom:26px!important;
}
body.smh-woocommerce-design.single-product .related.products,
body.smh-woocommerce-design.single-product .up-sells.upsells.products{
  margin-bottom:8px!important;
}
body.smh-woocommerce-design.single-product .woocommerce-tabs{
  margin-bottom:18px!important;
}

/* Desktop: thumbnail rail on the LEFT, main product image on the RIGHT. */
@media(min-width:769px){
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs){
    display:grid!important;
    grid-template-columns:82px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    grid-template-areas:"thumbs stage"!important;
    align-items:start!important;
    gap:12px!important;
    width:100%!important;
    float:none!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) .flex-viewport{
    grid-area:stage!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:12px!important;
    background:#fff!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) .woocommerce-product-gallery__wrapper{
    margin:0!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) ol.flex-control-thumbs{
    grid-area:thumbs!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:82px!important;
    max-height: min(620px, 72vh)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    float:none!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) ol.flex-control-thumbs li{
    display:block!important;
    float:none!important;
    width:82px!important;
    max-width:82px!important;
    flex:0 0 82px!important;
    margin:0!important;
    padding:0!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) ol.flex-control-thumbs li img{
    display:block!important;
    width:82px!important;
    height:82px!important;
    object-fit:contain!important;
    object-position:center!important;
    padding:4px!important;
    margin:0!important;
    border:1px solid #eadfee!important;
    border-radius:9px!important;
    background:#fff!important;
    opacity:1!important;
    cursor:pointer!important;
    box-sizing:border-box!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) ol.flex-control-thumbs li img.flex-active{
    border:2px solid #654779!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) .woocommerce-product-gallery__image img{
    display:block!important;
    width:100%!important;
    max-height:680px!important;
    object-fit:contain!important;
    margin:0 auto!important;
  }
}

/* Mobile: retain a horizontal thumbnail strip below the main image. */
@media(max-width:768px){
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs){
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    width:100%!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) .flex-viewport{
    order:1!important;
    width:100%!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) ol.flex-control-thumbs{
    order:2!important;
    display:flex!important;
    flex-direction:row!important;
    gap:7px!important;
    width:100%!important;
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    margin:0!important;
    padding:0 0 3px!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) ol.flex-control-thumbs li{
    float:none!important;
    flex:0 0 64px!important;
    width:64px!important;
    max-width:64px!important;
    margin:0!important;
  }
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) ol.flex-control-thumbs li img{
    display:block!important;
    width:64px!important;
    height:64px!important;
    object-fit:contain!important;
    padding:3px!important;
    border:1px solid #eadfee!important;
    border-radius:8px!important;
    background:#fff!important;
    opacity:1!important;
    box-sizing:border-box!important;
  }
}


/* ==========================================================
   IMÁGENES DE PRODUCTO 2:3 – ARCHIVES, TIENDA Y FICHA
   Se aplica a listados, relacionados, ventas dirigidas y galería.
========================================================== */

/* Cards de tienda, categorías, búsqueda, relacionados y upsells */
.smh-woocommerce-design .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block;
  width:100%;
}
.smh-woocommerce-design .woocommerce ul.products li.product a img,
.smh-woocommerce-design .woocommerce-page ul.products li.product a img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:2/3!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
  border-radius:9px!important;
  margin:0 0 13px!important;
  padding:0!important;
}

/* Ficha individual: imagen principal vertical 2:3 */
.smh-woocommerce-design div.product .woocommerce-product-gallery,
.smh-woocommerce-design div.product .woocommerce-product-gallery__image a{
  width:100%;
}
/* Do not set width on the FlexSlider wrapper or slide: the slider assigns
   percentage widths inline so only one gallery image occupies the viewport. */
.smh-woocommerce-design div.product .woocommerce-product-gallery__wrapper{
  background:#fff!important;
  border-radius:12px;
}
.smh-woocommerce-design div.product .woocommerce-product-gallery__image img,
.smh-woocommerce-design div.product .woocommerce-product-gallery__wrapper img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:2/3!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
  border-radius:12px!important;
  margin:0 auto!important;
}

/* Miniaturas también conservan proporción vertical */
.smh-woocommerce-design div.product .woocommerce-product-gallery .flex-control-thumbs li{
  aspect-ratio:2/3!important;
  overflow:hidden;
}
.smh-woocommerce-design div.product .woocommerce-product-gallery .flex-control-thumbs li img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:2/3!important;
  object-fit:contain!important;
  background:#fff!important;
}

/* Shortcodes Recién llegados y Favoritos */
.smh-woocommerce-design .smnp-image,
.sm-new-products-section .smnp-image,
.sm-favorites-section .smfav-image{
  height:auto!important;
  aspect-ratio:2/3!important;
  background:#fff!important;
  border-radius:9px;
}
.smh-woocommerce-design .smnp-image img,
.sm-new-products-section .smnp-image img,
.sm-favorites-section .smfav-image img{
  width:100%!important;
  height:100%!important;
  aspect-ratio:2/3!important;
  object-fit:contain!important;
  background:#fff!important;
}

/* Evita que reglas del tema vuelvan a forzar imágenes cuadradas */
.smh-woocommerce-design .woocommerce ul.products li.product .woocommerce-LoopProduct-link img,
.smh-woocommerce-design .woocommerce div.product .woocommerce-product-gallery img{
  max-width:100%!important;
}


/* ==========================================================
   FIX 1.5.2 – IMÁGENES COMPLETAS SIN RECORTE NI DEFORMACIÓN
   Proporción original de los archivos: 1023 × 1537 px.
   La imagen conserva sus dimensiones intrínsecas y se contiene
   dentro de una ventana con la misma proporción.
========================================================== */

.smh-woocommerce-design .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block!important;
  width:100%!important;
  overflow:hidden;
  background:#fff!important;
  aspect-ratio:1023 / 1537!important;
}

.smh-woocommerce-design .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
.smh-woocommerce-design .woocommerce ul.products li.product a img,
.smh-woocommerce-design .woocommerce-page ul.products li.product a img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:1023 / 1537!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0 0 13px!important;
  transform:none!important;
}

/* Imagen principal en la ficha de producto */
.smh-woocommerce-design div.product .woocommerce-product-gallery,
.smh-woocommerce-design div.product .woocommerce-product-gallery__image a{
  width:100%!important;
  max-width:100%!important;
  background:#fff!important;
}
/* FlexSlider controls wrapper and slide widths inline; do not override them. */

.smh-woocommerce-design div.product .woocommerce-product-gallery__image a{
  display:block!important;
  width:100%!important;
  height:auto!important;
  overflow:visible!important;
  aspect-ratio:auto!important;
}

.smh-woocommerce-design div.product .woocommerce-product-gallery__image img,
.smh-woocommerce-design div.product .woocommerce-product-gallery__wrapper img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0 auto!important;
  transform:none!important;
}

/* Miniaturas verticales: imagen completa, sin zoom ni recorte */
.smh-woocommerce-design div.product .woocommerce-product-gallery .flex-control-thumbs li{
  aspect-ratio:1023 / 1537!important;
  height:auto!important;
  overflow:hidden!important;
  background:#fff!important;
}
.smh-woocommerce-design div.product .woocommerce-product-gallery .flex-control-thumbs li img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:1023 / 1537!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  transform:none!important;
}

/* Shortcodes: Recién llegados y Favoritos */
.sm-new-products-section .smnp-image,
.smh-woocommerce-design .smnp-image,
.sm-favorites-section .smfav-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1023 / 1537!important;
  overflow:hidden!important;
  background:#fff!important;
}

.sm-new-products-section .smnp-image img,
.smh-woocommerce-design .smnp-image img,
.sm-favorites-section .smfav-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:1023 / 1537!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}

/* Evita zoom/crop de hover heredado del tema en imágenes de producto */
.smh-woocommerce-design .woocommerce ul.products li.product:hover img,
.smh-woocommerce-design div.product .woocommerce-product-gallery img,
.sm-new-products-section .smnp-card:hover img,
.sm-favorites-section .smfav-card:hover img{
  transform:none!important;
}


/* ==========================================================
   1.5.3 – SOURCE ORIGEN + PROPORCIÓN NATURAL SIN RECORTE
   Las imágenes de catálogo se sirven en tamaño FULL para evitar
   miniaturas cuadradas recortadas generadas por WooCommerce.
========================================================== */

/* WooCommerce archive, home product loops, categories, search,
   related products and upsells (including common Woodmart wrappers). */
body .woocommerce ul.products li.product .product-element-top,
body .woocommerce ul.products li.product .product-wrapper,
body .woocommerce ul.products li.product .product-image,
body .woocommerce ul.products li.product .product-image-link,
body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body .woocommerce ul.products li.product a.woocommerce-loop-product__link{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  background:transparent!important;
}

body .woocommerce ul.products li.product .product-element-top,
body .woocommerce ul.products li.product .product-wrapper,
body .woocommerce ul.products li.product .product-image{
  display:block!important;
}

body .woocommerce ul.products li.product a img,
body .woocommerce ul.products li.product img.attachment-woocommerce_thumbnail,
body .woocommerce ul.products li.product img.wp-post-image,
body .woocommerce ul.products li.product .product-image-link img,
body .woocommerce ul.products li.product .product-element-top img,
body .woocommerce-page ul.products li.product a img{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:initial!important;
  object-position:center!important;
  transform:none!important;
  clip-path:none!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  margin:0 0 13px!important;
}

/* Prevent alternate/hover images from covering or cropping the original. */
body .woocommerce ul.products li.product .hover-img,
body .woocommerce ul.products li.product .product-image .hover-img{
  display:none!important;
}

/* Shortcode cards: full original attachment and natural height. */
.sm-new-products-section .smnp-image,
.sm-favorites-section .smfav-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  background:transparent!important;
}
.sm-new-products-section .smnp-image img,
.sm-favorites-section .smfav-image img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:initial!important;
  object-position:center!important;
  transform:none!important;
  margin:0!important;
}

/* Product detail main gallery: use the full source's natural ratio. */
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  background:#fff!important;
}
/* Do not force height:auto on .flex-viewport: WooCommerce FlexSlider
   writes the active slide height inline. Overriding it causes a tall
   empty gallery stage or a clipped strip of the product image. */
body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery__wrapper img{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:initial!important;
  object-position:center!important;
  transform:none!important;
  clip-path:none!important;
  margin:0 auto!important;
}

/* Home pages can have a WooCommerce product loop without the plugin's body class. */
body.home .woocommerce ul.products li.product,
body.front-page .woocommerce ul.products li.product{
  height:auto!important;
  min-height:0!important;
}


/* ==========================================================
   1.5.7 – Mobile archive grid: no orphaned first product
   Force every product card into the next available 2-column
   grid cell, overriding theme float/clear/offset rules.
========================================================== */
@media (max-width: 767px) {
  body.smh-woocommerce-design .woocommerce ul.products,
  body.smh-woocommerce-design .woocommerce-page ul.products,
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design .related.products ul.products,
  body.smh-woocommerce-design .up-sells.products ul.products,
  body.smh-woocommerce-design .cross-sells ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 18px 0 0 !important;
    gap: 14px 10px !important;
    direction: ltr !important;
  }
  body.smh-woocommerce-design .woocommerce ul.products > li.product,
  body.smh-woocommerce-design .woocommerce-page ul.products > li.product,
  body.smh-woocommerce-design ul.products > li.product,
  body.smh-woocommerce-design .related.products ul.products > li.product,
  body.smh-woocommerce-design .up-sells.products ul.products > li.product,
  body.smh-woocommerce-design .cross-sells ul.products > li.product {
    display: flex !important;
    grid-column: auto !important;
    grid-column-start: auto !important;
    grid-column-end: auto !important;
    grid-row: auto !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  body.smh-woocommerce-design .woocommerce ul.products > li.product.first,
  body.smh-woocommerce-design .woocommerce ul.products > li.product.last,
  body.smh-woocommerce-design ul.products > li.product.first,
  body.smh-woocommerce-design ul.products > li.product.last {
    grid-column: auto !important;
    clear: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.smh-woocommerce-design .woocommerce ul.products > li.product > a,
  body.smh-woocommerce-design ul.products > li.product > a {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}


/* ==========================================================
   1.5.8 – Mobile archive: force the first real product into
   column one and remove non-product grid occupants.
   Some themes inject helper/category nodes or apply a special
   placement to the first WooCommerce product. This prevents
   the empty first cell visible on mobile archive pages.
========================================================== */
@media screen and (max-width: 767px) {
  body.smh-woocommerce-design .woocommerce ul.products,
  body.smh-woocommerce-design .woocommerce-page ul.products,
  body.smh-woocommerce-design ul.products,
  body.smh-woocommerce-design .related.products ul.products,
  body.smh-woocommerce-design .up-sells.products ul.products,
  body.smh-woocommerce-design .cross-sells ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    grid-auto-rows: auto !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    align-content: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  /* Only product cards should occupy cells in the catalog grid. */
  body.smh-woocommerce-design .woocommerce ul.products > :not(li.product),
  body.smh-woocommerce-design .woocommerce-page ul.products > :not(li.product),
  body.smh-woocommerce-design ul.products > :not(li.product),
  body.smh-woocommerce-design .related.products ul.products > :not(li.product),
  body.smh-woocommerce-design .up-sells.products ul.products > :not(li.product),
  body.smh-woocommerce-design .cross-sells ul.products > :not(li.product) {
    display: none !important;
  }

  body.smh-woocommerce-design .woocommerce ul.products > li.product,
  body.smh-woocommerce-design .woocommerce-page ul.products > li.product,
  body.smh-woocommerce-design ul.products > li.product,
  body.smh-woocommerce-design .related.products ul.products > li.product,
  body.smh-woocommerce-design .up-sells.products ul.products > li.product,
  body.smh-woocommerce-design .cross-sells ul.products > li.product {
    display: flex !important;
    grid-column: auto / span 1 !important;
    grid-column-start: auto !important;
    grid-column-end: span 1 !important;
    grid-row: auto !important;
    order: 0 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    justify-self: stretch !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  /* The first actual product must begin at the left grid track. */
  body.smh-woocommerce-design .woocommerce ul.products > li.product:first-of-type,
  body.smh-woocommerce-design .woocommerce-page ul.products > li.product:first-of-type,
  body.smh-woocommerce-design ul.products > li.product:first-of-type,
  body.smh-woocommerce-design .related.products ul.products > li.product:first-of-type,
  body.smh-woocommerce-design .up-sells.products ul.products > li.product:first-of-type,
  body.smh-woocommerce-design .cross-sells ul.products > li.product:first-of-type {
    grid-column: 1 / 2 !important;
    grid-column-start: 1 !important;
    grid-column-end: 2 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: stretch !important;
  }

  /* Remove theme-specific row starts/offsets from WooCommerce classes. */
  body.smh-woocommerce-design .woocommerce ul.products > li.product.first,
  body.smh-woocommerce-design .woocommerce-page ul.products > li.product.first,
  body.smh-woocommerce-design ul.products > li.product.first {
    clear: none !important;
    float: none !important;
    margin-left: 0 !important;
  }
}


/* 1.5.9 – Pagination compacta únicamente en teléfonos */
@media (max-width:600px){
  body.smh-woocommerce-design nav.woocommerce-pagination{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    margin:22px auto 8px!important;
    padding:0!important;
  }
  body.smh-woocommerce-design nav.woocommerce-pagination ul{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    padding:0 2px!important;
    box-sizing:border-box!important;
  }
  body.smh-woocommerce-design nav.woocommerce-pagination ul li{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0!important;
  }
  body.smh-woocommerce-design nav.woocommerce-pagination ul li a,
  body.smh-woocommerce-design nav.woocommerce-pagination ul li span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:32px!important;
    width:32px!important;
    height:34px!important;
    padding:0!important;
    border-radius:7px!important;
    font-size:12px!important;
    line-height:1!important;
    box-sizing:border-box!important;
  }
  body.smh-woocommerce-design nav.woocommerce-pagination ul li.smh-pagination-ellipsis{
    min-width:18px!important;
    width:18px!important;
    height:34px!important;
    color:#80658f!important;
    font-size:15px!important;
    line-height:1!important;
  }
}


/* ==========================================================
   1.6.0 – FICHA DE PRODUCTO EN MÓVIL: UNA SOLA COLUMNA
   Solo modifica la página individual de producto en pantallas
   móviles. El archive mantiene sus dos columnas.
========================================================== */
@media screen and (max-width: 767px) {
  body.smh-woocommerce-design.single-product div.product,
  body.smh-woocommerce-design.single-product .woocommerce div.product,
  body.smh-woocommerce-design.single-product .product.type-product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    grid-auto-flow: row !important;
    align-items: start !important;
    justify-items: stretch !important;
    column-gap: 0 !important;
    row-gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.smh-woocommerce-design.single-product div.product > .woocommerce-product-gallery,
  body.smh-woocommerce-design.single-product div.product > .woocommerce-product-gallery.woocommerce-product-gallery,
  body.smh-woocommerce-design.single-product div.product > .summary,
  body.smh-woocommerce-design.single-product div.product > .woocommerce-tabs,
  body.smh-woocommerce-design.single-product div.product > .related,
  body.smh-woocommerce-design.single-product div.product > .up-sells {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.smh-woocommerce-design.single-product div.product > .woocommerce-product-gallery {
    order: 1 !important;
    margin-bottom: 0 !important;
  }

  body.smh-woocommerce-design.single-product div.product > .summary {
    order: 2 !important;
    padding: 0 4px 12px !important;
    margin-top: 0 !important;
  }

  body.smh-woocommerce-design.single-product div.product > .woocommerce-tabs {
    order: 3 !important;
  }

  body.smh-woocommerce-design.single-product div.product > .related,
  body.smh-woocommerce-design.single-product div.product > .up-sells {
    order: 4 !important;
  }

  body.smh-woocommerce-design.single-product .woocommerce-product-gallery .flex-viewport,
  body.smh-woocommerce-design.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Keep FlexSlider's inline width on its wrapper and individual slides. */

  body.smh-woocommerce-design.single-product .summary form.cart,
  body.smh-woocommerce-design.single-product .summary form.variations_form,
  body.smh-woocommerce-design.single-product .summary .variations,
  body.smh-woocommerce-design.single-product .summary .single_add_to_cart_button {
    max-width: 100% !important;
  }
}


/* ==========================================================
   1.6.1 – FIX GALERÍA: conservar el carrusel nativo WooCommerce
   El wrapper y cada slide reciben anchos porcentuales inline de
   FlexSlider. No se deben forzar a 100%, porque eso apila todas
   las imágenes verticalmente. Solo se limita la imagen activa.
   Aplicación global: escritorio, tablet y móvil.
========================================================== */
body.smh-woocommerce-design.single-product .woocommerce-product-gallery{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .flex-viewport{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
  /* Deliberately do not set width, max-width, display, or transform:
     FlexSlider calculates these values for its moving track. */
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{
  /* Do not override the inline width/float assigned by FlexSlider. */
  max-width:none!important;
  height:auto!important;
  flex:none!important;
}
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
}
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto!important;
  transform:none!important;
  background:#fff!important;
}
/* Thumbnails remain small; clicking one moves the single main slide. */
body.smh-woocommerce-design.single-product .woocommerce-product-gallery ol.flex-control-thumbs{
  z-index:2!important;
}


/* ==========================================================
   1.6.2 – FIX ESPACIO VACÍO DE GALERÍA
   Deja que FlexSlider/WooCommerce calcule la altura del viewport
   según la diapositiva activa. No imponer height:auto ni altura fija.
========================================================== */
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .flex-viewport{
  min-height:0!important;
  max-height:none!important;
  /* height intentionally omitted: preserve FlexSlider inline height */
  overflow:hidden!important;
}
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
  min-height:0!important;
  max-height:none!important;
  /* Keep FlexSlider inline width/transform and let its slides define height. */
}
body.smh-woocommerce-design.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image{
  min-height:0!important;
  max-height:none!important;
  /* Do not set height or width; FlexSlider assigns slide geometry. */
}


/* ==========================================================
   1.6.3 – MINIATURAS MÓVILES COMPACTAS Y UNIFORMES
   Solo móvil. Escritorio y tablet conservan su presentación.
========================================================== */
@media screen and (max-width: 768px){
  body.smh-woocommerce-design.single-product
  .woocommerce-product-gallery:has(.flex-control-thumbs)
  ol.flex-control-thumbs{
    display:flex!important;
    flex-direction:row!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 0 5px!important;
    margin:8px 0 0!important;
    list-style:none!important;
    box-sizing:border-box!important;
    -webkit-overflow-scrolling:touch;
  }

  body.smh-woocommerce-design.single-product
  .woocommerce-product-gallery:has(.flex-control-thumbs)
  ol.flex-control-thumbs > li{
    display:block!important;
    position:relative!important;
    float:none!important;
    flex:0 0 58px!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    aspect-ratio:1 / 1!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    border:1px solid #eadfee!important;
    border-radius:9px!important;
    background:#fff!important;
  }

  body.smh-woocommerce-design.single-product
  .woocommerce-product-gallery:has(.flex-control-thumbs)
  ol.flex-control-thumbs > li img{
    display:block!important;
    position:static!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:100%!important;
    aspect-ratio:1 / 1!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0!important;
    padding:4px!important;
    border:0!important;
    border-radius:8px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    opacity:1!important;
    transform:none!important;
  }

  body.smh-woocommerce-design.single-product
  .woocommerce-product-gallery:has(.flex-control-thumbs)
  ol.flex-control-thumbs > li img.flex-active{
    outline:2px solid #8259a0!important;
    outline-offset:-2px!important;
  }
}

/* ==========================================================
   1.6.13 – CARRITO: layout centrado sin alterar la estructura
   Se conserva el flujo nativo de WooCommerce. Se centra el
   contenido de la página y se distribuyen formulario/totales
   mediante flex, sin convertir el wrapper completo en grid.
========================================================== */
body.smh-woocommerce-design.woocommerce-cart{
  overflow-x:hidden!important;
}
body.smh-woocommerce-design.woocommerce-cart #primary,
body.smh-woocommerce-design.woocommerce-cart .content-area,
body.smh-woocommerce-design.woocommerce-cart .site-main,
body.smh-woocommerce-design.woocommerce-cart main{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .entry-header,
body.smh-woocommerce-design.woocommerce-cart .page-header,
body.smh-woocommerce-design.woocommerce-cart .entry-content{
  width:100%!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:clamp(16px,2.8vw,34px)!important;
  padding-right:clamp(16px,2.8vw,34px)!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .entry-title,
body.smh-woocommerce-design.woocommerce-cart .page-title{
  margin-left:0!important;
  margin-right:0!important;
}
body.smh-woocommerce-design.woocommerce-cart .entry-content > .woocommerce,
body.smh-woocommerce-design.woocommerce-cart .smh-wc-page-inner > .woocommerce{
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:24px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .woocommerce-notices-wrapper,
body.smh-woocommerce-design.woocommerce-cart .woocommerce-message,
body.smh-woocommerce-design.woocommerce-cart .woocommerce-info,
body.smh-woocommerce-design.woocommerce-cart .woocommerce-error{
  flex:0 0 100%!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart form.woocommerce-cart-form{
  float:none!important;
  clear:none!important;
  flex:1 1 calc(66.666% - 12px)!important;
  width:auto!important;
  max-width:calc(66.666% - 12px)!important;
  min-width:0!important;
  margin:0!important;
  padding:20px!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .cart-collaterals{
  float:none!important;
  clear:none!important;
  flex:1 1 calc(33.333% - 12px)!important;
  width:auto!important;
  max-width:calc(33.333% - 12px)!important;
  min-width:270px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .cart-collaterals .cart_totals{
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart form.woocommerce-cart-form table.shop_table,
body.smh-woocommerce-design.woocommerce-cart .cart_totals table{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .wc-proceed-to-checkout,
body.smh-woocommerce-design.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:767px){
  body.smh-woocommerce-design.woocommerce-cart .entry-header,
  body.smh-woocommerce-design.woocommerce-cart .page-header,
  body.smh-woocommerce-design.woocommerce-cart .entry-content{
    width:100%!important;
    max-width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.smh-woocommerce-design.woocommerce-cart .entry-content > .woocommerce,
  body.smh-woocommerce-design.woocommerce-cart .smh-wc-page-inner > .woocommerce{
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.smh-woocommerce-design.woocommerce-cart form.woocommerce-cart-form,
  body.smh-woocommerce-design.woocommerce-cart .cart-collaterals{
    display:block!important;
    float:none!important;
    clear:both!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:13px!important;
    box-sizing:border-box!important;
  }
  body.smh-woocommerce-design.woocommerce-cart .cart-collaterals .cart_totals{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  body.smh-woocommerce-design.woocommerce-cart form.woocommerce-cart-form table.shop_table,
  body.smh-woocommerce-design.woocommerce-cart .cart_totals table{
    width:100%!important;
    max-width:100%!important;
    table-layout:auto!important;
  }
  body.smh-woocommerce-design.woocommerce-cart form.woocommerce-cart-form table.shop_table th,
  body.smh-woocommerce-design.woocommerce-cart form.woocommerce-cart-form table.shop_table td,
  body.smh-woocommerce-design.woocommerce-cart .cart_totals table th,
  body.smh-woocommerce-design.woocommerce-cart .cart_totals table td{
    padding:9px 6px!important;
    overflow-wrap:anywhere!important;
    box-sizing:border-box!important;
  }
  body.smh-woocommerce-design.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    min-height:48px!important;
    padding:13px 12px!important;
  }
}
@media(max-width:380px){
  body.smh-woocommerce-design.woocommerce-cart .entry-header,
  body.smh-woocommerce-design.woocommerce-cart .page-header,
  body.smh-woocommerce-design.woocommerce-cart .entry-content{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.smh-woocommerce-design.woocommerce-cart form.woocommerce-cart-form,
  body.smh-woocommerce-design.woocommerce-cart .cart-collaterals{
    padding:10px!important;
  }
}


/* ==========================================================
   1.6.14 – CART LAYOUT: target the actual WooCommerce wrapper.
   Previous rules depended on .entry-content > .woocommerce,
   which is not the markup used by every theme/page builder.
   This targets the classic cart wrapper wherever it is nested.
========================================================== */
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals){
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:24px!important;
  width:calc(100% - 48px)!important;
  max-width:1180px!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > .woocommerce-notices-wrapper,
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > .woocommerce-message,
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > .woocommerce-info,
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > .woocommerce-error{
  flex:0 0 100%!important;
  width:100%!important;
  max-width:100%!important;
}
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > form.woocommerce-cart-form{
  display:block!important;
  float:none!important;
  clear:none!important;
  flex:0 1 calc(68% - 12px)!important;
  width:calc(68% - 12px)!important;
  max-width:calc(68% - 12px)!important;
  min-width:0!important;
  margin:0!important;
  padding:20px!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > .cart-collaterals{
  display:block!important;
  float:none!important;
  clear:none!important;
  flex:0 1 calc(32% - 12px)!important;
  width:calc(32% - 12px)!important;
  max-width:calc(32% - 12px)!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) .cart-collaterals .cart_totals{
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) table.shop_table{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .entry-header,
body.smh-woocommerce-design.woocommerce-cart .page-header{
  width:calc(100% - 48px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-cart .entry-title,
body.smh-woocommerce-design.woocommerce-cart .page-title{
  text-align:left!important;
}
@media(max-width:767px){
  body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals){
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:16px!important;
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > form.woocommerce-cart-form,
  body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > .cart-collaterals{
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:13px!important;
  }
  body.smh-woocommerce-design.woocommerce-cart .entry-header,
  body.smh-woocommerce-design.woocommerce-cart .page-header{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
@media(max-width:380px){
  body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals){
    width:calc(100% - 20px)!important;
  }
  body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > form.woocommerce-cart-form,
  body.smh-woocommerce-design.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form):has(> .cart-collaterals) > .cart-collaterals{
    padding:10px!important;
  }
}


/* ==========================================================
   1.6.15 – CHECKOUT: align order summary at the top-right.
   Classic WooCommerce outputs #customer_details,
   #order_review_heading and #order_review as siblings.
   Grid auto-placement was putting #order_review on a later
   row, below the full-height billing column. Floats keep the
   heading and review stacked together at the top-right.
========================================================== */
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout{
  display:flow-root!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #customer_details{
  float:left!important;
  clear:left!important;
  width:53%!important;
  max-width:53%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review_heading{
  float:right!important;
  clear:right!important;
  width:43%!important;
  max-width:43%!important;
  margin:0 0 12px!important;
  padding:0 0 2px!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review{
  float:right!important;
  clear:right!important;
  width:43%!important;
  max-width:43%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review table,
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review .woocommerce-checkout-payment{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review .woocommerce-checkout-payment{
  margin-top:18px!important;
}
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review .place-order,
body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review #payment .place-order{
  width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:900px){
  body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout{
    display:block!important;
  }
  body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #customer_details,
  body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review_heading,
  body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review{
    float:none!important;
    clear:both!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 18px!important;
  }
  body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review_heading{
    margin-top:8px!important;
  }
  body.smh-woocommerce-design.woocommerce-checkout .woocommerce form.checkout #order_review{
    margin-bottom:0!important;
  }
}
