/* Keep the gallery and purchase details aligned with the separate benefits rail. */
@media (min-width: 992px) {
    body.body-public .produto-page.v2-product-page {
        padding-top: 16px !important;
    }
}
body.body-public .produto-page .ln-dp-product-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.body-public .produto-page {
    --pd-grid-size: 58px;
    --pd-grid-line: color-mix(in srgb, var(--pd-accent) 3.5%, transparent);
    --pd-surface-border: rgba(220, 224, 230, .24);
    --pd-surface-start: color-mix(in srgb, var(--pd-card-start) 60%, transparent);
    --pd-surface-end: color-mix(in srgb, var(--pd-card-end) 66%, transparent);
}
body.body-public.theme-digital .produto-page {
    --pd-surface-start: rgba(19, 16, 28, .58);
    --pd-surface-end: rgba(8, 9, 13, .65);
}
body.body-public.theme-padrao {
    background-image:
        linear-gradient(rgba(34, 197, 94, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, .025) 1px, transparent 1px),
        radial-gradient(circle at 16% 8%, rgba(34, 197, 94, .12), transparent 33%),
        linear-gradient(180deg, #05090d 0%, #07120f 100%) !important;
}
body.body-public.theme-padrao .produto-page {
    --pd-grid-size: 48px;
}
body.body-public.theme-neonazul .produto-page {
    --pd-grid-size: 56px;
}
body.body-public.theme-matrix_code .produto-page {
    --pd-grid-size: 60px;
}
body.body-public .produto-page .ln-dp-product-layout > .ln-dp-gallery-col {
    align-self: stretch !important;
    grid-column: 1;
    grid-row: 1;
}
body.body-public .produto-page .ln-dp-product-layout > .ln-dp-info-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 14px;
    align-items: stretch;
    align-self: stretch !important;
    grid-column: 2;
    grid-row: 1;
}
body.body-public .produto-page .v2-product-info-card {
    display: flex !important;
    flex-direction: column;
}
body.body-public .produto-page .v2-product-info-card > .ln-dp-info-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
}
body.body-public .produto-page .v2-product-info-card .ln-dp-kicker-row {
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
body.body-public .produto-page .v2-product-info-card .v2-delivery-badge {
    color: #08765c !important;
    background: #e9f8f0 !important;
    border-color: #bce8d5 !important;
}
body.body-public .produto-page .v2-product-info-card .v2-delivery-badge i {
    color: #08765c !important;
}
body.body-public .produto-page .v2-product-info-card .v2-demo-badge {
    width: 131px;
    justify-content: center;
    text-decoration: none;
}
body.body-public .produto-page .v2-product-info-card .v2-demo-badge:hover,
body.body-public .produto-page .v2-product-info-card .v2-demo-badge:focus-visible {
    color: #075f4b !important;
    background: #d7f3e5 !important;
    text-decoration: none;
}
body.body-public .produto-page .ln-dp-info-col > .ln-dp-benefits-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 10px !important;
    min-width: 0;
}
body.body-public .produto-page .ln-dp-info-col .ln-dp-benefit-card {
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px !important;
    text-align: center;
    border-color: var(--pd-surface-border) !important;
    background:
        linear-gradient(var(--pd-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--pd-grid-line) 1px, transparent 1px),
        linear-gradient(155deg, var(--pd-surface-start), var(--pd-surface-end)) !important;
    background-size: var(--pd-grid-size) var(--pd-grid-size), var(--pd-grid-size) var(--pd-grid-size), auto;
    box-shadow: none !important;
}
body.body-public .produto-page .ln-dp-info-col .ln-dp-benefit-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}
body.body-public .produto-page .ln-dp-info-col .ln-dp-benefit-heading > i {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--pd-accent) !important;
    font-size: .84rem;
    border: 1px solid color-mix(in srgb, var(--pd-accent) 34%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--pd-accent) 10%, transparent);
}
body.body-public .produto-page .ln-dp-info-col .ln-dp-benefit-card strong {
    margin: 0;
    font-size: .9rem !important;
    line-height: 1.25;
}
body.body-public .produto-page .ln-dp-info-col .ln-dp-benefit-card > span {
    width: 100%;
    text-align: left;
    color: rgba(203, 213, 225, .78) !important;
    font-size: .82rem !important;
    line-height: 1.35;
}
@media (min-width: 1400px) {
    body.body-public .produto-page.v2-product-page {
        max-width: min(calc(100vw - 256px), 1364px) !important;
    }
    body.body-public .produto-page .ln-dp-product-layout {
        width: 100%;
        grid-template-columns: minmax(0, 45%) minmax(0, 1fr) !important;
        gap: 24px !important;
    }
    body.body-public .produto-page .v2-product-info-card {
        padding-bottom: 16px !important;
    }
    body.body-public .produto-page .ln-dp-actions-product {
        width: calc(100% - 16px);
    }
    body.body-public .produto-page .ln-dp-actions-product .v9-main-cta {
        min-height: 40px !important;
        padding-block: 6px !important;
    }
    body.body-public .produto-page .ln-dp-secondary-submit {
        min-height: 34px !important;
        padding-block: 5px !important;
    }
}
@media (max-width: 1399px) {
    body.body-public .produto-page .ln-dp-product-layout > .ln-dp-info-col {
        grid-template-columns: minmax(0, 1fr) 216px;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    body.body-public .produto-page .ln-dp-product-layout {
        grid-template-columns: minmax(0, 45%) minmax(0, 1fr) !important;
    }
}
@media (max-width: 1199px) {
    body.body-public .produto-page .ln-dp-product-layout > .ln-dp-info-col {
        grid-template-columns: minmax(0, 1fr);
    }
    body.body-public .produto-page .ln-dp-info-col > .ln-dp-benefits-col {
        grid-template-columns: minmax(0, 1fr);
    }
}
body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card,
body.body-public .produto-page .ln-dp-info-col > .v2-product-info-card {
    height: 100% !important;
}
body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card {
    position: relative;
    isolation: isolate;
    overflow: visible;
    height: auto !important;
    max-width: 510px;
    margin-inline: auto;
    padding: 8px !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -10px -16px;
    border: 1px solid var(--pd-surface-border);
    border-radius: 24px;
    background:
        linear-gradient(var(--pd-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--pd-grid-line) 1px, transparent 1px),
        linear-gradient(155deg, var(--pd-surface-start), var(--pd-surface-end));
    background-size: var(--pd-grid-size) var(--pd-grid-size), var(--pd-grid-size) var(--pd-grid-size), auto;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .30);
}
@media (min-width: 992px) {
    body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card {
        margin-left: auto;
        margin-right: 0;
        padding-bottom: 14px !important;
    }
    body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card::before {
        top: -6px;
        bottom: -6px;
    }
    body.body-public .produto-page .ln-dp-info-col > .ln-dp-benefits-col {
        margin-top: -6px;
        margin-bottom: -6px;
    }
}
@media (min-width: 1200px) {
    body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card {
        margin-right: 10px;
    }
}
@media (max-width: 991px) {
    body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card::before {
        inset: -10px -8px;
    }
}
@media (min-width: 1200px) {
    body.body-public .produto-page .ln-dp-info-col > .ln-dp-benefits-col {
        margin-top: -6px;
        margin-bottom: -6px;
        grid-template-rows: repeat(3, minmax(0, 116px));
        align-content: space-between;
        gap: 10px !important;
    }
    body.body-public .produto-page .ln-dp-info-col .ln-dp-benefit-card {
        padding-bottom: 16px !important;
    }
}
body.body-public .produto-page .ln-dp-info-col > .v2-product-info-card {
    position: relative;
    isolation: isolate;
    overflow: visible;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: none;
    margin-left: 0;
    margin-right: auto;
}
@media (min-width: 1200px) {
    body.body-public .produto-page .ln-dp-product-layout > .ln-dp-info-col {
        width: calc(100% - 24px) !important;
        gap: 14px;
    }
}
@media (min-width: 1400px) {
    body.body-public .produto-page .ln-dp-product-layout > .ln-dp-info-col {
        width: calc(100% - 20px) !important;
        gap: 18px;
    }
}
body.body-public .produto-page .ln-dp-info-col > .v2-product-info-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -6px 0 -18px;
    border: 1px solid var(--pd-surface-border);
    border-radius: 24px;
    background:
        linear-gradient(var(--pd-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--pd-grid-line) 1px, transparent 1px),
        linear-gradient(155deg, var(--pd-surface-start), var(--pd-surface-end));
    background-size: var(--pd-grid-size) var(--pd-grid-size), var(--pd-grid-size) var(--pd-grid-size), auto;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .30);
}
@media (min-width: 992px) {
    body.body-public .produto-page .ln-dp-info-col > .v2-product-info-card::before {
        top: -6px;
        bottom: -6px;
    }
}
body.body-public .produto-page .v2-product-info-card .v2-product-price-line {
    margin: 14px 0 18px !important;
}
@media (min-width: 992px) {
    body.body-public .produto-page .v2-product-info-card .produto-titulo {
        font-size: 25px !important;
        text-wrap: wrap;
    }
}
body.body-public .produto-page .v2-product-description-section .v2-section-title h3 {
    margin-top: 0 !important;
    font-size: 22px !important;
}
body.body-public .produto-page .v2-product-description-title {
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 18px !important;
    width: 100%;
    max-width: none;
    margin: 0 0 22px;
    text-align: center;
}
body.body-public .produto-page .v2-product-description-title::before,
body.body-public .produto-page .v2-product-description-title::after {
    content: "";
    flex: 0 1 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .52));
}
body.body-public .produto-page .v2-product-description-title::after {
    background: linear-gradient(90deg, rgba(139, 92, 246, .52), transparent);
}
body.body-public .produto-page .v2-product-description-title h3 {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0;
    text-align: center;
}
@media (max-width: 575.98px) {
    body.body-public .produto-page .v2-product-description-title {
        gap: 12px !important;
    }
    body.body-public .produto-page .v2-product-description-title h3 {
        font-size: 20px !important;
    }
}
body.body-public .produto-page .v2-product-description-section {
    max-width: none !important;
}
body.body-public .produto-page .v2-product-description-copy {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 16px;
}
body.body-public .produto-page .v2-product-description-copy p + p {
    margin-top: 16px;
}
body.body-public .produto-page .v2-product-description-card {
    max-width: 1180px;
    margin-inline: auto;
    border-color: var(--pd-surface-border) !important;
    background: linear-gradient(155deg, var(--pd-surface-start), var(--pd-surface-end)) !important;
}
@media (min-width: 1400px) {
    body.body-public .produto-page .v2-product-description-card {
        transform: translateX(3px);
        padding-left: 44px !important;
    }
}
body.body-public .produto-page .v2-product-description-copy img {
    max-width: 100%;
    height: auto;
}
body.body-public .produto-page .v2-product-description-copy video,
body.body-public .produto-page .v2-product-description-copy iframe {
    max-width: 100%;
}
body.body-public .produto-page .v2-product-info-card .v2-product-form {
    margin-top: auto !important;
}
@media (min-width: 992px) {
    body.body-public .produto-page .v2-product-info-card:not(:has(.produto-opcoes-compra)) .v2-product-price-line {
        margin-top: auto !important;
    }
    body.body-public .produto-page .v2-product-info-card:not(:has(.produto-opcoes-compra)) .v2-product-form {
        margin-top: 0 !important;
    }
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-conjunto {
    display: block;
    width: 100%;
    min-width: 0;
    margin-inline: auto;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-conjunto.has-miniaturas {
    display: block;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria {
    width: 100%;
    min-width: 0;
    margin-inline: auto;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-conjunto.has-miniaturas > .produto-galeria {
    width: calc(100% - 132px);
    margin-inline: auto;
}
@media (min-width: 992px) {
    body.body-public .produto-page .v2-product-gallery-card .produto-galeria-conjunto.has-miniaturas {
        transform: translateY(3px);
    }
    body.body-public .produto-page .v2-product-gallery-card .produto-galeria-conjunto.has-miniaturas > .produto-galeria {
        width: min(100%, 470px);
    }
}
body.body-public .produto-page .v2-product-gallery-card .carousel-item > a {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 12px;
}
body.body-public .produto-page .v2-product-gallery-card .carousel-item > a::after,
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniatura::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1px solid rgba(220, 224, 230, .42);
    border-radius: 12px;
    content: "";
    pointer-events: none;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniatura::after {
    border-radius: 6px;
}
body.body-public .produto-page .v2-product-gallery-card .carousel-control-prev,
body.body-public .produto-page .v2-product-gallery-card .carousel-control-next {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(12, 16, 27, .72);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    opacity: .72;
}
body.body-public .produto-page .v2-product-gallery-card .carousel-control-prev:hover,
body.body-public .produto-page .v2-product-gallery-card .carousel-control-next:hover,
body.body-public .produto-page .v2-product-gallery-card .carousel-control-prev:focus-visible,
body.body-public .produto-page .v2-product-gallery-card .carousel-control-next:focus-visible {
    background: rgba(48, 34, 76, .9);
    border-color: rgba(193, 168, 255, .6);
    opacity: 1;
}
body.body-public .produto-page .v2-product-gallery-card .carousel-control-prev-icon,
body.body-public .produto-page .v2-product-gallery-card .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniaturas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin: 14px auto 0;
    padding: 0;
}
@media (min-width: 992px) {
    body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniaturas {
        margin-top: 18px;
        transform: none;
    }
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniatura {
    display: block;
    position: relative;
    flex: 0 1 100px;
    width: 100%;
    max-width: 100px;
    height: auto;
    min-height: 0;
    aspect-ratio: 1360 / 924;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: .86;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    background: transparent;
    transition: opacity .18s ease;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniatura:hover,
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniatura.active {
    opacity: 1;
    border: 0;
    box-shadow: none;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniatura:focus-visible {
    outline: 2px solid #ad73ff;
    outline-offset: 3px;
}
body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniatura img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1360 / 924;
    object-fit: contain;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}
body.body-public .mfp-wrap.mfp-gallery .mfp-image-holder .mfp-content {
    width: min(700px, calc(100vw - 48px)) !important;
}
body.body-public > .mfp-bg {
    z-index: 11000 !important;
}
body.body-public > .mfp-wrap.mfp-gallery {
    z-index: 11001 !important;
}
@media (max-width: 991px) {
    body.body-public .produto-page .ln-dp-product-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.body-public .produto-page .ln-dp-product-layout > .ln-dp-info-col {
        grid-template-columns: minmax(0, 1fr);
        grid-column: 1;
        grid-row: 2;
    }
    body.body-public .produto-page .ln-dp-info-col > .ln-dp-benefits-col {
        grid-template-columns: minmax(0, 1fr);
    }
    body.body-public .produto-page .ln-dp-gallery-col > .v2-product-gallery-card,
    body.body-public .produto-page .ln-dp-info-col > .v2-product-info-card {
        height: auto !important;
    }
    body.body-public .produto-page .v2-product-info-card .v2-product-price-line {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }
    body.body-public .produto-page .v2-product-info-card .v2-product-form {
        margin-top: auto !important;
    }
}
@media (max-width: 575px) {
    body.body-public .produto-page .ln-dp-info-col > .ln-dp-benefits-col {
        grid-template-columns: minmax(0, 1fr);
    }
    body.body-public .produto-page .v2-product-gallery-card .produto-galeria-conjunto.has-miniaturas > .produto-galeria,
    body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniaturas {
        width: calc(100% - 82px);
    }
    body.body-public .produto-page .v2-product-gallery-card .produto-galeria-miniaturas {
        gap: 6px;
        margin-top: 14px;
    }
}

/* Titulo do produto: mesma largura do botao verde; quebra de linha so quando chega nela */
body.body-public .produto-page .v2-product-info-card .produto-titulo {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-right: 0;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal !important;
    hyphens: manual;
    text-wrap: wrap;
}
