/*
 * SITE V2 — Estilo Performance / Redfox-like
 * Usa as variáveis de tema dinâmico injetadas por includes/tema.php:
 *   --tema-primaria, --tema-secundaria, --tema-primaria-rgb, ...
 */

:root {
    --v2-bg:           #f8fafc;
    --v2-surface:      #ffffff;
    --v2-surface-2:    #f1f5f9;
    --v2-text:         #1e293b;
    --v2-text-muted:   #64748b;
    --v2-border:       rgba(0, 0, 0, 0.08);
    --v2-border-soft:  rgba(0, 0, 0, 0.05);
    --v2-radius:       16px;
    --v2-radius-sm:    10px;
    --v2-shadow:       0 12px 32px rgba(2, 6, 23, 0.08);
    --v2-shadow-lg:    0 24px 48px rgba(2, 6, 23, 0.18);
    --v2-header-h:     72px;
}

* { box-sizing: border-box; }

.v2-body {
    background-color: var(--v2-bg);
    color: var(--v2-text);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding-top: var(--v2-header-h);
}

/* -------- Loading Overlay -------- */
.v2-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--v2-bg);
    gap: 1.5rem;
    transition: opacity .6s ease, visibility .6s ease;
}
.v2-loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.v2-loading-image {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v2-loading-pulse 1.5s ease-in-out infinite;
}
.v2-loading-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}
.v2-loading-glow {
    position: absolute;
    inset: 0;
    background: rgba(var(--tema-primaria-rgb), 0.18);
    filter: blur(50px);
    border-radius: 50%;
    z-index: 0;
}
.v2-loading-text {
    color: var(--v2-text);
    font-weight: 800;
    letter-spacing: 0.2em;
    font-size: 1.05rem;
    animation: v2-loading-fade 1.5s ease-in-out infinite;
}
.v2-loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.v2-loading-bar span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--tema-primaria);
    animation: v2-loading-slide 2s linear infinite;
}
@keyframes v2-loading-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.15); opacity: 0.8; }
}
@keyframes v2-loading-fade {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}
@keyframes v2-loading-slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* -------- Header -------- */
.v2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--v2-header-h);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--v2-border-soft);
    transition: all .3s ease;
}
.v2-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
}

.v2-logo { color: var(--v2-text); }
.v2-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--tema-primaria);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}
.v2-logo-img {
    display: block;
    max-height: 48px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 575.98px) {
    .v2-logo-img {
        max-height: 40px;
        max-width: 140px;
    }
}
.v2-logo-text {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.05rem;
    text-transform: uppercase;
}
.v2-icon-instagram {
    color: var(--tema-primaria);
}
.v2-icon-instagram:hover {
    background: var(--tema-primaria);
    color: #fff;
}

.v2-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    color: var(--v2-text);
    border: 0;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color .2s, background .2s, transform .2s;
}
.v2-icon-btn:hover {
    color: var(--tema-primaria);
    background: var(--v2-surface-2);
}
.v2-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--tema-primaria);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* -------- Hero -------- */
.v2-hero {
    position: relative;
    height: 80vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
    background: #000;
}
.v2-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease, transform 6s linear;
    transform: scale(1);
    z-index: 0;
}
.v2-hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 1;
}
.v2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--v2-bg) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%);
}
.v2-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0 1rem;
}
.v2-hero-title {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    line-height: 1.05;
    text-shadow: 0 6px 30px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(22px);
}
.v2-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin: 0 auto 2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(18px);
}
.v2-body.v2-loaded .v2-hero-slide.active .v2-hero-title {
    animation: v2-hero-text-in 0.85s ease forwards;
}
.v2-body.v2-loaded .v2-hero-slide.active .v2-hero-subtitle {
    animation: v2-hero-text-in 0.85s ease 0.16s forwards;
}
@keyframes v2-hero-text-in {
    from {
        opacity: 0;
        transform: translateY(22px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
.v2-hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}
.v2-hero-dot {
    width: 44px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background .25s, width .25s;
}
.v2-hero-dot.active {
    background: var(--tema-primaria);
    width: 56px;
}

/* -------- Botões -------- */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.v2-btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.v2-btn-primary {
    background: var(--tema-primaria);
    color: #fff;
    box-shadow: 0 12px 28px rgba(var(--tema-primaria-rgb), 0.35);
}
.v2-btn-primary:hover {
    background: color-mix(in srgb, var(--tema-primaria) 85%, black);
    transform: translateY(-2px);
    color: #fff;
}
.v2-btn-soft {
    background: var(--v2-surface-2);
    color: var(--v2-text);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    text-transform: none;
}
.v2-btn-soft:hover {
    background: #e2e8f0;
    color: var(--v2-text);
}
.v2-btn-outline {
    background: transparent;
    color: var(--v2-text);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
}
.v2-btn-outline:hover {
    background: var(--v2-surface-2);
}

/* -------- Filtros -------- */
.v2-filters {
    position: sticky;
    top: var(--v2-header-h);
    z-index: 40;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--v2-border-soft);
    padding: 0.9rem 0;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.08);
}
.v2-search-input {
    width: 100%;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 999px;
    padding: 0.7rem 1rem 0.7rem 2.8rem;
    font-size: 0.95rem;
    color: var(--v2-text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.v2-search-input:focus {
    border-color: var(--tema-primaria);
    box-shadow: 0 0 0 4px rgba(var(--tema-primaria-rgb), 0.15);
}
.v2-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v2-text-muted);
}
.v2-cats {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.v2-cats::-webkit-scrollbar { display: none; }
.v2-cat-pill {
    flex: 0 0 auto;
    background: var(--v2-surface);
    color: var(--v2-text-muted);
    border: 1px solid var(--v2-border);
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
}
.v2-cat-pill:hover {
    color: var(--v2-text);
    background: var(--v2-surface-2);
}
.v2-cat-pill.active {
    background: var(--tema-primaria);
    color: #fff;
    border-color: var(--tema-primaria);
}

/* -------- Seções -------- */
.v2-section { padding: 4rem 0; }
.v2-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}
.v2-text-muted { color: var(--v2-text-muted); }
.v2-link-primary {
    color: var(--tema-primaria);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}
.v2-link-primary:hover { color: color-mix(in srgb, var(--tema-primaria) 80%, black); }

