/* ===== Design tokens ===== */
:root {
    --blue: #002D79;
    --blue-d: #001d52;
    --blue-l: #e8eef9;
    --orange: #FE6601;
    --orange-d: #d95500;
    --ink: #0d1b3a;
    --mute: #5b6783;
    --bg: #f4f5f8;
    --line: #e2e8f0;
    --r: 14px;
    --sh: 0 8px 28px rgba(0, 29, 82, .10);
    --sh-lg: 0 24px 70px rgba(0, 29, 82, .28);
}

/* ===== Base ===== */
* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55
}

h1,
h2,
h3 {
    font-family: 'Sora', 'DM Sans', Arial, sans-serif;
    line-height: 1.15;
    margin: 0
}

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

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

button {
    font-family: inherit
}

/* ===== Layout ===== */
.wrap {
    width: min(1180px, 100% - 40px);
    margin-inline: auto
}

.narrow {
    width: min(860px, 100% - 40px);
    margin-inline: auto;
    padding-block: 28px
}

.sr {
    position: absolute;
    left: -9999px
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden
}

/* ===== Topbar ===== */
.topbar {
    background: var(--blue-d);
    color: #93a8c9;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.topbar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-block: 8px;
    flex-wrap: wrap
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.topbar-item svg {
    opacity: .75;
    flex: none
}

.topbar-item a {
    transition: color .15s
}

.topbar-item a:hover {
    color: #fff
}

/* ===== Header ===== */
.top {
    background: var(--blue);
    border-bottom: 4px solid var(--orange);
    position: sticky;
    top: 0;
    z-index: 30;
    transition: box-shadow .2s
}

.top.scrolled {
    box-shadow: 0 6px 24px rgba(0, 29, 82, .2)
}

.top-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 12px;
    position: relative
}

.brand {
    display: flex;
    align-items: center
}

.brand img {
    height: auto;
    max-width: 150px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #c7d5ea;
    font-size: 14px;
    font-weight: 500;
    flex-wrap: wrap
}

.main-nav>a:not(.cart-btn) {
    position: relative;
    padding-block: 4px;
    transition: color .15s
}

.main-nav>a:not(.cart-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .2s
}

.main-nav>a:not(.cart-btn):hover,
.main-nav>a.on:not(.cart-btn) {
    color: #fff
}

.main-nav>a:not(.cart-btn):hover::after,
.main-nav>a.on:not(.cart-btn)::after {
    transform: scaleX(1)
}

.cart-btn {
    background: var(--orange);
    color: #fff !important;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .15s
}

.cart-btn:hover {
    background: var(--orange-d)
}

.count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fff;
    color: var(--orange);
    font-size: 12px
}

.count.bump {
    animation: bump .4s
}

@keyframes bump {
    50% {
        transform: scale(1.5)
    }
}

.menu-toggle {
    display: none !important;
    background: transparent;
    border: 0;
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
}

@media (max-width: 720px) {
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #c7d5ea;
    border-radius: 2px;
    margin: 5px 0;
    transition: transform .2s, opacity .2s
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.linkbtn {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    transition: color .15s
}

.linkbtn:hover {
    color: #fff
}

.linkbtn.danger {
    color: #dc2626;
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px
}

.inline {
    display: inline
}

/* ===== Hero ===== */
.hero {
    background: var(--blue);
    color: #fff;
    padding: 64px 0 76px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px
}

.hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 340px;
    height: 340px;
    border: 44px solid var(--orange);
    border-radius: 50%;
    opacity: .9;
    pointer-events: none
}

.hero .wrap {
    position: relative;
    z-index: 1
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 12px
}

.hero h1 {
    font-size: clamp(30px, 5.2vw, 56px);
    font-weight: 800;
    max-width: 15em
}

.hero h1 span {
    color: var(--orange)
}

.lead {
    color: #c7d5ea;
    max-width: 36em;
    font-size: 18px;
    margin: 18px 0 28px
}

/* ===== Search / chips ===== */
.search input {
    width: min(560px, 100%);
    padding: 16px 20px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    box-shadow: var(--sh)
}

