/* Store base theme (direction B "boutique"). The brand color comes from each theme's compiled Bootstrap (--primary). */
:root {
  --brand: var(--primary);
  --brand-strong: color-mix(in srgb, var(--brand) 60%, #000); /* 60% (not 72%) keeps AA on #fff, --bg and --brand-soft for light brands */
  --brand-ink: color-mix(in srgb, var(--brand) 38%, #0b1512);
  --brand-soft: color-mix(in srgb, var(--brand) 16%, #fff);
  --bg: #f7f4ef;
  --surface: #fff;
  --ink: #22252a;
  --muted: #6b6f76;
  --line: #ebe6de;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 2px 12px rgba(30, 30, 20, .06);
  --shadow-hover: 0 10px 28px rgba(30, 30, 20, .12);
  --container: 1280px;
  --gutter: 24px;
  --space-section: 56px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px; /* sticky .site-header: one 76px row on desktop */
}
/* Below 992px the header has two rows (menu | logo | bag, then search): 8 + 44 + 8 + 44 + 12 */
@media (max-width: 991.98px) { :root { --header-h: 116px; } }
/* Blank layout (login, checkout): its header does not stick */
:root:has(> body.layout-blank) { --header-h: 0px; }
@media (max-width: 767.98px) { :root { --gutter: 16px; --space-section: 40px; } }
/* Browsers without color-mix(): neutral ink instead of the raw brand color, which fails AA under white text on light brands */
@supports not (color: color-mix(in srgb, red 50%, blue)) { :root { --brand-strong: #22252a; --brand-ink: #22252a; --brand-soft: #f3f1ec; } }

html, body, .tooltip, .popover { font-family: var(--font); }
body { background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.container { max-width: calc(var(--container) + 2 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }

/* ============================================================================
   Global components
   ============================================================================ */
.btn { border-radius: var(--radius-pill); font-weight: 700; padding: .65rem 1.4rem; }
.btn-sm { padding: .4rem .9rem; font-size: .875rem; }
.btn-lg { padding: .85rem 1.7rem; font-size: 1rem; }
.btn-primary, .btn-primary:not(:disabled):not(.disabled):active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn-outline-primary { color: var(--brand-ink); border: 1.5px solid var(--brand-ink); }
.btn-outline-primary:hover { background: var(--brand-ink); color: #fff; }
/* Two-tone focus ring: visible on light and dark backgrounds alike */
.btn:focus, .btn.focus, .form-control:focus, .custom-select:focus { outline: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand-ink); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.form-control, .custom-select, .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple { border-radius: var(--radius-sm); border-color: var(--line); min-height: 44px; }
/* Field + button pairs (product and cart postal code): one 10px-cornered block of equal height */
.input-group > .form-control:not(.rounded-pill) { height: auto; }
.input-group > .input-group-append > .btn:not(.rounded-pill) { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand-strong); }
/* intl-tel-input wraps the phone field in an inline-block: let it fill its column like the other fields */
.form-group > .iti { display: block; }
/* Bootstrap utility colours of the compiled themes fail AA on white (muted 2.9:1, success 2.2:1,
   primary 2.2:1, info 3.0:1, danger 3.6:1, warning 2.3:1). Same hues, darkened to >= 4.5:1 on --bg. */
.text-muted { color: var(--muted) !important; }
.text-primary { color: var(--brand-strong) !important; }
.text-success { color: #0f7a3f !important; }
.text-info { color: #117a8b !important; }
.text-danger { color: #c4283a !important; }
.text-warning { color: #8a5300 !important; }
/* Bootstrap's compiled a.text-*:hover/focus (darker theme hues, !important) would undo the AA colours above */
a.text-muted:hover, a.text-muted:focus { color: var(--ink) !important; }
a.text-primary:hover, a.text-primary:focus { color: var(--brand-ink) !important; }
a.text-success:hover, a.text-success:focus { color: #0b5f31 !important; }
a.text-info:hover, a.text-info:focus { color: #0d6472 !important; }
a.text-danger:hover, a.text-danger:focus { color: #9e1c28 !important; }
a.text-warning:hover, a.text-warning:focus { color: #6b4000 !important; }
.badge-primary { background: var(--brand-ink); color: #fff; }
.badge-success, .btn-success { background: #0f7a3f; border-color: #0f7a3f; color: #fff; }
.badge-danger, .btn-danger { background: #c4283a; border-color: #c4283a; color: #fff; }
.badge-info, .btn-info { background: #117a8b; border-color: #117a8b; color: #fff; }
.badge-warning, .btn-warning { color: var(--ink); }
.btn-success:hover, .btn-success:focus { background: #0b5f31; border-color: #0b5f31; color: #fff; }
.btn-danger:hover, .btn-danger:focus { background: #9e1c28; border-color: #9e1c28; color: #fff; }
.btn-info:hover, .btn-info:focus { background: #0d6472; border-color: #0d6472; color: #fff; }
.badge { border-radius: var(--radius-pill); font-weight: 700; }
.card { border-radius: var(--radius); border-color: var(--line); }
.page-item .page-link { border-radius: var(--radius-pill) !important; margin: 0 2px; color: var(--brand-ink); }
.page-item.active .page-link { background: var(--brand-ink); border-color: var(--brand-ink); }
.breadcrumb { background: transparent; padding-left: 0; }
.eyebrow { display: block; color: var(--brand-strong); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 11.5px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 0; color: var(--ink); }
.section-link { font-weight: 700; font-size: 14px; color: var(--brand-strong); white-space: nowrap; }
@media (max-width: 767.98px) { .section-title { font-size: 22px; } }
.surface { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
/* Loading spinners keep turning: they signal progress, not decoration */
@media (prefers-reduced-motion: reduce) { *:not(.spinner-border):not(.spinner-grow):not(.la-spin):not(.fa-spin), *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Plain links: the theme's link color (e.g. #338171) falls below AA on --bg; --brand-strong keeps ≥ 4.5 */
a { color: var(--brand-strong); }
a:hover { color: var(--brand-ink); }

/* Neutral border on focus; the ring comes from the global focus rule above */
.form-control:focus, .custom-select:focus { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
/* Invalid field keeps the theme's red ring (same values as each theme's ui.custom.css) */
.form-control.input-validation-error:focus, .input-validation-error:focus { border-color: #b9554d; box-shadow: 0 0 6px rgba(171, 41, 32, .5); }
.page-item .page-link { border-color: var(--line); }
.page-item.active .page-link { color: #fff; }

/* Alerts and success badges (cart and checkout) */
.alert { border-radius: var(--radius-sm); border: 1px solid transparent; }
.badge-success { padding: .35em .7em; letter-spacing: .02em; }

/* ============================================================================
   Horizontal rail (home categories): touch scroll; arrows in the section head on desktop, only when the list overflows
   ============================================================================ */
.shop-rail-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 6px 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shop-rail-track::-webkit-scrollbar { display: none; }
.shop-rail-track > li { flex: 0 0 auto; scroll-snap-align: start; }
.rail-nav { display: none; gap: 8px; }
.rail-nav-btn { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; transition: background-color .16s ease, opacity .16s ease; }
.rail-nav-btn:hover { background: var(--brand-soft); }
.rail-nav-btn:disabled { opacity: .4; cursor: default; background: var(--surface); }
.rail-nav-btn[hidden] { display: none; }
@media (min-width: 992px) { .rail-nav { display: flex; } }

/* ============================================================================
   Catalog (Shop/Index, Shop/_Products and the ShoppingAside filters)
   ============================================================================ */
aside h6 { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; color: var(--muted); font-weight: 700; }

/* Catalog column: soft panel */
.col-md-9.bg-light.rounded { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius) !important; }

.shop-products-count { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.shop-products-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }

/* Filter panel: clean white card instead of a grey block */
#aside_filter.card.bg-light {
  background: var(--surface) !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
#aside_filter article { border-color: var(--line) !important; }
#aside_filter a[data-toggle="collapse"] strong { font-size: .92rem; color: var(--ink); letter-spacing: .005em; }
#aside_filter a[data-toggle="collapse"] .icon-control { color: var(--muted); transition: transform .25s ease; }
#aside_filter a[data-toggle="collapse"]:not(.collapsed) .icon-control { transform: rotate(180deg); }
#aside_filter .list-menu { list-style: none; padding-left: 0; margin-bottom: 0; }
#aside_filter .list-menu li a {
  display: block;
  padding: .4rem .6rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
#aside_filter .list-menu li a:hover { background: var(--brand-soft); color: var(--ink); }
#aside_filter .form-check-label { color: var(--muted); cursor: pointer; transition: color .16s ease; }
#aside_filter .form-check-input.filter-item:checked ~ .form-check-label,
#aside_filter .form-check-label:hover { color: var(--ink); font-weight: 600; }
#aside_filter .filter-scroll { max-height: 200px; overflow: auto; }
#aside_filter .filter-scroll::-webkit-scrollbar { width: 8px; }
#aside_filter .filter-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

/* ============================================================================
   Product page (tabs and the "Você também pode gostar" section)
   ============================================================================ */
.product-tabs .nav-tabs { border-bottom: 1px solid var(--line); }
.product-tabs .nav-tabs .nav-link {
  border: 0;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.product-tabs .nav-tabs .nav-link:hover { color: var(--ink); }
.product-tabs .nav-tabs .nav-link.active { color: var(--ink); background: transparent; border-bottom-color: var(--brand-ink); }
.product-tabs .tab-content { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--surface); }

/* Product/Details inline styles (cool Bootstrap greys and greens) mapped to the theme tokens; `main` raises the
   specificity above the view's <style>, which loads after this file. */
main .product-detail-wrapper { background: transparent; }
main .product-detail { max-width: min(var(--container), calc(100% - 2 * var(--gutter))); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
main .product-detail .stock-status, main .product-detail .product-options,
main .product-gallery .main-product-image, main .no-image-placeholder { background: var(--bg); }
main .product-detail .price-section { border-color: var(--line); background: var(--surface); }
main .product-detail .current-price .price, main .size-selector .size-price, main .buy-bar-price { color: var(--brand-ink) !important; }
main .thumbnail-gallery .img-thumbnail { border-color: var(--line); }
main .shipping-estimate #estimate-result li { border-bottom-color: var(--line); }
main .product-breadcrumb .breadcrumb { scrollbar-width: none; }
main .product-breadcrumb .breadcrumb-item a { color: var(--muted); }
#estimate-help a { text-decoration: underline; }
@media (max-width: 767.98px) { main .product-detail { border-radius: var(--radius); } }

/* Size tiles: brand colours instead of the view's Bootstrap blue; the stock badge sits in the flow at the top
   of the tile (absolute, it wrapped over the size name on phones). */
.size-selector .size-label { border-color: var(--line); border-radius: var(--radius-sm); }
.size-selector .size-label:hover { border-color: var(--brand-ink); background: var(--surface); box-shadow: var(--shadow); }
.size-selector .size-radio:checked + .size-label { border-color: var(--brand-ink); background: var(--brand-soft); color: var(--brand-ink); }
.size-selector .size-radio:focus-visible + .size-label { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand-ink); }
.size-selector .size-radio:disabled + .size-label:hover { border-color: var(--line); background: var(--bg); }
.size-selector .size-low-stock,
.size-selector .size-unavailable { position: static; order: -1; margin: -.5rem -.75rem .4rem; padding: .15rem .5rem; border-radius: var(--radius-pill); font-size: .6875rem; line-height: 1.25; }

/* Recommended products (Product/Details + _RecommendedProducts) still use the home-* heading classes;
   their grid is .product-grid. */
.recommended-products.home-section { margin-top: 0; padding-top: var(--space-section); }
.recommended-products .home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.recommended-products .home-section-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em; color: var(--ink); margin: 0; }

/* ============================================================================
   Cart (Cart/_PartialCart)
   ============================================================================ */
#partialcart-container .card.card-body {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease;
}
#partialcart-container .card.card-body:hover { box-shadow: var(--shadow-hover); }
#partialcart-container .itemside .title { color: var(--ink); font-weight: 600; }
#partialcart-container .itemside .aside img { border-radius: 8px; }
#partialcart-container input[name="quantity"] { text-align: center; font-weight: 600; border-radius: var(--radius-sm); padding-left: .25rem; padding-right: .25rem; }

/* Remove button: discreet, red on hover, circular target */
#partialcart-container a.btn-link {
  color: var(--muted);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .16s ease, color .16s ease;
}
#partialcart-container a.btn-link:hover { color: #dc3545; background: rgba(220, 53, 69, .08); text-decoration: none; }

/* Order summary */
#partialcart-container .col-md-3 > .card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
#partialcart-container .dlist-align { margin-bottom: .5rem; color: var(--muted); }
#partialcart-container .dlist-align:last-of-type dt,
#partialcart-container .dlist-align:last-of-type dd { color: var(--ink); font-size: 1.05rem; }

/* ============================================================================
   Checkout (summary, shipping methods, addresses, payment)
   ============================================================================ */
#formCheckout .col-md-4 > .card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
#formCheckout .col-md-4 .price { color: var(--ink); font-weight: 700; }
#formCheckout .input-group .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

/* Summary card sticks while scrolling (cart and checkout), below the sticky header — from 768px */
@media (min-width: 768px) {
  #partialcart-container .col-md-3 > .card,
  #formCheckout .col-md-4 > .card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* Shipping methods (Checkout/ShippingMethods) and account menu */
.list-group-item { border-color: var(--line); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.list-group-item:first-child { border-top-left-radius: var(--radius-sm); border-top-right-radius: var(--radius-sm); }
.list-group-item:last-child { border-bottom-left-radius: var(--radius-sm); border-bottom-right-radius: var(--radius-sm); }
a.list-group-item:hover { z-index: 1; transform: translateX(2px); box-shadow: var(--shadow-hover); }
a.list-group-item .fa-chevron-right { color: var(--muted); align-self: center; transition: transform .16s ease; }
a.list-group-item:hover .fa-chevron-right { transform: translateX(3px); color: var(--ink); }

/* My account: side navigation */
ul.list-group .list-group-item { color: var(--muted); }
ul.list-group .list-group-item i { color: var(--muted); }
ul.list-group > a.list-group-item.active {
  background: var(--brand-soft);
  color: var(--ink);
  border-color: var(--line);
  border-left: 3px solid var(--brand-ink);
  font-weight: 600;
}
ul.list-group > a.list-group-item.active i { color: var(--brand-ink); }

/* Delivery address: selectable cards (label.js-check.box) */
label.js-check.box {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color .16s ease, box-shadow .16s ease;
}
label.js-check.box:hover { box-shadow: var(--shadow-hover); }
label.js-check.box:has(input:checked) { border-color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-ink); }
label.js-check.box p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

/* Payment accordion: card / PIX / boleto (#accordion_pay) */
#accordion_pay > .card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .5rem;
  overflow: hidden;
  transition: box-shadow .16s ease;
}
#accordion_pay > .card .card-header { background: transparent; border-bottom: 0; padding: 0; }
#accordion_pay > .card .card-header label.form-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  margin: 0;
  padding: .8rem 1.1rem;
  min-height: 0;
  width: 100%;
  transition: background-color .16s ease;
}
/* Cancels Bootstrap's absolute radio position inside the flex row */
#accordion_pay > .card .card-header label.form-check .form-check-input { position: static; margin: 0; flex: 0 0 auto; }
#accordion_pay > .card .card-header .form-check-label { margin: 0; font-size: 1rem; line-height: 1.2; color: var(--ink); }
#accordion_pay > .card .card-header label.form-check:hover { background: var(--brand-soft); }
#accordion_pay > .card:has(.form-check-input:checked) { box-shadow: var(--shadow); }
#accordion_pay > .card:has(.form-check-input:checked) > .card-header label.form-check { background: var(--brand-soft); }
#accordion_pay > .card:has(.form-check-input:checked) .form-check-label { font-weight: 600; }

/* ============================================================================
   Text pages (About, FAQ)
   ============================================================================ */
.text-page { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq-item summary { font-weight: 600; cursor: pointer; }
.faq-answer { padding-top: .5rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================================
   Product card (_ProductCard) and .product-grid (home, catalog, recommended)
   ============================================================================ */
.shop-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: box-shadow .25s, transform .25s; position: relative; }
.shop-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); text-decoration: none; color: var(--ink); }
.shop-card-media { position: relative; aspect-ratio: 4 / 5; background: #efe9df; }
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card-flag { position: absolute; top: 12px; left: 12px; border-radius: var(--radius-pill); font-size: 11.5px; padding: 4px 10px; font-weight: 700; background: var(--brand-strong); color: #fff; }
.shop-card-flag-muted { background: var(--ink); }
.shop-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.shop-card-title { font-size: 14px; line-height: 1.35; font-weight: 400; color: #33363b; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.shop-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: auto; }
.shop-card-price-old { font-size: 12.5px; color: var(--muted); } /* mockup #9a9ca1 is 2.7:1 on white; --muted keeps AA */
.shop-card-price-now { font-size: 18px; font-weight: 800; color: var(--brand-ink); white-space: nowrap; }
.shop-card-installment, .shop-card-unavailable { font-size: 12px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1199.98px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .shop-card-body { padding: 10px 12px 14px; } .shop-card-price-now { font-size: 16px; } }
/* Catalog sits beside the filter column: keeps 3 columns on wide screens */
.shop-products-grid { margin-bottom: 1.5rem; }
@media (min-width: 1200px) { .shop-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============================================================================
   Header (_Header, AnnouncementBar, MiniCart, ShoppingMenu) and the catalog filter panel (ShoppingAside)
   ============================================================================ */
/* Announcement bar: all notices on desktop, one at a time on phones (rotated by the partial's script) */
.announce { background: var(--brand-strong); color: #fff; font-size: 12.5px; line-height: 1.4; text-align: center; padding: 8px 0; letter-spacing: .01em; }
.announce-track { display: flex; justify-content: center; flex-wrap: wrap; }
.announce-item + .announce-item::before { content: "·"; margin: 0 10px; }
@media (max-width: 767.98px) {
  .announce-item { display: none; }
  .announce-item.is-active { display: block; }
  .announce-item + .announce-item::before { content: none; }
}

/* Anchors and focused fields stop below the sticky header */
html { scroll-padding-top: calc(var(--header-h) + 14px); }

/* 1031: above the product page buy bar (.buy-bar) */
.site-header { position: sticky; top: 0; z-index: 1031; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.site-header-bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.site-header-brand { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; color: var(--ink); text-decoration: none; }
.site-header-brand:hover { color: var(--ink); text-decoration: none; }
/* Fixed height (the img carries height="44" to reserve the row before it loads); wide logos shrink inside 220px */
.site-header-logo { display: block; height: 44px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
/* Reseller store: round profile photo + store name */
.site-header-reseller { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site-header-reseller-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.site-header-reseller-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.site-header-reseller-name { max-width: 260px; font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header-reseller-text small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Search: the form is the pill, so the round button never sits under the focused input */
.site-search { flex: 1 1 auto; display: flex; align-items: center; height: 46px; margin: 0; padding: 0 6px 0 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.site-search:focus-within { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand-ink); }
.site-search-input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font-size: 14.5px; }
.site-search-input:focus { outline: none; }
.site-search-input::placeholder { color: var(--muted); opacity: 1; }
/* --brand-strong (not the raw --brand): the white icon keeps contrast on light brands */
.site-search-btn { flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--brand-strong); color: #fff; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.site-search-btn:hover { background: var(--brand-ink); }

/* Account and bag */
.site-header-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.site-account, .site-bag-toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.25; }
.site-header-icon { position: relative; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 21px; }
a.site-header-icon:hover { color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 26%, #fff); }
.site-header-text { display: flex; flex-direction: column; text-align: left; white-space: nowrap; }
.site-header-text small { color: var(--muted); font-size: 11.5px; }
.site-header-text a, .site-header-text span { color: var(--ink); font-weight: 700; }
.site-header-text a:hover { color: var(--brand-strong); }
.site-account-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.site-bag-toggle { padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.site-bag-count { position: absolute; top: -3px; right: -3px; min-width: 18px; padding: 1px 6px; border-radius: var(--radius-pill); background: var(--brand-strong); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center; }
.site-bag-total { font-size: 13px; }
.site-bag-menu { margin-top: 10px; padding: 12px 0 0; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); overflow: hidden; }
/* The themes size the mini cart at 350px and truncate the item name only when .title is a block */
.site-bag-menu .mini-cart-wrapper, .site-bag-menu .list-products { width: min(350px, calc(100vw - 2 * var(--gutter))); }
.site-bag-menu .product-name .title { display: block; }
.site-bag-menu .list-products { height: auto; max-height: 400px; }

.site-header-toggle { width: 44px; height: 44px; margin-left: -8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 26px; display: inline-flex; align-items: center; justify-content: center; }
.site-header-toggle:hover { background: var(--brand-soft); }

/* Focus: dark ring on the white bar (the global rule uses currentColor, faint on muted text) */
.site-header a:focus-visible, .site-header button:focus-visible, .shop-menu a:focus-visible, .shop-menu button:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.site-header .site-search-btn:focus-visible { outline-offset: 3px; }

/* Optional dark bar for light/white logos (Storefront.HeaderDark) */
.site-header.header-brand-dark { background: var(--brand-ink); box-shadow: none; }
/* Notice bar (--brand-strong) right above the dark bar: a hairline keeps the two apart */
.announce:has(~ .site-header.header-brand-dark) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.header-brand-dark .site-header-brand, .header-brand-dark .site-header-brand:hover,
.header-brand-dark .site-header-text a, .header-brand-dark .site-header-text span,
.header-brand-dark .site-bag-toggle, .header-brand-dark .site-header-toggle { color: #fff; }
.header-brand-dark .site-header-text small, .header-brand-dark .site-header-reseller-text small { color: rgba(255, 255, 255, .82); }
.header-brand-dark .site-header-text a:hover { color: #fff; text-decoration: underline; }
.header-brand-dark .site-header-toggle:hover { background: rgba(255, 255, 255, .14); }
.header-brand-dark .site-search { border-color: transparent; }
.header-brand-dark .site-search:focus-within { box-shadow: 0 0 0 2px var(--brand-ink), 0 0 0 4px #fff; }
.header-brand-dark a:focus-visible, .header-brand-dark button:focus-visible { outline-color: #fff; }

/* Phones and tablets: menu | logo | account + bag, search on its own row; account texts hidden */
@media (max-width: 991.98px) {
  .site-header-bar { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "toggle brand actions" "search search search"; gap: 8px 12px; min-height: 0; padding-top: 8px; padding-bottom: 12px; }
  .site-header-toggle { grid-area: toggle; justify-self: start; }
  .site-header-brand { grid-area: brand; justify-self: center; max-width: 100%; }
  .site-header-logo { height: 40px; max-width: 140px; object-position: center; }
  .site-header-reseller-logo { width: 40px; height: 40px; }
  .site-header-reseller-name { max-width: 130px; font-size: 14px; }
  .site-header-actions { grid-area: actions; justify-self: end; gap: 8px; }
  .site-search { grid-area: search; height: 44px; }
  .site-header-text { display: none; }
}
/* Tablets: a signed-in customer keeps "Conta | Sair" next to the account icon */
@media (min-width: 768px) and (max-width: 991.98px) {
  .site-account .site-header-text { display: flex; }
}

/* Category row (desktop) */
.shop-menu { position: relative; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.shop-menu-row { border-top: 1px solid var(--line); }
.shop-menu-list { display: flex; align-items: center; gap: 26px; min-height: 48px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.shop-menu-list > li { flex: 0 0 auto; }
.shop-menu-all { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 14px; line-height: 1.2; cursor: pointer; }
.shop-menu-all .la { font-size: 17px; }
.shop-menu-all:hover, .shop-menu-all[aria-expanded="true"] { background: color-mix(in srgb, var(--brand) 26%, #fff); }
.shop-menu-link { display: inline-block; padding: 6px 0; color: var(--ink); }
.shop-menu-link:hover { color: var(--brand-strong); text-decoration: none; }
/* Full-width category submenu */
.shop-menu .megamenu { position: static; }
.shop-menu .shop-megamenu { left: var(--gutter); right: var(--gutter); width: auto; max-width: var(--container); margin: 0 auto; padding: 24px 24px 8px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); background: var(--surface); }
.shop-megamenu-col { margin-bottom: 20px; }
.shop-megamenu-segment { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.shop-megamenu .list-unstyled { margin-bottom: 6px; }
.shop-megamenu-link { display: block; padding: 4px 8px; margin-left: -8px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 400; }
.shop-megamenu-link:hover, .shop-megamenu-segment:hover { background: var(--brand-soft); color: var(--ink); text-decoration: none; }
.shop-megamenu-all { font-size: 13px; font-weight: 700; color: var(--brand-strong); }
@media (min-width: 992px) {
  .shop-megamenu .list-unstyled { max-height: 300px; overflow: auto; }
  .shop-drawer-head, .shop-drawer-backdrop { display: none !important; }
}

/* Phones and tablets: the category row becomes a side drawer opened from the header */
@media (max-width: 991.98px) {
  .shop-menu { box-shadow: none; }
  .shop-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1050; width: min(340px, 86vw); background: var(--surface); box-shadow: var(--shadow-hover); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .shop-drawer.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .shop-drawer-backdrop { position: fixed; inset: 0; z-index: 1045; background: rgba(20, 22, 25, .45); }
  .shop-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); }
  .shop-drawer-title { font-weight: 800; font-size: 16px; }
  .shop-drawer-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; }
  .shop-drawer-close:hover { background: var(--brand-soft); }
  .shop-menu-row { border-top: 0; padding: 0; }
  .shop-menu-list { display: block; }
  .shop-menu-list > li { border-bottom: 1px solid var(--line); }
  .shop-menu-all, .shop-menu-link { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 16px; border-radius: 0; }
  .shop-menu .shop-megamenu { position: static; float: none; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .shop-megamenu .row { display: block; margin: 0; }
  /* The themes cap .megamenu-content > div at 400px with its own scroll: the drawer already scrolls */
  .shop-menu .shop-megamenu .megamenu-content > .row { max-height: none; overflow: visible; }
  .shop-megamenu-col { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
  .shop-megamenu-col:last-child { border-bottom: 0; }
  .shop-megamenu-segment, .shop-megamenu-link, .shop-megamenu-all { display: flex; align-items: center; min-height: 48px; margin: 0; padding: 0 16px; border-radius: 0; }
  .shop-megamenu-link { padding-left: 28px; }
  .shop-megamenu .list-unstyled { margin: 0; }
  body.shop-drawer-open { overflow: hidden; }
}

/* Catalog filters (ShoppingAside) on phones: surface panel, 48px rows, --line separators */
.shop-filter-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-weight: 700; }
.shop-filter-toggle:hover { color: var(--ink); text-decoration: none; }
.shop-filter-toggle .fa { transition: transform .25s ease; }
.shop-filter-toggle:not(.collapsed) .fa { transform: rotate(180deg); }
@media (max-width: 991.98px) {
  #aside_filter article { padding: 0 16px !important; border-bottom: 1px solid var(--line) !important; }
  #aside_filter article > a[data-toggle="collapse"] { min-height: 48px; align-items: center; }
  #aside_filter article .collapse > div { padding-bottom: 12px; }
  #aside_filter .list-menu li a { display: flex; align-items: center; min-height: 48px; padding: 0 .6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  #aside_filter .list-menu li:last-child a { border-bottom: 0; }
}

/* ============================================================================
   Home (Home/Index): banner → benefits → categories → showcase → offers → best sellers → brand band → new arrivals
   ============================================================================ */
.home-section { margin-top: var(--space-section); }

/* Main banner carousel (1900x450 art). Text layer only for banners with a title; art-only banners get no overlay. */
.home-hero-carousel { margin-top: 22px; }
.home-hero-carousel .carousel-inner { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
@media (min-width: 768px) { .home-hero-carousel .carousel-inner { border-radius: var(--radius-lg); } }
.home-hero-slide { position: relative; display: block; color: #fff; }
.home-hero-slide:hover, .home-hero-slide:focus { color: #fff; text-decoration: none; }
.home-hero-img { display: block; width: 100%; height: auto; }
.home-banner-text { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 20px 24px; background: var(--brand-ink); color: #fff; }
.home-banner-title { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-banner-subtitle { margin-top: 10px; font-size: 15px; line-height: 1.45; opacity: .92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-banner-btn, .home-showcase-btn, .home-brand-btn { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-color: #fff; color: var(--brand-ink); }
.home-banner-btn { pointer-events: none; } /* the whole slide is the link */
.home-hero-slide:hover .home-banner-btn, .home-showcase-item:hover .home-showcase-btn, .home-brand-btn:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-ink); }
@media (min-width: 992px) {
  /* Darkens only the side under the text, so the white text reads on any art */
  .home-hero-slide.has-text::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .5) 42%, rgba(0, 0, 0, 0) 72%); }
  .home-banner-text { position: absolute; left: 64px; top: 50%; transform: translateY(-50%); max-width: min(520px, 46%); padding: 0; background: transparent; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
  .home-banner-title { font-size: 40px; -webkit-line-clamp: 2; }
  .home-banner-subtitle { font-size: 16px; -webkit-line-clamp: 2; }
  .home-banner-btn { margin-top: 22px; text-shadow: none; }
}
@media (min-width: 1200px) { .home-banner-title { font-size: 52px; line-height: 1.02; } }

/* Controls: pill indicators and the pause button in a bar below the image; round white arrows on the sides,
   centred on the image. Only when every slide has its own text layer (.home-hero-controls-over) do they sit on
   the art (desktop) — art-only banners carry text in the image, which the controls must not cover. */
.home-hero-carousel { position: relative; --hero-controls-h: 42px; /* 10px margin + 32px bar */ }
.home-hero-controls { display: flex; align-items: center; justify-content: center; gap: 12px; height: 32px; margin-top: 10px; }
.home-hero-carousel .carousel-indicators { position: static; flex: 0 1 auto; justify-content: center; margin: 0; }
.home-hero-carousel .carousel-indicators li { flex: 0 0 auto; width: 8px; height: 8px; margin: 0 3px; border: 0; border-radius: var(--radius-pill); background: rgba(34, 37, 42, .25); opacity: 1; transition: width .2s ease, background-color .2s ease; }
.home-hero-carousel .carousel-indicators li::before, .home-hero-carousel .carousel-indicators li::after { left: -3px; right: -3px; width: auto; height: 12px; }
.home-hero-carousel .carousel-indicators li::before { top: -12px; }
.home-hero-carousel .carousel-indicators li::after { bottom: -12px; }
.home-hero-carousel .carousel-indicators .active { width: 26px; background: var(--brand-ink); }
.home-hero-pause { flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 16px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.home-hero-pause:hover { background: var(--brand-soft); }
.home-hero-pause:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand-ink); }
.home-hero-carousel .carousel-control-prev, .home-hero-carousel .carousel-control-next { display: none; }
@media (min-width: 768px) {
  .home-hero-carousel .carousel-control-prev, .home-hero-carousel .carousel-control-next { display: inline-flex; top: calc((100% - var(--hero-controls-h)) / 2 - 21px); bottom: auto; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; opacity: .9; box-shadow: var(--shadow-hover); }
  .home-hero-carousel .carousel-control-prev { left: 16px; }
  .home-hero-carousel .carousel-control-next { right: 16px; }
  .home-hero-carousel .carousel-control-prev:hover, .home-hero-carousel .carousel-control-next:hover,
  .home-hero-carousel .carousel-control-prev:focus, .home-hero-carousel .carousel-control-next:focus { color: var(--ink); background: #fff; opacity: 1; }
}
@media (min-width: 992px) {
  .home-hero-controls-over { --hero-controls-h: 0px; }
  .home-hero-controls-over .home-hero-controls { position: absolute; left: 64px; bottom: 22px; z-index: 15; margin: 0; }
  .home-hero-controls-over .carousel-indicators li { background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
  .home-hero-controls-over .carousel-indicators .active { background: var(--brand-ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
  .home-hero-controls-over .home-hero-pause { border-color: transparent; box-shadow: var(--shadow-hover); }
  .home-hero-controls-over .carousel-control-prev, .home-hero-controls-over .carousel-control-next { top: auto; bottom: 22px; }
  .home-hero-controls-over .carousel-control-prev { left: auto; right: 74px; }
  .home-hero-controls-over .carousel-control-next { right: 24px; }
}

/* Explicit focus ring: Bootstrap drops the outline of the carousel controls; the slide and the showcase blocks clip outside rings (overflow hidden), so theirs is drawn inside, above the image */
.home-hero-carousel .carousel-control-prev:focus-visible, .home-hero-carousel .carousel-control-next:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--brand-ink); }
.home-hero-slide:focus-visible, .home-showcase-item:focus-visible { outline: 0; }
.home-hero-slide:focus-visible::after, .home-showcase-item:focus-visible::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--brand-ink), inset 0 0 0 6px var(--surface); pointer-events: none; }

/* No banner on display: new-arrivals hero */
.home-hero { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 20px; border-radius: var(--radius-lg); background: var(--brand-soft); }
.home-hero-title { margin: 10px 0 14px; font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--brand-ink); }
.home-hero-lead { margin: 0 0 22px; font-size: 16px; color: var(--ink); }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.home-hero-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-hero-media-1 { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
.home-hero-media-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-hero-tile { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.home-hero-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) {
  .home-hero { grid-template-columns: 5fr 6fr; gap: 48px; padding: 48px 64px; }
  .home-hero-title { font-size: 52px; line-height: 1.02; }
}

/* Benefits: four white cards (2x2 on phones) */
.home-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.container > .home-benefits:first-child { margin-top: 22px; }
/* Phones: icon above the text, so the half-width cards do not wrap word by word */
.home-benefit { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
.home-benefits > .home-benefit:last-child:nth-child(odd) { grid-column: 1 / -1; }
.home-benefit-icon { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.home-benefit-body { min-width: 0; line-height: 1.35; }
.home-benefit-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
a.home-benefit-title:hover { color: var(--ink); text-decoration: underline; }
.home-benefit-text { display: block; font-size: 12.5px; color: var(--muted); }
@media (min-width: 768px) {
  .home-benefits { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
  .home-benefits > .home-benefit:last-child:nth-child(odd) { grid-column: auto; }
  .home-benefit { padding: 16px 18px; }
  .home-benefit-icon { width: 42px; height: 42px; font-size: 22px; }
  .home-benefit-title { font-size: 14px; }
}
@media (min-width: 992px) { .home-benefit { flex-direction: row; align-items: center; gap: 12px; } }

/* Categories: round photos with a white border and a brand ring on hover/focus */
.home-categories > li { width: calc((100% - 3 * 16px) / 3.6); }
@media (min-width: 768px) { .home-categories > li { width: calc((100% - 4 * 16px) / 5); } }
@media (min-width: 992px) { .home-categories > li { width: calc((100% - 5 * 16px) / 6); } }
@media (min-width: 1200px) { .home-categories > li { width: calc((100% - 7 * 16px) / 8); } }
.home-category { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.home-category:hover { color: var(--ink); text-decoration: none; }
.home-category-img { display: block; width: 100%; aspect-ratio: 1; border: 3px solid #fff; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #fff, #efe8dd); box-shadow: var(--shadow); transition: box-shadow .2s ease; }
.home-category-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-category:hover .home-category-img, .home-category:focus-visible .home-category-img { box-shadow: 0 0 0 3px var(--brand), var(--shadow); }

/* Showcase: two photo blocks side by side (full width with one; stacked on phones) */
.home-showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-showcase-1 .home-showcase-grid { grid-template-columns: minmax(0, 1fr); }
.home-showcase-item { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; height: 360px; padding: 36px; border-radius: var(--radius-lg); overflow: hidden; background: #3a3d42; color: #fff; }
.home-showcase-item:hover, .home-showcase-item:focus { color: #fff; text-decoration: none; }
.home-showcase-item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-showcase-item:hover img { transform: scale(1.03); }
.home-showcase-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .4) 38%, rgba(0, 0, 0, 0) 68%); }
.home-showcase-text { text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.home-showcase-title { margin: 0 0 6px; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.home-showcase-subtitle { display: block; font-size: 15px; opacity: .92; }
.home-showcase-btn { text-shadow: none; }
@media (max-width: 767.98px) {
  .home-showcase-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-showcase-item { height: 260px; padding: 22px; }
  .home-showcase-title { font-size: 24px; }
}

/* Offers: soft brand band */
.home-offers { padding: 36px; border-radius: var(--radius-lg); background: var(--brand-soft); }
@media (max-width: 767.98px) { .home-offers { padding: 24px 16px; } }

/* Brand band: --brand-ink block with the brand photo on the right (text only, full width, without one) */
.home-brand { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-ink); color: #fff; }
.home-brand-text-only { grid-template-columns: minmax(0, 1fr); }
.home-brand-text { align-self: center; padding: 64px; }
.home-brand .eyebrow { color: rgba(255, 255, 255, .8); color: color-mix(in srgb, var(--brand) 40%, #fff); }
.home-brand-title { margin: 12px 0 16px; font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.home-brand-lead { max-width: 60ch; margin: 0; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.home-brand-btn { margin-top: 24px; }
.home-brand-media { position: relative; min-height: 360px; }
.home-brand-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991.98px) { .home-brand-text { padding: 40px; } }
@media (max-width: 767.98px) {
  .home-brand { grid-template-columns: minmax(0, 1fr); }
  .home-brand-text { padding: 28px; }
  .home-brand-title { font-size: 26px; }
  .home-brand-media { min-height: 220px; }
}

/* New arrivals */
.home-more { margin-top: 28px; text-align: center; }
.home-empty { padding: 32px 20px; text-align: center; color: var(--muted); }

/* ============================================================================
   Footer
   ============================================================================ */
.site-footer.section-footer { margin-top: 72px; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer.section-footer a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.site-footer.section-footer a:hover { color: var(--brand-ink); text-decoration: underline; }
.site-footer.section-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 40px; }
.site-footer.section-footer .footer-grid > * { min-width: 0; }
.site-footer.section-footer .footer-logo { display: inline-block; max-width: 100%; }
.site-footer.section-footer .footer-logo img { display: block; height: 44px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.site-footer.section-footer .footer-logo-dark { padding: 12px 18px; border-radius: var(--radius-sm); background: var(--brand-ink); }
.site-footer.section-footer .footer-reseller { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site-footer.section-footer .footer-reseller-logo { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.site-footer.section-footer .footer-reseller-name { font-weight: 800; font-size: 16px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-footer.section-footer .footer-blurb { max-width: 36ch; margin: 14px 0 0; line-height: 1.6; }
.site-footer.section-footer .footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-footer.section-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-size: 19px; }
.site-footer.section-footer .footer-social a:hover { background: color-mix(in srgb, var(--brand) 26%, #fff); text-decoration: none; }

.site-footer.section-footer .footer-acc summary { list-style: none; cursor: default; margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.site-footer.section-footer .footer-acc summary::-webkit-details-marker { display: none; }
.site-footer.section-footer .footer-acc summary::marker { content: none; }
/* Desktop: the lists are always open, so the summary is only a heading (the footer script cancels a keyboard toggle) */
@media (min-width: 768px) { .site-footer.section-footer .footer-acc summary { pointer-events: none; } }
.site-footer.section-footer .footer-links { margin: 0; padding: 0; list-style: none; }
.site-footer.section-footer .footer-links li { margin: 0 0 10px; }
.site-footer.section-footer .footer-links .fa, .site-footer.section-footer .footer-links .fab { width: 18px; text-align: center; margin-right: 4px; }
.site-footer.section-footer .footer-links a.footer-whatsapp { display: inline-block; padding: .45rem 1rem; border-radius: var(--radius-pill); background: #0f7a3f; color: #fff; font-weight: 700; }
.site-footer.section-footer .footer-links a.footer-whatsapp:hover { background: #0b5f31; color: #fff; text-decoration: none; }
.site-footer.section-footer .footer-links a.footer-whatsapp .fab { width: auto; margin-right: 2px; }

.site-footer.section-footer .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 22px 0 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.site-footer.section-footer .footer-legal { flex: 1 1 280px; min-width: 0; }
.site-footer.section-footer .footer-bottom p { margin: 0; }
.site-footer.section-footer .footer-pay { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.site-footer.section-footer .footer-pay-item { display: inline-flex; align-items: center; justify-content: center; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.site-footer.section-footer .footer-pay-item > span { display: block; width: 30px; height: 30px; overflow: hidden; text-indent: -99999px; color: transparent; border-radius: 50%; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: contain; border: 0; float: none; margin: 0; }
.site-footer.section-footer .footer-pay .icon-visa { background-image: url(/img/icon-visa.svg); }
.site-footer.section-footer .footer-pay .icon-mastercard { background-image: url(/img/icon-mastercard.svg); }
.site-footer.section-footer .footer-pay .icon-american { background-image: url(/img/icon-american-express.svg); }
.site-footer.section-footer .footer-pay .icon-diners { background-image: url(/img/icon-diners-club.svg); }
.site-footer.section-footer .footer-pay .icon-elo { background-image: url(/img/icon-elo.svg); }
.site-footer.section-footer .footer-pay .icon-hipercard { background-image: url(/img/icon-hipercard.svg); }
.site-footer.section-footer .footer-pay .icon-banescard { background-image: url(/img/icon-banes-card.svg); }
.site-footer.section-footer .footer-pay .icon-jcb { background-image: url(/img/icon-jcb.png); background-size: 23px 18px; }
.site-footer.section-footer .footer-seals { display: flex; align-items: center; gap: 16px; }
.site-footer.section-footer .footer-seals img { display: block; } /* size from the width/height attributes (36px tall) */
.site-footer.section-footer .footer-dev { display: inline-flex; flex-direction: column; gap: 2px; }
.site-footer.section-footer .footer-dev small { font-size: 10px; color: var(--muted); }
/* The Codout wordmark is white-only: render it as a muted silhouette on the light footer */
.site-footer.section-footer .footer-dev img { display: block; filter: brightness(0); opacity: .6; }

@media (max-width: 991.98px) {
  .site-footer.section-footer .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px 28px; }
  .site-footer.section-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer.section-footer .footer-brand .footer-blurb { max-width: 60ch; }
}
@media (max-width: 767.98px) {
  .site-footer.section-footer { margin-top: 56px; }
  .site-footer.section-footer .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 0 8px; }
  .site-footer.section-footer .footer-brand { padding-bottom: 20px; }
  .site-footer.section-footer .footer-acc { border-top: 1px solid var(--line); }
  .site-footer.section-footer .footer-acc summary { position: relative; display: block; margin: 0; padding: 16px 28px 16px 0; cursor: pointer; }
  .site-footer.section-footer .footer-acc summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
  .site-footer.section-footer .footer-acc[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
  .site-footer.section-footer .footer-acc .footer-links { padding-bottom: 8px; }
  .site-footer.section-footer .footer-links li { margin-bottom: 0; }
  .site-footer.section-footer .footer-links a { display: inline-block; padding: 9px 0; }
  .site-footer.section-footer .footer-links a.footer-whatsapp { padding: .55rem 1.1rem; margin: 2px 0 6px; }
  .site-footer.section-footer .footer-bottom { flex-direction: column; align-items: flex-start; padding-top: 20px; }
  .site-footer.section-footer .footer-legal { flex: 0 0 auto; }
}

/* Header of the blank layout: white like .site-header (a dark logo vanished on the black bg-primary of
   lagoinha); Tenant.HeaderDark keeps light logos on --brand-ink. */
.blank-header { background: var(--surface); border-bottom: 1px solid var(--line); color: var(--ink); }
.blank-header.header-brand-dark { background: var(--brand-ink); border-bottom-color: transparent; color: #fff; }
.blank-header a, .blank-header a:hover { color: inherit; }

/* Login and forgot-password box: 380px, never wider than a 375px phone */
.login-box { width: 380px; max-width: 100%; }

/* Minimal footer of the blank layout (login, register, checkout) */
.blank-footer { margin-top: 40px; padding: 20px 0 24px; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; text-align: center; }
.blank-footer p { margin: 0 0 10px; }
.blank-footer a { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); }
.blank-footer a:hover { color: var(--ink); text-decoration: none; }
.blank-footer a:hover img { opacity: .85; }
.blank-footer small { font-size: 10px; }
.blank-footer img { display: block; filter: brightness(0); opacity: .6; }