/* -------- Card de Produto -------- */
.v2-card {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border-soft);
    border-radius: var(--v2-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.v2-card:hover {
    transform: translateY(-4px);
    border-color: var(--v2-border);
    box-shadow: var(--v2-shadow-lg);
}
.v2-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--v2-surface-2);
}
.v2-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}
.v2-card:hover .v2-card-image img { transform: scale(1.08); }
.v2-badge-promo {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: var(--tema-primaria);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.v2-fav-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.v2-fav-btn:hover {
    background: rgba(0,0,0,0.7);
    color: var(--tema-primaria);
}

.v2-card-body {
    padding: 1.1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.v2-card-cat {
    font-size: 0.7rem;
    color: var(--v2-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.3rem;
}
.v2-card-title-link {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}
.v2-card-title-link:hover { color: var(--tema-primaria); }
.v2-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    color: inherit;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.v2-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.v2-card-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-bottom: 0.9rem;
}
.v2-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--v2-text);
}
.v2-price-old {
    font-size: 0.85rem;
    color: var(--v2-text-muted);
    text-decoration: line-through;
    line-height: 1.1;
}
.v2-sizes {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.v2-size-btn {
    min-width: 28px;
    height: 26px;
    padding: 0 0.45rem;
    border: 1px solid var(--v2-border);
    background: var(--v2-surface-2);
    color: var(--v2-text-muted);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: 0.02em;
}
.v2-size-btn:hover { color: var(--v2-text); border-color: rgba(0,0,0,0.2); }
.v2-size-btn.in-stock {
    background: rgba(var(--tema-primaria-rgb), 0.08);
    border-color: rgba(var(--tema-primaria-rgb), 0.22);
    color: color-mix(in srgb, var(--tema-primaria) 74%, black);
}
.v2-size-btn.in-stock:hover {
    background: rgba(var(--tema-primaria-rgb), 0.15);
    border-color: rgba(var(--tema-primaria-rgb), 0.38);
    color: var(--tema-primaria);
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(var(--tema-primaria-rgb), 0.12);
}
.v2-size-btn.out-of-stock {
    background: #f8fafc;
    border-color: var(--v2-border-soft);
    color: rgba(100, 116, 139, 0.45);
    cursor: default;
    opacity: 0.7;
    text-decoration: line-through;
}
.v2-size-btn.out-of-stock:hover {
    color: rgba(100, 116, 139, 0.45);
    border-color: var(--v2-border-soft);
    transform: none;
    box-shadow: none;
}
.v2-size-btn.active {
    background: var(--tema-primaria);
    border-color: var(--tema-primaria);
    color: #fff;
}
.v2-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: auto;
}
.v2-card-actions .v2-btn {
    padding: 0.65rem 0.5rem;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
}
.v2-card-actions .v2-btn-primary {
    box-shadow: none;
}

/* -------- Marcas -------- */
.v2-brands {
    background: var(--v2-surface);
    border-top: 1px solid var(--v2-border-soft);
    border-bottom: 1px solid var(--v2-border-soft);
    padding: 4rem 0;
}
.v2-brands-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--v2-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
}
.v2-brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0.55;
    filter: grayscale(1);
    transition: opacity .4s, filter .4s;
}
.v2-brands-list:hover {
    opacity: 1;
    filter: grayscale(0);
}
.v2-brand-item {
    font-size: clamp(1.3rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s;
}
.v2-brand-item:hover { color: var(--tema-primaria); }

/* -------- Footer -------- */
.v2-footer {
    background: var(--v2-surface);
    border-top: 1px solid var(--v2-border-soft);
    padding: 4rem 0 2rem;
    margin-top: auto;
}
.v2-footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--v2-text);
}
.v2-footer-list { padding: 0; margin: 0; }
.v2-footer-list li {
    color: var(--v2-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.v2-footer-list a {
    color: var(--v2-text-muted);
    text-decoration: none;
    transition: color .2s;
}
.v2-footer-list a:hover { color: var(--tema-primaria); }
.v2-payment-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 32px;
    padding: 0 0.6rem;
    border-radius: 6px;
    background: var(--v2-bg);
    border: 1px solid var(--v2-border);
    color: var(--v2-text);
    font-size: 0.7rem;
    font-weight: 700;
}
.v2-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--v2-bg);
    color: var(--v2-text);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.v2-social-btn:hover {
    background: var(--tema-primaria);
    color: #fff;
}
.v2-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--v2-border-soft);
}

/* -------- Floating buttons -------- */
.v2-floating {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    z-index: 60;
}
.v2-scroll-top {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--v2-border);
    background: var(--v2-surface);
    color: var(--v2-text);
    box-shadow: var(--v2-shadow);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .2s;
}
.v2-scroll-top.visible { display: inline-flex; }
.v2-scroll-top:hover { transform: translateY(-3px); background: var(--v2-surface-2); }
.v2-whatsapp {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
    transition: transform .2s, background .2s;
}
.v2-whatsapp:hover { background: #1ebe57; transform: translateY(-3px); color: #fff; }

/* -------- Product Page -------- */
.v2-product-page {
    padding: 2.5rem 0 4rem;
}

.v2-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--v2-text-muted);
    margin-bottom: 2rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.v2-breadcrumb::-webkit-scrollbar { display: none; }
.v2-breadcrumb a {
    color: var(--v2-text-muted);
    text-decoration: none;
    transition: color .2s;
}
.v2-breadcrumb a:hover { color: var(--v2-text); }
.v2-breadcrumb-current {
    color: var(--v2-text);
    font-weight: 600;
}
.v2-breadcrumb i { font-size: 0.65rem; opacity: 0.6; }

/* -------- Category Page -------- */
.v2-category-page {
    background: var(--v2-bg);
}
.v2-category-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 2.2rem 0 3.2rem;
    background:
        linear-gradient(135deg, rgba(var(--tema-primaria-rgb), 0.12), rgba(15, 23, 42, 0.02)),
        var(--v2-surface);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.v2-category-hero.has-image {
    color: #fff;
}
.v2-category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.32) 55%, rgba(2, 6, 23, 0.08));
    opacity: 0;
    pointer-events: none;
}
.v2-category-hero.has-image .v2-category-hero-overlay {
    opacity: 1;
}
.v2-category-hero .container {
    position: relative;
    z-index: 1;
}
.v2-category-breadcrumb {
    margin-bottom: 1.6rem;
}
.v2-category-hero.has-image .v2-category-breadcrumb,
.v2-category-hero.has-image .v2-category-breadcrumb a,
.v2-category-hero.has-image .v2-breadcrumb-current {
    color: rgba(255, 255, 255, 0.88);
}
.v2-category-parent-link {
    font-weight: 700;
    text-transform: uppercase;
}
.v2-category-parent-link:hover {
    color: var(--tema-primaria) !important;
}
.v2-category-hero-content {
    max-width: 720px;
}
.v2-category-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(var(--tema-primaria-rgb), 0.14);
    color: var(--tema-primaria);
    padding: 0.35rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
}
.v2-category-hero.has-image .v2-category-kicker {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.v2-category-title {
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 1rem;
}
.v2-category-subtitle {
    max-width: 560px;
    color: var(--v2-text-muted);
    font-size: 1.05rem;
    margin: 0 0 1.2rem;
}
.v2-category-hero.has-image .v2-category-subtitle {
    color: rgba(255, 255, 255, 0.82);
}
.v2-category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.v2-category-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border-soft);
    color: var(--v2-text);
    padding: 0.45rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}