.search input:focus {
    outline: 3px solid var(--orange)
}

.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 22px 0 8px;
    margin-top: -34px;
    scrollbar-width: thin;
    position: relative;
    z-index: 10;
}

.chip {
    flex: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    color: var(--blue);
    cursor: pointer;
    transition: .15s
}

.chip i {
    font-style: normal;
    opacity: .6;
    margin-left: 4px
}

.chip:hover {
    border-color: var(--orange);
}

.chip.on {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.chip.on:hover {
    background: var(--orange-d);
    border-color: var(--orange-d);
}

/* ===== Grid + Cards ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    padding: 18px 0 56px
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh);
    border-color: transparent
}

.card[hidden] {
    display: none
}

.card-img {
    position: relative;
    aspect-ratio: 4/3;
    background: #eef2f8;
    display: grid;
    place-items: center;
    padding: 18px;
    overflow: hidden;
    cursor: zoom-in
}

.card-img img {
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s
}

.card:hover .card-img img {
    transform: scale(1.05)
}

.noimg {
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--blue);
    font-size: 13px;
    text-transform: uppercase
}

.badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 1
}

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

.badge.inline {
    position: static;
    display: inline-block;
    vertical-align: middle
}

.more-photos {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 29, 82, .8);
    color: #fff;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px
}

.qv-hint {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translate(-50%, 8px);
    background: rgba(0, 45, 121, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    opacity: 0;
    transition: opacity .2s, transform .2s;
    pointer-events: none;
    white-space: nowrap
}

.card:hover .qv-hint {
    opacity: 1;
    transform: translate(-50%, 0)
}

.card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1
}

.chip-s {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange)
}

.card h3 {
    font-size: 18px;
    color: var(--blue)
}

.card p {
    margin: 0;
    color: var(--mute);
    font-size: 14px;
    flex: 1
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px
}

/* ===== Buttons ===== */
.link {
    color: var(--orange);
    font-weight: 700;
    font-size: 14px
}

.link:hover {
    text-decoration: underline
}

.btn {
    display: inline-block;
    border: 0;
    background: var(--orange);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
    text-align: center
}

.btn:hover {
    background: var(--orange-d);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(254, 102, 1, .3)
}

.btn:active {
    transform: none
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px
}

.btn.added {
    background: #16a34a
}

.btn-ghost {
    background: transparent;
    color: var(--blue);
    box-shadow: inset 0 0 0 2px var(--blue)
}

.btn-ghost:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: inset 0 0 0 2px var(--blue)
}

.empty {
    text-align: center;
    color: var(--mute);
    padding: 40px
}

/* ===== PDP ===== */
.pdp {
    padding-block: 24px 20px
}

.back {
    color: var(--mute);
    font-size: 14px;
    font-weight: 500
}

.back:hover {
    color: var(--orange)
}

.pdp-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
    margin-top: 18px;
    align-items: start
}

.gallery {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden
}

.slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain
}

.slides::-webkit-scrollbar {
    display: none
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    padding: 28px;
    background: #eef2f8
}

.slide img {
    max-height: 100%;
    object-fit: contain
}

.nav {
    position: absolute;
    top: calc(50% - 40px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: var(--sh);
    font-size: 26px;
    line-height: 1;
    color: var(--blue);
    cursor: pointer
}

.nav:hover {
    background: var(--orange);
    color: #fff
}

.nav.prev {
    left: 12px
}

.nav.next {
    right: 12px
}

.thumbs {
    display: flex;
    gap: 10px;
    padding: 12px;
    justify-content: center;
    background: #fff
}

.thumbs .thumb {
    width: 68px;
    height: 68px;
    padding: 4px;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer
}

.thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.thumbs .thumb.on {
    border-color: var(--orange)
}

.pdp-info h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--blue);
    margin: 8px 0 10px
}

.pdp-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink)
}

.bullets {
    list-style: none;
    padding: 0;
    margin: 18px 0
}

