/* MVP SHOP — store owner adjustments (loaded on every page after the theme CSS). */

/* Logo: no placeholder box behind it */
.sf-logo-mobile, .sf-logo-default { background: transparent !important; }

/* Mobile menu: no visible scrollbar track on the side */
.m-menu-drawer__content { scrollbar-width: none; }
.m-menu-drawer__content::-webkit-scrollbar { display: none; }

/* Product page buttons: Add to cart outlined in blue, Buy it now solid blue */
body.template-product:not(.product-vice-city) .add-to-cart.sf__btn-secondary {
  background: #fff !important;
  color: #1c2959 !important;
  border: 1px solid rgba(28, 41, 89, .35) !important;
}
body.template-product:not(.product-vice-city) .add-to-cart.sf__btn-secondary .atc-text,
body.template-product:not(.product-vice-city) .add-to-cart.sf__btn-secondary .atc-spinner {
  color: #1c2959 !important;
}
body.template-product:not(.product-vice-city) .add-to-cart.sf__btn-secondary:hover {
  background: #1c2959 !important;
  color: #fff !important;
}
body.template-product:not(.product-vice-city) .add-to-cart.sf__btn-secondary:hover .atc-text {
  color: #fff !important;
}
body.template-product:not(.product-vice-city) .shopify-payment-button__button {
  background: #1c2959 !important;
  color: #fff !important;
  border: 2px solid #1c2959 !important;
}

/* Vice City: Buy it now in white, to match the neon/dark page */
body.product-vice-city .shopify-payment-button__button {
  background: #fff !important;
  color: #0b0710 !important;
  border: 2px solid #fff !important;
}
body.product-vice-city .shopify-payment-button__button:hover {
  background: #f8e6f2 !important;
  border-color: #f8e6f2 !important;
}

/* Vice City: a bit more room between the badge, the title and the price */
body.product-vice-city .main-product__block-title { margin-top: 18px !important; margin-bottom: 14px !important; }
body.product-vice-city .main-product__block-price { margin-top: 8px !important; }

/* Vice City: spec list centered, also when a line wraps */
.vc-details__specs li { text-align: center; }

/* Size chart: the table fits the screen, no sideways swipe */
.mvp-size-table { min-width: 0 !important; width: 100% !important; table-layout: fixed; }
.mvp-size-tablewrap { overflow-x: visible !important; }
.mvp-size-swipe { display: none !important; }
@media (max-width: 600px) {
  .mvp-size-table { font-size: 12.5px !important; }
  .mvp-size-table th, .mvp-size-table td { padding: 8px 4px !important; word-break: break-word; text-align: center !important; }
}

