/* Local candidate: discoverable formats, with the existing pricing/sizing flow. */
#vc-product-summary #vc-order-format-control.vc-order-format-inline {
  position:relative!important;display:block!important;width:100%!important;
  padding:10px 0 0!important;margin:8px 0 0!important;
  border-top:1px solid rgba(23,23,23,.10);color:#171717;
}
#vc-order-format-control .vc-order-format-label {
  display:block;margin:0 0 7px;font:700 8px/1.2 Montserrat,Arial,sans-serif;
  letter-spacing:.09em;text-transform:uppercase;color:#59564f;
}
#vc-order-format-control .vc-order-switch-compact {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px!important;margin:0!important;
}
#vc-order-format-control .vc-order-switch-compact:not(:has([data-order-switch="junior"])) {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#vc-order-format-control .vc-order-switch-compact button {
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  gap:5px!important;min-width:0!important;min-height:48px!important;
  padding:8px 3px!important;margin:0!important;aspect-ratio:auto!important;
  border:1px solid rgba(23,23,23,.14);border-radius:10px!important;
  background:#f8f7f3;color:#171717;text-align:center!important;
  cursor:pointer;transition:background .15s,color .15s,border-color .15s;
}
#vc-order-format-control .vc-order-switch-compact button strong {
  display:block;font:700 10px/1.2 Montserrat,Arial,sans-serif!important;
  letter-spacing:.01em!important;white-space:nowrap;text-transform:none!important;
}
#vc-order-format-control .vc-order-switch-compact button small {
  display:block;margin:0!important;font:500 8px/1.25 Montserrat,Arial,sans-serif!important;
  color:#55524c;letter-spacing:0!important;text-transform:none!important;
}
#vc-order-format-control .vc-order-switch-compact button.is-selected {
  background:#19372f;border-color:#19372f;color:#fff;
}
#vc-order-format-control .vc-order-switch-compact button.is-selected small {color:#f4f1e9}
#vc-order-format-control .vc-order-switch-compact button:hover:not(.is-selected) {background:#eeece5;border-color:#6b756c}
#vc-order-format-control .vc-order-switch-compact button:focus-visible {outline:2px solid #396b59;outline-offset:3px}
@media(max-width:767px) {
  /* A separate full-width row keeps labels readable without enlarging the
     compact price/actions row, or placing a selector over the utility icons. */
  #vc-product-summary {position:relative!important}
  #vc-product-summary #vc-order-format-control.vc-order-format-inline {
    position:absolute!important;top:calc(100% + 6px)!important;
    inset-inline-start:0!important;width:calc(100vw - 32px)!important;
    margin:0!important;padding:8px!important;border:1px solid rgba(23,23,23,.09);
    border-radius:15px;background:rgba(255,255,255,.97);
    box-shadow:0 8px 24px rgba(23,23,23,.07);
  }
  #vc-order-format-control .vc-order-format-label {margin-bottom:6px;font-size:8px}
  #vc-order-format-control .vc-order-switch-compact {gap:6px!important}
  #vc-order-format-control .vc-order-switch-compact button {min-height:44px!important;padding:6px!important;gap:3px!important}
  #vc-order-format-control .vc-order-switch-compact button strong {font-size:11px!important}
  #vc-order-format-control .vc-order-switch-compact button small {font-size:9px!important}
}
@media(min-width:560px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape) {
  #vc-product-summary #vc-order-format-control.vc-order-format-inline {
    position:relative!important;inset:auto!important;width:100%!important;
    margin:6px 0 0!important;padding:8px 0 0!important;border:0;border-top:1px solid rgba(23,23,23,.1);
    border-radius:0;background:transparent;box-shadow:none;
  }
  #vc-order-format-control .vc-order-switch-compact button {min-height:44px!important;padding:6px 2px!important}
  #vc-order-format-control .vc-order-switch-compact button strong {font-size:9px!important}
  #vc-order-format-control .vc-order-switch-compact button small {font-size:8px!important}
}
@media(max-width:370px) {
  #vc-product-summary {
    width:calc(100vw - 174px)!important;min-width:0!important;
    max-width:calc(100vw - 174px)!important;
  }
}

