:root {
  color-scheme: light;
  font-family: Inter, -apple-system, "Segoe UI", sans-serif;
  --ink: #161823;
  --muted: #565862;
  --line: #ededee;
  --red: #fe2c55;
  --red-dark: #d0103a;
  --product-width: 440px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 6; top: 10px; left: 10px; padding: 10px 15px; background: white; }

body[data-page="catalogue"] .vt-cab-pedidos,
body[data-page="catalogue"] .vt-ic,
body[data-page="catalogue"] .vt-fina-links button {
  border: 0;
  background: transparent;
  color: inherit;
}
body[data-page="catalogue"] button.vt-ic { width: 100%; }
.vt-cab-pedidos { position: relative; }
.cart-badge { position: absolute; top: 1px; right: 4px; min-width: 17px; padding: 2px 4px; border-radius: 20px; background: white; color: var(--red-dark); font-size: 10px; font-weight: 800; line-height: 1.1; }
.cart-badge[data-empty-cart] { display: none; }
#produtos, #informacoes { scroll-margin-top: 108px; }
.vt-bn-black .vt-bn-titulo { max-width: 12ch; }
.vt-dc-nome { min-height: 2.6em; }
.vt-rod .payment-status { font-size: 14px; }

body[data-page="product"] { background: #e4e4e6; }
.product-page { max-width: var(--product-width); min-height: 100vh; margin-inline: auto; padding-bottom: calc(80px + env(safe-area-inset-bottom)); background: white; }
.gallery { position: relative; background: #f3f3f3; }
.gallery-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; scroll-snap-align: start; }
.gallery button { position: absolute; top: 50%; width: 32px; height: 38px; transform: translateY(-50%); border: 0; border-radius: 3px; background: #16182399; color: white; font-size: 24px; }
.gallery-prev { left: 6px; }
.gallery-next { right: 6px; }
.gallery-count { position: absolute; bottom: 8px; right: 12px; padding: 4px 8px; border-radius: 100px; background: #161823aa; color: white; font-size: 11px; pointer-events: none; }
.price-banner { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 61px; padding: 7px 16px; background: linear-gradient(105deg, #ee5c15, #ed590e 60%, #c24708 60%); color: white; }
.detail-price { font-size: clamp(25px, 7vw, 31px); font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.price-label { text-align: right; font-size: 14px; font-weight: 800; }
.product-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 16px; border-bottom: 6px solid #f4f4f4; }
.product-heading h1 { font-size: 17px; font-weight: 750; line-height: 1.3; }
.product-heading a { padding: 6px 7px; border-radius: 5px; background: #f5f5f6; text-decoration: none; font-size: 11px; }
.delivery-row { display: flex; flex-wrap: wrap; gap: 6px 9px; align-items: center; min-height: 55px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.delivery-row strong { padding: 3px 7px; border-radius: 4px; background: #dff5ee; color: #006653; }
.purchase-options { display: grid; gap: 7px; padding: 12px 16px 14px; border-bottom: 6px solid #f4f4f4; font-size: 14px; font-weight: 650; }
.purchase-options select, .purchase-options input { min-width: 0; padding: 8px; border: 1px solid #d4d4d7; border-radius: 5px; background: white; color: var(--ink); }
.quantity { display: flex; align-items: center; gap: 8px; }
.quantity input { width: 65px; }
.product-nav { display: flex; justify-content: space-around; padding: 11px 8px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 650; }
.product-nav a { padding: 4px; text-decoration: none; }
.product-nav a:hover { text-decoration: underline; }
.seller { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 6px solid #f4f4f4; text-decoration: none; }
.seller img { object-fit: contain; border-radius: 9px; }
.seller small { display: block; margin-top: 3px; color: var(--muted); }
.seller > span:last-child { margin-left: auto; font-size: 24px; }
.product-description, .related { padding: 16px; font-size: 14px; line-height: 1.55; }
.product-description h2, .related h2 { margin-bottom: 10px; font-size: 18px; }
.product-description h3 { margin-top: 14px; font-size: 15px; }
.product-description p + p { margin-top: 5px; }
.description-option { padding: 7px 9px; border-radius: 5px; background: #f5f5f6; color: var(--muted); }
.description-photo { width: 100%; height: auto; margin-block: 10px; border-radius: 4px; }
.related { border-top: 6px solid #f4f4f4; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related-grid a { display: grid; gap: 5px; min-width: 0; padding-bottom: 6px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.related-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.related-grid span, .related-grid strong { padding-inline: 7px; }
.related-grid strong { color: var(--red-dark); }
.purchase-bar { position: fixed; z-index: 3; bottom: 0; left: 50%; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 8px; width: min(100%, var(--product-width)); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); transform: translateX(-50%); border-top: 1px solid var(--line); background: white; }
.store-link { display: grid; justify-items: center; padding: 0 6px; text-decoration: none; font-size: 10px; }
.store-link img { object-fit: contain; }
.purchase-bar button { min-height: 46px; padding: 7px 8px; border: 0; border-radius: 40px; font-size: clamp(12px, 3.5vw, 14px); font-weight: 800; line-height: 1.05; }
.add-to-cart { background: #f1f1f2; color: var(--ink); }
.primary { background: var(--red-dark); color: white; }
.primary:hover { background: #b50630; }
.buy-now small { display: block; font-size: 10px; }

#carrinho { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 460px); max-width: 100%; height: 100%; height: 100dvh; max-height: none; padding: 20px; border: 0; background: white; color: var(--ink); }
#carrinho[open] { display: flex; flex-direction: column; }
#carrinho::backdrop { background: #16182380; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 23px; }
.text-button { padding: 3px 0; border: 0; background: none; color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.drawer-items { flex: 1; padding-block: 10px; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-item > img { width: 62px; height: 62px; object-fit: contain; border-radius: 5px; background: #f5f5f5; }
.cart-item strong, .cart-item p { overflow-wrap: anywhere; }
.cart-item p { font-size: 14px; color: var(--muted); }
.cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.cart-controls button:not(.text-button) { min-width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: white; color: inherit; }
.empty { padding: 16px 0; color: var(--muted); }
.drawer-bottom { padding-top: 13px; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 9px; }
.drawer-bottom .checkout-link { display: block; padding: 10px; border-radius: 5px; color: white; font-weight: 750; text-align: center; text-decoration: none; }