.bullets li {
    position: relative;
    padding: 6px 0 6px 26px
}

.bullets li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 15px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange)
}

.pdp-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0
}

.sec {
    color: var(--blue);
    font-size: 24px;
    margin: 40px 0 4px
}

/* ===== Panels / Forms ===== */
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px;
    margin-bottom: 20px
}

.center {
    text-align: center
}

.h1 {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--blue);
    margin-bottom: 18px
}

.h1 small {
    color: var(--mute);
    font-weight: 500
}

.form h2 {
    color: var(--blue);
    margin-bottom: 14px;
    font-size: 20px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px
}

.field label {
    font-weight: 700;
    font-size: 14px;
    color: var(--blue)
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
input[type=search],
input:not([type]),
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c9d3e3;
    border-radius: 10px;
    font: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(254, 102, 1, .18)
}

.has-error input,
.has-error textarea {
    border-color: #dc2626
}

small {
    color: var(--mute);
    font-size: 12.5px
}

small.err {
    color: #dc2626;
    font-weight: 700
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    margin: 6px 0 16px
}

.check input {
    margin-top: 4px;
    accent-color: var(--orange)
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

.muted {
    display: block;
    margin-top: 14px
}

/* ===== Flash ===== */
.flashes {
    padding-top: 16px
}

.flash {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-weight: 500;
    background: var(--blue-l);
    color: var(--blue)
}

.flash.error {
    background: #fee2e2;
    color: #991b1b
}

.flash.ok {
    background: #dcfce7;
    color: #166534
}

/* ===== Quote / Cart ===== */
.qlist {
    list-style: none;
    padding: 0;
    margin: 0
}

.qlist li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.qlist li:last-child {
    border: 0
}

.qthumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #eef2f8;
    display: grid;
    place-items: center;
    flex: none;
    padding: 4px
}

.qthumb img {
    max-height: 100%;
    object-fit: contain
}

.qname {
    flex: 1
}

.qname small {
    display: block
}

.qname a {
    font-weight: 700;
    color: var(--blue)
}

.qty {
    display: flex;
    align-items: center;
    gap: 6px
}

.qty button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: border-color .15s
}

.qty button:hover {
    border-color: var(--orange)
}

.qty .rm {
    color: #dc2626;
    margin-left: 6px
}

.qty span {
    min-width: 26px;
    text-align: center;
    font-weight: 700
}

.ok-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 36px
}

/* ===== Footer ===== */
.foot {
    background: var(--blue-d);
    color: #9db2d6;
    font-size: 14px;
    margin-top: 60px
}

.foot-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 44px;
    padding: 52px 0 40px
}

.foot-col h4 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 16px;
    font-weight: 700
}

.foot-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px
}

.foot-col ul a {
    transition: color .15s
}

.foot-col ul a:hover {
    color: #fff
}

.foot-brand p {
    margin: 6px 0 20px;
    max-width: 34em;
    line-height: 1.6
}

.foot-logo {
    margin-bottom: 16px
}

.foot-contact {
    display: grid;
    gap: 12px
}

.foot-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color .15s
}

.foot-contact a:hover {
    color: #fff
}

.foot-contact svg {
    flex: none;
    opacity: .75
}

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 0;
    font-size: 13px;
    color: #7089b5
}

.foot-bottom-in {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap
}

.foot-note {
    color: #8aa1c6
}

/* ===== Quick View modal ===== */
.qv {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .22s ease
}

.qv[hidden] {
    display: none
}

.qv.show {
    opacity: 1
}

.qv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 29, 82, .65);
    backdrop-filter: blur(4px);
    cursor: pointer
}

.qv-panel {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--sh-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(.985);
    transition: opacity .25s ease, transform .25s ease
}

.qv.show .qv-panel {
    opacity: 1;
    transform: none
}

.qv-content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    max-height: calc(100vh - 40px);
    overflow: auto
}

.qv-gallery {
    position: relative;
    background: #eef2f8;
    display: flex;
    flex-direction: column;
    min-height: 400px
}

