/* Power Cell - Loja profissional (referência Smartsparts) */
:root {
    --color-primary: #c41e3a;
    --color-primary-dark: #9e1830;
    --color-primary-light: #e63950;
    --color-nav: #1e293b;
    --color-nav-hover: #334155;
    --color-text: #1a1a1a;
    --color-text-muted: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 6px;
    --shadow: 0 1px 3px rgba(0,0,0,.08);
    --shadow-lg: 0 4px 14px rgba(0,0,0,.1);
    --header-height: 72px;
    --topbar-height: 40px;
    --nav-height: 48px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .container {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }
}

/* ========== Barra superior (apenas horário) ========== */
.top-bar {
    background: var(--color-nav);
    color: #fff;
    font-size: 0.8125rem;
    padding: 0 20px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-bar-hours { opacity: .95; letter-spacing: 0.02em; }
@media (max-width: 768px) {
    .top-bar { height: auto; padding: 12px 24px; font-size: 0.75rem; }
    .top-bar-hours { text-align: center; }
}

/* ========== Header principal ========== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.8125rem;
    line-height: 1.3;
    border-radius: var(--radius);
    transition: background .2s, color .2s;
}
.header-action-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}
.header-action-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.header-action-icon-svg {
    flex-shrink: 0;
    opacity: .9;
}
.header-action-link:hover .header-action-icon-svg { opacity: 1; }
.header-action-text { text-align: left; }
.header-action-text strong { font-weight: 600; }
.logo {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.logo-accent { color: var(--color-primary); }
.logo:hover .logo-accent { color: var(--color-primary-dark); }

.header-search {
    display: flex;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-alt);
}
.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
}
.header-search input::placeholder { color: var(--color-text-muted); }
.header-search input:focus { outline: none; }
.search-btn {
    padding: 12px 16px;
    border: none;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn:hover { background: var(--color-primary-dark); }

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius);
    margin-left: 4px;
}
.cart-link:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.cart-icon-svg { flex-shrink: 0; }
.cart-link .cart-count {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}
@media (max-width: 992px) {
    .header-action-link .header-action-text { display: none; }
    .header-action-link { padding: 10px; }
}
@media (max-width: 768px) {
    .site-header { padding: 16px 24px; }
    .header-inner { grid-template-columns: 1fr auto; gap: 12px; }
    .header-actions { order: 2; }
    .header-search { order: 3; grid-column: 1 / -1; max-width: none; }
    .header-action-link .header-action-text { display: none; }
}

/* ========== Menu de navegação ========== */
.nav-bar {
    background: var(--color-nav);
    color: #fff;
    position: relative;
    z-index: 98;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    width: 100%;
    /*margin-top: 12px;*/
}
.nav-bar-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: var(--nav-height);
    position: relative;
}
.nav-toggle {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 16px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; }
.nav-menu {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 0 0 auto;
}
.nav-menu li { display: block; margin: 0; }
.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: rgba(255,255,255,.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: background .25s ease, color .25s ease, transform .2s ease;
    text-align: center;
}
.nav-menu a:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.nav-menu a.nav-link-active {
    background: rgba(255,255,255,.95);
    color: var(--color-nav);
}
.nav-menu a.nav-link-active:hover {
    background: #fff;
    color: var(--color-nav);
}
@media (max-width: 768px) {
    .nav-bar-inner { position: relative; justify-content: flex-start; padding: 0 24px; }
    .nav-toggle { display: flex; order: -1; left: 24px; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-nav);
        flex-direction: column;
        flex-wrap: nowrap;
        box-shadow: var(--shadow-lg);
        min-height: auto;
        margin: 0;
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu a {
        padding: 14px 24px;
        border-radius: 8px;
        margin: 4px 12px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        white-space: normal;
    }
    .nav-menu a.nav-link-active { margin: 4px 12px; }
}

