/* =========================================================
   ARQUIVO : /assets/css/produto.css
   PROJETO : BomVendedor
   MÓDULO  : Página pública de produto
   VERSÃO  : V21 LAYOUT REFERÊNCIA
   OBJETIVO:
   - Isolar o CSS da página de produto
   - Reproduzir a arquitetura visual aprovada
   - Manter foco comercial em preço, compartilhamento e alerta
   - Preservar compatibilidade com favoritos e Meu Painel
   ========================================================= */

.bv-product-page--v21 {
    padding: 18px 0 48px;
}

.bv-product-page--v21 .bv-product-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.bv-product-page--v21 .bv-product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: #7b8aa3;
    font-size: 12px;
    line-height: 1.5;
}

.bv-product-page--v21 .bv-product-breadcrumb a {
    color: #5f7291;
    text-decoration: none;
}

.bv-product-page--v21 .bv-product-breadcrumb a:hover {
    color: #2563eb;
}

.bv-product-page--v21 .bv-product-flash {
    margin-bottom: 14px;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    border: 1px solid transparent;
}

.bv-product-page--v21 .bv-product-flash--success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.bv-product-page--v21 .bv-product-flash--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.bv-product-page--v21 .bv-product-flash--error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.bv-product-hero-v21 {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid #e3ebf5;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.bv-product-hero-v21__media-column {
    display: grid;
    grid-template-rows: 1fr 180px;
    gap: 14px;
    min-height: 100%;
}

.bv-product-media-panel,
.bv-product-media-support {
    border-radius: 22px;
    border: 1px solid #e6edf7;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    overflow: hidden;
}

.bv-product-media-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 420px;
}

.bv-product-media-panel img {
    display: block;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.bv-product-media-support {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.bv-product-media-support__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 700;
}

.bv-product-hero-v21__content-column {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 16px;
    min-width: 0;
}

.bv-product-heading {
    padding: 8px 4px 0;
}

.bv-product-heading__brand-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.bv-product-heading__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(34px, 3.2vw, 52px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 920px;
}

.bv-product-heading__model {
    margin-top: 10px;
    color: #5f6f87;
    font-size: 13px;
    font-weight: 700;
}

.bv-product-heading__summary {
    margin-top: 10px;
    color: #4d5f79;
    font-size: 14px;
    line-height: 1.8;
    max-width: 900px;
}

.bv-product-heading__bullets {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    max-width: 920px;
}

.bv-product-heading__bullets li {
    position: relative;
    padding-left: 18px;
    color: #46627e;
    font-size: 14px;
    line-height: 1.65;
}

.bv-product-heading__bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0ea5e9;
    font-weight: 800;
}

.bv-product-commerce-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 14px;
    align-items: stretch;
}