.qv-slides {
    flex: 1;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain
}

.qv-slides::-webkit-scrollbar {
    display: none
}

.qv-slides .slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 32px;
    min-height: 400px;
    background: transparent
}

.qv-slides .slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain
}

.qv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: var(--sh);
    font-size: 24px;
    line-height: 1;
    color: var(--blue);
    cursor: pointer;
    transition: background .15s, color .15s
}

.qv-arrow:hover {
    background: var(--orange);
    color: #fff
}

.qv-arrow.prev {
    left: 14px
}

.qv-arrow.next {
    right: 14px
}

.qv-arrow[hidden] {
    display: none
}

.qv-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    justify-content: center;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-x: auto
}

.qv-thumbs .thumb {
    flex: none;
    width: 56px;
    height: 56px;
    padding: 4px;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer
}

.qv-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.qv-thumbs .thumb.on {
    border-color: var(--orange)
}

.qv-info {
    padding: 32px 34px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.qv-info h2 {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--blue);
    margin: 0
}

.qv-info .qv-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin: 0
}

.qv-info .qv-subtitle {
    color: var(--mute);
    margin: 0
}

.qv-info .bullets {
    margin: 6px 0
}

.qv-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px
}

.qv-cta .btn {
    flex: 1;
    min-width: 140px
}

.qv-more {
    margin-top: 8px
}

.qv-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--sh);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    color: var(--blue);
    transition: background .15s, color .15s
}

.qv-close:hover {
    background: var(--orange);
    color: #fff
}

.qv-side {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .15s;
    z-index: 2
}

.qv-side:hover {
    background: var(--orange)
}

.qv-side.prev {
    left: max(20px, calc(50% - 640px))
}

.qv-side.next {
    right: max(20px, calc(50% - 640px))
}

.qv-nav-mobile {
    display: none;
    gap: 10px;
    margin-top: 4px
}

.qv-nav-mobile button {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--blue);
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.qv-nav-mobile button:hover {
    border-color: var(--orange);
    color: var(--orange)
}

body.qv-open {
    overflow: hidden
}

/* ===== Assistente Virtual (Chat Widget) ===== */
.va-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.va-greeting {
    background: #fff;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 20px 20px 0 20px;
    box-shadow: 0 4px 12px rgba(0, 29, 82, .15);
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.3s;
}

.va-greeting.hide {
    opacity: 0;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


.va-fab {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 45, 121, 0.3);
    cursor: pointer;
    display: grid;
    place-items: center;
    position: relative;
    transition: transform 0.2s ease;
    overflow: hidden;
    /* OBRIGATÓRIO: Impede que a imagem ampliada vaze para fora do círculo */
}

.va-fab img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* O SEGREDO ESTÁ AQUI: dá um zoom de 40% na imagem para ignorar as bordas vazias do SVG */
    transform: scale(1.4);
    transition: transform 0.2s;
}


.va-fab::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    opacity: 0;
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    80%,
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.va-fab img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    transition: transform 0.2s;
}

.va-fab:hover {
    transform: scale(1.05);
}

.va-fab .va-close-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 32px;
    color: var(--blue);
    opacity: 0;
    transform: rotate(-90deg);
    transition: opacity 0.3s, transform 0.3s;
}

.va-fab.is-open img {
    opacity: 0;
}

.va-fab.is-open .va-close-icon {
    opacity: 1;
    transform: rotate(0);
}

.va-window {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--sh-lg);
    z-index: 91;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform-origin: bottom right;
}

.va-window.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.va-header {
    background: var(--blue);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.va-avatar {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    flex: none;
}

.va-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.va-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.va-header-info strong {
    font-size: 16px;
    font-family: 'Sora', sans-serif;
}

.va-header-info span {
    font-size: 12px;
    color: #c7d5ea;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.va-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.va-header-close {
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: grid;
    place-items: center;
    transition: background 0.15s;
}

.va-header-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.va-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
    max-height: 300px;
    overflow-y: auto;
}