.v2-category-hero.has-image .v2-category-stats span {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(10px);
}
.v2-category-toolbar {
    position: sticky;
    top: var(--v2-header-h);
    z-index: 42;
    padding: 0.95rem 0;
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid var(--v2-border-soft);
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.v2-category-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 0.9rem;
    align-items: center;
}
.v2-category-select-wrap {
    position: relative;
}
.v2-category-select-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v2-text-muted);
    pointer-events: none;
}
.v2-category-select {
    width: 100%;
    min-height: 45px;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 999px;
    color: var(--v2-text);
    padding: 0.7rem 2.7rem 0.7rem 2.7rem;
    font-size: 0.92rem;
    font-weight: 600;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.v2-category-select:focus {
    border-color: var(--tema-primaria);
    box-shadow: 0 0 0 4px rgba(var(--tema-primaria-rgb), 0.15);
}
.v2-category-select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
@media (max-width: 767.98px) {
    .v2-category-hero {
        min-height: 300px;
        padding: 1.5rem 0 2.3rem;
    }
    .v2-category-filter-grid {
        grid-template-columns: 1fr;
    }
}

/* Galeria */
.v2-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
}
@media (min-width: 768px) {
    .v2-gallery { flex-direction: row; }
}
.v2-gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}
.v2-gallery-thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
    .v2-gallery-thumbs {
        flex-direction: column;
        width: 92px;
        max-height: 600px;
        overflow-y: auto;
    }
}
.v2-gallery-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 80px;
    aspect-ratio: 3 / 4;
    background: var(--v2-surface-2);
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color .2s, opacity .2s;
    opacity: 0.6;
}
@media (min-width: 768px) {
    .v2-gallery-thumb { width: 100%; }
}
.v2-gallery-thumb:hover { opacity: 1; }
.v2-gallery-thumb.active {
    border-color: var(--tema-primaria);
    opacity: 1;
}
.v2-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v2-gallery-main {
    position: relative;
    flex: 1;
    aspect-ratio: 4 / 5;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border-soft);
    border-radius: var(--v2-radius);
    overflow: hidden;
}
@media (min-width: 768px) {
    .v2-gallery-main { aspect-ratio: auto; height: 600px; }
}
.v2-gallery-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .35s ease;
    overflow: hidden;
    pointer-events: none;
}
.v2-gallery-main-img.active {
    opacity: 1;
    pointer-events: auto;
}
.v2-gallery-zoom { cursor: zoom-in; }
.v2-gallery-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
    transform-origin: center center;
    will-change: transform;
}
.v2-gallery-zoom:hover img {
    transform: scale(2);
    transition-duration: .15s;
}

/* Setas de navegação */
.v2-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    color: var(--v2-text);
    cursor: pointer;
    z-index: 3;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity .25s ease, background .2s, color .2s, transform .2s;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.18);
}
.v2-gallery-main:hover .v2-gallery-nav { opacity: 1; }
.v2-gallery-nav:hover {
    background: #fff;
    color: var(--tema-primaria);
}
.v2-gallery-prev { left: 1rem; }
.v2-gallery-next { right: 1rem; }
@media (hover: none) {
    .v2-gallery-nav { opacity: 1; }
}
.v2-gallery-fav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    font-size: 1.1rem;
    transition: background .2s, color .2s;
}
.v2-gallery-fav:hover { background: rgba(0,0,0,0.7); color: var(--tema-primaria); }
.v2-gallery-discount {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--tema-primaria);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 8px 22px rgba(var(--tema-primaria-rgb), 0.3);
}

/* Info */
.v2-product-info { display: flex; flex-direction: column; }

.v2-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}
.v2-stars {
    display: inline-flex;
    gap: 0.15rem;
    color: #facc15;
    font-size: 0.95rem;
}

.v2-product-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--v2-text);
    margin: 0 0 1rem;
}

