@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #051f42;
    --blue: #063b79;
    --blue-soft: #eaf2fb;
    --red: #d71920;
    --red-dark: #a90f15;
    --gold: #d6a546;
    --green: #18a957;
    --ink: #101828;
    --muted: #64748b;
    --line: #e4e7ec;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --dark: #07182d;
    --shadow-sm: 0 2px 10px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 12px 30px rgba(16, 24, 40, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.header,
main,
.footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
}

.sr-only,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    left: 16px;
    top: 16px;
    z-index: 2000;
    padding: 10px 14px;
    background: var(--red);
    color: var(--paper);
    border-radius: 4px;
}

.top-bar {
    background: #f8fafc;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 800;
}

.top-bar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-bar-carousel {
    position: relative;
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.top-bar-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
}

.top-bar-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.top-bar i {
    margin-right: 6px;
    color: var(--red);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-main {
    min-height: 92px;
    display: grid;
    grid-template-columns: 220px minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 22px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 186px;
    height: 72px;
    object-fit: contain;
}

.search-form {
    display: flex;
    min-width: 0;
}

.search-input {
    width: 100%;
    height: 44px;
    border: 1px solid #ccd6e3;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    padding: 0 16px;
    color: var(--ink);
    outline: 0;
    background: var(--soft);
}

.search-input:focus {
    border-color: var(--blue);
    background: var(--paper);
}

.search-btn {
    width: 52px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: var(--blue);
    color: var(--paper);
}

.search-btn:hover {
    background: var(--navy);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
}

button.header-action,
.nav-install-button {
    border: 0;
    background: transparent;
    font-family: inherit;
    padding: 0;
    cursor: pointer;
}

.nav-install-button {
    width: 100%;
    color: var(--paper);
    text-align: left;
}

.install-app-button[hidden],
.nav-install-button[hidden] {
    display: none;
}

.header-action i {
    font-size: 1.18rem;
}

.header-action:hover {
    color: var(--red);
}

.header-action-primary {
    color: var(--green);
}

.menu-toggle {
    position: relative;
    z-index: 1300;
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--blue);
    font-size: 1.25rem;
}

body.menu-open .menu-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    border-color: rgba(255, 255, 255, 0.24);
    background: var(--red);
    color: var(--paper);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.nav-bar {
    background: var(--navy);
    color: var(--paper);
}

.nav-container {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 8px;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--paper);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd66b;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    color: #ffd66b;
    white-space: nowrap;
}

.hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    display: flex;
    justify-content: flex-end;
    background: transparent;
}

.hero-media picture {
    display: block;
    width: min(64vw, 1030px);
    height: 100%;
    margin-left: auto;
}

.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    filter: brightness(1.08) saturate(1.05);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(5, 31, 66, 0.72) 0%, rgba(5, 31, 66, 0.46) 31%, rgba(5, 31, 66, 0.08) 56%, rgba(5, 31, 66, 0) 78%),
        linear-gradient(0deg, rgba(5, 31, 66, 0.12), rgba(5, 31, 66, 0));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--paper);
    padding: 122px 0 58px;
    transform: translateY(28px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.section-dark .eyebrow,
.hero .eyebrow {
    color: #ffd66b;
}

.hero h1 {
    max-width: 520px;
    font-size: clamp(2.35rem, 3.6vw, 2.95rem);
    line-height: 1.04;
    font-weight: 900;
    color: var(--paper);
    margin-bottom: 16px;
    text-shadow: 0 3px 20px rgba(5, 31, 66, 0.35);
}

.hero h1 span {
    display: block;
    margin-top: 10px;
    color: #ffd66b;
    font-size: 0.52em;
    line-height: 1.16;
    font-weight: 800;
}

.hero-copy {
    max-width: 560px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--paper);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn i {
    margin-left: 8px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--red);
    box-shadow: 0 10px 20px rgba(215, 25, 32, 0.22);
}

.btn-primary:hover {
    background: var(--red-dark);
}

.btn-secondary {
    background: var(--blue);
}

