/* ACO product descriptions — scoped la #seo-aco-premium (tab Descriere) */
#seo-aco-premium {
    --aco-blue: #052454;
    --aco-blue-mid: #0a3a7a;
    --aco-green: #56ad56;
    --aco-green-dark: #3d8f3d;
    --aco-text: #333333;
    --aco-muted: #64748b;
    --aco-soft: #f4faf4;
    --aco-border: #eef2ee;
    --aco-radius: 12px;
    color: var(--aco-text);
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.65;
    font-size: 15px;
}

#seo-aco-premium * {
    box-sizing: border-box;
}

#seo-aco-premium .aco-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

#seo-aco-premium .aco-hero {
    background: linear-gradient(135deg, var(--aco-blue) 0%, var(--aco-blue-mid) 55%, #0d4a8f 100%);
    color: #fff;
    border-radius: var(--aco-radius);
    padding: 28px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

#seo-aco-premium .aco-hero::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

#seo-aco-premium .aco-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

#seo-aco-premium .aco-hero h2 {
    color: #fff;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    border: none;
    padding: 0;
}

#seo-aco-premium .aco-hero-lead {
    margin: 0;
    font-size: 15px;
    opacity: 0.92;
    max-width: 720px;
}

#seo-aco-premium .aco-model {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    background: var(--aco-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
}

#seo-aco-premium .aco-section {
    margin-bottom: 28px;
}

#seo-aco-premium .aco-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--aco-blue);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--aco-green);
    display: inline-block;
}

#seo-aco-premium .aco-lead {
    font-size: 15px;
    color: var(--aco-text);
    margin: 0 0 20px;
}

#seo-aco-premium .aco-grid {
    display: grid;
    gap: 16px;
}

#seo-aco-premium .aco-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

#seo-aco-premium .aco-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

#seo-aco-premium .aco-card {
    background: #fff;
    border: 1px solid var(--aco-border);
    border-radius: var(--aco-radius);
    padding: 18px 16px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

#seo-aco-premium .aco-card:hover {
    border-color: var(--aco-green);
    box-shadow: 0 8px 24px rgba(10, 51, 112, 0.08);
}

#seo-aco-premium .aco-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--aco-soft);
    display: block;
    margin-bottom: 10px;
    position: relative;
}

#seo-aco-premium .aco-ico::after {
    content: '';
    position: absolute;
    inset: 9px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#seo-aco-premium .aco-ico--check::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2356ad56'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--shield::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 8-7 9-4-1-7-4.5-7-9V6l7-3z' stroke='%23052454' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-4' stroke='%2356ad56' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--box::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 8l8-4 8 4v8l-8 4-8-4V8z' stroke='%23052454' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M12 12v8M4 8l8 4 8-4' stroke='%2356ad56' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--water::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3c3 5 6 8.5 6 12a6 6 0 11-12 0c0-3.5 3-7 6-12z' stroke='%23052454' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--sound::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 10v4h4l5 4V6L9 10H5z' stroke='%23052454' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M16 9a4 4 0 010 6' stroke='%2356ad56' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--tool::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 6l4 4-6 6H8v-4l6-6z' stroke='%23052454' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M5 19l3-3' stroke='%2356ad56' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--angle::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20h16' stroke='%23052454' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M4 20L18 6' stroke='%2356ad56' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--level::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 16h16M4 12h10M4 8h6' stroke='%23052454' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--glass::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='6' y='4' width='12' height='16' rx='1' stroke='%23052454' stroke-width='1.8'/%3E%3Cpath d='M9 8h6M9 12h6' stroke='%2356ad56' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--building::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 20V6l7-3 7 3v14H5z' stroke='%23052454' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9 10h2M13 10h2M9 14h2M13 14h2' stroke='%2356ad56' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--clean::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 18l8-12 4 4-8 12H6z' stroke='%23052454' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M13 7l4 4' stroke='%2356ad56' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-ico--modular::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='4' y='4' width='7' height='7' rx='1' stroke='%23052454' stroke-width='1.8'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1' stroke='%2356ad56' stroke-width='1.8'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1' stroke='%2356ad56' stroke-width='1.8'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1' stroke='%23052454' stroke-width='1.8'/%3E%3C/svg%3E");
}

/* HTML vechi (emoji în DB) — ascunde ? și arată icon generic */
#seo-aco-premium .aco-card-icon:not(.aco-ico) {
    font-size: 0;
    color: transparent;
    overflow: hidden;
}

#seo-aco-premium .aco-card-icon:not(.aco-ico)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2356ad56'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#seo-aco-premium .aco-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--aco-blue);
    margin: 0 0 6px;
    border: none;
    padding: 0;
}

#seo-aco-premium .aco-card p {
    margin: 0;
    font-size: 13px;
    color: var(--aco-muted);
    line-height: 1.5;
}