.v2-product-prices {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin-bottom: 0.4rem;
}
.v2-product-price {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--tema-primaria);
}
.v2-product-price-old {
    font-size: 1.05rem;
    color: var(--v2-text-muted);
    text-decoration: line-through;
}
.v2-product-installment {
    color: #059669;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.v2-stock-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(var(--tema-primaria-rgb), 0.18);
    border-radius: 8px;
    background: rgba(var(--tema-primaria-rgb), 0.06);
    color: var(--v2-text);
}
.v2-stock-alert-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    background: var(--tema-primaria);
    color: #fff;
}
.v2-stock-alert strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.v2-stock-alert p {
    margin: 0;
    color: var(--v2-text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.v2-divider {
    border: 0;
    border-top: 1px solid var(--v2-border);
    margin: 1.6rem 0;
}

.v2-option-group { margin-bottom: 1.6rem; }
.v2-option-label {
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 0.7rem;
}
.v2-option-label .v2-text-muted { font-weight: 400; }

.v2-colors {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.v2-color-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    padding: 0;
}
.v2-color-btn:hover { transform: scale(1.08); }
.v2-color-btn.active {
    border-color: var(--tema-primaria);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(var(--tema-primaria-rgb), 0.15);
}

.v2-size-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}
.v2-size-pill {
    padding: 0.85rem 0.4rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    color: var(--v2-text);
    cursor: pointer;
    transition: all .2s;
}
.v2-size-pill:hover:not(.disabled):not(.active) {
    border-color: var(--tema-primaria);
    color: var(--tema-primaria);
}
.v2-size-pill.in-stock {
    background: rgba(var(--tema-primaria-rgb), 0.08);
    border-color: rgba(var(--tema-primaria-rgb), 0.24);
    color: color-mix(in srgb, var(--tema-primaria) 72%, black);
}
.v2-size-pill.in-stock:hover:not(.active) {
    background: rgba(var(--tema-primaria-rgb), 0.15);
    border-color: rgba(var(--tema-primaria-rgb), 0.42);
    color: var(--tema-primaria);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(var(--tema-primaria-rgb), 0.14);
}
.v2-size-pill.active {
    background: var(--tema-primaria);
    border-color: var(--tema-primaria);
    color: #fff;
}
.v2-size-pill.disabled {
    background: #f8fafc;
    border-color: var(--v2-border-soft);
    color: rgba(100, 116, 139, 0.42);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.72;
}
.v2-size-pill.disabled:hover {
    transform: none;
    box-shadow: none;
}
.v2-size-warning {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.6rem 0 0;
}
.v2-size-warning.shake { animation: v2-shake 0.4s ease; }
@keyframes v2-shake {
    0%,100% { transform: translateX(0); }
    25%     { transform: translateX(-4px); }
    50%     { transform: translateX(4px); }
    75%     { transform: translateX(-4px); }
}

.v2-actions-row {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0 1.6rem;
}
@media (min-width: 576px) {
    .v2-actions-row { flex-direction: row; }
}
.v2-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    flex-shrink: 0;
}
@media (min-width: 576px) {
    .v2-qty { width: 140px; }
}
.v2-qty-btn {
    background: transparent;
    border: 0;
    color: var(--v2-text-muted);
    width: 36px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color .2s;
}
.v2-qty-btn:hover { color: var(--v2-text); }
.v2-qty-value {
    font-weight: 800;
    font-size: 1.05rem;
    min-width: 28px;
    text-align: center;
}
.v2-btn-cart {
    flex: 1;
    padding: 1rem 1.6rem;
    font-size: 1rem;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.v2-btn-cart.added {
    background: #059669;
    box-shadow: 0 12px 28px rgba(5, 150, 105, 0.3);
}

.v2-share-wpp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background .2s;
}
.v2-share-wpp:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
}
.v2-share-wpp i { font-size: 1.2rem; }

.v2-shipping {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    height: 100%;
}
.v2-shipping i {
    color: var(--tema-primaria);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.v2-product-desc { margin-top: 1.2rem; }
.v2-product-desc-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 0.8rem;
}
.v2-product-desc-title i { color: var(--tema-primaria); }
.v2-product-desc p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}
.v2-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.v2-feature-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--v2-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.v2-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--tema-primaria);
}

/* -------- Scrollbar -------- */
.v2-body::-webkit-scrollbar { width: 8px; }
.v2-body::-webkit-scrollbar-track { background: var(--v2-bg); }
.v2-body::-webkit-scrollbar-thumb { background: var(--v2-surface-2); border-radius: 999px; }
.v2-body::-webkit-scrollbar-thumb:hover { background: var(--tema-primaria); }

/* -------- Responsivo -------- */
@media (max-width: 767.98px) {
    .v2-hero { height: 70vh; min-height: 480px; }
    .v2-section { padding: 3rem 0; }
    .v2-products-section { padding-left: 0.75rem; padding-right: 0.75rem; }
    .v2-cats { width: 100%; }
    .v2-products-section .v2-card-actions { grid-template-columns: 1fr 2fr; }
    .v2-products-section .v2-card-actions .v2-btn-soft span { display: none; }
}

/* -------- Spinner premium do grid de produtos -------- */
.v2-products-wrapper { min-height: 220px; }
.v2-products-wrapper #v2ProdutosGrid.carregando {
    opacity: 0.35;
    pointer-events: none;
    transition: opacity .25s ease;
    filter: blur(0.5px);
}
.v2-products-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 5;
}
.v2-products-spinner.ativo { opacity: 1; }
.v2-spinner-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(0,0,0,0.08);
    border-top-color: var(--tema-primaria);
    border-right-color: var(--tema-primaria);
    animation: v2-spin 0.8s linear infinite;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    position: relative;
}
.v2-spinner-ring::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: var(--tema-primaria);
    opacity: 0.6;
    animation: v2-spin 1.4s linear reverse infinite;
}
@keyframes v2-spin {
    to { transform: rotate(360deg); }
}

/* -------- Card: ações em modo "ver detalhes" único -------- */
.v2-card-actions.v2-card-actions-single { grid-template-columns: 1fr; }
.v2-card-actions.v2-card-actions-single .v2-btn-detalhes-cheio {
    display: flex !important;
    width: 100%;
    justify-content: center;
    background: var(--tema-primaria);
    color: #fff;
}
.v2-card-actions.v2-card-actions-single .v2-btn-detalhes-cheio:hover {
    background: var(--tema-primaria);
    filter: brightness(0.95);
}

/* -------- Página do produto: ajustes -------- */
.v2-product-brand { margin-top: -0.25rem; }
.v2-product-price-range { font-size: 1.1rem; opacity: 0.75; }
.v2-product-desc-body { line-height: 1.65; }

/* -------- Produtos relacionados -------- */
.v2-related-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--v2-border-soft);
}
.v2-related-section .v2-section-title { margin-bottom: 0.25rem; }

/* -------- Animação de entrada dos cards -------- */
.v2-card-anim {
    opacity: 0;
    transform: translateY(14px);
    animation: v2-card-fade-in 0.5s ease-out forwards;
}
@keyframes v2-card-fade-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------- Paginação premium do grid de produtos -------- */
.v2-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}
.v2-pagination-wrapper:empty { display: none; }
.v2-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem;
    border: 1px solid var(--v2-border-soft);
    border-radius: 999px;
    background: var(--v2-surface);
}
.v2-page-btn {
    appearance: none;
    border: 1px solid transparent;
    background: transparent;
    color: var(--v2-text-muted);
    min-width: 38px;
    height: 38px;
    padding: 0 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: color .2s, background-color .2s, border-color .2s;
}
.v2-page-btn:hover:not(:disabled):not(.active) {
    color: var(--tema-primaria);
    background: rgba(0,0,0,0.03);
}
.v2-page-btn.active {
    background: var(--tema-primaria);
    color: #fff;
    border-color: var(--tema-primaria);
    cursor: default;
}
.v2-page-btn:disabled,
.v2-page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.v2-page-nav { padding: 0 1rem; }
.v2-page-nav i { font-size: 0.7rem; }
.v2-page-ellipsis {
    color: var(--v2-text-muted);
    padding: 0 0.25rem;
    user-select: none;
    font-weight: 600;
}
@media (max-width: 575.98px) {
    .v2-pagination { gap: 0.25rem; padding: 0.3rem; }
    .v2-page-btn { min-width: 34px; height: 34px; padding: 0 0.6rem; font-size: 0.75rem; }
    .v2-page-nav span { display: none; }
    .v2-page-nav { padding: 0 0.6rem; }
}