.btn-secondary:hover {
    background: var(--navy);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-metrics span {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
}

.hero-metrics strong {
    color: #ffd66b;
    font-size: 1.1rem;
}

.quick-categories {
    padding: 30px 0 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.align-left {
    margin: 0;
    text-align: left;
}

.section-heading.compact {
    margin-bottom: 18px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.16;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
}

.category-carousel {
    position: relative;
}

.category-viewport {
    min-width: 0;
}

.category-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 12px;
}

.category-row::-webkit-scrollbar {
    display: none;
}

.category-carousel-btn {
    position: absolute;
    top: 46%;
    z-index: 20;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    box-shadow: var(--shadow-md);
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.category-carousel-btn:hover {
    background: var(--blue);
    color: var(--paper);
    transform: translateY(-1px);
}

.category-carousel-btn:disabled {
    opacity: 0.34;
    cursor: not-allowed;
    transform: none;
}

.category-carousel-btn:disabled:hover {
    background: var(--paper);
    color: var(--blue);
}

.category-prev {
    left: -20px;
}

.category-next {
    right: -20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 calc((100% - 54px) / 4);
    gap: 10px;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 900;
    text-align: center;
    scroll-snap-align: start;
}

.category-card img {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--line);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.category-card:hover img {
    transform: translateY(-2px);
    border-color: var(--red);
}

.promo-band {
    padding: 28px 0 58px;
    background: var(--soft);
}

.promo-banner-card {
    position: relative;
    width: min(100%, 980px);
    margin: 0 auto;
    overflow: visible;
    border-radius: var(--radius);
    background: var(--navy);
    border: 1px solid rgba(5, 31, 66, 0.08);
    box-shadow: var(--shadow-sm);
}

.promo-banner-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    background: var(--navy);
}

.promo-banner-btn {
    position: absolute;
    left: 50%;
    bottom: -28px;
    z-index: 5;
    min-width: 166px;
    min-height: 38px;
    padding: 9px 15px;
    font-size: 0.8rem;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(226, 23, 32, 0.22);
    transform: translateX(-50%);
}

.promo-banner-btn:hover {
    transform: translateX(-50%) translateY(-1px);
}

.section {
    padding: 72px 0;
}

#pedido-grau,
#promocao,
#servicos,
#loja,
#contato,
#encontre-oculos {
    scroll-margin-top: 164px;
}

.section-soft {
    background: var(--soft);
}

.section-dark {
    background: var(--dark);
    color: var(--paper);
}

.section-dark h2,
.section-dark h3 {
    color: var(--paper);
}

.service-carousel {
    position: relative;
}

.service-viewport {
    min-width: 0;
}

.service-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 18px;
}

.service-grid::-webkit-scrollbar {
    display: none;
}

.service-carousel-btn {
    position: absolute;
    top: 45%;
    z-index: 20;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    box-shadow: var(--shadow-md);
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.service-carousel-btn:hover {
    background: var(--blue);
    color: var(--paper);
    transform: translateY(-1px);
}

.service-carousel-btn:disabled {
    opacity: 0.34;
    cursor: not-allowed;
    transform: none;
}

.service-carousel-btn:disabled:hover {
    background: var(--paper);
    color: var(--blue);
}

.service-prev {
    left: -21px;
}

.service-next {
    right: -21px;
}

.service-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex: 0 0 calc((100% - 36px) / 3);
    scroll-snap-align: start;
}

.service-card-media {
    aspect-ratio: 16 / 10;
    background: var(--blue-soft);
    overflow: hidden;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-body {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px 24px;
}

.service-card-body i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.service-card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.service-action-btn {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--red);
    color: var(--paper);
    cursor: pointer;
    font-weight: 900;
    font-size: 0.86rem;
    box-shadow: 0 14px 28px rgba(229, 24, 33, 0.2);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.service-action-btn:hover {
    background: #c9121a;
    box-shadow: 0 16px 30px rgba(229, 24, 33, 0.24);
}

.service-action-btn i {
    width: auto;
    height: auto;
    display: inline;
    background: transparent;
    color: inherit;
    font-size: 0.9rem;
    margin: 0;
}

.shelf-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.product-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.product-subtabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: -8px 0 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.product-tabs::-webkit-scrollbar,
.product-subtabs::-webkit-scrollbar {
    display: none;
}

.product-filter-carousel {
    position: relative;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-filter-carousel-type {
    flex: 1 1 auto;
}

.product-filter-carousel-sub {
    margin: 0;
}

.product-filter-carousel-sub .product-subtabs {
    flex: 1;
    margin: 0;
}

.chip-track {
    flex: 1;
    min-width: 0;
}

.product-controls .product-tabs,
.product-controls .product-subtabs {
    justify-content: flex-start;
}

.chip-carousel-btn {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    box-shadow: 0 10px 22px rgba(0, 36, 73, 0.12);
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.chip-carousel-btn:hover {
    background: var(--blue);
    color: var(--paper);
}

.chip-carousel-btn:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.chip-carousel-btn:disabled:hover {
    background: var(--paper);
    color: var(--blue);
}

.tab-btn {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
    scroll-snap-align: start;
    white-space: nowrap;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--paper);
}

.subcategory-btn {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid #d8e5f4;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 900;
    scroll-snap-align: start;
    white-space: nowrap;
}

.subcategory-btn.active,
.subcategory-btn:hover {
    border-color: var(--gold);
    background: #fff7df;
    color: var(--navy);
}

#encontre-oculos .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 0 24px;
    align-items: start;
}

#encontre-oculos .shelf-header {
    grid-column: 1 / -1;
}

