/* Product pages only. Grid gallery and purchase panel inspired by Moon Magic. */
.mml-site.single-product .mml-woocommerce-main,.mml-site .mml-product-main{max-width:1720px;padding:32px 40px 80px}
.mml-pdp-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);gap:clamp(32px,4.3vw,76px);align-items:start}
.mml-product-visual,.mml-product-summary{min-width:0}
.mml-site.woocommerce div.product.mml-product-detail div.summary,.mml-product-detail .mml-product-summary{float:none;width:auto;margin:0;position:sticky;top:calc(var(--mml-header-height,100px) + 24px)}
.mml-gallery-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mml-gallery-track:has(>.mml-gallery-item:only-child){grid-template-columns:1fr}
.mml-gallery-item{display:block;position:relative;aspect-ratio:1;background:#f5f5f4;overflow:hidden;cursor:zoom-in;min-width:0;scroll-snap-align:center}
.mml-gallery-item img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .35s ease}
.mml-gallery-item:hover img{transform:scale(1.025)}
.mml-gallery-expand{position:absolute;right:12px;bottom:12px;background:#fffc;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;opacity:0;transition:opacity .2s}
.mml-gallery-expand svg{width:16px;height:16px}.mml-gallery-item:hover .mml-gallery-expand,.mml-gallery-item:focus-visible .mml-gallery-expand{opacity:1}
.mml-gallery-controls{display:none;align-items:center;justify-content:center;gap:24px;font-size:13px;padding:10px}
.mml-gallery-controls button{width:40px;height:40px;display:grid;place-items:center}.mml-gallery-controls svg{width:18px;height:18px}
.mml-site .mml-pdp-breadcrumbs .woocommerce-breadcrumb,.mml-site .mml-pdp-breadcrumbs .mml-breadcrumb{display:block;font-size:12px;line-height:1.5;color:#737373;margin:0 0 22px;letter-spacing:0}
.mml-pdp-breadcrumbs .woocommerce-breadcrumb a,.mml-pdp-breadcrumbs .mml-breadcrumb a{color:inherit}
.mml-product-summary .woocommerce-product-rating{display:flex;align-items:center;gap:10px;margin:0 0 14px!important;font-size:13px}
.mml-site .mml-product-summary .star-rating{margin:0;color:#9c7c3d;float:none;font-size:12px}
.mml-site .mml-product-detail .product_title,.mml-product-detail .mml-product-summary h1{font-size:clamp(24px,2vw,30px);line-height:1.22;letter-spacing:0;font-weight:500;margin:0 0 15px}
.mml-site.woocommerce div.product.mml-product-detail p.price,.mml-product-detail .mml-product-price{font-size:23px;line-height:1.4;color:#111;margin:0 0 22px!important;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mml-product-detail .price del,.mml-product-detail .mml-product-price del{font-size:18px;color:#777;opacity:1}
.mml-product-detail .price ins,.mml-product-detail .mml-product-price ins{background:none;text-decoration:none;font-weight:600}
.mml-product-summary .woocommerce-product-details__short-description,.mml-product-summary .mml-product-intro{font-size:15px;line-height:1.7;color:#444;margin:0 0 20px!important}
.mml-product-summary .woocommerce-product-details__short-description p{margin:0 0 10px}
.mml-product-summary [data-expand-description][aria-expanded=false]+.mml-description-extra{display:none}
.mml-read-more{font-size:13px;text-decoration:underline!important;text-underline-offset:3px;padding:0!important;margin:0 0 20px;display:block}
.mml-description-clamped{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.mml-site.woocommerce div.product.mml-product-detail form.cart{margin:24px 0 28px;position:relative}
.mml-site .mml-product-detail .variations{border:0;margin:0 0 20px;width:100%;display:block}
.mml-site .mml-product-detail .variations tbody,.mml-site .mml-product-detail .variations tr,.mml-site .mml-product-detail .variations td,.mml-site .mml-product-detail .variations th{display:block;width:100%;border:0;padding:0;text-align:left}
.mml-site .mml-product-detail .variations tr{margin:0 0 24px}.mml-site .mml-product-detail .variations label{font-size:14px;font-weight:500;line-height:1.5;margin:0 0 10px;display:block}
.mml-product-detail .mml-choice-list,.mml-product-detail .mml-option-list{display:flex;gap:8px;flex-wrap:wrap}
.mml-site .mml-choice-list button{border:1px solid #d5d5d5!important;background:#fff!important;color:#191919!important;min-width:46px;min-height:44px;padding:10px 13px!important;font-size:14px;line-height:1.4;border-radius:0;box-shadow:none;letter-spacing:0;text-transform:none}
.mml-site .mml-choice-list button[aria-pressed=true],.mml-product-detail .mml-option-list input:checked+span{border-color:#111!important;background:#f5f5f3!important;box-shadow:inset 0 0 0 1px #111}
.mml-site .mml-choice-list button:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.mml-choice-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)!important;pointer-events:none}
.mml-site .mml-product-detail .reset_variations{display:inline-block;font-size:12px;margin-top:10px;text-decoration:underline;text-underline-offset:3px;color:#666}
.mml-size-guide{display:flex;justify-content:flex-end;gap:8px;align-items:center;text-decoration:underline!important;text-underline-offset:3px;font-size:13px;margin-top:22px}.mml-size-guide svg{width:14px;height:14px}
.mml-site .mml-product-detail .stock{font-size:13px;color:#356347;margin:14px 0}.mml-site .mml-product-detail .out-of-stock{color:#8a3232}
.mml-site .mml-product-detail .woocommerce-variation-price{font-size:20px;margin-bottom:12px}.mml-product-detail.mml-variation-price-active .woocommerce-variation-price{display:none}
.mml-site.woocommerce div.product.mml-product-detail form.cart .single_add_to_cart_button,.mml-product-detail .mml-product-purchase .mml-button{background:#111;color:#fff;min-height:54px;font-size:15px;font-weight:500;letter-spacing:1px;border:1px solid #111;border-radius:0;width:calc(100% - 82px);min-width:0;float:none;text-transform:uppercase;text-align:center;line-height:1.4;padding:14px 18px}
.mml-site.woocommerce div.product.mml-product-detail form.cart .single_add_to_cart_button:hover,.mml-mobile-buy button:hover{background:#333}
.mml-site.woocommerce div.product.mml-product-detail form.cart .single_add_to_cart_button.disabled,.mml-site.woocommerce div.product.mml-product-detail form.cart .single_add_to_cart_button:disabled{opacity:.45;cursor:not-allowed}
.mml-site.woocommerce div.product.mml-product-detail form.cart div.quantity{float:left;margin:0 10px 0 0;width:72px}.mml-site .mml-product-detail .quantity .qty{width:72px;height:54px;border-color:#ccc;font-size:16px}
.mml-site.woocommerce div.product.mml-product-detail form.cart:not(:has(.quantity:not(.hidden))) .single_add_to_cart_button{width:100%}
.mml-product-detail .mml-product-purchase{gap:10px;align-items:stretch}.mml-product-detail .mml-quantity-label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.mml-product-detail .mml-product-options fieldset{margin-bottom:22px}.mml-product-detail .mml-product-options legend{font-size:14px;font-weight:500}.mml-product-detail .mml-option-list span{min-width:46px;min-height:44px}
.mml-site .mml-product-detail .variable-items-wrapper{gap:8px;margin:0}.mml-site .mml-product-detail .variable-item{min-height:44px;min-width:44px;border-radius:0!important;box-shadow:0 0 0 1px #ccc!important;margin:0!important}.mml-site .mml-product-detail .variable-item.selected{box-shadow:0 0 0 2px #111!important}
.mml-pdp-information{border-top:1px solid #d8d8d8;margin-top:24px}
.mml-detail{border-bottom:1px solid #d8d8d8}.mml-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;font-size:15px;padding:17px 0;line-height:1.5;font-weight:500}.mml-detail>summary::-webkit-details-marker{display:none}.mml-detail>summary svg{width:17px;height:17px;flex-shrink:0;transition:transform .15s}.mml-detail[open]>summary svg{transform:rotate(45deg)}
.mml-detail-content{padding:0 0 20px;font-size:14px;line-height:1.75;color:#444;overflow-wrap:anywhere}.mml-detail-content>h2:first-child{display:none}.mml-detail-content p{margin:0 0 12px}.mml-detail-content ul{padding-left:20px}.mml-detail-content img{height:auto;max-width:100%}.mml-detail-content table{width:100%;font-size:13px}.mml-detail-content th,.mml-detail-content td{padding:9px 6px;text-align:left;border-bottom:1px solid #eee}
.mml-policy-links{display:flex;gap:20px;flex-wrap:wrap}.mml-policy-links a{text-decoration:underline!important;text-underline-offset:3px}
.mml-pdp-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:27px 0 8px}.mml-pdp-services>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:11px;font-size:12px;line-height:1.5}.mml-pdp-services svg{width:25px;height:25px}
.mml-product-after{clear:both;padding-top:70px}.mml-pdp-reviews{max-width:1120px;margin:0 auto 65px;padding:40px 0;border-top:1px solid #ddd}.mml-pdp-reviews h2,.mml-product-after section>h2{font-size:30px;font-weight:400;margin-bottom:28px}.mml-pdp-reviews #reviews #comments ol.commentlist{padding:0}.mml-pdp-reviews #review_form_wrapper{margin-top:32px}
.mml-product-after .related>h2,.mml-product-after .up-sells>h2{text-align:center;margin-bottom:30px}.mml-product-after .mml-product-grid,.mml-site .mml-product-after ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}.mml-product-after section+section{margin-top:60px}
.mml-site .mml-gallery-dialog{position:fixed;inset:0;margin:auto;padding:30px 60px;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;background:#fff;border:0;overflow:auto}
.mml-gallery-dialog[open]{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;justify-items:center;gap:12px}.mml-gallery-dialog>img{max-height:85dvh;max-width:100%;width:auto;height:auto;object-fit:contain}.mml-gallery-dialog button{width:44px;height:44px;display:grid;place-items:center}.mml-gallery-dialog .mml-gallery-close{position:absolute;top:12px;right:15px}.mml-gallery-dialog [data-lightbox-count]{position:absolute;bottom:16px;font-size:13px}.mml-mobile-buy{display:none}
@media(min-width:1000px) and (max-height:850px){.mml-site.woocommerce div.product.mml-product-detail div.summary,.mml-product-detail .mml-product-summary{position:static}}
@media(max-width:1100px){.mml-pdp-layout{gap:28px;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr)}}
@media(max-width:999px){.mml-site.single-product .mml-woocommerce-main,.mml-site .mml-product-main{padding:18px 20px 50px}.mml-pdp-layout{display:flex;flex-direction:column;gap:22px}.mml-product-visual,.mml-product-detail .mml-product-summary{width:100%!important;position:static!important}.mml-gallery-track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.mml-gallery-track::-webkit-scrollbar{display:none}.mml-gallery-item{flex:0 0 100%;aspect-ratio:1}.mml-gallery-item img{transform:none!important}.mml-gallery-expand{opacity:1;bottom:18px;right:18px}.mml-gallery-controls{display:flex}.mml-product-summary{padding:0}.mml-site .mml-pdp-breadcrumbs .woocommerce-breadcrumb,.mml-site .mml-pdp-breadcrumbs .mml-breadcrumb{margin-bottom:16px;font-size:11px}.mml-site .mml-product-detail .product_title,.mml-product-detail .mml-product-summary h1{font-size:26px}.mml-product-after{padding:40px 0 0}.mml-pdp-reviews{padding-top:28px;margin-bottom:40px}.mml-pdp-reviews h2,.mml-product-after section>h2{font-size:27px}.mml-product-after .mml-product-grid,.mml-site .mml-product-after ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.mml-site .mml-gallery-dialog{padding:45px 8px}.mml-gallery-dialog[open]{grid-template-columns:30px minmax(0,1fr) 30px;gap:0}.mml-gallery-dialog>img{max-height:82dvh}.mml-gallery-dialog button{width:30px}.mml-gallery-dialog .mml-gallery-close{width:44px}.mml-mobile-buy:not([hidden]){display:flex;position:fixed;inset:auto 0 0;z-index:45;align-items:center;gap:14px;background:#fff;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #ddd;box-shadow:0 -4px 20px #00000008}.mml-mobile-buy>div{min-width:0;flex:1}.mml-mobile-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;max-width:45vw}.mml-mobile-price{font-size:17px;line-height:1.6;display:block}.mml-mobile-price del{font-size:12px;color:#777;margin-right:6px}.mml-mobile-price ins{text-decoration:none;font-weight:500}.mml-mobile-buy button{background:#111;color:#fff;min-height:46px;padding:12px 22px;min-width:150px;max-width:52%;font-size:13px;letter-spacing:.5px;text-transform:uppercase}.mml-product-detail~.mml-mobile-buy{margin:0}.mml-site:has(.mml-mobile-buy:not([hidden])){padding-bottom:86px}}
@media(prefers-reduced-motion:reduce){.mml-gallery-item img,.mml-gallery-expand,.mml-detail>summary svg{transition:none}}

/* Shared typography and spacing for real WooCommerce content and the demo. */
.mml-pdp-breadcrumbs{min-width:0}.mml-site .mml-pdp-breadcrumbs .woocommerce-breadcrumb{font-size:12px;line-height:1.6;margin:0 0 20px;overflow-wrap:anywhere}
.mml-product-summary .woocommerce-product-details__short-description ul,.mml-product-summary .woocommerce-product-details__short-description ol{padding-left:20px;margin:0 0 12px}.mml-product-summary .woocommerce-product-details__short-description li{margin:5px 0}.mml-product-summary .woocommerce-product-details__short-description strong{font-weight:600}
.mml-site .mml-product-detail .mml-product-summary form.cart{margin:24px 0 28px}.mml-product-after:empty{display:none}
@media(max-width:999px){.mml-site .mml-pdp-breadcrumbs .woocommerce-breadcrumb{font-size:12px;margin-bottom:18px}.mml-pdp-layout{gap:24px}.mml-product-summary .woocommerce-product-details__short-description{font-size:15px}.mml-site .mml-product-detail .product_title{overflow-wrap:anywhere}}
