:root {
    color-scheme: dark;
    --gv-font-body: 'Montserrat', 'DM Sans', Arial, sans-serif;
    --gv-font-brand: 'Cinzel Decorative', Georgia, serif;
    --gv-gold: #d4af37;
    --gv-gold-vivid: #ffd700;
    --gv-gold-light: #fcf6ba;
    --gv-gold-dark: #b38728;
    --gv-black: #000000;
    --gv-deep-black: #050505;
    --gv-white: #ffffff;
    --gv-muted: rgba(255, 255, 255, 0.42);
    --gv-border: rgba(212, 175, 55, 0.16);
    --gv-header-h: 74px;
    --gv-safe-top: env(safe-area-inset-top, 0px);
}

.gv-gold-word,
.gv-silver-word {
    font-family: var(--gv-font-brand) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: .02em;
    user-select: none;
    -webkit-user-select: none;
}

.gv-gold-word {
    background-image: linear-gradient(135deg, #fff8c7 0%, #ffd700 32%, #b88724 68%, #fff1a8 100%);
    color: var(--gv-gold-vivid);
    text-shadow: 0 18px 46px rgba(255, 215, 0, .16);
}

.gv-silver-word {
    background-image: linear-gradient(135deg, #ffffff 0%, #eef3f7 26%, #aeb8c4 58%, #f8fbff 82%, #8d99a6 100%);
    color: #eef4fb;
    text-shadow: 0 18px 46px rgba(225, 235, 248, .18);
}

.gv-gold-word::selection {
    background: rgba(255, 215, 0, .16);
    color: var(--gv-gold-vivid);
    -webkit-text-fill-color: var(--gv-gold-vivid);
}

.gv-silver-word::selection {
    background: rgba(225, 235, 248, .18);
    color: #eef4fb;
    -webkit-text-fill-color: #eef4fb;
}

/* Reset global Golden Valley: base unica para paginas antigas e novas. */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* desativado via @media abaixo para prefers-reduced-motion */
    font-size: 16px;
    background: var(--gv-deep-black);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    background: var(--gv-deep-black);
    color: var(--gv-white);
    font-family: var(--gv-font-body);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a,
label,
input,
textarea,
select,
button {
    font-family: var(--gv-font-body);
}

input,
textarea,
select,
button {
    font-size: 1rem;
    color: var(--gv-white);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    border-radius: 0;
}

button {
    cursor: pointer;
}

.brand-font,
.gv-brand-font {
    font-family: var(--gv-font-brand);
}

.gv-page-under-header {
    padding-top: var(--gv-header-h);
}

.gv-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.86);
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding-top: var(--gv-safe-top);
}

.gv-site-header__inner {
    width: min(1180px, calc(100% - clamp(28px, 5vw, 40px)));
    height: var(--gv-header-h);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 3vw, 18px);
}

.gv-site-header__brand {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--gv-gold-vivid);
    font-size: clamp(17px, 2.4vw, 24px);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.gv-site-header__nav,
.gv-site-header__actions,
.gv-site-header__user {
    display: flex;
    align-items: center;
}

.gv-site-header__nav {
    gap: 28px;
    margin-left: auto;
}
/* Fallback gap para Safari < 14.1 (flex gap não suportado) */
.gv-site-header__nav > * + * { margin-left: 28px; }
@supports (gap: 1px) {
    .gv-site-header__nav > * + * { margin-left: 0; }
}

.gv-site-header__actions {
    gap: 12px;
}
.gv-site-header__actions > * + * { margin-left: 12px; }
@supports (gap: 1px) {
    .gv-site-header__actions > * + * { margin-left: 0; }
}

.gv-site-header__user {
    gap: 10px;
}
.gv-site-header__user > * + * { margin-left: 10px; }
@supports (gap: 1px) {
    .gv-site-header__user > * + * { margin-left: 0; }
}

.gv-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.gv-nav-link:hover,
.gv-nav-link.is-active {
    color: var(--gv-gold-vivid);
}

.gv-nav-pill {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 14px;
}

.gv-nav-pill:hover {
    border-color: rgba(212, 175, 55, 0.34);
    background: rgba(212, 175, 55, 0.07);
}