.product-filterbar {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: stretch;
    margin: 0 0 10px;
}

.filter-toggle {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--blue);
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

.filter-toggle.active,
.filter-toggle:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--paper);
}

.product-controls {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-content: stretch;
    gap: 10px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.product-controls[hidden] {
    display: none;
}

.filter-group {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.filter-group-title,
.filter-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.filter-field-small {
    min-width: 0;
}

.filter-field-wide {
    min-width: 0;
}

.filter-group-title,
.filter-field span {
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.filter-select {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    padding: 9px 12px;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    outline: 0;
}

.filter-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 73, 145, 0.12);
}

.clear-filters-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 9px 12px;
    font-size: 0.84rem;
    font-weight: 900;
}

.clear-filters-btn:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--paper);
}

.product-carousel {
    grid-column: 1;
    grid-row: 2 / span 2;
    min-width: 0;
    position: relative;
}

.carousel-viewport {
    min-width: 0;
}

.showcase-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 18px;
}

.showcase-grid::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 42%;
    z-index: 20;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    box-shadow: var(--shadow-md);
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.carousel-btn:hover {
    background: var(--blue);
    color: var(--paper);
    transform: translateY(-1px);
}

.carousel-btn:disabled {
    opacity: 0.36;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    background: var(--paper);
    color: var(--blue);
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 40px) / 3);
    min-height: 100%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #c9d4e3;
    box-shadow: var(--shadow-md);
}

.product-card.selected-product {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(18, 167, 91, 0.18), var(--shadow-md);
}

.product-card[hidden] {
    display: none;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 4px;
    background: var(--red);
    color: var(--paper);
    font-size: 0.68rem;
    font-weight: 900;
}

.badge-gold {
    background: var(--gold);
    color: var(--navy);
}

.badge-blue {
    background: var(--blue);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue);
}

.favorite-btn,
.rating,
.old-price {
    display: none;
}

.favorite-btn.active {
    color: var(--red);
}

.product-image {
    position: relative;
    min-height: 260px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.product-gallery {
    overflow: hidden;
}

.product-gallery .gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.product-gallery .gallery-slide.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.12);
    transform: translateX(-50%);
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: #b7c3d4;
    padding: 0;
    transition: width 0.22s ease, background 0.22s ease;
}

.gallery-dot.active {
    width: 16px;
    background: var(--blue);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.product-brand {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.product-size {
    width: max-content;
    margin-bottom: 8px;
    padding: 4px 7px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-info h3 {
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.32;
    min-height: 42px;
    margin-bottom: 8px;
}

.rating {
    display: none;
    gap: 2px;
    color: #f4a51c;
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-bottom: 14px;
}

.old-price {
    display: none;
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.78rem;
}

.price strong {
    color: var(--navy);
    font-size: 1.2rem;
    line-height: 1.1;
}

.price-payment {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.price-payment-pill {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 7px;
    font-size: 0.64rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.payment-pix {
    background: #ecfdf3;
    color: #108647;
}

.payment-installment {
    background: var(--blue-soft);
    color: var(--blue);
}

.btn-product {
    width: 100%;
    margin-top: auto;
    min-height: 42px;
    background: var(--green);
    font-size: 0.78rem;
}

.btn-product:hover {
    background: #108647;
}

.no-results {
    margin-top: 22px;
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
    background: var(--soft);
}

.lens-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
}

.lens-copy h2 {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 14px;
}

.lens-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 24px;
}

.lens-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lens-option {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--paper);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: left;
}

.lens-option span {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    flex: 0 0 auto;
}

.lens-option.active {
    border-color: #ffd66b;
    background: rgba(255, 214, 107, 0.14);
}

.lens-option.active span {
    background: #ffd66b;
    border-color: #ffd66b;
    box-shadow: inset 0 0 0 4px var(--dark);
}

.lens-view {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    background: #102a4f;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-md);
}

.lens-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.22s ease;
}

.lens-view.filter-blue img {
    filter: sepia(0.18) saturate(1.12) brightness(1.02);
}

.lens-view.filter-polar img {
    filter: contrast(1.28) saturate(1.18) brightness(0.9);
}

.lens-view.filter-trans img {
    filter: brightness(0.62) contrast(1.12);
}

.lens-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease, background 0.22s ease;
}

