/* myMondo v3.5.1 — single visible dropdown per variation; WC select kept in DOM.
 * This is visual styling only; do not substitute controls or manipulate fees.
 */
body.mm-theme.single-product .woocommerce div.product form.variations_form.cart {
  padding: clamp(16px,2.2vw,26px);
  border: 1px solid #dbe6f4;
  border-radius: 20px;
  background: linear-gradient(180deg,#fff 0%,#f9fcff 100%);
  box-shadow: 0 16px 45px rgba(10,43,90,.08);
  min-width:0;
}
.mmwl-variation-guide {display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:10px 18px;margin:0 0 17px;padding:0 0 16px;border-bottom:1px solid #e4edf7;}
.mmwl-variation-guide-copy{flex:1 1 220px;min-width:0;}
.mmwl-variation-guide-title{color:#09265b!important;font-size:clamp(18px,2.1vw,21px)!important;font-weight:800!important;margin:0 0 7px!important;letter-spacing:-.025em!important;line-height:1.2!important;}
.mmwl-variation-guide-desc{font-size:13px;line-height:1.55;margin:0!important;color:#56708d;}
.mmwl-variation-progress {display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;max-width:100%;padding:9px 12px;border:1px solid #d8e7f9;background:#eff6ff;border-radius:999px;font-size:12px;font-weight:760;color:#165093;}
.mmwl-variation-progress-dot{width:8px;height:8px;background:#ff6b35;border-radius:50%;flex:none;}
.mmwl-variation-progress.mmwl-progress-complete{background:#e9f8ef;border-color:#ccebd8;color:#187443;}
.mmwl-variation-progress.mmwl-progress-complete .mmwl-variation-progress-dot{background:#16834f;}
/* Keep WooCommerce's semantic table and original inputs. */
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations{
  width:100%;max-width:100%;margin:0 0 13px;border:0;border-collapse:separate;border-spacing:0 11px;table-layout:fixed;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr{
  border:0!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations th,
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations td{
  box-sizing:border-box;vertical-align:middle!important;padding:13px 14px!important;
  border-top:1px solid #e1e9f4!important;border-bottom:1px solid #e1e9f4!important;
  background:#fff!important;min-width:0;
  transition:background-color .15s,border-color .15s;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr th{
  width:41%;border-left:1px solid #e1e9f4!important;border-radius:13px 0 0 13px;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr td{
  width:59%;border-right:1px solid #e1e9f4!important;border-radius:0 13px 13px 0;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr:focus-within th,
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr:focus-within td{
  background:#f7fbff!important;border-color:#77aae8!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-variation-chosen th,
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-variation-chosen td{
  background:#f7fcf9!important;border-color:#cbe7d8!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations th label{
  font-size:13px!important;line-height:1.4!important;display:block!important;margin:0!important;
  color:#092b5c!important;font-weight:780!important;overflow-wrap:anywhere;
}
.mmwl-variation-label-top{display:flex;gap:9px;align-items:center;min-width:0;}
.mmwl-variation-label-top label{min-width:0;flex:1;}
.mmwl-variation-index{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:#eaf3ff;color:#1555a4;font-weight:830;font-size:11px;}
.mmwl-variation-chosen .mmwl-variation-index{background:#e3f6ea;color:#16844e;}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations select{
  box-sizing:border-box;appearance:none;-webkit-appearance:none;display:block;width:100%!important;min-width:0!important;
  max-width:100%!important;height:auto!important;min-height:52px!important;
  padding:12px 42px 12px 14px!important;border:1.5px solid #cdddeb!important;border-radius:11px!important;
  color:#12345f!important;background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23265b96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-position:right 14px center!important;background-size:18px 18px!important;background-repeat:no-repeat!important;
  box-shadow:0 2px 8px rgba(18,62,106,.025)!important;font-size:14px!important;font-weight:680!important;line-height:1.45;
  cursor:pointer;transition:border-color .16s,box-shadow .16s,background-color .16s;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations select:hover{border-color:#82aadc!important;background-color:#fcfdff!important;}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations select:focus-visible{
  outline:2px solid #76a9ee!important;outline-offset:2px!important;border-color:#0b579f!important;
  box-shadow:0 0 0 4px rgba(22,94,169,.12)!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-variation-chosen select{
  border-color:#91d1aa!important;color:#124c32!important;background-color:#fff!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form .reset_variations{
  display:inline-flex;gap:4px;align-items:center;min-height:28px;margin-top:8px!important;padding:5px 10px;
  background:#f0f5fb;color:#365c87!important;border-radius:8px;text-decoration:none;font-weight:700!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form .reset_variations:hover{background:#e3effd;color:#104a91!important;}
body.mm-theme.single-product .woocommerce div.product form.variations_form .woocommerce-variation-price{
  margin:13px 0 10px;padding:11px 13px;background:#f2f7fe;border:1px solid #deebfb;border-radius:11px;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form .single_add_to_cart_button{
  border-radius:12px!important;min-height:52px!important;padding:13px 24px!important;
  box-shadow:0 8px 18px rgba(252,94,34,.14);
}
body.mm-theme.single-product .woocommerce div.product form.variations_form .single_add_to_cart_button:disabled{box-shadow:none;cursor:not-allowed;}
@media(max-width:760px){
  .mmwl-variation-guide{gap:12px;}
  .mmwl-variation-progress{font-size:11px;padding:7px 10px;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations{border-spacing:0 10px;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations th,
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations td{padding:12px 10px!important;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations th{width:43%;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations td{width:57%;}
  .mmwl-variation-label-top{gap:6px;}
  .mmwl-variation-index{width:25px;height:25px;flex-basis:25px;}
}
/* On phones, display each native table row as a full-width stacked card,
 * keeping the original table/select DOM intact for WooCommerce. */
@media(max-width:620px){
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations,
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tbody {display:block;width:100%;border-spacing:0;}
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr {display:block;margin:0 0 12px;border:1px solid #e1e9f4!important;border-radius:14px;overflow:hidden;background:#fff;}
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-variation-chosen {border-color:#cbe7d8!important;}
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr th,
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr td {
    display:block;width:100%!important;padding:11px 14px!important;border:0!important;border-radius:0!important;
 }
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr th {padding-bottom:7px!important;}
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr td {padding-top:7px!important;}
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations select{font-size:14px!important;min-height:51px!important;padding-inline-start:13px!important;padding-inline-end:40px!important;background-position:right 12px center!important;}
}
@media(max-width:460px){
  body.mm-theme.single-product .woocommerce div.product form.variations_form.cart{padding:15px!important;border-radius:16px!important;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations{table-layout:fixed;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr th,
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr td{width:100%;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations th label{font-size:12px!important;}
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations select{
    min-height:51px!important;padding:12px 40px 12px 12px!important;background-position:right 12px center!important;background-size:17px 17px!important;font-size:14px!important;
  }
  body.mm-theme.single-product .woocommerce div.product form.variations_form .single_add_to_cart_button{width:100%;}
}
@media(prefers-reduced-motion:reduce){
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations select,
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations th,
  body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations td{transition:none!important;}
}

/* Keep visual entrance subtle and honour reduced-motion preferences. */
@keyframes mmwl-variation-reveal {
 from {opacity:0;transform:translateY(7px)}
 to {opacity:1;transform:translateY(0)}
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations.mmwl-variation-ready tr{
 animation:mmwl-variation-reveal .26s cubic-bezier(.2,1,.3,1) both;
 animation-delay:var(--mmwl-row-delay,0ms);
}

/* This sentinel is checked by variation-ui-v351.js before it builds any
 * custom controls. If CSS is absent/stale, leave WooCommerce's native selects
 * untouched instead of showing a duplicate dropdown. */
body.mm-theme.single-product .woocommerce div.product form.variations_form {--mmwl-dropdown-css-ready:1;}
/* v3.5: branded, progressive dropdown menus with the original Woo <select>
 * still in the form (value, name and change handlers remain untouched). */
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-dropdown-row-open {position:relative;z-index:35!important;overflow:visible!important;}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-dropdown-row-open th,
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-dropdown-row-open td {border-color:#95bfea!important;background:#f7fbff!important;}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations .mmwl-select-wrap{display:block;width:100%;min-width:0;position:relative;isolation:isolate;}
/* Only hide original controls once JavaScript has built its accessible trigger. */
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations .mmwl-select-wrap select.mmwl-native-control{
 position:absolute!important;inset:auto auto 0 0!important;width:1px!important;max-width:1px!important;
 min-width:0!important;height:1px!important;min-height:0!important;padding:0!important;
 opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;overflow:hidden!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations button.mmwl-variation-trigger{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 box-sizing:border-box;position:relative;width:100%!important;min-width:0;max-width:100%;min-height:52px!important;
 padding:11px 15px!important;margin:0!important;border:1.5px solid #cbddef!important;border-radius:12px!important;
 color:#0e3060!important;background:linear-gradient(180deg,#fff 0%,#fafcff 100%)!important;
 text-align:left;font-size:14px!important;font-weight:730!important;line-height:1.35!important;letter-spacing:0;
 box-shadow:0 2px 8px rgba(15,48,93,.025)!important;cursor:pointer;
 transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations button.mmwl-variation-trigger:hover{
 border-color:#7faee7!important;box-shadow:0 3px 12px rgba(34,96,165,.08)!important;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations button.mmwl-variation-trigger:focus-visible{
 outline:3px solid rgba(40,115,208,.34)!important;outline-offset:2px;
}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations button.mmwl-variation-trigger:disabled{opacity:.55;cursor:not-allowed;}
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations .mmwl-dropdown-open button.mmwl-variation-trigger{
 border-color:#2b7ccf!important;background:#f5faff!important;box-shadow:0 0 0 3px rgba(36,113,204,.09)!important;
}
.mmwl-trigger-text{display:block;overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap;flex:1;}
.mmwl-trigger-placeholder .mmwl-trigger-text{color:#758aa5;font-weight:540;}
.mmwl-trigger-arrow{display:block;flex:none;width:10px;height:10px;margin:-5px 4px 0 0;
 border-right:2px solid #3b689b;border-bottom:2px solid #3b689b;
 transform:rotate(45deg);transition:transform .2s ease,margin-top .2s ease;
}
.mmwl-dropdown-open .mmwl-trigger-arrow{transform:rotate(225deg);margin-top:5px;}
.mmwl-variation-popup[hidden]{display:none!important;}
.mmwl-variation-popup{
 position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:9999;
 width:100%;min-width:0;box-sizing:border-box;max-height:min(46vh,310px);overflow:auto;overscroll-behavior:contain;
 padding:7px;border-radius:15px;border:1px solid #d9e6f3;
 background:rgba(255,255,255,.99);box-shadow:0 20px 55px rgba(9,38,84,.17),0 4px 12px rgba(18,57,109,.07);
 animation:mmwl-popup-appear .18s cubic-bezier(.16,1,.3,1) both;
}
@keyframes mmwl-popup-appear{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.mmwl-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;
 box-sizing:border-box;width:100%;padding:11px 12px;border-radius:9px;color:#1e416e;
 cursor:pointer;font-size:13px;line-height:1.45;font-weight:630;outline:none;overflow-wrap:anywhere;
 transition:background-color .14s ease,color .14s ease;
}
.mmwl-option + .mmwl-option{margin-top:2px;}
.mmwl-option:hover,.mmwl-option:focus-visible{background:#eef5ff;color:#064894;}
.mmwl-option[aria-selected="true"]{background:#e9f6ee;color:#167441;font-weight:750;}
.mmwl-option[aria-selected="true"]:hover,.mmwl-option[aria-selected="true"]:focus-visible{background:#d8efdf;}
.mmwl-option-text{flex:1;min-width:0;}
.mmwl-option-check{display:none;flex:none;color:#18824e;font-size:15px;font-weight:850;}
.mmwl-option[aria-selected="true"] .mmwl-option-check{display:block;}
.mmwl-options-empty{padding:13px;color:#657d98;text-align:center;font-size:13px;}
/* Keep navigation inside screen edges even with long option labels. */
body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-dropdown-row-open td.value {overflow:visible!important;}
@media(max-width:620px){
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations tr.mmwl-dropdown-row-open {overflow:visible!important;}
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations button.mmwl-variation-trigger{min-height:51px!important;}
 .mmwl-variation-popup{max-height:min(43vh,280px);}
}
@media(prefers-reduced-motion:reduce){
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations.mmwl-variation-ready tr,
 .mmwl-variation-popup{animation:none!important;}
 .mmwl-trigger-arrow,
 body.mm-theme.single-product .woocommerce div.product form.variations_form table.variations button.mmwl-variation-trigger,
 .mmwl-option{transition:none!important;}
}
