/* Otto Quick Shop - inline apparel panel: the product photo stays visible and switches with the colour */
.otto-qs-open { position: relative !important; }
.otto-qs { position: static; background: #fff; border-radius: 10px; padding: 12px 4px 4px; margin-top: 10px; display: flex; flex-direction: column; align-items: stretch; text-align: left; animation: otto-qs-in .18s ease-out; }
@keyframes otto-qs-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.otto-qs-loading { margin: 14px auto; width: 26px; height: 26px; border: 3px solid #eadfd6; border-top-color: #FF3131; border-radius: 50%; animation: otto-qs-spin .8s linear infinite; }
@keyframes otto-qs-spin { to { transform: rotate(360deg); } }
.otto-qs-close { align-self: flex-end; background: none; border: 0; padding: 0 0 8px; font-size: 13px; font-weight: 600; color: #222; cursor: pointer; line-height: 1; }
.otto-qs-close:hover { color: #FF3131; }
.otto-qs-label { font-weight: 700; font-size: 14px; color: #111; margin: 6px 0 8px; }
.otto-qs-picked { font-weight: 400; color: #B85E0E; }
.otto-qs-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.otto-qs-opt { cursor: pointer; font-family: Jost, Poppins, sans-serif; transition: transform .12s, border-color .12s, background .12s; }
.otto-qs-pill { min-width: 46px; padding: 9px 12px; border: 1.5px solid #cfc6bd; border-radius: 6px; background: #fff; color: #111; font-size: 14px; font-weight: 500; line-height: 1; }
.otto-qs-pill:hover:not(.is-off) { border-color: #B85E0E; }
.otto-qs-pill.is-on { background: #111; border-color: #111; color: #fff; }
.otto-qs-sw { width: 34px; height: 34px; padding: 3px; border: 2px solid transparent; border-radius: 50%; background: none; }
.otto-qs-sw span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.28); }
.otto-qs-sw:hover:not(.is-off) { transform: scale(1.08); }
.otto-qs-sw.is-on { border-color: #FF3131; }
.otto-qs-opt.is-off { opacity: .35; cursor: not-allowed; position: relative; }
.otto-qs-pill.is-off { text-decoration: line-through; }
.otto-qs-sw.is-off::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 2px solid #555; transform: rotate(-45deg); }
.otto-qs-fixed { font-size: 14px; color: #222; margin: 4px 0 8px; }
.otto-qs-price { margin: 12px 0 10px; font-size: 20px; font-weight: 700; color: #B85E0E; }
.otto-qs-price del { color: #9aa3ad; font-weight: 400; font-size: 15px; margin-right: 6px; }
.otto-qs-price ins { text-decoration: none; }
.otto-qs-add { width: 100%; padding: 12px 10px; border: 0; border-radius: 6px; background: #FF3131; color: #fff; font-family: Jost, Poppins, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; transition: background .15s; }
.otto-qs-add:hover:not(:disabled) { background: #E8B32A; color: #000; }
.otto-qs-add:disabled { background: #e9c9c3; color: #fff; cursor: not-allowed; }
.otto-qs-msg { margin-top: 8px; font-size: 13px; color: #444; min-height: 1em; }
.otto-qs-msg a { color: #B85E0E; font-weight: 600; }

/* header mini-cart: force open briefly after an add-to-cart (theme normally shows it on hover) */
.header-shop-cart.otto-cart-open .header-mini-cart {
  display: block !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
  transform: none !important; transition: opacity .2s ease;
}

/* mobile / touch: the mini-cart becomes a right-hand drawer, like the menu slide-over */
.otto-cart-close { display: none; }
@media (max-width: 1024px), (hover: none) {
  .header-shop-cart .header-mini-cart {
    position: fixed !important; top: 0 !important; right: 0 !important; left: auto !important; bottom: 0 !important;
    width: 86vw !important; max-width: 380px !important; height: 100vh !important; margin: 0 !important;
    background: #fff !important; box-shadow: -12px 0 30px rgba(0,0,0,.18) !important; z-index: 99999 !important;
    padding: 64px 20px 24px !important; overflow-y: auto !important;
    display: block !important; visibility: visible !important; opacity: 1 !important;
    transform: translateX(105%) !important; will-change: transform;
    transition: transform .3s cubic-bezier(.22,.61,.36,1) !important; pointer-events: none !important;
  }
  .header-shop-cart.otto-cart-open .header-mini-cart { transform: none !important; pointer-events: auto !important; }
  .otto-cart-close {
    display: block; position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: #FF3131; color: #fff; font-size: 24px; line-height: 36px; text-align: center; cursor: pointer;
  }
}

/* theme pricing cards: plus icon on the Add To Cart button, and room for the panel */
.pricing-btn a.pricing-link::before,
a.pricing-link.tg-btn::before {
  content: "+"; display: inline-block; margin-right: 9px; font-weight: 700; line-height: 1;
  transform: translateY(1px);
}
.pricing-item.otto-qs-open, .pricing__box.otto-qs-open { position: relative !important; }
.pricing-item .otto-qs, .pricing__box .otto-qs { border-radius: 10px; }

