/* Rebrand do tema Clario para Optica Online 24. Carregar DEPOIS de main.css. */
:root {
    --primary-color: #1c74b5;
    --primary-rgb-05: rgba(28, 116, 181, 0.50);
    --primary-rgb-06: rgba(28, 116, 181, 0.06);
    --secondary-color: #10395a;
    --accent-color: #ff1d25;
    --title-fonts: "Raleway", sans-serif;
    --body-fonts: "Raleway", sans-serif;
}

body { font-family: "Raleway", system-ui, sans-serif; color: #2b2b2b; }
h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif; font-weight: 700; }

/* ── Cabeçalho próprio (robusto, marca) ─────────────────────────────── */
.oo-header {
    position: sticky; top: 0; z-index: 1030; background: #fff;
    border-bottom: 1px solid #eef2f6; box-shadow: 0 2px 10px rgba(16, 24, 40, .04);
}
.oo-header { padding: 4px 0; }
.oo-header .navbar-brand img { height: 76px; }
@media (max-width: 575px) { .oo-header .navbar-brand img { height: 56px; } }
.oo-header .nav-link { font-weight: 600; color: #17324a; }
.oo-header .nav-link:hover, .oo-header .nav-link.active { color: var(--primary-color); }
.oo-icon-btn {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #eef4fb; color: var(--primary-color); text-decoration: none;
}
.oo-icon-btn:hover { background: var(--primary-color); color: #fff; }

/* ── Faixa promocional ──────────────────────────────────────────────── */
.oo-promo { color: #fff; text-align: center; padding: 8px 12px; font-weight: 600; font-size: .95rem; }

/* ── Botões ─────────────────────────────────────────────────────────── */
.btn-brand { background: var(--primary-color); color: #fff; border-radius: 8px; padding: 12px 26px; font-weight: 600; border: 0; }
.btn-brand:hover { background: #155e94; color: #fff; }
.btn-accent2 { background: var(--accent-color); color: #fff; border-radius: 8px; padding: 12px 26px; font-weight: 600; border: 0; }
.btn-accent2:hover { background: #d3141b; color: #fff; }

/* ── Cartão de produto (reaproveita .shop-grid-item do Clario) ──────── */
.shop-grid-image { position: relative; background: #f7fafc; border-radius: 14px; overflow: hidden; }
.shop-grid-image figure { margin: 0; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.shop-grid-image img { max-width: 82%; max-height: 82%; object-fit: contain; }
.oo-placeholder { width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #eaf4fb, #d7e9f7); color: #9cb9d6; font-size: 3rem; }
/* Badges empilhados no canto da imagem */
.oo-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.oo-badge { padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; color: #fff; line-height: 1.4; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.oo-badge-out { background: #64748b; }
.oo-badge-order { background: #f0932b; }
.oo-badge-sale { background: #e2342d; }
.oo-badge-new { background: #1a9e4b; }
.oo-badge-stock { background: #eef7f0; color: #1a7d3c; }
.oo-delivery { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; }
.oo-delivery.now { color: #1a9e4b; }
.oo-delivery.order { color: #d9820b; }
.shop-grid-content h2 { font-size: 1.05rem; margin: 14px 0 6px; }
.shop-grid-content h2 a { color: #17324a; text-decoration: none; }
.shop-grid-content h2 a:hover { color: var(--primary-color); }
.product-grid-price .main-price { color: var(--primary-color); font-weight: 700; font-size: 1.15rem; }
.product-grid-price .cut-price { color: #9aa7b2; text-decoration: line-through; margin-right: 8px; }

/* Galeria de imagens (miniaturas) + amostras de cor na ficha de produto */
.oo-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.oo-thumb { width: 66px; height: 66px; padding: 0; border: 2px solid #e2e8f0; border-radius: 10px; background: #f7fafc; overflow: hidden; cursor: pointer; transition: border-color .15s; }
.oo-thumb img { width: 100%; height: 100%; object-fit: contain; }
.oo-thumb:hover { border-color: #b9d4ea; }
.oo-thumb.active { border-color: var(--primary-color); }
.oo-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.oo-color-swatch { border: 1.5px solid #cbd5e1; background: #fff; color: #17324a; border-radius: 20px; padding: 6px 14px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.oo-color-swatch:hover { border-color: var(--primary-color); }
.oo-color-swatch.active { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }

/* ── Hero + secções ─────────────────────────────────────────────────── */
.oo-hero { background: linear-gradient(135deg, #eaf4fb 0%, #ffffff 60%); padding: 70px 0; }
.oo-hero-image { background-size: cover !important; background-position: center !important; min-height: 420px; display: flex; align-items: center; padding: 40px 0; }
.oo-hero-image > .container { width: 100%; }
.oo-page-content img { max-width: 100%; height: auto; border-radius: 8px; }
.oo-page-content h2, .oo-page-content h3 { color: #10395a; margin-top: 1.2rem; }
.oo-hero-image h1, .oo-hero-image p { text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.oo-cat-tile { display: block; text-decoration: none; border: 1px solid #e7eef5; border-radius: 16px; padding: 26px; text-align: center; color: #17324a; transition: all .2s; background: #fff; height: 100%; }
.oo-cat-tile:hover { border-color: var(--primary-color); box-shadow: 0 12px 24px rgba(28, 116, 181, .10); transform: translateY(-3px); color: var(--primary-color); }
.oo-cat-tile .material-symbols-outlined { font-size: 2.4rem; color: var(--primary-color); }
.oo-footer { background: #10395a; color: #cfe0ee; padding: 40px 0 22px; margin-top: 60px; }
.oo-footer a { color: #cfe0ee; text-decoration: none; }
.oo-footer a:hover { color: #fff; }
.oo-filter-card { border: 1px solid #e7eef5; border-radius: 14px; }