/* One visible save/purchase entry per layout; the left dock only edits the jacket. */
body #main-dock .vc-save-orbit,body #main-dock #vc-dock-save,body #main-dock #vc-dock-checkout,
body #vc-summary-add-to-bag {display:none!important}
body #main-dock>div:not(.vc-save-orbit) {display:none!important}
#vc-mobile-add-design,#vc-mobile-model-tools,#vc-mobile-chat-toggle {display:none}
#vc-mobile-closet-actions {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
#vc-mobile-closet-actions button,.vc-mobile-closet-guest button {min-height:44px;padding:10px 14px;border:1px solid #19372f;border-radius:10px;background:#fff;color:#19372f;font:600 11px/1.4 Montserrat,Arial,sans-serif;cursor:pointer}
#vc-mobile-closet-actions [data-closet-save="current"] {background:#19372f;color:#fff}
#vc-mobile-closet-actions button[hidden] {display:none!important}
#vc-mobile-closet-actions button:disabled {opacity:.65;cursor:wait}
.vc-mobile-closet-guest {grid-column:1/-1;padding:20px;border:1px solid #e5e2db;border-radius:14px;background:#fff}
.vc-mobile-closet-guest h4 {font:600 14px/1.4 Montserrat,Arial,sans-serif;color:#19372f;margin:0 0 8px}
.vc-mobile-closet-guest p {font:400 12px/1.6 Montserrat,Arial,sans-serif;color:#5a6059;margin:0 0 16px}
#closet-email-display {color:#5a6059!important;font-size:11px!important;letter-spacing:.02em!important;text-transform:none!important}
#closet-modal[data-mobile-guest="1"] button[onclick="openMyAccountFromCloset()"],#closet-modal[data-mobile-guest="1"] button[onclick="logoutAtelier()"] {display:none!important}
#vc-mobile-closet-actions button:focus-visible {outline:2px solid #396b59;outline-offset:2px}
@media(min-width:768px), (min-width:560px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape) {
  #vc-utility-panel-r4 .vc-r4-actions {grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:0}
  #vc-utility-panel-r4 .vc-r4-actions button {min-width:0;min-height:52px;padding:6px 2px;flex-direction:column;gap:5px;border-radius:10px;font:600 7.5px/1.25 Montserrat,Arial,sans-serif;letter-spacing:0;text-transform:none}
  #vc-utility-panel-r4 .vc-r4-label {max-width:100%;text-align:center}
  #vc-utility-panel-r4 .vc-r4-actions [data-r4="add"] {grid-column:1/-1;min-height:44px;flex-direction:row;gap:7px;background:#19372f;color:#fff;border-color:#19372f;font-size:11px}
  #vc-utility-panel-r4 .vc-r4-actions [data-r4="add"]:hover {background:#264d40}
  #vc-utility-panel-r4 .vc-r4-closet-mark svg {fill:none}
  #vc-utility-panel-r4 .vc-r4-actions [data-r4="cart"] b {position:absolute;top:3px;right:3px;background:#19372f;color:#fff;font-size:8px;line-height:15px;height:15px;min-width:15px}
  #vc-utility-panel-r4 button:focus-visible {outline:2px solid #396b59;outline-offset:2px}
}
@media(min-width:768px) and (min-height:601px) {
  body .vc-dock-shell #main-dock {height:auto!important;align-self:center;padding-top:16px!important;padding-bottom:16px!important}
  body.vc-panel-open .vc-dock-shell #main-dock {height:100%!important;align-self:stretch;border-top-right-radius:0!important;border-bottom-right-radius:0!important}
}
@media(min-width:560px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape) {
  #vc-utility-panel-r4 .vc-r4-actions button:not([data-r4="add"]) .vc-r4-label {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(max-width:767px) {
  body:not(.vc-compact-landscape):not(.vc-avatar-capture) #v3d-container {
    /* Toolbar expansion is an overlay, never a resize of the 3D viewport. */
    top:0!important;
    height:100dvh!important;
  }
  body:not(.vc-compact-landscape) #vc-top-header-r4 {top:12px!important;left:12px!important;right:12px!important}
  body:not(.vc-compact-landscape) #vc-top-header-r4>div:has(#vc-mobile-actions) {display:none!important}
  body:not(.vc-compact-landscape) #vc-top-header-r4 #vc-product-summary {
    width:100%!important;max-width:none!important;min-width:0!important;
    padding:10px 12px 2px!important;gap:0!important;
    background:rgba(255,255,255,.96)!important;border:1px solid #e5e2db!important;
    border-radius:16px!important;box-shadow:0 6px 26px rgba(23,23,23,.08)!important;
  }
  body:not(.vc-compact-landscape) #vc-top-header-r4 #vc-product-summary>h1 {font-size:9px!important;letter-spacing:.08em!important;margin:0!important}
  body:not(.vc-compact-landscape) #vc-product-summary[data-mobile-expanded="0"]>h1,
  body:not(.vc-compact-landscape) #vc-product-summary[data-mobile-expanded="0"] #vc-order-format-control {display:none!important}
  body:not(.vc-compact-landscape) #vc-product-summary #price-display[role="button"] {position:relative;padding-inline-end:36px;min-height:44px;display:flex!important;align-items:center;cursor:pointer}
  #price-display[role="button"]:before {content:"";position:absolute;inset-inline-end:0;top:calc(50% - 14px);width:28px;height:28px;border:1px solid #cbd6cd;border-radius:50%;background:#edf2ed}
  #price-display[role="button"]:after {content:"";position:absolute;inset-inline-end:9px;top:calc(50% - 6px);width:9px;height:9px;border-right:2px solid #19372f;border-bottom:2px solid #19372f;transform:rotate(45deg)}
  #price-display[aria-expanded="true"]:after {transform:rotate(225deg);top:calc(50% - 2px)}
  #price-display[role="button"]:focus-visible {outline:2px solid #396b59;outline-offset:2px;border-radius:6px}
  body:not(.vc-compact-landscape) #vc-product-summary #vc-summary-purchase-row {
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;gap:10px!important;margin:0!important;
  }
  body:not(.vc-compact-landscape) #vc-product-summary #price-display {font-size:17px!important;line-height:1.2!important;flex:1!important;min-width:0!important;max-width:none!important;white-space:normal!important}
  body:not(.vc-compact-landscape) #vc-summary-add-to-bag {display:none!important}
  body:not(.vc-compact-landscape) #vc-mobile-add-design {
    display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 8px;
    border:0;border-radius:9px;background:#19372f;color:white;
    font:600 10px/1.2 Montserrat,Arial,sans-serif;white-space:nowrap;cursor:pointer;
  }
  #vc-mobile-add-design svg {width:15px;height:15px;flex:none}
  body:not(.vc-compact-landscape) #vc-product-summary #vc-order-format-control.vc-order-format-inline {
    position:relative!important;inset:auto!important;width:100%!important;padding:8px 0 0!important;
    margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;
  }
  body:not(.vc-compact-landscape) #vc-mobile-model-tools {
    position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px;
    margin-top:4px;border-top:1px solid #e7e4de;
  }
  #vc-mobile-model-tools button {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:44px;padding:5px 1px;border:0;border-radius:8px;background:transparent;color:#4c514b;font:500 8px/1.25 Montserrat,Arial,sans-serif;cursor:pointer}
  #vc-mobile-model-tools button:hover {background:#f1f0eb}
  #vc-product-summary[data-mobile-expanded="0"] #vc-mobile-model-tools button>span {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  #vc-mobile-model-tools [data-model-tool="closet"] {color:#19372f;font-weight:700}
  #vc-mobile-model-tools>button svg {width:18px;height:18px;flex:none}
  #vc-mobile-model-tools [data-cart-count] {position:absolute;top:2px;inset-inline-end:5px;min-width:15px;height:15px;padding:0 3px;border-radius:99px;background:#19372f;color:#fff;font:600 8px/15px Montserrat,Arial,sans-serif}
  #vc-mobile-model-tools button:focus-visible,#vc-mobile-add-design:focus-visible,#vc-mobile-chat-toggle:focus-visible,#vc-mobile-closet-actions button:focus-visible {outline:2px solid #396b59;outline-offset:2px}
  body:not(.vc-compact-landscape) #vc-mobile-chat-toggle {
    position:fixed;display:flex;align-items:center;justify-content:center;z-index:74;
    inset-inline-end:16px;bottom:calc(94px + env(safe-area-inset-bottom));
    width:48px;height:44px;
  }
  /* The edit shell is a z-40 stacking context; keep the brand button beneath
     the entire open panel, not just beneath its child z-index. */
  body.vc-panel-open:not(.vc-compact-landscape) #vc-mobile-chat-toggle {z-index:39}
  body:has(#ai-chat-window.active,#closet-modal:not(.hidden),#favorites-modal:not(.hidden),#share-modal:not(.hidden),#vc-site-cart-drawer.is-open,#vc-cart-v25.is-open,#vc-local-cart-modal.is-open,#vc-design-modal.is-open,#tutorial-overlay:not(.hidden)) #vc-mobile-chat-toggle {display:none!important}
}
@media(max-width:370px) {
  body:not(.vc-compact-landscape) #vc-product-summary #price-display {font-size:15px!important}
  body:not(.vc-compact-landscape) #vc-mobile-add-design {padding:0 7px;font-size:9.5px}
}