.gv-nav-cta {
    color: #000;
    background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(191, 149, 63, 0.16);
}

.gv-nav-cta:hover {
    color: #000;
    opacity: 0.92;
}

.gv-cart-button {
    position: relative;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gv-gold-vivid);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.22);
    text-decoration: none;
}

.gv-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-gold-vivid);
    color: #000;
    font-size: 9px;
    font-weight: 800;
}

.gv-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--gv-gold-vivid);
    font-size: 23px;
    cursor: pointer;
}

.gv-mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(3, 3, 3, 0.98);
    border-top: 1px solid rgba(212, 175, 55, 0.11);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    max-height: calc(100dvh - var(--gv-header-h) - var(--gv-safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.gv-mobile-menu.is-open {
    display: flex;
    animation: gvMobileMenuIn 0.28s ease both;
}

.gv-mobile-link,
.gv-mobile-label {
    padding: 16px 24px;
}

.gv-mobile-link {
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

.gv-mobile-link i {
    width: 16px;
    color: var(--gv-gold-vivid);
    text-align: center;
}

.gv-mobile-label {
    padding-bottom: 7px;
    color: rgba(212, 175, 55, 0.44);
    font-size: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gv-site-footer {
    padding: 72px 22px 64px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.gv-site-footer__brand {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--gv-gold-vivid);
    font-size: clamp(22px, 4vw, 30px);
    margin-bottom: 26px;
}

.gv-site-footer__cities {
    color: rgba(255, 255, 255, 0.24);
    font-size: 10px;
    letter-spacing: 4px;
    line-height: 1.8;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.gv-site-footer__cnpj {
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    margin: 0 0 24px;
}

.gv-site-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
}

.gv-site-footer__social a {
    color: rgba(255, 255, 255, 0.22);
    font-size: 24px;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.gv-site-footer__social a:hover {
    color: var(--gv-gold-vivid);
    transform: translateY(-2px);
}

.gv-site-footer__copy {
    color: rgba(255, 255, 255, 0.1);
    font-size: 9px;
    letter-spacing: 2px;
    line-height: 1.9;
    text-transform: uppercase;
}

.gv-float,
.float-btn {
    position: fixed;
    right: 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gv-gold-vivid);
    font-size: 22px;
    border: 1px solid rgba(212, 175, 55, 0.86);
    background: rgba(5, 5, 5, 0.18);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48), inset 0 1px rgba(247, 231, 166, 0.1);
    z-index: 2000;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transform: translateZ(0);
}

.gv-float i,
.float-btn i {
    line-height: 1;
}

.gv-float:hover,
.float-btn:hover {
    color: var(--gv-gold-soft);
    border-color: var(--gv-gold-vivid);
    background: rgba(5, 5, 5, 0.58);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.54), 0 0 22px rgba(212, 175, 55, 0.16), inset 0 1px rgba(247, 231, 166, 0.14);
    transform: translate3d(0, -2px, 0) scale(1.04);
}

.gv-float-wpp,
.btn-whatsapp {
    bottom: 20px;
    background: rgba(5, 5, 5, 0.18);
    color: var(--gv-gold-vivid);
}

.gv-float-insta,
.btn-instagram {
    bottom: 84px;
    background: rgba(5, 5, 5, 0.18);
    color: var(--gv-gold-vivid);
}

.gv-float-home,
.btn-catalog-circular {
    bottom: 148px;
    background: rgba(5, 5, 5, 0.18);
    color: var(--gv-gold-vivid);
    font-size: 22px;
}

.gv-empty-state {
    padding: 48px 24px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.gv-empty-state i {
    color: rgba(212, 175, 55, 0.26);
    font-size: 34px;
    margin-bottom: 14px;
}

.gv-empty-state h3 {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.gv-empty-state p {
    margin: 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    line-height: 1.7;
}

.gv-card-image,
.card-image,
.gv-card-media {
    position: relative;
}

.gv-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 8;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.10), transparent 34%), rgba(3, 3, 3, 0.54);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.gv-favorite-btn:hover {
    transform: translateY(-1px) scale(1.04);
    border-color: rgba(212, 175, 55, 0.78);
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.14), transparent 36%), rgba(5, 5, 5, 0.72);
    box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 18px rgba(212, 175, 55, 0.12);
}

