/* ========================================================
   PRODUTO INTERNO MODERNO - SM MADEIRAS 2026
   ======================================================== */

.sm-product-breadcrumb-wrap {
    padding: 100px 0 10px 0;
    background: transparent;
}

.sm-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--sm-muted);
}

.sm-breadcrumb a {
    color: #7A726C;
    text-decoration: none;
    transition: color 0.2s;
}

.sm-breadcrumb a:hover {
    color: var(--sm-primary);
}

.sm-breadcrumb .sep {
    color: #C8C2BA;
    font-size: 10px;
}

.sm-breadcrumb .current {
    color: var(--sm-dark);
    font-weight: 600;
}

/* SEÇÃO PRINCIPAL DO PRODUTO */
.sm-product-hero-section {
    padding: 15px 0 70px 0;
}

.sm-gallery-open {
    position: relative;
}

.sm-main-image-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #EDE8E1;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.sm-main-image-viewport a {
    display: block;
    width: 100%;
    height: 100%;
}

.sm-main-image-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    cursor: zoom-in;
}

.sm-main-image-viewport:hover img {
    transform: scale(1.025);
}

.sm-gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #191614;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 5;
}

.sm-gallery-nav-btn:hover {
    background: var(--sm-forest);
    color: #FFF;
    transform: translateY(-50%) scale(1.08);
}

.sm-gallery-nav-prev { left: 14px; }
.sm-gallery-nav-next { right: 14px; }

.sm-thumbnails-track {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.sm-thumbnails-track::-webkit-scrollbar {
    display: none;
}

.sm-thumb-btn {
    flex: 0 0 68px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #EDE8E1;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.sm-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sm-thumb-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.sm-thumb-btn.active {
    opacity: 1;
    border-color: var(--sm-primary);
}

.sm-synonyms-text {
    font-size: 12.5px;
    color: #7D756E;
    line-height: 1.5;
    margin-top: 16px;
    padding-left: 2px;
}

.sm-synonyms-text strong {
    color: var(--sm-forest);
    font-weight: 700;
}

/* ESPECIFICAÇÕES COLUNA DIREITA */
.sm-product-info-flow {
    padding-left: 10px;
}

.sm-product-title-editorial {
    font-size: clamp(34px, 3.8vw, 46px);
    font-weight: 800;
    color: var(--sm-primary);
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.sm-botanical-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14.5px;
    color: #6E6862;
}

.sm-botanical-name {
    font-style: italic;
    font-weight: 500;
    color: #4C4642;
}

.sm-product-description-open {
    font-size: 15.5px;
    line-height: 1.65;
    color: #45403B;
    margin-bottom: 28px;
    max-width: 540px;
}

.sm-editorial-specs-list {
    margin-bottom: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sm-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.sm-spec-row-label {
    color: #7D756E;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-spec-row-value {
    font-weight: 600;
    color: var(--sm-dark);
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-profiles-wrap {
    margin-bottom: 28px;
}

.sm-profiles-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8C847D;
    margin-bottom: 10px;
}

.sm-profiles-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sm-profile-pill {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(11, 59, 50, 0.25);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sm-forest);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sm-profile-pill:hover {
    background: var(--sm-forest);
    color: #FFFFFF;
    border-color: var(--sm-forest);
}

.sm-cta-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.sm-btn-whatsapp-hero {
    background: #1DA851;
    color: #FFFFFF !important;
    padding: 15px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.sm-btn-whatsapp-hero:hover {
    background: #179344;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 168, 81, 0.25);
    color: #FFF !important;
}

/* SEÇÃO TÉCNICA E DESEMPENHO */
.sm-technical-section-open {
    padding: 80px 0;
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sm-section-editorial-header {
    margin-bottom: 50px;
}

.sm-sec-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sm-primary);
    margin-bottom: 6px;
    display: block;
}

.sm-sec-heading {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--sm-dark);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.1px;
}

.sm-sec-subheading {
    font-size: 15px;
    color: var(--sm-muted);
    max-width: 650px;
    line-height: 1.55;
    margin: 0;
}

.sm-metric-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.sm-metric-title {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sm-dark);
}