/* -------- Pills das categorias com scroll horizontal no mobile -------- */
.v2-cats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
@media (max-width: 767.98px) {
    .v2-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .v2-cats::-webkit-scrollbar { display: none; }
    .v2-cat-pill { flex-shrink: 0; }
}

/* =================================================================
   SEÇÕES DINÂMICAS — site_secao
   Cor de destaque (.v2-secao-destaque) usada em todos os modelos.
   ================================================================= */
.v2-secao-destaque { color: var(--tema-primaria); }

/* -------- MODELO 01 | Banner horizontal + Grid -------- */
.v2-secao01-banner {
    position: relative;
    width: 100%;
    height: 12rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .v2-secao01-banner { height: 16rem; }
}
.v2-secao01-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.v2-secao01-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.v2-secao01-banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(30, 41, 59, 0.9) 0%,
        rgba(30, 41, 59, 0.6) 50%,
        rgba(30, 41, 59, 0) 100%
    );
}
.v2-secao01-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}
.v2-secao01-banner-topo {
    color: var(--tema-primaria);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .v2-secao01-banner-topo { font-size: 0.8rem; }
}
.v2-secao01-banner-titulo {
    font-size: clamp(1.7rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    max-width: 32rem;
    margin: 0;
}

/* -------- MODELO 01 | Conteúdo -------- */
.v2-secao01 { background: var(--v2-surface); }
.v2-secao01-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .v2-secao01-header {
        flex-direction: row;
        align-items: center;
    }
}
.v2-secao01-header-text { max-width: 36rem; }
.v2-secao01-titulo {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--v2-text);
    text-transform: uppercase;
    margin: 0 0 1rem;
    line-height: 1.05;
}
.v2-secao01-descricao {
    font-size: 1.05rem;
    color: var(--v2-text-muted);
    margin: 0;
    line-height: 1.5;
}
.v2-secao01-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid var(--v2-text);
    color: var(--v2-text);
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    transition: background-color .2s, color .2s;
}
.v2-secao01-cta:hover {
    background: var(--v2-text);
    color: #fff;
}
.v2-secao01-cta i { font-size: 0.7rem; }

/* -------- MODELO 02 | Faixa escura + Grid -------- */
.v2-secao02 {
    background: #1e293b;
    color: #fff;
    padding: 5rem 0;
}
@media (min-width: 768px) {
    .v2-secao02 { padding: 6rem 0; }
}
.v2-secao02-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 4rem;
}
.v2-secao02-pill {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.v2-secao02-titulo {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.5rem;
    line-height: 1.05;
}
.v2-secao02-titulo .v2-secao-destaque { color: var(--tema-primaria); }
.v2-secao02-descricao {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
    line-height: 1.5;
}
.v2-secao02-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--tema-primaria);
    transition: color .2s;
}
.v2-secao02-cta:hover { color: var(--tema-primaria); }
.v2-secao02-cta i { font-size: 0.7rem; }

/* Garante que os cards do modelo 02 não herdem a cor branca da faixa escura */
.v2-secao02-grid .v2-card { color: var(--v2-text); }
.v2-secao02-grid .v2-card-title-link,
.v2-secao02-grid .v2-card-title { color: var(--v2-text); }
.v2-secao02-grid .v2-card-cat   { color: var(--v2-text-muted); }
.v2-secao02-grid .v2-price      { color: var(--v2-text); }
.v2-secao02-grid .v2-price-old  { color: var(--v2-text-muted); }
.v2-secao02-grid .v2-card-title-link:hover,
.v2-secao02-grid .v2-card-title-link:hover .v2-card-title { color: var(--tema-primaria); }

/* -------- MODELO 03 | Asymmetrical Split -------- */
.v2-secao03 {
    background: var(--v2-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5rem 0;
}
@media (min-width: 768px) {
    .v2-secao03 { padding: 6rem 0; }
}

/* Layout assimétrico: sidebar 1/3 + produtos 2/3 */
.v2-secao03-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
@media (min-width: 992px) {
    .v2-secao03-layout {
        flex-direction: row;
        gap: 3rem;
    }
    .v2-secao03-sidebar  { flex: 0 0 33.333%; max-width: 33.333%; }
    .v2-secao03-produtos { flex: 0 0 66.666%; max-width: 66.666%; }
}

/* Sidebar sticky */
.v2-secao03-sidebar-inner {
    position: sticky;
    /* header (72px) + altura aproximada da barra de filtros sticky + folga */
    top: calc(var(--v2-header-h) + 90px);
}
.v2-secao03-barra {
    width: 4rem;
    height: 6px;
    background: var(--tema-primaria);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.v2-secao03-titulo {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--v2-text);
    text-transform: uppercase;
    line-height: 1.0;
    margin: 0 0 1.5rem;
}
.v2-secao03-descricao {
    font-size: 1.05rem;
    color: var(--v2-text-muted);
    line-height: 1.6;
    margin: 0 0 2rem;
}
.v2-secao03-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--v2-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    transition: color .2s;
}
.v2-secao03-cta:hover { color: var(--tema-primaria); }
.v2-secao03-cta-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    font-size: 0.75rem;
}
.v2-secao03-cta:hover .v2-secao03-cta-icon {
    background: rgba(var(--tema-primaria-rgb), 0.18);
}

/* -------- MODELO 04 | Modern Staggered Layout -------- */
.v2-secao04 {
    background: var(--v2-surface);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .v2-secao04 { padding: 8rem 0; }
}

/* Texto gigante decorativo de fundo */
.v2-secao04-bg-text {
    position: absolute;
    top: 2.5rem;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    line-height: 1;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
    user-select: none;
    display: flex;
    justify-content: center;
}
.v2-secao04-bg-text span {
    font-size: 12rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: -0.04em;
    color: var(--v2-text);
    line-height: 1;
}
@media (min-width: 768px) {
    .v2-secao04-bg-text span { font-size: 22rem; }
}

.v2-secao04-content {
    position: relative;
    z-index: 1;
}

