/*
   ESTILOS DE DETALHE DO PRODUTO v2
   Alinhado com o layout de ecommerce_frontend (design de referência)
*/

body.template-product {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fcfcfc;
    overflow-x: hidden;
    color: #1a1a1a;
}

/* ── Container principal ──────────────────────────────── */
body.template-product .product-detail-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* ── Breadcrumb (mesmo estilo das outras páginas) ──────── */
body.template-product .page-header {
    padding: 20px 0 24px;
}

body.template-product .product-detail-page__mobile-header {
    display: none;
}

body.template-product .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #777;
}

body.template-product .breadcrumbs a.crumb {
    color: #777;
    text-decoration: none;
}

body.template-product .breadcrumbs a.crumb:hover {
    color: #D9026D;
}

body.template-product .breadcrumbs .crumb.active {
    color: #1a1a1a;
    font-weight: 600;
}

body.template-product .breadcrumbs .separator {
    color: #ccc;
}

/* ── Layout do produto: grid 1fr 1fr ──────────────────── */
body.template-product .product-details-section {
    padding: 20px 0 60px;
}

body.template-product .product-detail-page__container .product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* ── Galeria ────────────────────────────────────────────── */
body.template-product .product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.template-product .product-detail-page__mobile-share {
    display: none;
}

/* Botão de wishlist removido, não existe no layout */

/* ── Imagem principal ──────────────────────────────────── */
body.template-product .main-image {
    position: relative;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    width: 100%;
}

body.template-product .main-image img,
body.template-product .product-slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mantém todas as mídias na mesma área, independentemente da proporção original */
body.template-product .js-product-slide-link {
    padding-bottom: 100% !important;
    background: #fff;
}

/* Preserva a estrutura horizontal exigida pelo Swiper nativo da Nuvemshop */
body.template-product .swiper-container.product-detail-slider {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
}

body.template-product .swiper-container.product-detail-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

body.template-product .swiper-container.product-detail-slider .swiper-slide {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    display: block;
}

body.template-product .product-video-thumb {
    color: #D9026D;
    background: #fff;
}

/*
 * A integracao e o player continuam sendo os nativos da Nuvemshop. Esta regra
 * apenas adapta o iframe oficial ao viewport quadrado da galeria deste tema.
 */
@media (min-width: 769px) {
    body.template-product .js-product-video-slide {
        width: 100%;
        height: auto !important;
        aspect-ratio: 1 / 1;
        min-height: 0;
        overflow: hidden;
    }

    body.template-product .js-product-video-slide > .product-video-container,
    body.template-product .js-product-video-slide > .product-video-container > .product-video,
    body.template-product .js-product-video-slide .product-native-video-container,
    body.template-product .js-product-video-slide .js-video-native-image {
        width: 100%;
        height: 100% !important;
        max-height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    body.template-product .js-product-video-slide .product-native-video-container {
        padding: 0 !important;
    }

    body.template-product .js-product-video-slide .js-video-native-image {
        position: relative;
    }

    body.template-product .js-product-video-slide .js-external-video-iframe-container {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100% !important;
        max-height: 100%;
        padding: 0 !important;
        overflow: hidden;
        background: #303030;
    }

    body.template-product .js-product-video-slide .js-external-video-iframe-container iframe {
        position: absolute !important;
        top: 0;
        right: auto !important;
        bottom: auto !important;
        left: 0;
        transform: none;
        display: block;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        border: 0;
    }

    body.template-product .js-product-video-slide .video-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #303030;
    }
}

/* ── Miniaturas ─────────────────────────────────────────── */
body.template-product .product-thumbs-container {
    display: block;
    position: relative;
    width: 85px;
    margin-top: 0;
    overflow: visible;
}

body.template-product .swiper-product-thumb {
    width: 85px;
    height: clamp(300px, 38vw, 480px);
    overflow: hidden;
}

body.template-product .swiper-product-thumb .swiper-slide {
    width: 85px !important;
    max-width: 85px;
    flex-shrink: 0;
}

body.template-product .product-thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    flex-shrink: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.template-product .product-thumb.selected {
    border-color: #D9026D;
}

body.template-product .product-thumb .product-thumb-image {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    object-position: center;
    transform: none !important;
    text-indent: 0;
}