/* ========== Barra de benefícios ========== */
.benefits-bar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 20px;
}
.benefits-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
}
.benefit-item {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    border-right: 1px solid var(--color-border);
}
.benefit-item:last-child { border-right: none; }
.benefit-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #1e3a5f;
}
.benefit-item span:not(.benefit-icon) {
    display: block;
}
.benefit-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 2px;
    line-height: 1.2;
}
.benefit-subtitle {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.3;
}
@media (max-width: 900px) {
    .benefits-bar-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .benefit-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 14px 12px;
        min-width: 0;
    }
    .benefit-item:nth-child(odd) { border-right: 1px solid var(--color-border); }
    .benefit-item:nth-child(1),
    .benefit-item:nth-child(2) { border-top: none; }
    .benefit-item:nth-child(3),
    .benefit-item:nth-child(4) { border-bottom: 1px solid var(--color-border); }
    .benefit-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
    .benefits-bar { padding: 12px 24px; }
    .benefits-bar-inner { grid-template-columns: 1fr 1fr; }
    .benefit-item {
        border-right: none !important;
        border-bottom: 1px solid var(--color-border);
        padding: 14px 10px;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    .benefit-item:nth-child(odd) { border-right: 1px solid var(--color-border); }
    .benefit-item:nth-child(1),
    .benefit-item:nth-child(2) { border-top: none; }
    .benefit-item:nth-child(3),
    .benefit-item:nth-child(4) { border-bottom: 1px solid var(--color-border); }
    .benefit-item:last-child { border-bottom: none; }
    .benefit-icon { width: 36px; height: 36px; flex-shrink: 0; margin: 0 auto; }
    .benefit-icon svg { width: 28px; height: 28px; }
    .benefit-title { font-size: 0.8125rem; margin: 0; }
    .benefit-subtitle { display: none; }
}

/* ========== Botões ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, transform .15s;
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover { background: var(--color-border); }
.btn-block { width: 100%; }
.product-out-of-stock {
    display: inline-block;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 0;
}
.product-card .product-out-of-stock { padding: 12px 0; }

.product-card .btn-add-cart {
    width: 100%;
    margin-top: 0;
    padding: 12px 16px;
    min-height: 46px;
    font-weight: 600;
}

/* ========== Hero / Banner ========== */
.hero {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, #7c1230 100%);
    color: #fff;
    padding: 56px 20px 64px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}
.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.hero-content .hero-tagline {
    font-size: 1.25rem;
    margin: 0 0 24px;
    opacity: .95;
}
.hero-content .btn-primary {
    background: #fff;
    color: var(--color-primary);
}
.hero-content .btn-primary:hover { background: #f0f0f0; color: var(--color-primary-dark); }
.hero-visual {
    text-align: center;
    font-size: 4rem;
    opacity: .9;
}
@media (max-width: 768px) {
    .hero { padding: 56px 24px 64px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 1.875rem; }
    .hero-visual { font-size: 3rem; }
}

/* Banner simples (fallback) */
.banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 48px 20px;
    text-align: center;
}
.banner-inner { max-width: 600px; margin: 0 auto; }
@media (max-width: 768px) {
    .banner { padding: 48px 24px; }
}
.banner h1 { font-size: 2rem; margin: 0 0 8px; font-weight: 700; }
.banner p { margin: 0 0 24px; opacity: .95; }
.banner .btn-primary { background: #fff; color: var(--color-primary); }
.banner .btn-primary:hover { background: #f0f0f0; }

/* ========== Seções ========== */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--color-text);
}
.categories-section, .featured-section, .bestsellers-section { padding: 48px 0; }
.categories-section { background: var(--color-bg-alt); }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.category-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.category-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ========== Slider de marcas ========== */
.brands-slider-section {
    padding: 48px 0;
    background: #fff;
}
.brands-slider-title {
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}
.brands-slider-title-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 3px solid #1e293b;
    padding-bottom: 4px;
}
.brands-slider-title-sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}
.brands-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}
.brands-slider-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, border-color .2s;
}
.brands-slider-arrow:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.brands-slider-track {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 16px 0;
    scrollbar-width: none;
}
.brands-slider-track::-webkit-scrollbar { display: none; }
.brands-slider-item {
    flex: 0 0 auto;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    scroll-snap-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.brands-slider-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}
.brands-slider-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}
.brands-slider-name {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}
@media (max-width: 600px) {
    .brands-slider-wrap { gap: 8px; }
    .brands-slider-arrow { width: 40px; height: 40px; }
    .brands-slider-item { width: 120px; height: 70px; }
}