.gv-favorite-btn:disabled {
    opacity: .65;
    cursor: wait;
}

.gv-heart-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1;
    filter: drop-shadow(0 1px 5px rgba(0,0,0,.55));
    transition: color .18s ease, transform .18s ease, text-shadow .18s ease;
}

.gv-heart-icon::before {
    content: "\2661";
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}

.gv-favorite-btn.is-favorited {
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 36%), rgba(18, 15, 6, 0.76);
    border-color: rgba(212, 175, 55, 0.95);
    box-shadow: 0 8px 24px rgba(0,0,0,.32), 0 0 20px rgba(212, 175, 55, 0.18);
}

.gv-favorite-btn.is-favorited .gv-heart-icon {
    color: #d4af37;
    transform: scale(1.03);
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.28);
}

.gv-favorite-btn.is-favorited .gv-heart-icon::before {
    content: "\2665";
}

.gv-card.is-unavailable {
    opacity: .72;
}

.gv-card-link {
    color: inherit;
    text-decoration: none;
}

.gv-card-media-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.gv-card.is-unavailable .gv-card-image img,
.gv-card.is-unavailable .card-image img {
    filter: grayscale(.55) brightness(.72);
}

.gv-card-status {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, .38);
    background: rgba(8, 8, 8, .72);
    color: #fbbf24;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gv-card-btn.is-unavailable,
.gv-card-wpp.is-unavailable {
    border-color: rgba(245, 158, 11, .32) !important;
    color: #fbbf24 !important;
    background: rgba(245, 158, 11, .055) !important;
}

.gv-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(12px);
    background: rgba(12, 12, 12, 0.88);
    color: #f8f3e8;
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    letter-spacing: .01em;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.gv-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes gvMobileMenuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .gv-site-header__nav,
    .gv-site-header__actions > .gv-nav-pill,
    .gv-site-header__actions > .gv-nav-link:not(.gv-cart-button),
    .gv-site-header__user .gv-nav-pill,
    .gv-site-header__user .gv-nav-link:not(.gv-cart-button),
    .gv-site-header--account .gv-site-header__actions > .gv-nav-link,
    .gv-site-header--account .gv-site-header__actions > .gv-nav-pill {
        display: none;
    }

    .gv-menu-toggle {
        display: inline-flex;
    }

    body.gv-home-black-label .gv-float,
    body.gv-home-black-label .float-btn {
        display: none !important;
    }
}

@media (max-width: 700px) {
    body.gv-product-page .gv-float,
    body.gv-product-page .float-btn {
        display: none !important;
    }
}

@media (max-width: 640px) {
    :root {
        --gv-header-h: 68px;
    }

    .gv-site-header__inner {
        width: calc(100% - 28px);
    }

    .gv-site-header__brand {
        font-size: 19px;
    }

    body {
        background-attachment: scroll !important;
    }

    .gv-float,
    .float-btn {
        width: 46px;
        height: 46px;
        right: 14px;
        font-size: 18px;
    }

    .gv-float-wpp,
    .btn-whatsapp { bottom: 14px; }
    .gv-float-insta,
    .btn-instagram { bottom: 72px; }
    .gv-float-home,
    .btn-catalog-circular { bottom: 130px; font-size: 18px; }

    .gv-favorite-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        top: 8px;
        right: 8px;
    }

    .gv-heart-icon {
        width: 17px;
        height: 17px;
    }

    .gv-heart-icon::before {
        font-size: 21px;
    }

    .gv-favorite-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .gv-toast {
        bottom: 18px;
        max-width: calc(100vw - 32px);
        white-space: normal;
        text-align: center;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .gv-site-header__brand { font-size: 17px; }
    .gv-cart-button { width: 36px; height: 36px; min-width: 36px; }
    .gv-menu-toggle { width: 38px; height: 38px; min-width: 38px; font-size: 21px; }
}

/* Acessibilidade: desativa scroll suave para usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