/* Header centralizado */
.v2-secao04-header {
    text-align: center;
    margin-bottom: 4rem;
}
@media (min-width: 768px) {
    .v2-secao04-header { margin-bottom: 6rem; }
}
.v2-secao04-titulo {
    font-size: clamp(2.2rem, 6vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--v2-text);
    text-transform: uppercase;
    line-height: 1.0;
    margin: 0 0 1rem;
}
.v2-secao04-barra {
    width: 6rem;
    height: 6px;
    background: var(--tema-primaria);
    border-radius: 999px;
    margin: 0 auto 1.5rem;
}
.v2-secao04-descricao {
    font-size: 1.05rem;
    color: var(--v2-text-muted);
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

/* Grid escalonado: ímpares descem 4rem (somente desktop) */
.v2-secao04-cell { transition: all .5s; }
@media (min-width: 992px) {
    .v2-secao04-cell-deslocado { margin-top: 4rem; }
}

/* CTA inferior */
.v2-secao04-rodape {
    text-align: center;
    margin-top: 3rem;
}
@media (min-width: 768px) {
    .v2-secao04-rodape { margin-top: 6rem; }
}
.v2-secao04-cta {
    display: inline-block;
    background: var(--v2-text);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.15);
    transition: background-color .25s, transform .25s, box-shadow .25s;
}
.v2-secao04-cta:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
}

/* -------- MODELO 05 | Editorial Split -------- */
.v2-secao05 {
    background: #0f172a;
    color: #fff;
}
.v2-secao05-layout {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}
@media (min-width: 992px) {
    .v2-secao05-layout { flex-direction: row; }
}

/* Coluna da imagem */
.v2-secao05-imagem {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}
@media (min-width: 992px) {
    .v2-secao05-imagem {
        width: 50%;
        min-height: auto;
    }
}
.v2-secao05-imagem img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.v2-secao05-imagem-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* Coluna do conteúdo */
.v2-secao05-conteudo {
    width: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    padding: 3rem 1.5rem;
}
@media (min-width: 768px) {
    .v2-secao05-conteudo { padding: 6rem; }
}
@media (min-width: 992px) {
    .v2-secao05-conteudo { width: 50%; }
}
.v2-secao05-conteudo-inner { max-width: 36rem; }

.v2-secao05-pretitulo {
    display: block;
    color: var(--tema-primaria);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.v2-secao05-titulo {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 2rem;
}
.v2-secao05-titulo-fade {
    color: rgba(255, 255, 255, 0.5);
}
.v2-secao05-descricao {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 300;
    margin: 0 0 2.5rem;
}

.v2-secao05-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    transition: color .2s;
}
.v2-secao05-cta:hover { color: var(--tema-primaria); }
.v2-secao05-cta-icon {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .25s, background .25s;
    font-size: 0.9rem;
}
.v2-secao05-cta:hover .v2-secao05-cta-icon {
    border-color: var(--tema-primaria);
    background: rgba(var(--tema-primaria-rgb), 0.1);
}