.lens-view.filter-blue .lens-overlay {
    opacity: 0.14;
    background: #f5c15f;
    mix-blend-mode: multiply;
}

.lens-view.filter-polar .lens-overlay {
    opacity: 0.22;
    background: #25364a;
    mix-blend-mode: multiply;
}

.lens-view.filter-trans .lens-overlay {
    opacity: 0.42;
    background: #1d2939;
    mix-blend-mode: multiply;
}

.lens-status {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(5, 31, 66, 0.92);
    color: var(--paper);
    font-size: 0.82rem;
    font-weight: 800;
}

.lens-status i {
    color: #ffd66b;
}

.store-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 46px;
    align-items: center;
}

.store-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 420px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: var(--shadow-md);
}

.store-track,
.store-slide {
    position: absolute;
    inset: 0;
}

.store-slide {
    margin: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.store-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.store-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.store-slide figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 6px;
    background: rgba(5, 31, 66, 0.82);
    color: var(--paper);
    font-size: 0.82rem;
    font-weight: 900;
}

.store-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue);
    box-shadow: var(--shadow-sm);
    transform: translateY(-50%);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.store-carousel-btn:hover {
    background: var(--blue);
    color: var(--paper);
    transform: translateY(-50%) scale(1.04);
}

.store-photo-prev {
    left: 14px;
}

.store-photo-next {
    right: 14px;
}

.store-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
}

.store-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    padding: 0;
    transition: width 0.22s ease, background 0.22s ease;
}

.store-dot.active {
    width: 22px;
    background: var(--paper);
}

.store-copy h2 {
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.16;
    margin-bottom: 16px;
}

.store-copy p {
    color: var(--muted);
    margin-bottom: 18px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 22px 0 26px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
}

.check-list i {
    color: var(--green);
    margin-top: 3px;
}

.trust-strip {
    background: var(--blue);
    color: var(--paper);
    padding: 26px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-item i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffd66b;
    flex: 0 0 auto;
}

.trust-item h3 {
    color: var(--paper);
    font-size: 0.94rem;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.contact-copy h2 {
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.16;
    margin-bottom: 16px;
}

.contact-copy > p {
    color: var(--muted);
    margin-bottom: 28px;
}

.contact-carousel {
    position: relative;
}

.contact-viewport {
    overflow: hidden;
}

.contact-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 2px 0 10px;
    scrollbar-width: none;
}

.contact-list::-webkit-scrollbar {
    display: none;
}

.map-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 88px;
    max-height: 112px;
    margin-top: 6px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-item {
    display: flex;
    flex: 0 0 calc((100% - 36px) / 4);
    min-width: 190px;
    min-height: 112px;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
}

.contact-item i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--blue-soft);
    color: var(--blue);
    flex: 0 0 auto;
}

.contact-item h3 {
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.contact-item a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.18s ease;
}

.contact-item a:hover {
    color: var(--red);
}

.contact-combo-item {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: 320px;
    min-height: 0;
}

.contact-map-item {
    flex-basis: calc((100% - 12px) / 2);
}

.contact-card-body,
.contact-map-item > div {
    width: 100%;
    min-width: 0;
}

.contact-card-body {
    display: grid;
    gap: 8px;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.contact-detail {
    padding: 8px;
    border: 1px solid rgba(0, 73, 145, 0.1);
    border-radius: 6px;
    background: #f8fbff;
}

.contact-detail span {
    display: block;
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-detail p {
    margin: 0;
}

.contact-combo-item:not(.contact-map-item) .contact-detail:last-child {
    grid-column: 1 / -1;
}

.contact-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 73, 145, 0.12);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    box-shadow: 0 14px 30px rgba(0, 43, 91, 0.12);
    transform: translateY(-50%);
}

