/* ---- clone: estilos próprios (mesma linguagem visual do site) ---- */
/* galeria do produto no celular: rolagem nativa */
#gallery-instance.fp-native::-webkit-scrollbar { display: none; }
#gallery-instance.fp-native .img { cursor: grab; }

/* "Add to Bag" nos cartões de recomendação + tamanhos */
.amrelated-grid-wrapper .product-item .fp-qa { margin-top: 10px; display: flex; flex-direction: column; align-items: center; }
.fp-qa-btn, .amrelated-grid-wrapper .product-item .action.tocart { background: #000 !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; height: 40px; padding: 0 22px !important; font: 600 14px/40px 'Helvetica Neue', Helvetica, Arial, sans-serif !important; cursor: pointer; }
@media (hover: hover) { .fp-qa-btn:hover, .amrelated-grid-wrapper .product-item .action.tocart:hover { background: #333 !important; } }
.fp-qa-btn:disabled, .amrelated-grid-wrapper .product-item .action.tocart:disabled { opacity: 1; cursor: default; }
.fp-qa-sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 8px; width: 100%; }
.fp-qa-sizes .fp-qa-title { width: 100%; text-align: center; font: 400 12px/1.5 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #565656; }
.fp-qa-sizes button { min-width: 42px; height: 34px; padding: 0 8px; border: 1px solid #dadada; border-radius: 0; background: #fff; color: #111; font: 500 13px 'Helvetica Neue', Helvetica, Arial, sans-serif; cursor: pointer; }


/* order bump na sacola lateral (modelo .minicart-upsell do site) */
.minicart-panel .minicart-upsell { border-top: 1px solid #eeeeee; height: auto !important; overflow: visible !important; }
.minicart-panel .minicart-upsell .upsell-subtitle { padding: 0 0 10px 0 !important; }
.minicart-panel .minicart-upsell ol { list-style: none; margin: 0; padding: 0 24px 12px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.minicart-panel .minicart-upsell ol::-webkit-scrollbar { display: none; }
.minicart-panel .minicart-upsell ol .product-item { flex: 0 0 42%; scroll-snap-align: start; margin: 0; padding: 0; border: 0; }
.minicart-panel .minicart-upsell .product-item-photo img { width: 100%; height: auto; display: block; }
.minicart-panel .minicart-upsell .basket-button { cursor: pointer; }
.minicart-panel .minicart-upsell .product.options:not([hidden]) { display: flex; flex-wrap: wrap; left: 6px; right: 6px; bottom: 6px; padding: 0; }
.minicart-panel .minicart-upsell .size-button { flex: 1 0 auto; min-width: 30px; height: 28px; padding: 0 4px; font-size: 11px !important; cursor: pointer; }
.minicart-panel .minicart-upsell .price-container { font-size: 13px; }
.minicart-panel .minicart-upsell .fp-old { text-decoration: line-through; color: #111; margin-right: 4px; }
.fp-qa-sizes { position: relative; padding: 8px 26px 0; border: 1px solid #eeeeee; background: #fff; box-sizing: border-box; }
.fp-qa-sizes .fp-qa-close { position: absolute; top: 2px; right: 4px; min-width: 0; width: 26px; height: 26px; border: 0; padding: 0; background: none; font-size: 22px; line-height: 26px; color: #111; }
@media (hover: hover) { .fp-qa-sizes button:not(.fp-qa-close):hover { border-color: #000; } }

/* menu do celular aberto: escurece também o cabeçalho (como o original faz com a sacola) */
html.left-panel-shown .page-header::after { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; background: rgba(0,0,0,0.54); pointer-events: none; }

/* ---- tela de carregamento do checkout (sem logo) ---- */
html.fp-co-open, html.fp-co-open body { overflow: hidden; }
#fpCheckoutLoader { position: fixed; inset: 0; z-index: 2147483000; background: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s ease; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #111; }
#fpCheckoutLoader.is-in { opacity: 1; }
#fpCheckoutLoader .fp-co-inner { width: min(360px, calc(100vw - 48px)); text-align: center; }
#fpCheckoutLoader .fp-co-spinner { width: 44px; height: 44px; margin: 0 auto 26px; border-radius: 50%; border: 2px solid #e6e6e6; border-top-color: #111; animation: fpCoSpin .9s linear infinite; }
@keyframes fpCoSpin { to { transform: rotate(360deg); } }
#fpCheckoutLoader .fp-co-title { margin: 0 0 8px; font-size: 22px; font-weight: 500; letter-spacing: .2px; line-height: 1.3; }
#fpCheckoutLoader .fp-co-step { margin: 0 0 26px; min-height: 20px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #565656; transition: opacity .18s ease, transform .18s ease; }
#fpCheckoutLoader .fp-co-step.is-out { opacity: 0; transform: translateY(-4px); }
#fpCheckoutLoader .fp-co-bag { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
#fpCheckoutLoader .fp-co-thumb { position: relative; width: 56px; height: 72px; background: #f3f2f2; overflow: hidden; }
#fpCheckoutLoader .fp-co-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#fpCheckoutLoader .fp-co-thumb b { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #111; color: #fff; font-size: 10px; line-height: 16px; font-weight: 500; }
#fpCheckoutLoader .fp-co-more { width: 56px; height: 72px; display: flex; align-items: center; justify-content: center; background: #f3f2f2; font-size: 13px; color: #565656; }
#fpCheckoutLoader .fp-co-total { margin: 0 0 22px; font-size: 14px; color: #565656; }
#fpCheckoutLoader .fp-co-total strong { color: #111; font-weight: 500; }
#fpCheckoutLoader .fp-co-bar { height: 2px; background: #eeeeee; overflow: hidden; margin-bottom: 16px; }
#fpCheckoutLoader .fp-co-bar span { display: block; height: 100%; width: 0; background: #111; animation: fpCoBar 2.6s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes fpCoBar { to { width: 100%; } }
#fpCheckoutLoader .fp-co-lock { margin: 0; font-size: 12px; color: #565656; display: flex; align-items: center; justify-content: center; gap: 6px; }
@media (prefers-reduced-motion: reduce) { #fpCheckoutLoader .fp-co-spinner { animation-duration: 2s; } }

/* ---- sacola: X maior, X branco na faixa escura (celular) e "Continue Shopping" ---- */
#close-bag-panel { background-size: 16px !important; width: 48px !important; }
.fp-bag-close { display: none; }

.minicart-panel .bottom-panel .actions .fp-continue { display: block; width: 100%; margin: 10px 0 0; height: 50px; background: #fff; color: #111; border: 1px solid #111; border-radius: 0; font: 500 16px/48px 'Helvetica Neue', Helvetica, Arial, sans-serif; cursor: pointer; padding: 0; }
@media (hover: hover) { .minicart-panel .bottom-panel .actions .fp-continue:hover { background: #f3f3f3; } }
.minicart-panel .bottom-panel { padding-bottom: 16px; }

/* ---- busca: sugestões e resultados ---- */
.search-autocomplete.fp-sugg { position: absolute; left: 0; right: 0; top: 100%; margin-top: 0; z-index: 30; background: #fff; border: 1px solid #e6e6e6; border-top: 0; box-shadow: 0 8px 24px rgba(0,0,0,.08); max-height: 70vh; overflow-y: auto; text-align: left; }
.search-autocomplete.fp-sugg ul li { padding: 0; border: 0 !important; border-bottom: 1px solid #f0f0f0 !important; background: #fff; }
.search-autocomplete.fp-sugg ul li a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; color: #111; text-decoration: none; }
@media (hover: hover) { .search-autocomplete.fp-sugg ul li a:hover { background: #f6f6f6; } }
.search-autocomplete.fp-sugg img { width: 44px; height: 58px; object-fit: cover; background: #f3f2f2; flex: 0 0 44px; }
.search-autocomplete.fp-sugg .fp-s-txt { display: flex; flex-direction: column; font: 400 14px/1.35 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.search-autocomplete.fp-sugg .fp-s-txt b { font-weight: 500; }
.search-autocomplete.fp-sugg .fp-s-txt span { color: #565656; font-size: 13px; }
.search-autocomplete.fp-sugg .fp-s-price s { color: #111; margin-right: 4px; }
.search-autocomplete.fp-sugg .fp-s-price em { font-style: normal; color: #f90000; }
.search-autocomplete.fp-sugg .fp-s-all { display: block; padding: 12px 14px; text-align: center; font: 500 13px 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #111; text-decoration: underline; }
.search-autocomplete.fp-sugg .fp-s-none { margin: 0; padding: 14px; font: 400 14px 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #565656; }
.mobile-search-wrapper form, #search_mini_form .control { position: relative; }
.fp-s-count { text-align: center; margin: 10px 0 24px; font: 400 14px 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #565656; }
.fp-s-count a { text-decoration: underline; color: #111; }

/* rodapé da sacola por cima da faixa de sugestões (ícones não vazam) */
.minicart-panel .bottom-panel { z-index: 6 !important; }