/* -------- MODELO 06 | Banner full + Carrossel -------- */
.v2-secao06 {
    background: var(--v2-bg);
    padding: 4.5rem 0;
    overflow: hidden;
}
.v2-secao06-banner-box {
    margin-bottom: 1.5rem;
}
.v2-secao06-banner {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    color: #D3D3D4;
    text-decoration: none;
    background: var(--v2-surface-2);
}
.v2-secao06-banner-img {
    display: block;
    width: 100%;
    height: auto;
}
.v2-secao06-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.03), rgba(248, 250, 252, 0.38));
    pointer-events: none;
}
.v2-secao06-banner-texto {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: min(48vw, 620px);
    color: #D3D3D4;
    opacity: 0.4;
    font-size: clamp(2rem, 6vw, 5.8rem);
    font-weight: 900;
    line-height: 0.95;
    text-align: right;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.v2-secao06-produtos {
    margin-top: 0;
}
.v2-secao06-carousel {
    position: relative;
}
.v2-secao06-track {
    --v2-secao06-gap: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (4 * var(--v2-secao06-gap))) / 5);
    gap: var(--v2-secao06-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.35rem 0 0.8rem;
}
.v2-secao06-track::-webkit-scrollbar { display: none; }
.v2-secao06-slide {
    min-width: 0;
    scroll-snap-align: start;
}
.v2-secao06-slide .v2-card {
    height: 100%;
}
.v2-secao06-slide .v2-card-actions .v2-btn-soft span {
    display: none;
}
.v2-secao06-slide .v2-card-actions .v2-btn-soft {
    min-width: 44px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.v2-secao06-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--v2-text);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: transform .2s, background .2s, color .2s, opacity .2s;
}
.v2-secao06-nav:hover:not(:disabled) {
    background: var(--tema-primaria);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.v2-secao06-nav:disabled {
    opacity: 0;
    pointer-events: none;
}
.v2-secao06-prev { left: -23px; }
.v2-secao06-next { right: -23px; }

@media (max-width: 767.98px) {
    .v2-secao06 {
        padding: 3rem 0;
    }
    .v2-secao06-banner-texto {
        right: 1rem;
        width: min(68vw, 340px);
        font-size: clamp(1.7rem, 12vw, 3.8rem);
    }
    .v2-secao06-track {
        --v2-secao06-gap: 0.85rem;
        grid-auto-columns: calc((100% - var(--v2-secao06-gap)) / 2);
    }
    .v2-secao06-prev { left: 0.35rem; }
    .v2-secao06-next { right: 0.35rem; }
    .v2-secao06-nav {
        width: 40px;
        height: 40px;
    }
}

/* -------- MODELO 07 | Banner lateral + Carrossel -------- */
.v2-secao07 {
    background: var(--v2-bg);
    padding: 4.5rem 0;
    overflow: hidden;
}
.v2-secao07-layout {
    display: grid;
    grid-template-columns: minmax(260px, 32%) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    background: #fff;
    border: 1px solid var(--v2-border-soft);
    border-radius: var(--v2-radius);
    box-shadow: var(--v2-shadow);
    padding: 1.25rem;
    overflow: hidden;
}
.v2-secao07-banner {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    min-height: 1px;
    overflow: hidden;
    background: transparent;
    text-decoration: none;
}
.v2-secao07-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top left;
}
.v2-secao07-produtos {
    min-width: 0;
}
.v2-secao07-carousel {
    position: relative;
}
.v2-secao07-track {
    --v2-secao07-gap: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (3 * var(--v2-secao07-gap))) / 4);
    gap: var(--v2-secao07-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.35rem 0 0.8rem;
    align-items: start;
}
.v2-secao07-track::-webkit-scrollbar { display: none; }
.v2-secao07-slide {
    min-width: 0;
    scroll-snap-align: start;
}
.v2-secao07-slide .v2-card {
    height: 100%;
    box-shadow: none;
}
.v2-secao07-slide .v2-card:hover {
    box-shadow: none;
}
.v2-secao07-slide .v2-card-actions .v2-btn-soft span {
    display: none;
}
.v2-secao07-slide .v2-card-actions .v2-btn-soft {
    min-width: 44px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.v2-secao07-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--v2-text);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: transform .2s, background .2s, color .2s, opacity .2s;
}
.v2-secao07-nav:hover:not(:disabled) {
    background: var(--tema-primaria);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.v2-secao07-nav:disabled {
    opacity: 0;
    pointer-events: none;
}
.v2-secao07-prev { left: -23px; }
.v2-secao07-next { right: -23px; }

@media (max-width: 991.98px) {
    .v2-secao07-layout {
        grid-template-columns: 1fr;
    }
    .v2-secao07-banner {
        height: auto;
    }
    .v2-secao07-banner img {
        height: auto;
        object-fit: initial;
    }
}

@media (max-width: 767.98px) {
    .v2-secao07 {
        padding: 3rem 0;
    }
    .v2-secao07-layout {
        padding: 1rem;
        border-radius: var(--v2-radius-sm);
    }
    .v2-secao07-track {
        --v2-secao07-gap: 0.85rem;
        grid-auto-columns: 100%;
    }
    .v2-secao07-prev { left: 0.35rem; }
    .v2-secao07-next { right: 0.35rem; }
    .v2-secao07-nav {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE — SITE V2
   Garante espaçamento lateral adequado para não colapsar nas bordas da tela
   ========================================================================== */
@media (max-width: 767.98px) {

    /* Padding lateral global para containers Bootstrap no mobile */
    .container,
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Barra de filtros: padding lateral interno para não vazar */
    .v2-filters {
        padding: 0.75rem 0;
    }

    .v2-filters .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Campo de busca: ocupa toda a largura disponível */
    .v2-search {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Seções de produtos e conteúdo geral */
    .v2-section {
        padding: 2.5rem 0;
    }

    /* Grid de categorias (pills): adiciona padding lateral para não cortar */
    .v2-cats {
        padding-left: 0;
        padding-right: 0;
    }

    /* Seção de marcas parceiras */
    .v2-brands {
        padding: 2.5rem 0;
    }

    /* Footer */
    .v2-footer {
        padding: 2.5rem 0 1.5rem;
    }

    /* Botões flutuantes — afasta da borda direita */
    .v2-floating {
        right: 14px;
        bottom: 14px;
    }

    /* Paginação — sem vazar lateralmente */
    .v2-pagination-wrapper {
        padding: 0 0.25rem;
    }

    /* Hero — reduz tamanho mínimo em mobile */
    .v2-hero {
        min-height: 380px;
        height: 55vh;
    }
}

/* =============================================================
 * SACOLA / CARRINHO (V2)
 * ============================================================= */

.v2-sacola-page {
    padding: 2rem 0 4rem;
}
.v2-sacola-header {
    margin-bottom: 1.75rem;
}
.v2-sacola-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}
.v2-sacola-titulo {
    color: var(--tema-primaria) !important;
}

.v2-sacola-card {
    background: var(--v2-surface);
    border-radius: var(--v2-radius);
    border: 1px solid var(--v2-border-soft);
    box-shadow: var(--v2-shadow);
    overflow: hidden;
}
.v2-sacola-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--v2-border-soft);
    background: linear-gradient(135deg, rgba(var(--tema-primaria-rgb), 0.06), rgba(var(--tema-primaria-rgb), 0));
}
.v2-sacola-card-head h3 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--v2-text);
}
.v2-sacola-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}
.v2-sacola-clear:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-1px);
}

.v2-sacola-itens {
    display: flex;
    flex-direction: column;
}
.v2-sacola-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1.1rem;
    padding: 1.1rem 1.4rem;
    align-items: center;
    border-bottom: 1px solid var(--v2-border-soft);
    animation: v2-sacola-fade .35s ease both;
}
.v2-sacola-item:last-child { border-bottom: 0; }

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

.v2-sacola-item-foto {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--v2-surface-2);
    border: 1px solid var(--v2-border-soft);
}
.v2-sacola-item-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.v2-sacola-item-foto:hover img { transform: scale(1.06); }
.v2-sacola-item-info { min-width: 0; }
.v2-sacola-item-nome {
    color: var(--v2-text);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.v2-sacola-item-nome:hover { color: var(--tema-primaria); }
.v2-sacola-item-var {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--v2-text-muted);
}
.v2-sacola-item-var strong {
    color: var(--v2-text);
    font-weight: 700;
}
.v2-sacola-item-preco {
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: var(--v2-text-muted);
}
.v2-sacola-item-estoque {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.v2-sacola-item-estoque.limite {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
}
.v2-qty-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
}
.v2-sacola-item-acoes {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.v2-sacola-item-subtotal {
    font-weight: 800;
    color: var(--v2-text);
    min-width: 90px;
    text-align: right;
}
.v2-sacola-item-remover {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.06);
    color: #dc2626;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .2s;
}
.v2-sacola-item-remover:hover {
    background: #dc2626;
    color: #fff;
    transform: rotate(8deg);
}

/* Qty compacto */
.v2-qty-sm {
    border-radius: 999px;
    border: 1px solid var(--v2-border);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}
.v2-qty-sm .v2-qty-btn {
    width: 32px;
    height: 32px;
    background: var(--v2-surface);
    border: 0;
    color: var(--v2-text);
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s;
}
.v2-qty-sm .v2-qty-btn:hover { background: var(--v2-surface-2); }
.v2-qty-sm .v2-qty-value {
    min-width: 36px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Vazio */
.v2-sacola-vazio {
    text-align: center;
    padding: 3.5rem 1.5rem;
}
.v2-sacola-vazio-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--tema-primaria-rgb), 0.12), rgba(var(--tema-primaria-rgb), 0.02));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--tema-primaria);
}
.v2-sacola-vazio h4 {
    font-weight: 800;
    margin-bottom: 0.4rem;
}