.contact-carousel-btn:hover {
    background: var(--blue);
    color: var(--paper);
}

.contact-carousel-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.contact-carousel-btn:disabled:hover {
    background: var(--paper);
    color: var(--blue);
}

.contact-prev {
    left: -14px;
}

.contact-next {
    right: -14px;
}

.order-section {
    background: var(--paper);
}

.order-grid {
    display: grid;
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
    gap: 0;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 10px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--navy);
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
}

.form-heading .eyebrow {
    margin-bottom: 6px;
}

.form-intro {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

.form-stepper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin: 8px 0 12px;
    list-style: none;
}

.form-step-indicator {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 10px 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
    color: var(--muted);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 900;
}

.form-step-indicator span {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.78rem;
}

.form-step-indicator strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-step-indicator.active {
    border-color: rgba(0, 73, 145, 0.35);
    background: var(--blue-soft);
    color: var(--blue);
}

.form-step-indicator.active span,
.form-step-indicator.completed span {
    background: var(--blue);
    color: var(--paper);
}

.form-step-indicator.completed {
    border-color: rgba(18, 167, 91, 0.28);
    color: var(--green);
}

.form-step {
    display: grid;
    gap: 10px;
}

.form-step[hidden] {
    display: none;
}

.step-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.contact-form label {
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #ccd6e3;
    border-radius: 6px;
    background: #fbfcfe;
    padding: 11px 12px;
    outline: 0;
    color: var(--ink);
}

.contact-form textarea {
    min-height: 112px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    background: var(--paper);
}

.field-label {
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 900;
}

.product-selected-label {
    display: block;
    margin-top: 8px;
}

.product-type-carousel {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
}

.product-toggle {
    display: flex;
    gap: 10px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.product-toggle::-webkit-scrollbar {
    display: none;
}

.product-type-carousel-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    box-shadow: var(--shadow-sm);
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.product-type-carousel-btn:hover:not(:disabled) {
    background: var(--blue);
    color: var(--paper);
}

.product-type-carousel-btn:disabled {
    opacity: 0.34;
    cursor: not-allowed;
    box-shadow: none;
}

.product-type-dots {
    grid-column: 2;
    display: inline-flex;
    justify-content: center;
    gap: 6px;
    min-height: 8px;
    margin-top: -6px;
}

.product-type-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: #cbd8e7;
    padding: 0;
}

.product-type-dot.active {
    width: 18px;
    background: var(--blue);
}

.degree-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.degree-option span {
    min-height: 58px;
    text-align: center;
}

.degree-option[hidden] {
    display: none;
}

.prescription-fieldset[hidden],
[data-degree-details][hidden] {
    display: none !important;
}

.product-option {
    position: relative;
    flex: 0 0 min(78%, 300px);
    scroll-snap-align: center;
}

.product-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.product-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid #ccd6e3;
    border-radius: 6px;
    background: #fbfcfe;
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.product-option input:checked + span {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--blue);
    box-shadow: inset 0 0 0 1px rgba(0, 73, 145, 0.16);
}

.product-option input:focus-visible + span {
    outline: 3px solid rgba(0, 73, 145, 0.16);
    outline-offset: 2px;
}

.product-toggle .product-option span {
    flex-direction: column;
    min-height: 128px;
    gap: 8px;
    text-align: center;
}

.product-option-image {
    width: min(100%, 168px);
    height: 82px;
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(0, 73, 145, 0.12);
    background: var(--paper);
}

.selected-product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px dashed #aab7c8;
    border-radius: 8px;
    background: #fbfcfe;
}

.selected-product-card.selected {
    border-style: solid;
    border-color: rgba(18, 167, 91, 0.4);
    background: #ecfdf3;
}

.selected-product-card:focus-visible {
    outline: 3px solid rgba(0, 73, 145, 0.16);
    outline-offset: 2px;
}

.selected-product-gallery {
    flex: 0 0 min(340px, 46%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.selected-product-gallery[hidden] {
    display: none;
}

.selected-product-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(0, 73, 145, 0.12);
    background: var(--paper);
}

.selected-product-copy {
    min-width: 0;
}

.selected-product-card i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    flex: 0 0 auto;
}