/* Navegação vertical para produtos com muitas imagens */
body.template-product .swiper-product-thumb-control {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    color: #D9026D;
    cursor: pointer;
}

body.template-product .swiper-product-thumb-control.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* ── Informações do Produto ────────────────────────────── */
body.template-product .product-info {
    display: flex;
    flex-direction: column;
}

body.template-product .product-info-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 16px;
    text-align: left;
}

body.template-product .product-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

body.template-product .js-product-sku {
    color: #D9026D;
    font-weight: 600;
    font-size: 14px;
}

/* ── Preços ──────────────────────────────────────────────── */
body.template-product .price-container {
    margin-bottom: 35px;
}

body.template-product .js-price-display {
    font-size: 42px;
    font-weight: 800;
    color: #D9026D;
    line-height: 1.1;
}

body.template-product .product-pix-benefit {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    color: #167A45;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

body.template-product .product-pix-benefit__price {
    color: #126A3B;
    font-size: 18px;
    font-weight: 800;
}

body.template-product .product-pix-benefit__method {
    font-weight: 700;
}

body.template-product .price-compare {
    color: #999;
    text-decoration: line-through;
    font-size: 16px;
    margin-left: 8px;
}

/* Oculta parcelamento, descontos combinados etc que poluem */
body.template-product .js-product-discount-container,
body.template-product .js-product-promo-container,
body.template-product .price-without-taxes,
body.template-product .js-free-shipping-minimum-message,
body.template-product .tooltip-container {
    display: none;
}

body.template-product .price-container .js-product-payments-container {
    display: block;
    text-align: left;
    margin: 10px 0 0;
}

body.template-product .price-container .js-product-payments-container > :not(#btn-installments) {
    display: none !important;
}

body.template-product .price-container #btn-installments {
    color: #D9026D;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Ações de Compra ────────────────────────────────────── */
body.template-product .product-buy-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* Seletor de quantidade */
body.template-product .product-quantity-block {
    max-width: 180px;
    margin-bottom: 0;
}

body.template-product .form-quantity-product {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 30px;
    min-height: 50px;
    padding: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    margin: 0;
}

/* Força todos os filhos diretos a ficarem na mesma linha */
body.template-product .form-quantity-product > * {
    flex: 0 0 auto;
    max-width: none;
    margin: 0;
}

/* Container do input dentro do form-quantity-product */
body.template-product .form-quantity-product .col.px-0 {
    flex: 0 1 auto;
    max-width: 50px;
    padding: 0;
}

body.template-product .form-quantity-icon {
    background: transparent;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    line-height: 1;
}

body.template-product .form-quantity-icon:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

body.template-product .js-quantity-input {
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    width: 40px;
    min-height: 35px;
    max-width: 40px;
    font-size: 16px;
    color: #1a1a1a;
    padding: 0;
    box-shadow: none;
    flex: 0 0 auto;
}

/* Botão "COMPRAR AGORA" */
body.template-product .product-buy-now-btn {
    background: #F2B705;
    border: none;
    color: #1a1a1a;
    height: 50px;
    min-height: 50px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
    transition: transform 0.2s, background-color 0.2s;
    text-transform: uppercase;
    box-shadow: none;
}

body.template-product .product-buy-now-btn:hover {
    background: #D99F00;
    transform: translateY(-2px);
}

/* Botão "ADICIONAR AO CARRINHO" */
body.template-product .product-add-to-cart-btn {
    background: #F2B705;
    border: none;
    color: #1a1a1a;
    height: 50px;
    min-height: 50px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
    transition: transform 0.2s, background-color 0.2s;
    text-transform: uppercase;
    box-shadow: none;
}

body.template-product .product-add-to-cart-btn:hover {
    background: #D99F00;
    transform: translateY(-2px);
}

/* Ícone do carrinho no botão — PRETO (não branco) */
body.template-product .btn-cart-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    color: #1a1a1a;
    stroke: currentColor;
}

body.template-product .product-add-to-cart-placeholder {
    background: #FFF0F7;
    border: 1px solid #D9026D;
    color: #D9026D;
    height: 50px;
    min-height: 50px;
    border-radius: 30px;
    font-weight: 800;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* ── Compra Protegida ─────────────────────────────────── */
body.template-product .product-protected-purchase {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
}

body.template-product .protected-purchase-icon {
    flex: 0 0 18px;
    margin-top: 1px;
}

body.template-product .product-protected-purchase + * {
    margin-top: 32px;
}

body.template-product .product-bulk-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
}