.va-msg {
    background: #fff;
    color: var(--ink);
    padding: 12px 16px;
    border-radius: 12px 12px 12px 2px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    line-height: 1.5;
}

.va-footer {
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
}

.va-footer .btn {
    flex: 1;
    padding: 10px;
    font-size: 13px;
}

/* Responsivo */
@media (max-width: 560px) {
    .va-wrapper {
        bottom: 16px;
        right: 16px;
    }

    .va-fab {
        width: 56px;
        height: 56px;
    }

    .va-window {
        bottom: 84px;
        right: 16px;
        width: calc(100vw - 32px);
    }
}

/* ===== Admin ===== */
.admin .top {
    background: var(--blue-d)
}

.bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 26px 0 14px
}

.bar .h1 {
    margin: 0;
    flex: 1
}

.tablewrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    margin-bottom: 20px
}

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px
}

.tbl th {
    text-align: left;
    padding: 12px 14px;
    background: var(--blue-l);
    color: var(--blue);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.tbl td {
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    vertical-align: middle
}

.right {
    text-align: right;
    white-space: nowrap
}

.pill {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 4px 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer
}

.pill.on {
    background: #dcfce7;
    color: #166534
}

.pill.off {
    background: #e5e7eb;
    color: #4b5563
}

.pill.err {
    background: #fee2e2;
    color: #991b1b
}

.imgs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0
}

.imgbox {
    width: 130px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    text-align: center
}

.imgbox img,
.imgs>img {
    height: 90px;
    margin: 0 auto 6px;
    object-fit: contain
}

.imgs>img {
    border: 1px dashed var(--orange);
    border-radius: 10px;
    padding: 4px
}

.check.danger {
    color: #dc2626
}

.imgbox .check {
    margin: 2px 0;
    font-size: 12px;
    justify-content: center
}

.quote summary {
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap
}

.quote small {
    margin-left: auto
}

.note {
    background: var(--bg);
    border-left: 3px solid var(--orange);
    padding: 10px 14px
}

.split {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    align-items: start
}

.preview {
    padding: 0;
    overflow: hidden;
    height: 640px
}

.preview iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.inlineform {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.inlineform input {
    flex: 1;
    min-width: 180px
}

.login {
    margin-top: 40px
}

/* ===== Media queries ===== */
@media (max-width:1100px) {
    .qv-side {
        display: none
    }
}

@media (max-width:860px) {

    .pdp-grid,
    .split {
        grid-template-columns: 1fr
    }

    .two {
        grid-template-columns: 1fr
    }

    .hero::after {
        width: 200px;
        height: 200px;
        border-width: 28px
    }

    .preview {
        height: 520px
    }

    .foot-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .foot-brand {
        grid-column: 1 / -1
    }
}

@media (max-width:820px) {
    .qv {
        padding: 0
    }

    .qv-panel {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0
    }

    .qv-content {
        grid-template-columns: 1fr;
        max-height: 100vh
    }

    .qv-gallery {
        min-height: 45vh
    }

    .qv-slides .slide {
        min-height: 45vh;
        padding: 20px
    }

    .qv-info {
        padding: 24px
    }

    .qv-nav-mobile {
        display: flex
    }
}

@media (max-width:720px) {
    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--blue-d);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 16px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
        z-index: 5
    }

    .main-nav.open {
        display: flex
    }

    .main-nav>a,
    .main-nav .linkbtn {
        padding: 13px 0;
        font-size: 15px;
        color: #c7d5ea;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        width: 100%;
        text-align: left
    }

    .main-nav>a::after {
        display: none
    }

    .main-nav .cart-btn {
        margin-top: 12px;
        border-bottom: 0;
        justify-content: center;
        padding: 12px 16px
    }

    .main-nav .inline {
        display: block
    }
}

@media (max-width:560px) {
    .topbar-in {
        font-size: 12px
    }

    .topbar-item svg {
        display: none
    }

    .foot-top {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .foot-bottom-in {
        flex-direction: column;
        align-items: flex-start
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important
    }
}