
/* STP MARKET - DETALHES PREMIUM V1 */

.stp-product-page {
    --stp-dark: #103d70;
    --stp-dark-2: #086bd9;
    --stp-accent: #086bd9;
    --stp-bg: #eef4fc;
    --stp-border: #e1e8f3;
    --stp-soft: #60758e;
    --stp-success: #16a34a;
    background: #eef4fc !important;
    padding: 16px 0 72px !important;
    min-height: 100vh;
}

.stp-product-page,
.stp-product-page * {
    box-sizing: border-box;
}

.stp-product-container {
    max-width: 1320px !important;
    width: 100%;
}

.stp-product-breadcrumb {
    display: none !important;
}

.stp-product-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr) !important;
    align-items: start !important;
    gap: 18px !important;
}

.stp-product-main-column,
.stp-info-stack {
    min-width: 0;
}

.stp-info-stack {
    position: static !important;
    display: grid;
    gap: 12px !important;
}

.stp-gallery-card,
.stp-info-card,
.stp-seller-card,
.stp-safe-card,
.stp-description-card {
    background: #fff !important;
    border: 1px solid #dce6f3 !important;
    border-radius: 15px !important;
    box-shadow: 0 3px 14px rgba(16, 61, 112, .035) !important;
}

.stp-gallery-card {
    padding: 10px !important;
    overflow: hidden;
}

.stp-main-media {
    min-height: 0 !important;
    height: 430px !important;
    border-radius: 11px !important;
    background: #f1f5f9 !important;
}

.stp-main-image,
.stp-main-video {
    min-height: 0 !important;
    max-height: none !important;
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
}

.stp-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px !important;
    margin-top: 10px !important;
}

.stp-thumb-btn {
    border-radius: 9px !important;
    padding: 3px !important;
}

.stp-thumb-btn.active-thumb {
    border-color: #086bd9 !important;
    box-shadow: none !important;
}

.stp-thumb-btn img,
.stp-thumb-video {
    border-radius: 6px !important;
}

.stp-expand-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
}

.stp-gallery-nav {
    width: 36px !important;
    height: 36px !important;
}

.stp-gallery-counter {
    min-height: 27px !important;
    font-size: 11px !important;
}

.stp-info-card {
    padding: 20px !important;
}

.stp-product-tag-row {
    margin-bottom: 10px !important;
    gap: 6px !important;
}

.stp-category-tag,
.stp-status-tag,
.stp-video-tag {
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
}

.stp-product-title {
    color: #103d70 !important;
    font-size: clamp(21px, 2.1vw, 29px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em !important;
    margin-bottom: 12px !important;
}

.stp-product-price {
    color: #073d72 !important;
    font-size: clamp(25px, 2.5vw, 34px) !important;
    margin-bottom: 15px !important;
}

.stp-product-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.stp-meta-box {
    border-radius: 10px !important;
    padding: 10px !important;
    gap: 8px !important;
    background: #f7faff !important;
    border-color: #e4ebf5 !important;
}

.stp-meta-icon {
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    border-radius: 8px !important;
    background: #eaf2fd !important;
    color: #086bd9 !important;
}

.stp-meta-box small {
    font-size: 10px !important;
}

.stp-meta-box strong {
    font-size: 12px !important;
    color: #103d70 !important;
}

.stp-action-area {
    margin-top: 15px !important;
    gap: 8px !important;
}

.stp-btn-whatsapp,
.stp-btn-favorite,
.stp-btn-share,
.stp-btn-copy {
    min-height: 42px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

.stp-btn-whatsapp {
    background: #16b755 !important;
    color: #fff !important;
}

.stp-btn-favorite {
    background: #fff !important;
    border: 1px solid #cddbeb !important;
    color: #103d70 !important;
}

.stp-btn-favorite.is-favorited {
    color: #e11d48 !important;
    background: #fff1f2 !important;
}

.stp-action-grid {
    gap: 8px !important;
}

.stp-btn-share,
.stp-btn-copy {
    min-height: 38px !important;
    background: #f7faff !important;
    color: #103d70 !important;
}

.stp-seller-card,
.stp-safe-card {
    padding: 16px !important;
}

.stp-seller-main {
    gap: 12px !important;
}

.stp-seller-avatar {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    font-size: 16px !important;
    background: #074d66 !important;
    box-shadow: none !important;
}

.stp-seller-name {
    font-size: 14px !important;
    color: #103d70 !important;
}

.stp-seller-sub {
    font-size: 11px !important;
}

.stp-card-title {
    font-size: 14px !important;
    margin-bottom: 10px !important;
    color: #103d70 !important;
}

.stp-safe-list {
    gap: 7px !important;
}

.stp-safe-list li {
    font-size: 11px !important;
}

.stp-description-card {
    margin-top: 14px !important;
    padding: 20px !important;
}

.stp-description-title {
    color: #103d70 !important;
    font-size: 17px !important;
}

.stp-description-text {
    color: #344861 !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
    overflow-wrap: anywhere;
}

.market-strip-section {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
}

.market-strip-title-wrap h2 {
    color: #103d70 !important;
    font-size: 17px !important;
}

.market-strip-title-wrap a {
    color: #086bd9 !important;
}

.market-strip-scroll {
    grid-auto-columns: 170px !important;
    gap: 10px !important;
}

.market-strip-card {
    border: 1px solid #e1e8f3 !important;
    border-radius: 11px !important;
    overflow: hidden;
}

.market-strip-image-link {
    height: 125px !important;
}

.market-strip-body {
    padding: 10px !important;
}

.market-strip-product-title {
    color: #086bd9 !important;
    font-size: 12px !important;
}

.market-strip-price {
    color: #103d70 !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.stp-whatsapp-float {
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
    background: #16b755 !important;
}

@media (max-width: 991.98px) {
    .stp-product-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .stp-product-main-column {
        display: contents !important;
    }

    .stp-gallery-card {
        order: 1;
        width: 100%;
    }

    .stp-info-stack {
        order: 2;
        width: 100%;
    }

    .stp-description-card {
        order: 3;
        width: 100%;
        margin-top: 0 !important;
    }

    .market-strip-section {
        order: 4;
        width: 100%;
        min-width: 0;
    }

    .stp-main-media {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }

    .stp-product-container {
        max-width: 720px !important;
    }
}

@media (max-width: 575.98px) {
    .stp-product-page {
        padding-top: 10px !important;
        padding-bottom: calc(105px + env(safe-area-inset-bottom)) !important;
    }

    .stp-product-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .stp-main-media {
        aspect-ratio: 1 / 1 !important;
    }

    .stp-info-card,
    .stp-description-card {
        padding: 15px !important;
    }

    .stp-product-title {
        font-size: 21px !important;
    }

    .stp-product-price {
        font-size: 26px !important;
    }

    .stp-thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .stp-product-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .stp-meta-box {
        padding: 8px !important;
        gap: 5px !important;
    }

    .stp-meta-icon {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
    }

    .stp-meta-box strong {
        font-size: 11px !important;
    }

    .market-strip-scroll {
        grid-auto-columns: 145px !important;
    }

    html.is-pwa .stp-whatsapp-float {
        display: none !important;
    }
}