/* Resumo */
.v2-sacola-resumo {
    position: sticky;
    top: calc(var(--v2-header-h) + 1rem);
    background: var(--v2-surface);
    border-radius: var(--v2-radius);
    border: 1px solid var(--v2-border-soft);
    box-shadow: var(--v2-shadow);
    padding: 1.4rem;
}
.v2-sacola-resumo-disabled {
    opacity: 0.65;
    pointer-events: none;
}
.v2-sacola-resumo-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
    color: var(--v2-text);
}

.v2-sacola-cupom {
    margin-bottom: 0.25rem;
}
.v2-sacola-cupom-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--v2-text-muted);
    font-weight: 600;
    margin-bottom: 0.45rem;
}
.v2-sacola-cupom-row {
    display: flex;
    gap: 0.5rem;
}
.v2-sacola-cupom-input {
    flex: 1;
    background: var(--v2-surface-2);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
    color: var(--v2-text);
    text-transform: uppercase;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.v2-sacola-cupom-input:focus {
    border-color: var(--tema-primaria);
    box-shadow: 0 0 0 4px rgba(var(--tema-primaria-rgb), 0.15);
}
.v2-sacola-cupom-btn {
    background: var(--v2-text);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 0 1.2rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.v2-sacola-cupom-btn:hover {
    background: var(--tema-primaria);
    transform: translateY(-1px);
}
.v2-sacola-cupom-msg {
    margin-top: 0.55rem;
    font-size: 0.82rem;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
}
.v2-sacola-cupom-msg-ok {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.v2-divider {
    border: 0;
    height: 1px;
    background: var(--v2-border-soft);
    margin: 1.1rem 0;
}
.v2-sacola-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    color: var(--v2-text);
    font-size: 0.92rem;
}
.v2-sacola-line strong { font-weight: 700; }
.v2-sacola-line-desconto {
    color: #15803d;
    font-weight: 600;
}
.v2-sacola-line-desconto em {
    font-style: normal;
    font-weight: 700;
    margin-left: 0.2rem;
}
.v2-sacola-line-total {
    margin-top: 0.4rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--v2-border);
    font-size: 1rem;
}
.v2-sacola-total {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--tema-primaria);
    letter-spacing: 0.01em;
}

.v2-sacola-btn-whatsapp {
    width: 100%;
    margin-top: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: 0;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.35);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.v2-sacola-btn-whatsapp i { font-size: 1.4rem; }
.v2-sacola-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(34, 197, 94, 0.45);
    filter: brightness(1.05);
}

.v2-sacola-continuar {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    color: var(--v2-text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    font-weight: 600;
}
.v2-sacola-continuar:hover { color: var(--tema-primaria); }
.v2-sacola-seguranca {
    margin: 1.2rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--v2-border-soft);
    font-size: 0.8rem;
    color: var(--v2-text-muted);
    line-height: 1.45;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.v2-sacola-seguranca i { color: #15803d; margin-top: 2px; }

.v2-cart-badge-zero { background: var(--v2-text-muted) !important; }

/* =============================================================
 * SweetAlert2 — visual premium (modal "adicionado à sacola")
 * ============================================================= */
.swal2-container .v2-swal-popup {
    border-radius: 20px !important;
    padding: 1.4rem !important;
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.25) !important;
}
.v2-swal-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    text-align: left;
    align-items: center;
}
.v2-swal-foto {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--v2-surface-2);
    border: 1px solid var(--v2-border-soft);
}
.v2-swal-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v2-swal-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}
.v2-swal-titulo {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--v2-text);
    margin: 0 0 0.35rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.v2-swal-variacao {
    font-size: 0.82rem;
    color: var(--v2-text-muted);
    margin-bottom: 0.25rem;
}
.v2-swal-preco {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tema-primaria);
}
.v2-swal-btn-primary {
    border-radius: 999px !important;
    padding: 0.7rem 1.3rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.v2-swal-btn-soft {
    border-radius: 999px !important;
    padding: 0.7rem 1.3rem !important;
    color: var(--v2-text) !important;
    background: var(--v2-surface-2) !important;
    font-weight: 700 !important;
    text-transform: none !important;
}
@keyframes v2-swal-show-anim {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
@keyframes v2-swal-hide-anim {
    from { opacity: 1; transform: scale(1);   }
    to   { opacity: 0; transform: scale(.97); }
}
.v2-swal-show { animation: v2-swal-show-anim .25s ease both; }
.v2-swal-hide { animation: v2-swal-hide-anim .2s  ease both; }

/* =============================================================
 * Responsivo (Sacola)
 * ============================================================= */
@media (max-width: 768px) {
    .v2-sacola-page { padding: 1.25rem 0 3rem; }
    .v2-sacola-hero { flex-direction: column; align-items: flex-start; }
    .v2-sacola-card-head { padding: 1rem 1rem; }
    .v2-sacola-item {
        grid-template-columns: 80px 1fr;
        gap: 0.85rem;
        padding: 1rem;
    }
    .v2-sacola-item-foto { width: 80px; height: 80px; }
    .v2-sacola-item-acoes {
        grid-column: 1 / -1;
        justify-content: space-between;
        margin-top: 0.5rem;
    }
    .v2-sacola-item-subtotal { min-width: auto; }
    .v2-sacola-resumo { position: static; }
    .v2-swal-card { grid-template-columns: 1fr; text-align: center; }
    .v2-swal-foto { margin: 0 auto; }
}

/* =========================================================
   CATEGORIAS DESTAQUE (v2-cat-showcase)
   - Tiles circulares com efeito zoom + escurecimento ao hover
   ========================================================= */
.v2-cat-showcase {
    padding: 2rem 0 1rem;
}

.v2-cat-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.v2-cat-tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.v2-cat-tile:hover {
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.20);
    transform: translateY(-3px);
}

.v2-cat-tile-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.4s ease;
}

.v2-cat-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
    transition: background 0.4s ease;
    pointer-events: none;
}

.v2-cat-tile:hover .v2-cat-tile-img {
    transform: scale(1.12);
    filter: brightness(0.78);
}

.v2-cat-tile:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.45) 100%);
}

.v2-cat-tile-label {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s ease, letter-spacing 0.4s ease;
}

.v2-cat-tile:hover .v2-cat-tile-label {
    transform: scale(1.05);
    letter-spacing: 0.12em;
}

@media (max-width: 768px) {
    .v2-cat-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .v2-cat-tile { max-width: 100%; }
}

@media (max-width: 420px) {
    .v2-cat-tile-label { font-size: 0.85rem; letter-spacing: 0.06em; }
}
