/* Mobile-first interaction and layout refinements. */
:root {
  --mobile-bar-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-header-height: 76px;
}

.icon { stroke-width: 1.65; }
.icon-brand { fill: currentColor; stroke: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-search-toggle, .header-search .search-close, .filters-apply { display: none; }
.header-nav a, .header-nav button { display: inline-flex; align-items: center; gap: 6px; }
.header-nav .icon { width: 16px; height: 16px; }
.header-whatsapp .icon-brand { display: block; width: 19px; height: 19px; }
.footer-cnpj { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dialog-links a { display: flex; align-items: center; gap: 11px; }
.dialog-links .icon { width: 19px; height: 19px; }
.info-dialog p, .info-dialog a { overflow-wrap: anywhere; }
#product-grid { scroll-margin-top: 90px; }

@media (max-width: 1023px) {
  html { scroll-padding-top: var(--mobile-header-height); }
  body {
    min-width: 0;
    padding-bottom: calc(var(--mobile-bar-height) + var(--safe-bottom));
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  main, #home-view, #catalog-view, #product-view, #information-view { min-width: 0; }
  .button { min-height: 46px; font-size: 13px; padding: 12px 16px; gap: 10px; }
  .button .icon { width: 19px; height: 19px; }
  .icon-button { min-width: 44px; min-height: 44px; }

  /* The logo is always visible; search is a deliberate, compact disclosure. */
  .site-header {
    position: sticky;
    top: max(8px, env(safe-area-inset-top, 0px));
    z-index: 50;
    height: auto;
    min-height: 60px;
    margin: max(8px, env(safe-area-inset-top, 0px)) 8px 0;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    border-radius: 15px;
    background: #050505;
    box-shadow: 0 3px 12px #00000012;
  }
  .header-logo { display: block; width: clamp(152px, 44vw, 180px); height: 34px; }
  .header-nav { display: none; }
  .header-actions { margin-left: auto; gap: 7px; }
  .header-search-toggle, .header-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ffffff29;
    border-radius: 11px;
    background: #191919;
    color: #fff;
  }
  .header-search-toggle .icon { width: 21px; height: 21px; }
  .header-whatsapp .icon-brand { display: block; width: 22px; height: 22px; }
  .header-whatsapp > span { display: none; }
  .header-search-toggle:hover, .header-whatsapp:hover { background: #303030; }
  .header-search {
    display: none;
    order: 3;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    height: 44px;
    margin: 10px 0 0;
    border-radius: 10px;
  }
  .site-header.search-open .header-search { display: flex; }
  .header-search input { font-size: 16px; padding: 10px 6px; height: 44px; }
  .header-search input::placeholder { font-size: 14px; }
  .header-search > button { width: 38px; height: 44px; padding: 0 0 0 7px; }
  .header-search .search-close { display: grid; width: 40px; padding: 0; color: #68686e; }
  .header-search .icon { width: 19px; height: 19px; }
  .header-menu {
    top: 78px;
    left: 8px;
    width: calc(100% - 16px);
    max-height: 65dvh;
    border-radius: 14px;
    padding: 18px;
  }

  /* A full-width tab bar has clear labels, comfortable targets and safe-area space. */
  .mobile-bottom-nav {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    height: calc(var(--mobile-bar-height) + var(--safe-bottom));
    padding: 3px max(7px, env(safe-area-inset-right, 0px)) var(--safe-bottom) max(7px, env(safe-area-inset-left, 0px));
    gap: 0;
    border: 0;
    border-top: 1px solid #e9e9ed;
    border-radius: 0;
    background: #fffffff5;
    box-shadow: 0 -4px 18px #00000006;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #87878e;
  }
  .mobile-bottom-nav > a, .mobile-bottom-nav > button {
    min-width: 0;
    width: 100%;
    min-height: 56px;
    height: auto;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 0;
    background: transparent;
  }
  .nav-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 29px;
    border-radius: 10px;
  }
  .mobile-bottom-nav .icon { width: 21px; height: 21px; stroke-width: 1.65; }
  .mobile-bottom-nav .nav-label { font-size: 10px; line-height: 15px; font-weight: 500; }
  .mobile-bottom-nav a.active, .mobile-bottom-nav button.active { color: #151515; background: transparent; }
  .mobile-bottom-nav .active .nav-icon { background: #f0f0f3; }
  .nav-badge {
    position: absolute;
    top: -3px;
    right: 0;
    display: grid;
    place-items: center;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 20px;
    border: 2px solid #fff;
    background: #202020;
    color: #fff;
    font-size: 8px;
    line-height: 1;
  }

  /* The home fits the phone first, rather than compressing the desktop composition. */
  .hero-carousel {
    margin: 12px 12px 0;
    aspect-ratio: 1.14;
    min-height: 266px;
    max-height: 345px;
    border-radius: 17px;
  }
  .hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
  .hero-light > img { object-position: 76% center; }
  .hero-dark > img { object-position: 61% center; }
  .hero-caption {
    top: auto;
    bottom: 42px;
    left: 19px;
    right: 18px;
    transform: none;
    max-width: 300px;
    color: #fff;
  }
  .hero-caption h2 { font-size: clamp(22px, 6.1vw, 27px); line-height: 1.13; letter-spacing: -.55px; font-weight: 600; }
  .hero-caption p { max-width: 29ch; font-size: 13px; line-height: 1.5; letter-spacing: 0; margin-top: 8px; }
  .hero-cta { min-height: 44px; font-size: 12px; line-height: 18px; padding: 10px 12px; gap: 11px; border-radius: 5px; margin-top: 15px; }
  .hero-cta .icon { width: 19px; height: 19px; }
  .hero-light::after, .hero-dark::after, .hero-collection::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 24%, #00000028 47%, #000000a6 100%);
    z-index: 1;
    pointer-events: none;
  }
  .hero-slide > small { left: 19px; right: 15px; bottom: 15px; max-width: none; font-size: 7px; line-height: 1.6; color: #ffffffcc; letter-spacing: .2px; }
  .hero-collection { background: #dedee3; }
  .hero-collection > img { width: 100%; height: 92%; margin: 0; padding: 0 10px 50px; object-fit: contain; object-position: center top; }
  .hero-collection .hero-caption { color: #fff; }
  .hero-arrow { width: 27px; height: 35px; top: 37%; color: #fff; opacity: .8; }
  .hero-arrow .icon { width: 20px; height: 20px; }
  .hero-prev { left: 1px; }
  .hero-next { right: 1px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 12px 0; }
  .category-card { height: 100px; min-width: 0; border-radius: 12px; padding: 5px 3px 9px; gap: 0; flex-direction: column; justify-content: space-between; }
  .category-card img { width: 100%; height: 62px; flex-shrink: 1; object-fit: contain; }
  .category-card span { display: grid; place-items: center; width: 100%; min-height: 24px; font-size: 10px; line-height: 12px; font-weight: 500; overflow-wrap: normal; padding: 0 1px; }
  .brand-stories { width: 100%; gap: 12px; padding: 17px 14px 14px; }
  .brand-story { width: 58px; min-width: 58px; gap: 6px; }
  .brand-avatar { width: 55px; height: 55px; padding: 2px; }
  .brand-avatar img { padding: 6px; }
  .brand-story span:last-child { font-size: 10px; line-height: 15px; }
  .catalog-note { padding: 8px 15px 10px; align-items: flex-start; gap: 7px; margin-bottom: 3px; font-size: 10px; line-height: 1.6; }
  .catalog-note > .icon { width: 14px; height: 14px; margin-top: 1px; }
  .catalog-note a { display: none; }
  .shelf { padding-top: 10px; margin-bottom: 20px; min-width: 0; }
  .shelf-heading { padding: 0 15px; gap: 12px; margin: 5px 0 10px; align-items: center; }
  .shelf-heading h2 { min-width: 0; font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -.4px; }
  .shelf-heading > a { font-size: 11px; gap: 4px; min-height: 30px; }
  .shelf-heading > a .icon { width: 15px; height: 15px; }
  .shelf-track { width: 100%; gap: 10px; padding: 5px 12px 12px; }
  .shelf-track > .product-card { width: clamp(154px, 43vw, 196px); min-width: clamp(154px, 43vw, 196px); height: 246px; }
  .product-card { border-radius: 14px; }
  .card-top { min-height: 74px; padding: 12px 10px 0; gap: 6px; }
  .card-title { font-size: 12px; line-height: 17px; font-weight: 500; -webkit-line-clamp: 4; }
  .card-consult { min-width: 38px; font-size: 10px; line-height: 14px; font-weight: 500; }
  .card-value { font-size: 17px; line-height: 21px; }
  .card-value small { font-size: 9px; }
  .card-photo img { padding: 0 6px; }
  .favorite-button { width: 34px; height: 34px; bottom: 8px; right: 8px; border-color: #eeeeee88; }
  .favorite-button .icon { width: 17px; height: 17px; stroke-width: 1.5; }
  .shelf-arrow { display: none; }
  .mid-banner { margin: 22px 12px; min-height: 254px; border-radius: 16px; padding: 27px 22px; align-items: flex-end; }
  .mid-banner > div > span { font-size: 8px; letter-spacing: .7px; }
  .mid-banner h2 { font-size: 28px; line-height: 1.08; letter-spacing: -.8px; margin-top: 11px; max-width: 255px; }
  .mid-banner a { min-height: 44px; font-size: 12px; padding: 10px 12px; border-radius: 5px; gap: 10px; margin-top: 17px; }
  .mid-banner a .icon { width: 18px; height: 18px; }
  .mid-banner > img { position: absolute; top: -28px; right: -18px; width: 75%; height: 190px; opacity: .55; transform: rotate(-8deg); }
  .shopping-section { display: block; margin: 26px 12px 20px; padding: 30px 22px 16px; border-radius: 18px; }
  .overline { font-size: 9px; line-height: 1.7; letter-spacing: 1px; }
  .shopping-intro h2 { font-size: clamp(32px, 9vw, 41px); line-height: 1.06; letter-spacing: -1.3px; margin: 20px 0 18px; }
  .shopping-intro p { font-size: 13px; line-height: 1.8; }
  .shopping-intro .button { display: flex; width: 100%; min-height: 46px; font-size: 11px; gap: 10px; margin: 22px 0 0; padding: 12px 14px; }
  .shopping-intro .button-white { margin-top: 10px; }
  .shopping-steps { padding-top: 0; margin-top: 28px; }
  .shopping-steps article { gap: 14px; padding: 22px 0; }
  .shopping-steps article > span { font-size: 12px; margin-top: 3px; }
  .shopping-steps h3 { font-size: 17px; line-height: 1.35; }
  .shopping-steps p { font-size: 12px; line-height: 1.8; margin-top: 8px; }
  .see-catalog { margin: 28px 15px 40px; }
  .see-catalog .button { width: 100%; max-width: 430px; min-width: 0; font-size: 12px; }

  /* Listing: readable two-column cards, filters with an explicit return to results. */
  .catalog-page { padding: 24px 12px 35px; }
  .page-breadcrumb { flex-wrap: wrap; min-width: 0; gap: 5px; line-height: 1.6; font-size: 11px; margin-bottom: 19px; }
  .page-breadcrumb > span { min-width: 0; overflow-wrap: anywhere; }
  .page-breadcrumb .icon { width: 13px; height: 13px; }
  .catalog-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-bottom: 18px; }
  .catalog-heading > div { flex: 1; min-width: 155px; }
  .catalog-heading h1 { font-size: 27px; line-height: 1.12; letter-spacing: -.6px; overflow-wrap: anywhere; }
  .catalog-heading p { font-size: 11px; line-height: 1.7; margin-top: 9px; }
  .catalog-heading > label { margin-left: auto; }
  .catalog-heading select { min-height: 42px; max-width: 135px; padding: 10px; font-size: 11px; border-radius: 9px; }
  .catalog-layout { display: block; }
  .catalog-filters { display: none; position: static; margin-bottom: 15px; padding: 20px; border-radius: 13px; }
  .catalog-filters.is-open { display: block; }
  .filter-mobile-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 11px 15px; margin-bottom: 12px; background: #fff; border-radius: 10px; font-size: 12px; }
  .filter-mobile-toggle .icon { width: 17px; height: 17px; }
  .filter-group { margin-bottom: 17px; padding-bottom: 17px; }
  .filter-group h2 { font-size: 15px; margin-bottom: 8px; }
  .filter-check { min-height: 41px; margin: 0; padding: 9px 0; font-size: 13px; }
  .filter-check input { width: 17px; height: 17px; }
  .filter-size-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
  .filter-size-grid button { min-height: 39px; border-radius: 6px; }
  .filters-apply { display: flex; width: 100%; margin-top: 14px; min-height: 44px; }
  .filters-reset { display: block; margin: 5px auto 0; min-height: 40px; padding: 10px; }
  .catalog-search { min-height: 46px; border-radius: 10px; padding: 11px 13px; margin-bottom: 15px; }
  .catalog-search input { font-size: 16px; }
  .catalog-search input::placeholder { font-size: 13px; }
  .catalog-search .icon { width: 18px; height: 18px; }
  .catalog-count { font-size: 11px; margin-bottom: 13px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catalog-grid .product-card { min-width: 0; height: 246px; }
  .catalog-grid .card-title { font-size: 12px; line-height: 17px; }
  .catalog-disclaimer { margin: 19px 2px 0; font-size: 10px; line-height: 1.8; }
  .empty-state { padding: 45px 10px 55px; }
  .empty-state h2 { font-size: 22px; line-height: 1.3; }
  .empty-state p { font-size: 13px; line-height: 1.8; }
  .empty-state .button { width: 100%; max-width: 280px; font-size: 12px; }

  /* Detail: natural reading order and size controls sized for touch. */
  .product-page { padding: 20px 12px 35px; }
  .product-page > .page-breadcrumb { margin-bottom: 16px; font-size: 10px; }
  .product-page > .page-breadcrumb > span:last-child { flex: 1; }
  .product-layout { display: flex; flex-direction: column; align-items: stretch; gap: 23px; }
  .product-gallery { position: static; width: 100%; min-width: 0; }
  .product-main-image { aspect-ratio: 1.08; border-radius: 14px; }
  .product-main-image > img { padding: 16px; }
  .product-thumbs { gap: 8px; margin-top: 11px; justify-content: center; }
  .product-thumb { width: 64px; height: 64px; border-radius: 8px; }
  .product-photo-note { font-size: 9px; line-height: 1.7; margin-top: 11px; padding: 0 8px; }
  .product-info { width: 100%; min-width: 0; padding: 0 3px; }
  .product-info-top { min-height: 40px; height: auto; margin-bottom: 14px; gap: 10px; }
  .product-brand { min-width: 0; font-size: 14px; gap: 8px; }
  .product-brand > img { width: 25px; height: 25px; }
  .product-actions { gap: 5px; }
  .product-actions button { width: 40px; height: 40px; padding: 0; border-radius: 10px; background: #eaeaec; display: grid; place-items: center; font-size: 0; }
  .product-actions .icon { width: 20px; height: 20px; stroke-width: 1.6; }
  .product-title { font-size: clamp(23px, 6.5vw, 30px); line-height: 1.17; letter-spacing: -.45px; color: #333; overflow-wrap: anywhere; }
  .product-meta { flex-wrap: wrap; font-size: 11px; line-height: 1.7; margin-top: 13px; gap: 7px; }
  .similar-colors { gap: 9px; overflow-x: auto; margin-top: 17px; margin-bottom: 22px; padding-bottom: 3px; }
  .similar-color { width: 60px; min-width: 60px; height: 58px; border-radius: 8px; }
  .product-price-label { margin-top: 22px; font-size: 10px; letter-spacing: .3px; }
  .product-price { font-size: 35px; line-height: 1.2; letter-spacing: -.9px; margin-top: 7px; }
  .product-price-note { font-size: 12px; line-height: 1.7; margin-top: 8px; }
  .size-header { gap: 10px; margin-top: 26px; margin-bottom: 14px; }
  .size-header h2 { font-size: 18px; letter-spacing: -.3px; }
  .size-help { min-height: 36px; font-size: 11px; gap: 5px; white-space: nowrap; }
  .size-help .icon { display: block; width: 15px; height: 15px; }
  .size-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
  .size-option { min-height: 61px; padding: 10px 3px; gap: 7px; border-radius: 7px; }
  .size-option > strong { font-size: 15px; line-height: 18px; }
  .size-option > small { font-size: 8px; line-height: 10px; padding: 2px 0; width: 28px; border-radius: 3px; }
  .size-message { min-height: 18px; margin-top: 12px; font-size: 10px; line-height: 1.8; }
  .product-buy-row { margin-top: 18px; gap: 8px; }
  .buy-button { min-width: 0; min-height: 52px; padding: 12px 12px; font-size: 16px; gap: 10px; border-radius: 8px; }
  .buy-button .icon { width: 21px; height: 21px; }
  .product-question { min-height: 52px; width: 30%; padding: 10px 7px; font-size: 10px; border-radius: 8px; }
  .buy-note { font-size: 10px; line-height: 1.8; margin-top: 13px; }
  .product-details { padding-top: 27px; margin-top: 29px; }
  .product-details h2 { font-size: 22px; margin-bottom: 21px; }
  .product-properties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 15px; }
  .product-properties dt { font-size: 9px; line-height: 1.6; }
  .product-properties dd { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
  .product-description { font-size: 13px; line-height: 1.8; }
  .product-details summary { min-height: 51px; padding: 16px 0; font-size: 12px; gap: 10px; }
  .product-details details p { font-size: 12px; line-height: 1.8; }
  .product-related { margin: 33px -12px 0; }
  .product-trust { display: block; margin: 22px 3px 0; padding-top: 27px; }
  .product-trust article { gap: 13px; margin-bottom: 23px; }
  .product-trust article > .icon { width: 25px; height: 25px; }
  .product-trust h3 { font-size: 15px; }
  .product-trust p { font-size: 12px; line-height: 1.8; }

  /* Footer, help and overlays have the same readable mobile scale. */
  .site-footer { padding: 32px 19px 27px; margin-top: 12px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-columns > div { min-width: 0; }
  .footer-columns h2 { font-size: 10px; letter-spacing: .2px; line-height: 1.7; margin-bottom: 11px; }
  .footer-columns a, .footer-columns button { display: flex; align-items: center; min-height: 33px; font-size: 12px; line-height: 1.7; margin: 3px 0; padding: 3px 0; }
  .footer-columns .footer-contact { gap: 6px; font-size: 11px; flex-wrap: nowrap; white-space: nowrap; }
  .footer-contact .icon { width: 17px; height: 17px; }
  .footer-columns p { margin-top: 10px; font-size: 11px; line-height: 1.8; }
  .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px 14px; padding-top: 22px; margin-top: 28px; font-size: 10px; }
  .footer-logo { width: 154px; height: 34px; }
  .footer-bottom p { flex: 0 0 100%; margin: 0; font-size: 10px; line-height: 1.8; }
  .footer-bottom .footer-cnpj { flex-basis: 100%; width: 100%; font-size: 12px; line-height: 1.5; letter-spacing: .25px; color: #555; margin-top: -6px; }
  .footer-bottom > span:last-child { display: none; }
  .information-page { margin: 23px 0 35px; padding: 0 12px; min-height: 55svh; }
  .information-card { padding: 27px 21px; border-radius: 14px; }
  .information-card h1 { font-size: 29px; line-height: 1.12; letter-spacing: -.6px; margin-bottom: 20px; }
  .information-card h2 { font-size: 18px; line-height: 1.35; }
  .information-card p { font-size: 13px; line-height: 1.9; }
  .information-card .button { width: 100%; font-size: 12px; margin-top: 16px; }
  .information-step { gap: 12px; margin: 23px 0; }
  .information-step > strong { font-size: 17px; }
  .info-dialog { width: calc(100% - 28px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); padding: 19px 21px 23px; border-radius: 17px; max-height: min(82dvh, 680px); }
  .dialog-heading { margin-bottom: 16px; }
  .info-dialog h2 { font-size: 24px; letter-spacing: -.5px; line-height: 1.2; }
  .info-dialog p { font-size: 13px; line-height: 1.8; }
  .dialog-links { gap: 8px; }
  .dialog-links a { min-height: 48px; padding: 12px; font-size: 13px; border-radius: 9px; }
  .toast { bottom: calc(var(--mobile-bar-height) + var(--safe-bottom) + 12px); width: max-content; max-width: calc(100% - 30px); border-radius: 10px; padding: 12px 17px; font-size: 12px; }
  #product-grid { scroll-margin-top: 86px; }
}

@media (max-width: 359px) {
  .site-header { padding: 9px 10px; }
  .header-logo { width: 151px; height: 32px; }
  .header-actions { gap: 5px; }
  .header-search-toggle, .header-whatsapp { width: 38px; height: 40px; }
  .hero-carousel { margin-left: 10px; margin-right: 10px; min-height: 270px; }
  .hero-caption { left: 16px; right: 16px; }
  .hero-caption h2 { font-size: 23px; }
  .hero-caption p { font-size: 12px; }
  .category-grid { margin-left: 10px; margin-right: 10px; gap: 6px; }
  .category-card { height: 91px; padding-bottom: 8px; }
  .category-card img { height: 55px; }
  .category-card span { font-size: 9px; line-height: 11px; }
  .shelf-heading h2 { font-size: 19px; }
  .shelf-heading > a { font-size: 10px; }
  .catalog-page, .product-page { padding-left: 10px; padding-right: 10px; }
  .catalog-grid { gap: 8px; }
  .catalog-grid .product-card { height: 231px; }
  .card-top { padding: 10px 8px 0; gap: 4px; }
  .catalog-grid .card-title { font-size: 11px; line-height: 16px; }
  .card-consult { min-width: 34px; font-size: 9px; line-height: 13px; }
  .size-header h2 { font-size: 17px; }
  .size-help { font-size: 10px; gap: 3px; }
  .size-help .icon { width: 13px; height: 13px; }
  .size-options { gap: 6px; }
  .size-option { min-height: 58px; }
  .buy-button { font-size: 14px; gap: 8px; }
  .product-question { font-size: 9px; }
  .site-footer { padding-left: 15px; padding-right: 15px; }
  .footer-columns { gap: 25px 15px; }
  .footer-columns .footer-contact { font-size: 10px; gap: 5px; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .site-header { margin-left: 14px; margin-right: 14px; padding-left: 18px; padding-right: 16px; }
  .header-logo { width: 190px; height: 35px; }
  .hero-carousel { margin: 15px 15px 0; aspect-ratio: 2.1; min-height: 280px; max-height: 410px; }
  .hero-light > img { object-position: center; }
  .hero-caption { left: 28px; bottom: 48px; max-width: 420px; }
  .hero-caption h2 { font-size: 31px; }
  .hero-caption p { font-size: 15px; }
  .category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 18px 15px 0; gap: 8px; }
  .category-card { height: 113px; }
  .category-card img { height: 75px; }
  .category-card span { font-size: 10px; }
  .catalog-page, .product-page { padding-left: 20px; padding-right: 20px; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .catalog-grid .product-card { height: 281px; }
  .catalog-grid .card-title { font-size: 13px; line-height: 18px; }
  .product-main-image { aspect-ratio: 1.25; max-height: 560px; }
  .product-info { padding-left: 10px; padding-right: 10px; }
  .product-title { font-size: 32px; }
  .size-options { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .shopping-section { padding: 38px; }
  .shopping-intro .button { display: inline-flex; width: auto; margin-right: 10px; }
  .footer-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-bottom p { flex-basis: auto; }
  .footer-bottom .footer-cnpj { flex-basis: auto; width: auto; margin-top: 0; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header-nav a[href*="novidades"], .header-help { display: none; }
  .header-nav { gap: 14px; }
  .header-search { width: 210px; min-width: 180px; }
  .header-logo { width: 135px; }
  .site-header { gap: 15px; }
}

@media (max-height: 450px) and (max-width: 1023px) {
  :root { --mobile-bar-height: 54px; }
  .site-header { min-height: 54px; padding-top: 7px; padding-bottom: 7px; }
  .mobile-bottom-nav > a, .mobile-bottom-nav > button { min-height: 48px; padding-top: 0; padding-bottom: 0; }
  .nav-icon { height: 25px; }
  .mobile-bottom-nav .icon { width: 19px; height: 19px; }
  .mobile-bottom-nav .nav-label { font-size: 9px; line-height: 12px; }
  .info-dialog { max-height: 85dvh; }
}
@media (max-width: 359px) {
  .product-related { margin-left: -10px; margin-right: -10px; }
}

/* Official campaign artwork already includes its typography and call to action. */
.hero-carousel.official-carousel {
  aspect-ratio: 3.75;
  min-height: 0;
  max-height: none;
}
.official-carousel picture,
.official-carousel picture > img { display: block; width: 100%; height: 100%; }
.official-carousel picture > img { object-fit: contain; }
.official-carousel .hero-arrow {
  top: 50%;
  width: 34px;
  height: 44px;
  color: #fff;
  background: #0005;
  border-radius: 7px;
  opacity: 1;
}
.mid-banner.official-banner { display: block; min-height: 0; padding: 0; background: #080808; }
.official-banner picture, .official-banner picture > img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .hero-carousel.official-carousel { aspect-ratio: 1; }
  .official-carousel .hero-arrow { width: 28px; }
}