/* ========== Produtos ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    align-items: stretch;
}
/* 4 produtos por linha (home: Destaques e Mais vendidos) */
.products-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1000px) {
    .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .products-grid-4 { grid-template-columns: 1fr; }
}
.product-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .15s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .2s;
}
.btn-favorite:hover {
    background: #fff;
    transform: scale(1.08);
}
.btn-favorite .heart-icon {
    width: 22px;
    height: 22px;
    position: absolute;
}
.btn-favorite .heart-outline {
    color: var(--color-text-muted);
    opacity: 1;
}
.btn-favorite .heart-filled {
    color: #e11d48;
    opacity: 0;
}
.btn-favorite.is-favorite .heart-outline {
    opacity: 0;
}
.btn-favorite.is-favorite .heart-filled {
    opacity: 1;
}
.btn-favorite-detail {
    top: 12px;
    right: 12px;
}
.product-gallery {
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
/* Área da imagem com tamanho fixo: todos os cards iguais e alinhados */
.product-image {
    width: 100%;
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    flex-shrink: 0;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.product-placeholder { color: var(--color-text-muted); font-size: 0.875rem; }
.product-placeholder-lg { min-height: 300px; }
/* Nome com altura mínima (2 linhas) para alinhar os cards */
.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 12px 12px 4px;
    line-height: 1.3;
    min-height: 2.6em;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-brand {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0 12px 4px;
}
.product-card-footer {
    padding: 12px 12px 16px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    flex-shrink: 0;
}
.product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}
.product-price-compare {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}
.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}
.product-card .product-prices .product-price { margin: 0; }
.product-card .product-prices .product-price-compare { margin: 0; }
.product-prices-detail .product-price { font-size: 1.5rem; }
.product-prices-detail .product-price-compare { font-size: 1.125rem; }
.product-info .product-prices-detail { margin-bottom: 16px; }

/* Page produtos */
.page-products .page-title { margin-bottom: 24px; font-weight: 700; }
.filters-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.input-search, .filters-form select {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
}
.input-search { flex: 1; min-width: 180px; }

/* Página do produto */
.page-product { padding: 32px 0; }
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; }
    .page-product .product-detail {
        padding-left: 12px;
        padding-right: 12px;
    }
}
.product-gallery-main { margin-bottom: 12px; }
.product-main-image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-gallery-thumb {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-bg-alt);
}
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-thumb:hover { border-color: var(--color-primary); }
.product-gallery-thumb.active { border-color: var(--color-primary); }
.product-options-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 0.9375rem;
}
.product-options-list li { margin-bottom: 4px; }
.product-options-list li strong { margin-right: 4px; }

