/* =========================================================
   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: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

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

.bv-product-page--v21 .bv-product-breadcrumb a:hover {
    color: #0D3B36;
}

.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: #E8F7F1;
    border-color: #E8F7F1;
    color: #0A8161;
}

.bv-product-page--v21 .bv-product-flash--info {
    background: #E8F7F1;
    border-color: #E8F7F1;
    color: #0A2D2A;
}

.bv-product-page--v21 .bv-product-flash--error {
    background: #FFF5EC;
    border-color: #FFD9B8;
    color: #E55F00;
}

.bv-product-hero-v21 {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid #E2E8F0;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #FFFFFF 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 #E2E8F0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 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: #475569;
    font-size: 13px;
    font-weight: 700;
}

.bv-product-heading__summary {
    margin-top: 10px;
    color: #475569;
    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: #475569;
    font-size: 14px;
    line-height: 1.65;
}

.bv-product-heading__bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0FA67A;
    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 #E2E8F0;
    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: #0FA67A;
    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, #0FA67A 0%, #0FA67A 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, #E8F7F1 0%, #E8F7F1 100%);
    color: #0A2D2A;
    box-shadow: none;
    border: 1px solid #E8F7F1;
}

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

.bv-product-main-btn--alert {
    width: auto;
    min-width: 220px;
    background: linear-gradient(135deg, #FFA866 0%, #FFB800 100%);
    color: #7A3A00;
    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: #0D3B36;
    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: #F1F3F5; color: #334155; border-color: #e2e8f0; }
.bv-product-chip--soft { background: #E8F7F1; color: #0FA67A; border-color: #E8F7F1; }
.bv-product-chip--blue,
.bv-product-chip--primary { background: #E8F7F1; color: #0A2D2A; border-color: #E8F7F1; }
.bv-product-chip--green,
.bv-product-chip--success { background: #E8F7F1; color: #0A8161; border-color: #E8F7F1; }
.bv-product-chip--orange,
.bv-product-chip--warning { background: #FFE4CC; color: #E55F00; border-color: #FFA866; }
.bv-product-chip--gold { background: #FFF5EC; color: #7A3A00; border-color: #FFE4CC; }
.bv-product-chip--danger { background: #FFE4CC; color: #E55F00; border-color: #FFD9B8; }

.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 #E2E8F0;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bv-product-share__btn:hover {
    border-color: #E8F7F1;
    color: #0A2D2A;
}

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

.bv-product-alert-strip {
    padding: 18px;
    border-color: #FFD9B8;
    background: linear-gradient(180deg, #FFFAF5 0%, #FFF5EC 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: #7A3A00;
    font-size: 18px;
    font-weight: 900;
}

.bv-product-alert-strip__head p {
    margin: 6px 0 0;
    color: #7A3A00;
    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: #7A3A00;
    font-size: 12px;
    font-weight: 900;
}

.bv-product-alert-strip__field input {
    width: 100%;
    height: 48px;
    border: 1px solid #FFA866;
    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 #FFD9B8;
    color: #7A3A00;
    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 #E8F7F1;
    background: #ffffff;
    color: #0A2D2A;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.bv-product-inline-btn--danger {
    color: #E55F00;
    border-color: #FFD9B8;
}

.bv-product-alert-guest {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #7A3A00;
    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: #475569;
    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: #64748b;
    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: #E8F7F1;
    border: 1px solid #E8F7F1;
    color: #0FA67A;
    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 #E2E8F0;
    background: linear-gradient(180deg, #ffffff 0%, #FFFFFF 100%);
}

.bv-product-offer-row.is-best-offer {
    border-color: #FFD9B8;
    background: linear-gradient(180deg, #FFFAF5 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, #0D3B36 0%, #0A2D2A 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.bv-product-offer-row__btn.is-best {
    background: linear-gradient(135deg, #0FA67A 0%, #0FA67A 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, #FFFFFF 0%, #FFFFFF 100%);
}

.bv-product-media-support__placeholder {
    color: #94a3b8;
    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, #FFF5EC 0%, #FFF5EC 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;
    }
}