.bv-product-price-card,
.bv-product-utility-card,
.bv-product-alert-strip,
.bv-product-card {
    border-radius: 22px;
    border: 1px solid #e3ebf5;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.bv-product-price-card {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.bv-product-price-card__value {
    color: #0f172a;
    font-size: clamp(34px, 2.8vw, 50px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.bv-product-price-card__old {
    margin-top: -4px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 700;
    text-decoration: line-through;
}

.bv-product-price-card__economy {
    color: #059669;
    font-size: 15px;
    font-weight: 800;
}

.bv-product-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #18b667 0%, #12a150 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(24, 182, 103, 0.22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.bv-product-main-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.bv-product-main-btn--secondary {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    box-shadow: none;
    border: 1px solid #bfd5ff;
}

.bv-product-main-btn--secondary.is-active {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: #1e40af;
}

.bv-product-main-btn--alert {
    width: auto;
    min-width: 220px;
    background: linear-gradient(135deg, #ffbf4d 0%, #f59e0b 100%);
    color: #4a2c00;
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.22);
}

.bv-product-main-btn--icon svg {
    width: 18px;
    height: 18px;
}

.bv-product-price-card__support {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
}

.bv-product-price-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.bv-product-price-card__links a,
.bv-product-inline-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.bv-product-utility-card {
    padding: 16px;
    display: grid;
    align-content: start;
    gap: 16px;
}

.bv-product-utility-card__badges,
.bv-product-hero__badges,
.bv-product-offer-row__chips,
.bv-product-price-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bv-product-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.bv-product-chip--neutral { background: #f1f5f9; color: #334155; border-color: #e2e8f0; }
.bv-product-chip--soft { background: #eef2ff; color: #4f46e5; border-color: #c7d2fe; }
.bv-product-chip--blue,
.bv-product-chip--primary { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.bv-product-chip--green,
.bv-product-chip--success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.bv-product-chip--orange,
.bv-product-chip--warning { background: #ffedd5; color: #c2410c; border-color: #fdba74; }
.bv-product-chip--gold { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.bv-product-chip--danger { background: #ffe4e6; color: #be123c; border-color: #fecdd3; }

.bv-product-store-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.bv-product-store-chip img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.bv-product-share {
    display: grid;
    gap: 10px;
}

.bv-product-share__title {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.bv-product-share__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bv-product-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #dbe5f2;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bv-product-share__btn:hover {
    border-color: #bfd5ff;
    color: #1d4ed8;
}

.bv-product-share__icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.bv-product-alert-strip {
    padding: 18px;
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fffaf0 0%, #fff7ed 100%);
}

.bv-product-alert-strip__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.bv-product-alert-strip__head strong {
    color: #7c2d12;
    font-size: 18px;
    font-weight: 900;
}

.bv-product-alert-strip__head p {
    margin: 6px 0 0;
    color: #8a5b14;
    font-size: 13px;
    line-height: 1.6;
    max-width: 620px;
}

.bv-product-alert-strip__form {
    display: grid;
    grid-template-columns: minmax(220px, 320px) auto;
    gap: 12px;
    align-items: end;
}

.bv-product-alert-strip__field {
    display: grid;
    gap: 8px;
}

.bv-product-alert-strip__field span {
    color: #7c2d12;
    font-size: 12px;
    font-weight: 900;
}

.bv-product-alert-strip__field input {
    width: 100%;
    height: 48px;
    border: 1px solid #fdba74;
    border-radius: 14px;
    padding: 0 14px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    outline: none;
}

.bv-product-alert-strip__meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bv-product-alert-strip__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #fed7aa;
    color: #7c2d12;
    font-size: 12px;
    font-weight: 800;
}

.bv-product-alert-strip__actions,
.bv-product-alert-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bv-product-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #bfd5ff;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.bv-product-inline-btn--danger {
    color: #be123c;
    border-color: #fecdd3;
}

.bv-product-alert-guest {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #7c2d12;
    font-size: 13px;
    font-weight: 700;
}

.bv-product-card {
    margin-top: 14px;
    padding: 20px 22px;
}

.bv-product-card h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
}

.bv-product-bullets {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.bv-product-bullets li {
    color: #47627d;
    font-size: 14px;
    line-height: 1.7;
}

.bv-product-description {
    color: #475569;
    font-size: 14px;
    line-height: 1.95;
}

.bv-product-seo-keywords {
    margin-top: 14px;
    color: #7b8aa3;
    font-size: 12px;
    line-height: 1.7;
}

.bv-product-seo-keywords__label {
    font-weight: 900;
    color: #475569;
}

.bv-product-offers-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.bv-product-offers-head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.bv-product-offers-head__badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 900;
}

.bv-product-offers-list {
    display: grid;
    gap: 12px;
}

.bv-product-offer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #e5edf7;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.bv-product-offer-row.is-best-offer {
    border-color: #fcd34d;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.bv-product-offer-row__left {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.bv-product-offer-row__logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bv-product-offer-row__logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.bv-product-offer-row__content h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
}

.bv-product-offer-row__content p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.bv-product-offer-row__right {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.bv-product-offer-row__price {
    color: #0f172a;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
}

.bv-product-offer-row__old-price {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: line-through;
}

.bv-product-offer-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.bv-product-offer-row__btn.is-best {
    background: linear-gradient(135deg, #18b667 0%, #12a150 100%);
}

.bv-product-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 24px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1180px) {
    .bv-product-hero-v21 {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .bv-product-commerce-grid {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

@media (max-width: 980px) {
    .bv-product-hero-v21 {
        grid-template-columns: 1fr;
    }

    .bv-product-hero-v21__media-column {
        grid-template-rows: auto auto;
    }

    .bv-product-media-panel {
        min-height: 320px;
    }

    .bv-product-commerce-grid {
        grid-template-columns: 1fr;
    }

    .bv-product-alert-strip__form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .bv-product-page--v21 .bv-product-shell {
        padding: 0 12px;
    }

    .bv-product-hero-v21 {
        padding: 14px;
        border-radius: 22px;
    }

    .bv-product-heading__title {
        font-size: 32px;
    }

    .bv-product-share__grid {
        grid-template-columns: 1fr 1fr;
    }

    .bv-product-alert-strip__head,
    .bv-product-offers-head,
    .bv-product-alert-guest {
        flex-direction: column;
        align-items: flex-start;
    }

    .bv-product-offer-row {
        grid-template-columns: 1fr;
    }

    .bv-product-offer-row__right {
        justify-items: flex-start;
    }
}


/* =========================================================
   V24 — REFINAMENTO FINO PREMIUM
   ========================================================= */
.bv-product-page--v21 .bv-product-shell {
    max-width: 1220px;
}

.bv-product-hero-v21 {
    gap: 16px;
    padding: 14px;
    border-radius: 26px;
}

.bv-product-hero-v21__media-column {
    grid-template-rows: 1fr 118px;
    gap: 12px;
}

.bv-product-media-panel {
    min-height: 386px;
    padding: 16px;
}

.bv-product-media-panel img {
    max-height: 322px;
}

.bv-product-media-support {
    min-height: 118px;
    background: linear-gradient(180deg, #f7fafc 0%, #eef4fb 100%);
}

.bv-product-media-support__placeholder {
    color: #a0aec0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.bv-product-hero-v21__content-column {
    gap: 12px;
}

.bv-product-heading {
    padding: 6px 2px 0;
}

.bv-product-heading__brand-row {
    margin-bottom: 8px;
}

.bv-product-heading__title {
    font-size: clamp(33px, 3vw, 49px);
    line-height: 0.98;
    max-width: 860px;
}

.bv-product-commerce-grid {
    grid-template-columns: minmax(0, 0.9fr) 276px;
    gap: 12px;
}

.bv-product-price-card {
    padding: 16px;
    gap: 10px;
}

.bv-product-price-card__value {
    font-size: clamp(30px, 2.35vw, 42px);
}

.bv-product-price-card__old {
    font-size: 14px;
}

.bv-product-price-card__economy {
    font-size: 14px;
}

.bv-product-main-btn {
    min-height: 50px;
    border-radius: 15px;
    font-size: 14px;
}

.bv-product-main-btn--secondary {
    min-height: 46px;
}

.bv-product-main-btn--alert {
    min-width: 260px;
}

.bv-product-price-card__support {
    font-size: 12px;
    line-height: 1.65;
}

.bv-product-price-card__links {
    gap: 8px 10px;
}

.bv-product-utility-card {
    padding: 14px;
    gap: 14px;
}

.bv-product-store-chip {
    width: 46px;
    height: 46px;
    border-radius: 15px;
}

.bv-product-chip {
    min-height: 31px;
    padding: 0 12px;
    font-size: 12px;
}

.bv-product-share {
    gap: 12px;
}

.bv-product-share__title {
    font-size: 13px;
}

.bv-product-share__grid {
    gap: 10px;
}

.bv-product-share__btn {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
}

.bv-product-share__label {
    font-size: 12px;
    font-weight: 800;
}

.bv-product-alert-strip {
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff8ee 0%, #fff3e2 100%);
}

.bv-product-alert-strip__head {
    margin-bottom: 12px;
}

.bv-product-alert-strip__head strong {
    font-size: 17px;
}

.bv-product-alert-strip__head p {
    font-size: 12px;
    line-height: 1.55;
}

.bv-product-alert-strip__form {
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 280px);
    gap: 10px;
}

.bv-product-alert-strip__field input {
    height: 46px;
    border-radius: 13px;
    font-size: 14px;
}

.bv-product-alert-strip__meta {
    gap: 8px;
}

.bv-product-alert-strip__meta span {
    min-height: 32px;
    padding: 0 11px;
    font-size: 11px;
}

.bv-product-alert-strip__actions {
    gap: 8px;
}

.bv-product-inline-btn {
    min-height: 36px;
    padding: 0 13px;
}

.bv-product-card {
    border-radius: 20px;
}

.bv-product-offer-row {
    grid-template-columns: minmax(0, 1fr) 190px;
}

.bv-product-offer-row__btn {
    min-height: 42px;
}

@media (max-width: 1024px) {
    .bv-product-commerce-grid {
        grid-template-columns: 1fr 250px;
    }
}

@media (max-width: 860px) {
    .bv-product-hero-v21 {
        grid-template-columns: 1fr;
    }

    .bv-product-hero-v21__media-column {
        grid-template-rows: auto auto;
    }

    .bv-product-commerce-grid {
        grid-template-columns: 1fr;
    }

    .bv-product-alert-strip__form {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Avaliação editorial / Structured Data visível
========================================================= */
.bv-product-editorial-review {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    margin: 18px 0 22px;
    padding: 16px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.96));
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.bv-product-editorial-review__score {
    min-width: 82px;
    height: 82px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    border-radius: 22px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.bv-product-editorial-review__score strong {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.bv-product-editorial-review__score span {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
}

.bv-product-editorial-review__label {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 900;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bv-product-editorial-review p {
    margin: 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
}

.bv-product-editorial-review__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bv-product-editorial-review__meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1e40af;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .bv-product-editorial-review {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .bv-product-editorial-review__score {
        width: 82px;
    }
}