/* Size chart on the Vice City page: readable note and labels on the dark box */
body.product-vice-city .mvp-size-note { background: var(--vc-card, #1a1024) !important; color: var(--vc-text, #f8f1fb) !important; }
body.product-vice-city .mvp-size-figure svg text[style*="stroke"] { stroke: var(--vc-bg-2, #130b1b) !important; }

/* Sticky add-to-cart bar hides when the footer is reached (mvp-ui.js) */
[id^="mvp-sticky-atc-"].mvp-at-footer {
  transform: translateY(120%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Checkout button: "packing" animation while the Checkout Bridge takes the cart to payment (mvp-ui.js) */
.mvp-co-loading { position: relative !important; pointer-events: none; color: transparent !important; }
.mvp-co-loading > :not(.mvp-co) { visibility: hidden !important; }
.mvp-co {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; letter-spacing: .04em; white-space: nowrap; overflow: hidden;
}
.mvp-co::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  animation: mvpCoSheen 1.4s ease-in-out infinite;
}
.mvp-co__scene { position: relative; width: 30px; height: 30px; flex: none; }
.mvp-co__box { position: absolute; left: 0; bottom: 0; width: 30px; height: 20px; }
.mvp-co__jersey { position: absolute; left: 7px; top: -2px; width: 16px; height: 16px; animation: mvpCoDrop 1.25s ease-in infinite; }
.mvp-co__lid-l { transform-origin: 2px 8px; animation: mvpCoLidL 1.25s ease-in-out infinite; }
.mvp-co__lid-r { transform-origin: 30px 8px; animation: mvpCoLidR 1.25s ease-in-out infinite; }
.mvp-co__label { position: relative; animation: mvpCoFade 1.25s ease-in-out infinite; }
@keyframes mvpCoDrop {
  0% { transform: translateY(-14px); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translateY(8px); opacity: 1; }
  75%, 100% { transform: translateY(10px); opacity: 0; }
}
@keyframes mvpCoLidL { 0%, 55% { transform: rotate(0); } 75%, 90% { transform: rotate(28deg); } 100% { transform: rotate(0); } }
@keyframes mvpCoLidR { 0%, 55% { transform: rotate(0); } 75%, 90% { transform: rotate(-28deg); } 100% { transform: rotate(0); } }
@keyframes mvpCoSheen { to { left: 120%; } }
@keyframes mvpCoFade { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mvp-co__jersey, .mvp-co__lid-l, .mvp-co__lid-r, .mvp-co::after, .mvp-co__label { animation: none; } }

/* Build the Vice City kit: size buttons instead of the dropdown (mvp-ui.js) */
.vc-set__select--hidden { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.vc-set__sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vc-set__size {
  min-width: 38px; height: 32px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .22);
  background: transparent; color: #f8f1fb; font-size: 12px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
}
.vc-set__size.is-active { border-color: #ff2e9a; background: linear-gradient(90deg, #ff2e9a, #ff8a3d); color: #fff; }
.vc-set__size:disabled { opacity: .35; text-decoration: line-through; cursor: default; }
.vc-set__img img { background: #1a1024; }

/* Vice City set panel in the cart drawer: same bar as "Buy more, save more", product photos and size buttons */
.vc-dset { --mvp-navy: #ffffff; --mvp-red: var(--vc-pink, #ff2e9a); --mvp-line: rgba(255, 255, 255, .14); --mvp-muted: var(--vc-muted, #b9a8c9); font-family: Archivo, Arial, Helvetica, sans-serif; padding-bottom: 12px !important; }
.vc-dset .mvp-tier__banner { background: var(--vc-grad, linear-gradient(90deg, #ff2e9a, #ff8a3d)) !important; color: #fff !important; }
.vc-dset .mvp-tier__body { padding: 16px 6px 6px; }
.vc-dset__list { display: grid; gap: 8px; margin-top: 4px; }
.vc-dset .vc-dset__quick { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 !important; padding: 8px !important; }
.vc-dset__img { width: 56px !important; height: 56px !important; object-fit: cover; flex: none; background: #1a1024; }
.vc-dset__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vc-dset .vc-dset__name { flex: none !important; font-size: 12.5px !important; line-height: 1.3; font-weight: 800; color: #fff; }
.vc-dset__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.vc-dset .vc-dset__size {
  min-width: 30px; height: 26px !important; padding: 0 6px !important; letter-spacing: .02em !important;
  border: 1px solid rgba(255, 255, 255, .22) !important; background: transparent !important; color: #f8f1fb !important;
  font-size: 11px !important; font-weight: 700 !important; text-transform: none !important;
}
.vc-dset .vc-dset__size.is-active { border-color: #ff2e9a !important; background: linear-gradient(90deg, #ff2e9a, #ff8a3d) !important; color: #fff !important; }
.vc-dset .vc-dset__size:disabled { opacity: .35; text-decoration: line-through; }
.vc-dset__one { font-style: normal; font-size: 11.5px; color: var(--vc-muted, #b9a8c9); }
.vc-dset .vc-dset__add { flex: none; align-self: center; }

/* Checkout Bridge: no full-screen "Indo para o pagamento…" layer; the checkout button animation is enough */
html.cbwc-busy::after { content: none !important; display: none !important; }

/* Currency selector in the footer (mvp-ui.js) */
.mvp-fx { display: flex; justify-content: center; padding: 14px 16px 18px; font-size: 13px; }
.mvp-fx label { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.mvp-fx__select { height: 32px; padding: 0 8px; border: 1px solid currentColor; background: transparent; color: inherit; font-size: 13px; border-radius: 0; }
.mvp-fx__select option { color: #111; }