.product-options-by-group { margin-bottom: 1.25rem; }
.product-option-group { margin-bottom: 1.25rem; }
.product-option-group:last-child { margin-bottom: 0; }
.product-option-group-title {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text, #333);
}
.product-option-group-title strong {
    color: var(--color-primary, #c00);
    font-weight: 700;
}
.product-option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.product-option-btn {
    padding: 10px 18px;
    border: 2px solid #d0d0d0;
    background: #fff;
    color: #555;
    font-size: 0.9375rem;
    cursor: pointer;
    border-radius: 999px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.product-option-btn:hover { border-color: var(--color-primary, #c00); color: var(--color-primary, #c00); }
.product-option-btn.active {
    border-color: var(--color-primary, #c00);
    background: transparent;
    color: var(--color-primary, #c00);
    font-weight: 600;
}

.product-info h1 { margin: 0 0 12px; font-size: 1.75rem; font-weight: 700; }
.product-info .product-brand { margin: 0 0 8px; font-size: 0.9375rem; }
.product-info .product-price { font-size: 1.5rem; margin-bottom: 16px; }
.product-short-desc { color: var(--color-text-muted); margin-bottom: 24px; }
.product-option-required-hint {
    width: 100%;
    margin: 0 0 10px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.product-option-required-hint[style*="display: none"] { margin: 0; }

.product-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}
.product-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-qty-row label { margin: 0; }
.product-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.product-qty-control .product-qty-btn {
    width: 40px;
    height: 42px;
    border: none;
    background: var(--color-bg-alt);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text);
    padding: 0;
    flex-shrink: 0;
}
.product-qty-control .product-qty-btn:hover:not(:disabled) { background: var(--color-border); }
.product-qty-control .product-qty-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.product-qty-control #product-qty {
    width: 56px;
    min-width: 56px;
    padding: 10px 6px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
}
.product-qty-control #product-qty::-webkit-outer-spin-button,
.product-qty-control #product-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-actions .btn-add-cart { margin-top: 4px; }
.product-shipping-block {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.product-shipping-title { margin: 0 0 12px; font-weight: 600; font-size: 0.9375rem; }
.product-shipping-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.product-shipping-cep-input {
    width: 140px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
}
.product-shipping-message { margin: 0 0 8px; font-size: 0.875rem; color: var(--color-text-muted); }
.product-shipping-message.error { color: #dc2626; }
.product-shipping-message.success { color: #16a34a; font-weight: 500; }
.product-shipping-options { display: flex; flex-direction: column; gap: 6px; }
.product-shipping-option {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
}
.product-share-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.product-share-label { font-size: 0.9375rem; font-weight: 500; color: var(--color-text-muted); }
.product-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
}
.product-share-btn:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }
.product-share-whatsapp { background: #25d366; }
.product-share-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.product-description { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.product-description h3 { margin: 0 0 12px; font-weight: 600; }

/* Carrinho */
.page-cart { padding: 32px 0; }
.page-cart .page-title { margin-bottom: 28px; }
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 768px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-items { display: flex; flex-direction: column; gap: 20px; }
.cart-item-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
@media (max-width: 640px) {
    .cart-item-card {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
    }
    .cart-item-card .cart-item-total-wrap { grid-column: 2; grid-row: 2; justify-self: start; align-self: center; }
}
.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
}
@media (max-width: 640px) { .cart-item-image { width: 80px; height: 80px; } }
.cart-item-image a { display: block; width: 100%; height: 100%; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { min-width: 0; }
.cart-item-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 4px;
}
.cart-item-name:hover { color: var(--color-primary); }
.cart-item-price { margin: 0 0 12px; color: var(--color-text-muted); font-size: 0.875rem; }
.cart-item-price-unit { font-weight: 400; opacity: .9; }
.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.cart-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--color-bg-alt);
    color: var(--color-text);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.cart-qty-btn:hover { background: var(--color-border); color: var(--color-primary); }
.cart-qty-btn:disabled { opacity: .5; cursor: not-allowed; }
.cart-qty-input {
    width: 44px;
    min-width: 44px;
    padding: 8px 4px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    -moz-appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-stock-hint { font-size: 0.75rem; color: var(--color-text-muted); }
.cart-item-stock-low { color: var(--color-text-muted); }
.cart-item-stock-warning { color: var(--color-danger, #c00); font-weight: 600; margin-left: 2px; }
.btn-remove-cart-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    background: #fff;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius);
    cursor: pointer;
    margin-left: auto;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-remove-cart-item:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
}
.cart-item-total-wrap {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}
.cart-item-total-wrap .cart-item-total-prefix { font-weight: 600; }
.cart-summary {
    background: var(--color-bg-alt);
    padding: 24px;
    border-radius: var(--radius);
    height: fit-content;
    border: 1px solid var(--color-border);
    position: sticky;
    top: 24px;
}
.cart-summary-title { margin: 0 0 16px; font-size: 1.125rem; font-weight: 700; }
.cart-summary-subtotal { margin: 0 0 20px; font-size: 1rem; }
.cart-summary .btn { margin-top: 0; }
.cart-continue-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--color-primary);
}
.cart-continue-link:hover { text-decoration: underline; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--color-text-muted); }
@media (max-width: 768px) {
    .empty-state { padding-left: 24px; padding-right: 24px; }
}
.empty-state a { color: var(--color-primary); font-weight: 600; }

.page-conta { padding: 48px 20px; max-width: 520px; margin: 0 auto; }
.page-conta-pedidos { max-width: 900px; }
.page-conta-favoritos { max-width: 1100px; }
.page-conta-pedido { max-width: 700px; }
.page-conta .back-link { display: inline-block; margin-bottom: 20px; color: var(--color-primary); font-weight: 500; }
.page-conta .back-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .page-conta { padding-left: 24px; padding-right: 24px; }
}
.order-detail-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
@media (max-width: 600px) { .order-detail-blocks { grid-template-columns: 1fr; } }
.order-detail-block { margin-bottom: 24px; }
.order-detail-block h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 600; }
.order-detail-block p { margin: 4px 0; font-size: 0.9375rem; }
.order-totals p { margin: 8px 0; }
.conta-table .btn-small { margin-right: 8px; margin-bottom: 4px; }

/* Order progress timeline (cliente) */
.order-progress-block {
    margin: 24px 0;
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.order-progress-block h3 { margin: 0 0 16px; font-size: 1rem; font-weight: 600; }
.order-tracking-link { margin-bottom: 20px; font-size: 0.9375rem; }
.order-tracking-link a { color: var(--color-primary); font-weight: 600; }
.order-tracking-link a:hover { text-decoration: underline; }
.order-progress-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.order-progress-step {
    display: flex;
    align-items: flex-start;
    position: relative;
}
.step-indicator { flex-shrink: 0; margin-right: 16px; }
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s ease;
}
.step-icon.step-pending {
    background: #e2e8f0;
    color: #94a3b8;
}
.step-icon.step-check {
    background: #22c55e;
    color: #fff;
    animation: stepDone 0.4s ease;
}
.step-icon.step-current {
    background: var(--color-primary);
    color: #fff;
    animation: stepPulse 1.5s ease-in-out infinite;
}
.step-icon.step-current::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}
@keyframes stepDone {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(196, 30, 58, 0); }
}
.step-content { padding: 8px 0; flex: 1; }
.step-title { font-size: 0.9375rem; color: var(--color-text); }
.order-progress-step.done .step-title { color: #16a34a; font-weight: 500; }
.order-progress-step.current .step-title { color: var(--color-primary); font-weight: 600; }
.step-connector {
    position: absolute;
    left: 17px;
    top: 36px;
    height: 28px;
    width: 2px;
    background: #e2e8f0;
}
.order-progress-step.done .step-connector { background: #22c55e; }
.page-conta .page-title { margin-bottom: 12px; }
.page-conta .conta-actions { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.page-conta .conta-note { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 24px; }
.page-conta-form .conta-form { margin-top: 24px; }
.page-conta .conta-form .form-group { margin-bottom: 20px; }
.page-conta .conta-form label { display: block; margin-bottom: 6px; font-weight: 500; }
.page-conta .conta-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
}
.page-conta .conta-form-footer { margin-top: 20px; text-align: center; color: var(--color-text-muted); }
.page-conta .conta-form-footer a { color: var(--color-primary); font-weight: 600; }
.form-radios { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-radios label { margin-bottom: 0; }
.form-radio { cursor: pointer; font-weight: 400; }
.form-hint { font-size: 0.8125rem; color: var(--color-text-muted); margin-left: 8px; }
.mt-1 { margin-top: 6px; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.conta-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.9375rem; }
.conta-table th, .conta-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--color-border); }
.conta-table th { font-weight: 600; background: var(--color-bg-alt); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-paid, .badge-delivered { background: #d1fae5; color: #065f46; }
.badge-shipped { background: #dbeafe; color: #1e40af; }
.badge-cancelled, .badge-refunded { background: #fee2e2; color: #991b1b; }
.badge-processing { background: #e0e7ff; color: #3730a3; }
.badge-aberto { background: #fef3c7; color: #92400e; }
.badge-em_atendimento { background: #dbeafe; color: #1e40af; }
.badge-resolvido { background: #d1fae5; color: #065f46; }
.badge-fechado { background: #e5e7eb; color: #374151; }

/* Central de Atendimento */
.page-politica-privacidade { padding: 48px 20px 64px; max-width: 720px; margin: 0 auto; }
.politica-content h2 { font-size: 1.125rem; margin: 28px 0 12px; font-weight: 600; }
.politica-content p { margin: 0 0 16px; line-height: 1.7; }
.politica-content ul { margin: 0 0 16px; padding-left: 24px; }
.politica-content li { margin-bottom: 6px; }
.politica-content a { color: var(--color-primary); font-weight: 600; }
.politica-content a:hover { text-decoration: underline; }
@media (max-width: 768px) { .page-politica-privacidade { padding-left: 24px; padding-right: 24px; } }

.page-central-atendimento { padding: 48px 24px 64px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 768px) {
    .page-central-atendimento { padding-left: 24px; padding-right: 24px; }
}
.central-atendimento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 32px;
}
@media (min-width: 901px) {
    .central-dados-loja,
    .central-form-section {
        padding: 28px 24px;
        background: var(--color-bg-alt);
        border-radius: var(--radius);
        border: 1px solid var(--color-border);
    }
}
@media (max-width: 900px) {
    .central-atendimento-grid { grid-template-columns: 1fr; gap: 32px; }
    .central-dados-loja,
    .central-form-section { padding: 0; background: transparent; border: none; }
}
.central-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--color-text);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}
.central-dados-loja .central-info-block {
    margin-bottom: 24px;
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.central-dados-loja .central-info-block:last-child { margin-bottom: 0; }
.central-dados-loja .central-info-block h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
}
.central-dados-loja .central-info-block p {
    margin: 0 0 6px;
    font-size: 0.9375rem;
}
.central-form-desc { margin: 0 0 20px; color: var(--color-text-muted); font-size: 0.9375rem; }
.central-form .form-group { margin-bottom: 18px; }
.central-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}
.central-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}
.central-ticket-success {
    font-size: 1rem;
    padding: 20px;
}
.central-ticket-success .ticket-number { font-size: 1.25rem; color: var(--color-primary); }
.central-ticket-success .ticket-hint { font-size: 0.875rem; color: var(--color-text-muted); display: block; margin-top: 8px; }
.central-meus-atendimentos { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.central-tickets-list { overflow-x: auto; }

.central-customer-code {
    padding: 14px 18px;
    margin-bottom: 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    font-size: 0.9375rem;
}
.central-customer-code .customer-code-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}
.central-customer-code .customer-code-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.central-gerente { margin-bottom: 28px; }
.central-gerente-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
}
.central-gerente-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.central-gerente-photo-placeholder {
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.central-gerente-name { font-size: 1.125rem; display: block; margin-bottom: 4px; }
.central-gerente-desc { margin: 0 0 12px; font-size: 0.9375rem; color: var(--color-text-muted); }
.central-gerente-whatsapp { background: #22c55e; }
.central-gerente-whatsapp:hover { background: #16a34a; }

/* Checkout */
.page-checkout { padding: 32px 0; }

/* Indicador de etapas do checkout */
.checkout-steps-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}
.checkout-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: background .2s, color .2s;
}
.checkout-step-dot.active { background: #fecaca; color: #991b1b; }
.checkout-step-dot.current { background: var(--color-primary, #c41e3a); color: #fff; }
.checkout-step-line {
    width: 40px;
    height: 3px;
    background: #e5e7eb;
}
.checkout-step-labels {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    max-width: 280px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: #6b7280;
    pointer-events: none;
}
.checkout-step-labels span { flex: 1; text-align: center; }
.checkout-steps-header { position: relative; padding-bottom: 36px; }
.btn-continue { margin-top: 16px; }

.checkout-one-page .checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}
@media (max-width: 900px) { .checkout-one-page .checkout-grid { grid-template-columns: 1fr; } }
.checkout-block {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.checkout-block h2 { margin: 0 0 20px; font-size: 1.125rem; font-weight: 600; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-row input, .form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
}
.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; }
.checkout-summary.sticky { position: sticky; top: 180px; }
.checkout-summary {
    background: var(--color-bg-alt);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.summary-list { list-style: none; padding: 0; margin: 0 0 16px; max-height: 200px; overflow-y: auto; }
.summary-row { display: flex; justify-content: space-between; margin: 8px 0; }
.summary-total { font-size: 1.25rem; font-weight: 700; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.checkout-cupom-in-summary {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}
.checkout-cupom-label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; }
.checkout-cupom-row { display: flex; gap: 8px; }
.checkout-cupom-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; }
.checkout-cupom-feedback { margin: 8px 0 0; font-size: 0.875rem; }
.checkout-summary .btn-primary { margin-top: 20px; }
.error-message { color: var(--color-primary); font-size: 0.875rem; margin-top: 8px; }
#shipping-options label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; cursor: pointer; }

/* Forma de pagamento: cards com ícones */
.payment-method-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.payment-method-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.payment-method-card:hover { border-color: #d1d5db; background: #fafafa; }
.payment-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.payment-method-card:has(input:checked) {
    border-color: var(--color-primary, #c41e3a);
    background: #fef2f2;
    box-shadow: 0 0 0 1px var(--color-primary, #c41e3a);
}
.payment-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-card-icon svg { width: 40px; height: 40px; }
.payment-card-icon-pix { color: #00a859; }
.payment-method-card:has(input:checked) .payment-card-icon-pix { color: #008a4c; }
.payment-card-icon-boleto { color: #1e40af; }
.payment-method-card:has(input:checked) .payment-card-icon-boleto { color: #1e3a8a; }
.payment-card-icon-card { color: #4b5563; }
.payment-method-card:has(input:checked) .payment-card-icon-card { color: var(--color-primary, #c41e3a); }
.payment-card-name { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.payment-card-desc { font-size: 0.75rem; color: #6b7280; }
@media (max-width: 640px) {
    .payment-method-cards { grid-template-columns: 1fr; }
}

/* Paginação */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pagination-link {
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
}
.pagination-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination-link.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ========== Footer (estilo Smartsparts) ========== */
.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--color-border);
    background: #1e3a5f;
    color: #fff;
    font-size: 0.9375rem;
}
.footer-main {
    padding: 40px 20px 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
@media (max-width: 768px) {
    .footer-main { padding-left: 24px; padding-right: 24px; }
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
    display: block;
    color: #fff;
}
.footer-col + .footer-col .footer-title { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; }
@media (max-width: 1024px) { .footer-col + .footer-col .footer-title { margin-top: 0; border-top: none; padding-top: 0; } }
.footer-about-text {
    margin: 0 0 16px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    font-size: 0.875rem;
}
.footer-social .footer-title { margin-bottom: 8px; }
.footer-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}
.footer-social-icons a:hover { background: #fff; color: #1e3a5f; }
.footer-social-empty { color: rgba(255,255,255,.5); font-size: 0.875rem; }
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-categories-list > li { margin-bottom: 12px; }
.footer-sublinks {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 12px;
}
.footer-sublinks li { margin-bottom: 4px; }
.footer-sublinks a { font-size: 0.9375rem; opacity: .9; }
.footer-muted { color: rgba(255,255,255,.5); font-size: 0.875rem; }
.footer-brands-list .footer-brand-link {
    display: inline-flex;
    align-items: center;
    max-height: 36px;
}
.footer-brands-list .footer-brand-link img {
    max-height: 32px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .9;
}
.footer-brands-list .footer-brand-link:hover img { opacity: 1; }
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.9);
}
.footer-contact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.8);
}
.footer-contact-list a { color: #93c5fd; text-decoration: none; }
.footer-contact-list a:hover { text-decoration: underline; }
.footer-hours { margin-top: 16px; }
.footer-hours .footer-title { margin-bottom: 6px; }
.footer-hours p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
}
.footer-bottom {
    background: #f1f5f9;
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 16px 20px;
}
.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-payment-pix {
    font-size: 1.25rem;
    font-weight: 700;
    color: #32bcad;
    letter-spacing: 0.05em;
}
.footer-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
}
.footer-security-badge svg { flex-shrink: 0; color: #22c55e; }
.footer-security-text { display: block; }
.footer-copy {
    background: #1e3a5f;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,.8);
}
.footer-copy .footer-inner { display: block; gap: 0; }

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .5);
    z-index: 999;
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, .6);
    color: #fff;
}
body.cookie-accepted .whatsapp-float { bottom: 24px; }

.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 80px;
}
body.cookie-accepted .main-content { padding-bottom: 20px; }

/* ========== Cookie bar ========== */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, .97);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 1000;
    font-size: 0.875rem;
}
@media (max-width: 768px) {
    .cookie-bar { padding-left: 24px; padding-right: 24px; }
}
.cookie-bar a { color: #93c5fd; text-decoration: underline; }
.cookie-bar a:hover { color: #fff; }
.btn-cookie-ok { flex-shrink: 0; }
.cookie-bar.is-hidden { display: none; }
@media (max-width: 600px) {
    .cookie-bar { flex-direction: column; text-align: center; }
}

/* ========== Toast (mensagem ao adicionar ao carrinho) ========== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 24px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.1);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    text-align: center;
    max-width: 90vw;
    min-width: 280px;
}
.toast.toast-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.toast-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 6px;
}
.toast-product-name {
    font-size: 0.9375rem;
    opacity: .95;
    line-height: 1.35;
    word-break: break-word;
}
.toast-success {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    color: #fff;
}
.toast-success::before {
    content: '✓';
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}
.toast-error {
    background: #991b1b;
    color: #fff;
}
@media (max-width: 480px) {
    .toast { padding: 20px 24px; min-width: 260px; }
}

/* Conta - lista de endereços */
.conta-addresses { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.conta-address-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 8px;
}
.conta-address-info { flex: 1; min-width: 200px; }
.conta-address-info strong { display: inline-block; margin-right: 8px; }
.conta-address-line { margin: 4px 0 0; font-size: 0.9375rem; color: #4b5563; line-height: 1.4; }
.conta-address-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.conta-address-delete { margin: 0; }
.badge-default { font-size: 0.75rem; padding: 2px 8px; background: var(--color-primary, #c41e3a); color: #fff; border-radius: 4px; }
.btn-danger { color: #b91c1c; border-color: #b91c1c; }
.btn-danger:hover { background: #b91c1c; color: #fff; }

/* Checkout - seleção de endereço */
.checkout-address-select { margin-bottom: 20px; }
.checkout-address-select > p { margin: 0 0 12px; font-size: 0.9375rem; color: #4b5563; }
.checkout-address-options .checkout-address-option { display: block; margin-bottom: 10px; }
.checkout-address-options .payment-method-label { display: inline; font-weight: normal; }
.checkout-address-fields-other { margin-top: 16px; }

/* Checkout - bloco Frete e simulação */
.checkout-block-frete #shipping-message { margin: 8px 0 12px; color: #4b5563; font-size: 0.9375rem; }
.checkout-frete-desc { margin: 0 0 8px; color: #6b7280; font-size: 0.9375rem; line-height: 1.4; }
.checkout-frete-actions { margin-bottom: 16px; }
.checkout-frete-actions .btn { min-width: 140px; }
.shipping-options-list { display: flex; flex-direction: column; gap: 10px; }
.shipping-options-list label { display: flex; align-items: center; padding: 12px 14px; background: #f9fafb; border: 2px solid #e5e7eb; border-radius: 8px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.shipping-options-list label:hover { background: #f3f4f6; border-color: #d1d5db; }
.shipping-options-list input:checked + * { font-weight: 600; }
.shipping-options-list label:has(input:checked) { border-color: var(--color-primary, #c41e3a); background: #fef2f2; }

/* Pedido concluído - aviso de pagamento pendente (PIX/Boleto) */
.payment-pending-note {
    max-width: 420px;
    margin: 16px auto 0;
    padding: 14px 18px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.9375rem;
    line-height: 1.45;
}

/* Pedido concluído - página de sucesso */
.page-order-success {
    padding: 40px 20px 60px;
    max-width: 560px;
    margin: 0 auto;
}
.order-success-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--color-border, #e2e8f0);
}
.order-success-header {
    margin-bottom: 24px;
}
.order-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #22c55e;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
    line-height: 1;
}
.order-success-card h1 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-primary, #c41e3a);
    font-weight: 600;
}
.order-success-info {
    margin-bottom: 28px;
    padding: 20px;
    background: var(--color-bg-alt, #f8fafc);
    border-radius: 8px;
}
.order-success-info p {
    margin: 8px 0;
    font-size: 1rem;
}
.order-success-info span {
    color: var(--color-text-muted, #64748b);
    margin-right: 8px;
}
.order-success-pix-desc,
.order-success-pix-hint {
    color: var(--color-text-muted, #64748b);
    font-size: 0.9375rem;
    margin: 0 0 20px;
}
.order-success-pix-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}
.order-success-pix-qr {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 12px;
}
.order-success-pix-qr img {
    display: block;
}
.order-success-pix-qr p {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: var(--color-text-muted, #64748b);
}
.order-success-pix-copia-cola {
    width: 100%;
    max-width: 400px;
    text-align: left;
}
.order-success-pix-copia-cola label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}
.order-success-pix-input-wrap {
    display: flex;
    gap: 8px;
}
.order-success-pix-input-wrap input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-family: monospace;
    background: #f8fafc;
}
.order-success-pix-input-wrap .btn-copy-pix {
    flex-shrink: 0;
    padding: 12px 20px;
}
.order-success-pix-input-wrap .btn-copy-pix.copied {
    background: #22c55e;
}
.order-success-pix-hint {
    margin-top: 8px !important;
    font-size: 0.8125rem !important;
}
.order-success-boleto .btn-boleto {
    display: inline-block;
    margin-bottom: 16px;
}
.order-success-thanks {
    margin: 20px 0;
    color: var(--color-text-muted, #64748b);
}
.order-success-actions {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border, #e2e8f0);
}
@media (max-width: 480px) {
    .order-success-card { padding: 28px 20px; }
    .order-success-pix-input-wrap { flex-direction: column; }
}
