/**
 * CIMED THEME — single-produto.css
 * Vercel Replica Match
 */

.sp-main {
    background-color: #FAFAFA;
    padding-top: 40px;
    padding-bottom: 0px;
    font-family: inherit;
}

/* TOP SECTION */
.sp-top-section {
    background: linear-gradient(180deg, #F0F4FA 0%, #FAFAFA 100%);
    padding-bottom: 60px;
}

.sp-top-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 50px;
    padding-top: 30px;
}

.sp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.sp-back-link:hover {
    color: #000;
}

.sp-breadcrumbs {
    font-size: 13px;
    color: #777;
}

/* HERO */
.sp-hero {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* HERO IMAGE COL */
.sp-hero-image-col {
    flex: 1;
    max-width: 500px;
}

.sp-image-box {
    background-color: #FFF;
    border: 3px solid #FFC000;
    border-radius: 20px;
    position: relative;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.03);
}

.sp-image-inner {
    width: 100%;
    height: 100%;
    background-color: #F8F8F8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sp-image-box img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.sp-cat-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: #111;
    color: #FFC000;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* HERO INFO COL */
.sp-hero-info-col {
    flex: 1.2;
    padding-top: 10px;
}

.sp-title {
    font-size: 44px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.sp-dosagem-highlight {
    color: #FFC000;
}

.sp-subtitle {
    font-size: 18px;
    color: #444;
    margin-bottom: 24px;
}

.sp-registro-badge {
    display: inline-block;
    background-color: #FFC000;
    color: #111;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* CONTEUDOS DINAMICOS (Principio, Indicacao) */
.sp-conteudos-dinamicos {
    margin-bottom: 40px;
}

.sp-conteudo-block {
    margin-bottom: 30px;
}

.sp-conteudo-box {
    background-color: #F1F2F4;
    border: 1px solid #E2E4E8;
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 35px;
}

.sp-cont-title {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sp-cont-text {
    font-size: 17px;
    color: #222;
    line-height: 1.6;
}

.sp-cont-text p {
    margin-bottom: 10px;
}

.sp-conteudo-box .sp-cont-text {
    font-size: 18px;
    font-weight: 600;
}

.sp-conteudo-box .sp-cont-text p {
    font-weight: 400;
    font-size: 15px;
    color: #666;
    margin-top: 6px;
}

/* APRESENTACOES */
.sp-apresentacoes-area {
    margin-bottom: 40px;
}

.sp-apres-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.sp-apres-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.sp-apres-btn {
    background: #F8F9FA;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px 24px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}

.sp-apres-btn:hover {
    background: #F1F2F4;
}

.sp-apres-btn.active {
    border-color: #FFC000;
    background-color: #FFFAF0;
}

.sp-apres-btn.active .sp-apres-btn-dosagem {
    color: #000;
}

.sp-apres-btn-dosagem {
    font-weight: 800;
    font-size: 17px;
    color: #222;
}

.sp-apres-btn-nome {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.sp-apres-btn-sub {
    font-size: 13px;
    color: #888;
}

/* BULA */
.sp-actions {
    margin-top: 20px;
}

.sp-bula-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sp-bula-btn:hover {
    background-color: #000;
    opacity: 0.9;
    color: #fff;
}

/* MIDDLE SECTION */
.sp-middle-section {
    background: white;
    padding: 60px 0;
}

.sp-section {
    background: #FFF;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.02);
}

.sp-section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
}

.sp-sobre-content {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

/* CATEGORIAS */
.sp-categorias {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 60px;
}

.sp-categorias .sp-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.sp-cat-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sp-cat-item {
    width: 180px;
    height: 180px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: center;
    border: 3px solid #111;
    color: #111;
    padding: 16px;
    transition: transform 0.2s;
    background: linear-gradient(#ffc600, gold);
}

.sp-cat-item:hover {
    transform: translateY(-5px);
}

.sp-cat-name {
    font-size: 18px;
    font-weight: 700;
}

.sp-cat-icon {
    color: #ffc600;
    height: 64px;
    width: 64px;
    border-radius: 100%;
    background-color: #1a1a1a;
}

.sp-cat-icon svg {
    margin: 8px auto;
}

/* TEXTO LEGAL */
.sp-texto-legal {
    background-color: #111;
    color: #FFF;
    padding: 60px 0;
}

.sp-tl-inner {
    background-color: #FFC000;
    color: #111;
    padding: 30px 40px;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.sp-tl-icon {
    flex-shrink: 0;
}

.sp-tl-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 800;
}

.sp-tl-content div {
    font-size: 14px;
    color: #222;
    line-height: 1.6;
}

/* EXPLORE MAIS */
.sp-explore {
    background-color: #F8F9FA;
    padding: 80px 0;
}

.sp-btn-explore {
    background-color: #FFC000;
    color: #111;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s;
}

.sp-btn-explore:hover {
    transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .sp-hero {
        flex-direction: column;
        gap: 50px;
    }

    .sp-hero-image-col {
        max-width: 100%;
        width: 100%;
    }

    .sp-title {
        font-size: 34px;
    }

    .sp-tl-inner {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}