#seo-aco-premium .aco-spec {
    background: var(--aco-soft);
    border-radius: var(--aco-radius);
    padding: 20px;
    border: 1px solid var(--aco-border);
}

#seo-aco-premium .aco-spec-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#seo-aco-premium .aco-spec-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--aco-border);
}

#seo-aco-premium .aco-spec-list li:nth-last-child(-n+2) {
    border-bottom: none;
}

#seo-aco-premium .aco-spec-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--aco-muted);
}

#seo-aco-premium .aco-spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--aco-blue);
}

#seo-aco-premium .aco-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

#seo-aco-premium .aco-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--aco-border);
    font-size: 14px;
    line-height: 1.55;
}

#seo-aco-premium .aco-features li:last-child {
    border-bottom: none;
}

#seo-aco-premium .aco-features li::before {
    content: '✓';
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--aco-green);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#seo-aco-premium .aco-faq details {
    border: 1px solid var(--aco-border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

#seo-aco-premium .aco-faq summary {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 14px;
    color: var(--aco-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    line-height: 1.45;
}

#seo-aco-premium .aco-faq summary > * {
    flex: 1;
    min-width: 0;
}

#seo-aco-premium .aco-faq summary::-webkit-details-marker {
    display: none;
}

#seo-aco-premium .aco-faq summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    color: var(--aco-green);
    flex-shrink: 0;
}

#seo-aco-premium .aco-faq details[open] summary::after {
    content: '−';
}

#seo-aco-premium .aco-faq details p {
    margin: 0;
    padding: 0 16px 14px;
    font-size: 14px;
    color: var(--aco-muted);
}

#seo-aco-premium .aco-cta {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--aco-radius);
    padding: 22px 20px;
    text-align: center;
}

#seo-aco-premium .aco-cta h3 {
    color: var(--aco-green-dark);
    font-size: 1rem;
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

#seo-aco-premium .aco-cta p {
    margin: 0;
    font-size: 14px;
    color: var(--aco-text);
}

#seo-aco-premium .aco-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

#seo-aco-premium .aco-trust span {
    background: #fff;
    border: 1px solid var(--aco-border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--aco-blue);
}

@media (max-width: 991px) {
    #seo-aco-premium .aco-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    #seo-aco-premium .aco-grid-3,
    #seo-aco-premium .aco-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    #seo-aco-premium {
        font-size: 14px;
    }

    #seo-aco-premium .aco-hero {
        padding: 20px 16px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    #seo-aco-premium .aco-hero h2 {
        font-size: 1.05rem;
        line-height: 1.4;
        word-break: break-word;
    }

    #seo-aco-premium .aco-hero-lead {
        font-size: 13px;
        line-height: 1.5;
    }

    #seo-aco-premium .aco-model {
        font-size: 12px;
        padding: 5px 12px;
        max-width: 100%;
        word-break: break-all;
    }

    #seo-aco-premium .aco-section {
        margin-bottom: 22px;
    }

    #seo-aco-premium .aco-lead {
        font-size: 14px;
        line-height: 1.55;
    }

    #seo-aco-premium .aco-grid-3,
    #seo-aco-premium .aco-grid-2,
    #seo-aco-premium .aco-spec-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #seo-aco-premium .aco-card {
        padding: 16px 14px;
    }

    #seo-aco-premium .aco-spec {
        padding: 16px 14px;
    }

    #seo-aco-premium .aco-spec-list li:nth-last-child(-n+2) {
        border-bottom: 1px dashed var(--aco-border);
    }

    #seo-aco-premium .aco-spec-list li:last-child {
        border-bottom: none;
    }

    #seo-aco-premium .aco-spec-value {
        font-size: 13px;
        word-break: break-word;
    }

    #seo-aco-premium .aco-features li {
        padding: 11px 0;
        font-size: 13px;
        gap: 12px;
    }

    #seo-aco-premium .aco-faq summary {
        padding: 12px 14px;
        font-size: 13px;
    }

    #seo-aco-premium .aco-faq details p {
        padding: 0 14px 12px;
        font-size: 13px;
        line-height: 1.55;
    }

    #seo-aco-premium .aco-cta {
        padding: 18px 14px;
        margin-bottom: 8px;
    }

    #seo-aco-premium .aco-cta h3 {
        font-size: 0.95rem;
        line-height: 1.4;
        word-break: break-word;
    }

    #seo-aco-premium .aco-trust {
        gap: 8px;
        margin-top: 12px;
    }

    #seo-aco-premium .aco-trust span {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Tab Descriere OpenCart — fără overflow pe mobil */
#tab-description #seo-aco-premium,
.product-product #tab-description {
    max-width: 100%;
    overflow-x: hidden;
}