.sm-metric-badge-clean {
    font-size: 12px;
    font-weight: 700;
    color: var(--sm-forest);
}

.sm-ruler-clean {
    display: flex;
    gap: 6px;
    height: 6px;
    margin-bottom: 8px;
}

.sm-ruler-step {
    flex: 1;
    background: #EAE5DE;
    border-radius: 3px;
}

.sm-ruler-step.fill {
    background: var(--sm-forest);
}

.sm-ruler-step.fill-highlight {
    background: var(--sm-primary);
}

.sm-ruler-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #8C847D;
}

.sm-editorial-subblock-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--sm-forest);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-editorial-subblock-title i {
    color: var(--sm-primary);
    font-size: 15px;
}

.sm-editorial-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.sm-editorial-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: #4C4642;
    line-height: 1.6;
    margin-bottom: 10px;
}

.sm-editorial-list li:last-child {
    margin-bottom: 0;
}

.sm-editorial-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--sm-primary);
    font-weight: bold;
}

/* ORIGEM RESPONSÁVEL BANNER */
.sm-origin-panoramic {
    background: var(--sm-forest-dark);
    border-radius: 12px;
    padding: 44px 48px;
    color: #FFFFFF;
    margin-top: 60px;
}

.sm-origin-title {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    margin-bottom: 10px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.sm-origin-p {
    font-size: 15px;
    color: #D3DDD9;
    max-width: 860px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.sm-origin-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sm-origin-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #F0F5F3;
}

.sm-origin-badge-item i {
    color: var(--sm-sage);
    font-size: 16px;
}

/* OUTRAS ESPÉCIES NOBRES */
.sm-related-open-section {
    padding: 80px 0 50px 0;
}

.sm-related-item-clean {
    text-decoration: none !important;
    display: block;
    transition: transform 0.25s ease;
}

.sm-related-item-clean:hover {
    transform: translateY(-4px);
}

.sm-related-clean-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #EDE8E1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.sm-related-clean-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sm-related-item-clean:hover .sm-related-clean-thumb img {
    transform: scale(1.05);
}

.sm-related-clean-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--sm-dark);
    margin-bottom: 3px;
    transition: color 0.2s;
}

.sm-related-item-clean:hover .sm-related-clean-title {
    color: var(--sm-primary);
}

.sm-related-clean-tone {
    font-size: 12.5px;
    color: #7D756E;
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* CTA FINAL */
.sm-final-cta-wrap {
    padding: 10px 0 70px 0;
}

.sm-final-cta {
    background: #FFFFFF;
    border: 1px solid #ECE7E1;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(25, 22, 20, 0.07);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.sm-final-cta-tag {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sm-primary);
    margin-bottom: 10px;
}

.sm-final-cta-title {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: var(--sm-dark);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin: 0 0 10px 0;
}

.sm-final-cta-desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--sm-muted);
    max-width: 580px;
    margin: 0;
}

.sm-final-cta-btn {
    flex: 0 0 auto;
    background: var(--sm-primary);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 14px 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(189, 87, 37, 0.3);
    transition: all 0.25s ease;
}

.sm-final-cta-btn:hover {
    background: #8C3B13;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(189, 87, 37, 0.4);
}

/* BARRA FIXA DE ORÇAMENTO MOBILE */
.sm-sticky-cta {
    display: none;
}

@media (max-width: 991px) {
    .sm-product-breadcrumb-wrap {
        padding-top: 80px !important;
    }

    .sm-sticky-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
        background: #1DA851;
        color: #FFFFFF !important;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none !important;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
        transform: translateY(110%);
        transition: transform 0.3s ease;
    }

    .sm-sticky-cta.is-visible {
        transform: translateY(0);
    }

    body {
        padding-bottom: 56px;
    }

    .sm-final-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 28px 22px;
        gap: 20px;
    }

    .sm-final-cta-btn {
        justify-content: center;
    }

    .sm-product-info-flow {
        padding-left: 0;
        margin-top: 30px;
    }

    .sm-origin-panoramic {
        padding: 30px 24px;
    }
}