.selected-product-card.selected i {
    background: var(--green);
    color: var(--paper);
}

.selected-product-card strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.3;
}

.selected-product-card span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    margin-top: 2px;
}

.selected-product-link {
    color: var(--blue);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.selected-product-link:hover {
    color: var(--red);
}

.payment-box {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.payment-toggle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.payment-option {
    position: relative;
}

.payment-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.payment-option span {
    min-height: 86px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 12px 10px;
    border: 1px solid #ccd6e3;
    border-radius: 8px;
    background: var(--paper);
    color: var(--navy);
    text-align: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.payment-option i {
    color: var(--blue);
    font-size: 1.1rem;
}

.payment-option strong {
    font-size: 0.86rem;
    font-weight: 900;
}

.payment-option small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.payment-option input:checked + span {
    border-color: var(--green);
    background: #ecfdf3;
    box-shadow: inset 0 0 0 1px rgba(18, 167, 91, 0.18);
}

.payment-option input:checked + span i {
    color: var(--green);
}

.payment-option input:focus-visible + span {
    outline: 3px solid rgba(18, 167, 91, 0.18);
    outline-offset: 2px;
}

.payment-installments {
    display: grid;
    gap: 8px;
}

.payment-installments[hidden] {
    display: none;
}

.payment-summary {
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 73, 145, 0.08);
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.45;
}

.payment-summary.is-ready {
    background: rgba(18, 167, 91, 0.1);
    color: #0f6840;
}

.appointment-box {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.appointment-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.appointment-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
    border-radius: 4px;
    accent-color: var(--blue);
    flex: 0 0 auto;
}

.appointment-toggle span {
    display: grid;
    gap: 3px;
}

.appointment-toggle strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 0.9rem;
}

.appointment-toggle i {
    color: var(--blue);
}

.appointment-toggle small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.appointment-fields {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.appointment-fields[hidden] {
    display: none;
}

.appointment-required-note {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(18, 167, 91, 0.1);
    color: #0f6840;
    font-size: 0.8rem;
    font-weight: 900;
}

.appointment-required-note[hidden] {
    display: none;
}

.prescription-fieldset {
    display: grid;
    gap: 14px;
    margin: 4px 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.prescription-fieldset legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.degree-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-transform: none;
}

.degree-info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 80, 145, 0.12);
    color: var(--blue);
    cursor: pointer;
}

.degree-info-bubble {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 10;
    width: min(280px, 78vw);
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: 0 14px 30px rgba(0, 36, 73, 0.2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    text-transform: none;
    transform: translateX(-50%) translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
}

.degree-info-bubble::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--navy);
    transform: translateX(-50%) rotate(45deg);
}

.degree-info:hover .degree-info-bubble,
.degree-info:focus-within .degree-info-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

.prescription-row {
    display: grid;
    gap: 8px;
}

.prescription-row-title {
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 900;
}

.prescription-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.form-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.form-field {
    display: grid;
    gap: 5px;
}

.form-field label {
    font-size: 0.76rem;
}

.contact-form small {
    color: var(--muted);
    font-size: 0.76rem;
}

.form-submit {
    width: 100%;
    margin-top: 6px;
}

.form-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
}

.form-navigation .btn {
    min-width: 150px;
}

.form-navigation [data-step-next],
.form-navigation [data-step-submit] {
    margin-left: auto;
}

.form-navigation [hidden] {
    display: none;
}

.footer {
    background: #061428;
    color: rgba(255, 255, 255, 0.72);
    padding: 54px 0 24px;
}

.footer-carousel {
    position: relative;
}

.footer-viewport {
    overflow: hidden;
}

.footer-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 2px 0 16px;
    scrollbar-width: none;
}

.footer-track::-webkit-scrollbar {
    display: none;
}

.footer-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 230px;
    min-height: 210px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    scroll-snap-align: start;
}

.footer-carousel-btn {
    position: absolute;
    top: 44%;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--paper);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-carousel-btn:hover {
    background: var(--red);
}

.footer-carousel-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.footer-carousel-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.14);
}

.footer-prev {
    left: -18px;
}

.footer-next {
    right: -18px;
}