body.template-product .bulk-contact-icon {
    flex: 0 0 18px;
    margin-top: 1px;
}

body.template-product .bulk-contact-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

body.template-product .bulk-contact-text strong {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 13px;
}

body.template-product .bulk-contact-text span {
    font-size: 12px;
    color: #999;
}

body.template-product .protected-purchase-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

body.template-product .protected-purchase-text strong {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 13px;
}

body.template-product .protected-purchase-text span {
    font-size: 12px;
    color: #999;
}

/* ── Calculadora de Frete ───────────────────────────────── */
body.template-product #product-shipping-container {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 0;
    box-sizing: border-box;
    position: relative;
    clear: both;
}

body.template-product .product-shipping-calculator {
    background: #FFF0F7;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

body.template-product .shipping-calculator-head {
    display: block;
    height: auto;
    min-height: 0;
    margin-bottom: 15px;
    overflow: visible;
}

body.template-product .shipping-calculator-head .position-absolute,
body.template-product .shipping-calculator-head .transition-up {
    position: static !important;
    top: auto !important;
    transform: none !important;
}

body.template-product .shipping-calculator-head.with-form .js-shipping-calculator-with-zipcode,
body.template-product .shipping-calculator-head.with-zip .js-shipping-calculator-form {
    display: none !important;
}

body.template-product .shipping-calculator-head.with-form .js-shipping-calculator-form,
body.template-product .shipping-calculator-head.with-zip .js-shipping-calculator-with-zipcode {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.template-product .js-shipping-calculator-with-zipcode .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

body.template-product .js-shipping-calculator-with-zipcode .col,
body.template-product .js-shipping-calculator-with-zipcode .col-auto {
    flex: 0 1 auto;
    padding: 0;
}

body.template-product .shipping-calculator-head-with-form .shipping-calculator-head p {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

body.template-product .js-shipping-calculator-form {
    display: flex;
    gap: 10px;
    position: static !important;
    width: 100%;
    transform: none !important;
}

body.template-product .js-shipping-calculator-form .form-group {
    width: 100%;
}

body.template-product .js-shipping-calculator-form .position-relative {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

body.template-product .js-shipping-calculator-form .form-control {
    flex: 1;
    min-width: 0;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #fff;
    outline: none;
    font-size: 14px;
    background: #fff;
}

body.template-product .js-shipping-calculator-form .form-control-submit {
    position: static;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid #D9026D;
    background: #fff;
    color: #D9026D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

body.template-product .js-shipping-calculator-form .form-control-submit:hover {
    background: #D9026D;
    color: #fff;
}

body.template-product .js-shipping-calculator-form .btn {
    background: #fff;
    color: #D9026D;
    border: 1px solid #D9026D;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    white-space: nowrap;
}

body.template-product .js-shipping-calculator-form .btn:hover {
    background: #D9026D;
    color: #fff;
}

body.template-product .js-shipping-calculator-options {
    margin-top: 10px;
    font-size: 13px;
}

body.template-product .js-shipping-calculator-response {
    clear: both;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

body.template-product .js-shipping-calculator-options .list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.template-product .js-shipping-calculator-options .list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

body.template-product .js-shipping-calculator-options .list li:last-child {
    border-bottom: none;
}

body.template-product .js-shipping-calculator-options .shipping-calculator-row strong {
    color: #1a1a1a;
}

/* ── Trust badges ────────────────────────────────────────── */
/* Adiciona badges de confiança após o form do produto */
/* No desktop, o frete ocupa uma linha própria abaixo da galeria e do resumo */
@media (min-width: 1101px) {
    body.template-product #product-shipping-container {
        padding: 24px;
    }

    body.template-product #product-shipping-container .js-shipping-calculator-response .radio-button-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.template-product #product-shipping-container .js-shipping-calculator-response .radio-button-container > li {
        min-width: 0;
        margin-bottom: 0 !important;
    }

    body.template-product #product-shipping-container .js-shipping-calculator-response .radio-button-container > div {
        grid-column: 1 / -1;
    }
}

body.template-product .js-product-form::after {
    content: '';
    display: block;
    clear: both;
}

body.template-product .js-product-form .trust-badges-container {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

/* ── Descrição do Produto ────────────────────────────────── */
body.template-product .product-detail-page__tabs-shell {
    margin-bottom: 80px;
}

body.template-product .product-description-title {
    font-size: 20px;
    font-weight: 700;
    color: #D9026D;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

body.template-product .product-tabs__content {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
}

body.template-product .product-tabs__content p {
    margin-bottom: 20px;
}

body.template-product .product-tabs__content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

body.template-product .product-tabs__content li {
    margin-bottom: 10px;
}

/* ── Produtos Relacionados ─────────────────────────────── */
/* Herda a estrutura de .product-detail-page__tabs-shell,
   mesma classe usada pela seção "Descrição". O título usa
   .product-description-title para manter o alinhamento visual. */

body.template-product .product-related-section .product-description-title {
    color: #1a1a1a;
}

/* Converte o slider swiper em grid */
body.template-product .product-related-section .swiper-container {
    overflow: visible;
    padding: 0;
}

body.template-product .product-related-section .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    transform: none;
    flex-wrap: nowrap;
    width: 100%;
    height: auto;
}

body.template-product .product-related-section .swiper-slide {
    width: 100%;
    max-width: 100%;
    flex: none;
    height: auto;
    padding: 0;
}

body.template-product .product-related-section .swiper-slide .js-item-info-container.item {
    margin-bottom: 0;
    height: 100%;
}

/* Oculta navegação do swiper nos relacionados */
body.template-product .product-related-section .swiper-button-prev,
body.template-product .product-related-section .swiper-button-next,
body.template-product .product-related-section .text-center {
    display: none;
}

body.template-product .product-related-empty {
    text-align: left;
    color: #999;
    font-size: 14px;
    padding: 20px 0;
}

body.template-product .product-related-section .product-related-section-inner .swiper-slide {
    width: 100%;
}

body.template-product .product-related-section .product-related-section-inner .swiper-slide > div {
    height: 100%;
}

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    body.template-product .product-detail-page__container .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 1100px) and (min-width: 769px) {
    body.template-product .product-buy-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    body.template-product .product-buy-now-btn,
    body.template-product .product-add-to-cart-btn {
        width: 100%;
        min-width: 0;
        padding: 0 18px;
    }
}

@media (max-width: 992px) {
    body.template-product .product-related-section .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.template-product .product-detail-page__container {
        padding: 10px 12px 42px;
    }

    body.template-product .product-detail-page__header {
        display: none;
    }

    body.template-product .product-detail-page__mobile-header {
        display: block;
        padding: 0;
        margin: -4px 0 0;
        padding-left: 8px;
        padding-right: 8px;
    }

    body.template-product .breadcrumbs {
        font-size: 12px;
        line-height: 1.4;
    }

    body.template-product .product-details-section {
        padding: 8px 0 18px;
    }

    body.template-product .product-detail-page__container .product-container {
        gap: 16px;
        margin-bottom: 20px;
    }

    body.template-product .product-gallery > .row {
        margin-left: 0;
        margin-right: 0;
    }

    body.template-product .product-gallery > .row > .col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        min-width: 0;
    }

    body.template-product .product-detail-slider {
        border-radius: 16px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #f0f0f0;
    }

    body.template-product .js-product-slide-link {
        padding-bottom: 100% !important;
    }

    body.template-product .product-slider-image {
        object-fit: contain;
    }

    body.template-product .js-swiper-product-pagination {
        color: #666;
        font-weight: 700;
    }

    body.template-product .swiper-button-small {
        min-width: 42px;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.template-product .product-info {
        min-width: 0;
        padding-left: 8px;
        padding-right: 8px;
    }

    body.template-product .product-detail-page__mobile-share {
        display: block;
        padding: 0 8px;
        margin-top: -4px;
        text-align: left;
    }

    body.template-product .product-info,
    body.template-product .price-container,
    body.template-product .js-price-container {
        text-align: left !important;
    }

    body.template-product .product-info > div:first-child {
        padding-top: 0 !important;
    }

    body.template-product .js-product-form {
        margin-top: 18px !important;
    }

    body.template-product .js-product-form > .row {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 14px !important;
    }

    body.template-product .js-product-form > .row > .col-12:not(.product-quantity-block):not(.product-buy-actions) {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    body.template-product .product-buy-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
        padding-left: 0 !important;
        flex: 1 1 0;
        width: auto;
        max-width: calc(100% - 122px);
    }

    body.template-product .product-buy-now-btn,
    body.template-product .product-add-to-cart-btn {
        width: 100%;
        min-width: unset;
        min-height: 44px;
        height: 44px;
        padding: 0 12px;
        font-size: 12px;
    }

    body.template-product .product-quantity-block {
        flex: 0 0 114px;
        width: 114px;
        max-width: 114px;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 8px;
    }

    body.template-product .form-quantity-product {
        min-height: 40px;
        border-radius: 12px;
        padding: 3px;
    }

    body.template-product .form-quantity-product .col.px-0 {
        max-width: 38px;
        flex: 1 1 auto;
    }

    body.template-product .form-quantity-icon {
        width: 32px;
        height: 32px;
    }

    body.template-product .js-quantity-input {
        width: 38px;
        max-width: 38px;
        min-height: 32px;
        font-size: 14px;
    }

    body.template-product .product-info-title {
        font-size: 26px;
        line-height: 1.22;
        margin-bottom: 10px;
    }

    body.template-product .js-price-display {
        font-size: 32px;
    }

    body.template-product .price-container {
        margin-bottom: 18px;
    }

    body.template-product .js-price-container {
        margin-bottom: 8px !important;
    }

    body.template-product .price-container .js-product-payments-container {
        display: block !important;
        text-align: left !important;
        margin: 8px 0 0 !important;
    }

    body.template-product .price-container .js-product-payments-container[style*="display: none"] {
        display: none !important;
    }

    body.template-product .price-container #btn-installments {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        color: #D9026D;
        font-size: 13px;
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    body.template-product .js-product-variants {
        margin-left: 0;
        margin-right: 0;
    }

    body.template-product .js-product-variants-group {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    body.template-product .form-group {
        margin-bottom: 14px;
    }

    body.template-product .form-select,
    body.template-product .form-control {
        min-height: 46px;
        font-size: 16px;
    }

    body.template-product .product-gallery {
        gap: 12px;
    }

    body.template-product .product-thumb {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    body.template-product .product-shipping-calculator {
        padding: 15px;
        margin-bottom: 22px;
        border-radius: 14px;
    }

    body.template-product .js-shipping-calculator-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: stretch;
    }

    body.template-product .js-shipping-calculator-form .form-control {
        min-width: 0;
        padding: 0 14px;
        min-height: 44px;
    }

    body.template-product .js-shipping-calculator-form .btn {
        min-height: 44px;
        padding: 0 14px;
    }

    body.template-product .product-protected-purchase {
        margin: 8px 0 22px;
        padding: 14px;
        border-radius: 14px;
        background: #FFF0F7;
    }

    body.template-product .product-protected-purchase + * {
        margin-top: 0;
    }

    body.template-product .product-bulk-contact {
        margin: -8px 0 20px;
        padding: 14px;
        border-radius: 14px;
        background: #fffaf0;
    }

    body.template-product .product-detail-page__tabs-shell {
        margin-bottom: 28px;
    }

    body.template-product .product-description-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    body.template-product .product-tabs__content {
        font-size: 14px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    body.template-product .product-related-section .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.template-product .product-related-section .swiper-slide {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    body.template-product .product-detail-page__container {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.template-product .product-info-title {
        font-size: 23px;
    }

    body.template-product .js-price-display {
        font-size: 30px;
    }

    body.template-product .price-compare {
        display: block;
        margin-left: 0;
        margin-top: 4px;
        font-size: 14px;
    }

    body.template-product .product-buy-now-btn,
    body.template-product .product-add-to-cart-btn {
        font-size: 13px;
        letter-spacing: 0;
    }

    body.template-product .js-shipping-calculator-form {
        grid-template-columns: 1fr;
    }

    body.template-product .js-shipping-calculator-form .position-relative {
        flex-direction: column;
    }

    body.template-product .js-shipping-calculator-form .btn,
    body.template-product .js-shipping-calculator-form .form-control-submit {
        width: 100%;
    }

    body.template-product .protected-purchase-text {
        font-size: 12px;
    }

    body.template-product .product-related-section .swiper-wrapper {
        gap: 10px;
    }
}

@media (max-width: 360px) {
    body.template-product .product-related-section .swiper-wrapper {
        grid-template-columns: 1fr;
    }
}