.footer-brand img {
    width: 186px;
    height: 92px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer h3 {
    color: var(--paper);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.footer a,
.footer p {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin-bottom: 9px;
}

.footer a:hover {
    color: #ffd66b;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--paper);
    margin: 0;
}

.social-links a:hover {
    background: var(--red);
    color: var(--paper);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.8rem;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--paper);
    font-size: 1.9rem;
    box-shadow: 0 14px 30px rgba(24, 169, 87, 0.34);
}

.floating-whatsapp:hover {
    background: #108647;
}

@media (max-width: 1120px) {
    .header-main {
        grid-template-columns: 170px minmax(220px, 1fr) auto auto;
        gap: 16px;
    }

    .nav-link {
        padding: 0 7px;
        font-size: 0.72rem;
    }

}

@media (max-width: 920px) {
    .top-bar-inner {
        min-height: 38px;
    }

    .header-main {
        grid-template-columns: 1fr auto;
        min-height: 72px;
    }

    .logo img {
        width: 160px;
        height: 62px;
    }

    .search-form,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-bar {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(84vw, 360px);
        transform: translateX(100%);
        transition: transform 0.2s ease;
        padding: 86px 24px 24px;
        box-shadow: -20px 0 42px rgba(0, 0, 0, 0.22);
    }

    .nav-bar.active {
        transform: translateX(0);
    }

    .nav-container,
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        min-height: 52px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0;
        font-size: 1rem;
        white-space: normal;
    }

    .nav-cta {
        justify-content: center;
        min-height: 48px;
        margin-top: 18px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero {
        min-height: 540px;
    }

    .hero-media picture {
        width: min(70vw, 820px);
    }

    .hero-content {
        padding: 96px 0 56px;
        transform: translateY(22px);
    }

    .hero h1 {
        max-width: 450px;
        font-size: 2.2rem;
    }

    .category-card {
        flex-basis: calc((100% - 36px) / 3);
    }

    .lens-grid,
    .store-grid,
    .contact-grid,
    .order-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-basis: calc((100% - 12px) / 2);
        min-height: 108px;
    }

    .shelf-header {
        align-items: flex-start;
        flex-direction: column;
    }

    #encontre-oculos .container {
        display: block;
    }

    .product-filterbar {
        justify-content: flex-end;
        margin: -6px 0 14px;
    }

    .filter-toggle {
        width: auto;
    }

    .product-controls {
        justify-content: flex-start;
        width: min(100%, 320px);
        margin: -6px 0 26px;
    }

    .product-filter-carousel-type,
    .product-filter-carousel-sub {
        width: 100%;
        flex: 1 1 auto;
    }

    .product-tabs,
    .product-subtabs {
        justify-content: flex-start;
    }

    .showcase-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .product-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .product-image {
        min-height: 236px;
    }

    .footer-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1240px);
    }

    .top-bar {
        font-size: 0.72rem;
    }

    .top-bar-inner,
    .top-bar-carousel {
        min-height: 46px;
    }

    .top-bar-slide {
        padding: 5px 8px;
        line-height: 1.25;
        white-space: normal;
    }

    .category-carousel,
    .service-carousel,
    .product-carousel,
    .store-carousel,
    .footer-carousel {
        overflow-x: hidden;
    }

    .hero {
        min-height: 590px;
        align-items: flex-end;
    }

    .hero-media {
        align-items: flex-start;
        justify-content: center;
        background: transparent;
    }

    .hero-media picture {
        width: 100%;
        height: 58%;
        margin-left: 0;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(5, 31, 66, 0.02) 0%, rgba(5, 31, 66, 0.26) 45%, rgba(5, 31, 66, 0.82) 100%);
    }

    .hero-content {
        padding: 0 0 42px;
        transform: translateY(0);
    }

    .hero h1 {
        max-width: 330px;
        font-size: 1.72rem;
        line-height: 1.08;
    }

    .hero h1 span {
        font-size: 0.62em;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: 1fr;
    }

    .section {
        padding: 54px 0;
    }

    #pedido-grau,
    #promocao,
    #servicos,
    #loja,
    #contato,
    #encontre-oculos {
        scroll-margin-top: 108px;
    }

    .section-heading h2,
    .lens-copy h2,
    .store-copy h2,
    .contact-copy h2 {
        font-size: 1.62rem;
    }

    .category-row {
        gap: 14px;
        padding-bottom: 10px;
    }

    .category-card {
        flex-basis: calc((100% - 14px) / 2);
    }

    .category-card img {
        width: 82px;
        height: 82px;
    }

    .category-carousel-btn {
        top: 44%;
        width: 36px;
        height: 36px;
    }

    .category-prev {
        left: 8px;
    }

    .category-next {
        right: 8px;
    }

    .promo-banner-btn {
        min-width: 150px;
        min-height: 36px;
        padding: 8px 13px;
        font-size: 0.78rem;
    }

    .showcase-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-card {
        flex-basis: 100%;
    }

    .service-grid {
        gap: 14px;
        padding-bottom: 16px;
    }

    .service-card {
        flex-basis: 100%;
    }

    .service-carousel-btn {
        top: 40%;
        width: 38px;
        height: 38px;
    }

    .service-prev {
        left: 8px;
    }

    .service-next {
        right: 8px;
    }

    .contact-item,
    .contact-map-item {
        flex-basis: 88%;
        min-width: 0;
        min-height: 82px;
        gap: 8px;
        padding: 10px;
    }

    .contact-combo-item {
        flex-basis: 88%;
        min-width: 0;
    }

    .contact-detail-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .contact-detail {
        padding: 6px;
    }

    .contact-combo-item:not(.contact-map-item) .contact-detail:last-child {
        grid-column: auto;
    }

    .map-embed {
        aspect-ratio: 16 / 9;
        min-height: 72px;
        max-height: 88px;
        margin-top: 4px;
    }

    .contact-carousel-btn {
        display: none;
    }

    .contact-list {
        gap: 10px;
        padding-bottom: 8px;
    }

    .contact-copy h2 {
        font-size: 1.36rem;
        margin-bottom: 12px;
    }

    .contact-item i {
        width: 28px;
        height: 28px;
        border-radius: 5px;
        font-size: 0.78rem;
    }

    .contact-item h3 {
        font-size: 0.78rem;
        margin-bottom: 0;
    }

    .contact-item p {
        font-size: 0.72rem;
        line-height: 1.24;
    }

    .contact-item a {
        overflow-wrap: anywhere;
        text-decoration-thickness: 1px;
        text-underline-offset: 2px;
    }

    .showcase-grid {
        gap: 14px;
        padding-bottom: 16px;
    }

    .product-card {
        flex-basis: 100%;
    }

    .price {
        gap: 7px;
    }

    .price-payment-pill {
        font-size: 0.62rem;
        padding-inline: 6px;
    }

    .product-controls,
    .filter-field,
    .filter-toggle {
        width: 100%;
    }

    .product-filterbar {
        justify-content: stretch;
    }

    .carousel-btn {
        top: 38%;
        width: 38px;
        height: 38px;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .footer-prev {
        left: 8px;
    }

    .footer-next {
        right: 8px;
    }

    .product-image {
        min-height: 210px;
    }

    .store-carousel {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 11;
        border-radius: 8px;
    }

    .store-track,
    .store-slide {
        width: 100%;
        max-width: 100%;
    }

    .store-slide img {
        object-fit: contain;
        background: var(--navy);
    }

    .store-slide figcaption {
        left: 14px;
        bottom: 14px;
        max-width: calc(100% - 96px);
        font-size: 0.76rem;
    }

    .store-carousel-btn {
        width: 36px;
        height: 36px;
    }

    .store-photo-prev {
        left: 10px;
    }

    .store-photo-next {
        right: 10px;
    }

    .trust-item {
        align-items: flex-start;
    }

    .contact-form {
        padding: 22px;
    }

    .form-stepper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-step-indicator {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        text-align: left;
    }

    .product-toggle,
    .degree-choice,
    .payment-toggle,
    .prescription-grid,
    .form-two-col {
        grid-template-columns: 1fr;
    }

    .product-toggle .product-option span {
        min-height: 112px;
    }

    .product-type-carousel {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        gap: 6px;
    }

    .product-type-carousel-btn {
        width: 32px;
        height: 32px;
    }

    .product-option {
        flex-basis: min(88%, 252px);
    }

    .product-option-image {
        height: 70px;
    }

    .selected-product-card {
        flex-wrap: wrap;
    }

    .selected-product-gallery {
        flex-basis: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .form-navigation {
        flex-wrap: wrap;
    }

    .form-navigation .btn {
        width: 100%;
        min-width: 0;
    }

    .form-navigation [data-step-next],
    .form-navigation [data-step-submit] {
        margin-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
}
