/* ==========================================================================
   Pagina "Que es el CBD?" - [benditasea_cbd]
   Paleta medico-cientifica, calculadora de dosificacion, FAQ y escaparate.
   ========================================================================== */
.cbd-premium-container {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #ffffff;
    background: #020908;
    padding: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1200px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    overflow-x: hidden;
    border-radius: 18px;
}

/* Hero Section */
.cbd-hero-section {
    position: relative;
    background: linear-gradient(135deg, #020f0e 0%, #0c2b27 100%);
    padding: 70px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(26, 188, 156, 0.15);
}
.cbd-badge-top {
    display: inline-block;
    background: rgba(26, 188, 156, 0.15);
    color: #1abc9c;
    border: 1px solid rgba(26, 188, 156, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.cbd-hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}
.cbd-hero-title span {
    background: linear-gradient(135deg, #1abc9c 0%, #34e7e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cbd-hero-subtitle {
    font-size: 17px;
    color: #a0aec0;
    max-width: 720px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}
.cbd-meta-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.cbd-meta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #718096;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.cbd-meta-badge svg {
    color: #1abc9c;
}

/* Knowledge Info Grid */
.cbd-info-section {
    max-width: 1200px;
    margin: 50px auto 10px auto;
    padding: 0 20px;
}
.cbd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.cbd-info-card {
    background: rgba(12, 28, 25, 0.35);
    border: 1px solid rgba(26, 188, 156, 0.15);
    border-radius: 14px;
    padding: 30px;
    transition: border-color 0.3s, transform 0.3s;
}
.cbd-info-card:hover {
    border-color: rgba(26, 188, 156, 0.4);
    transform: translateY(-4px);
}
.cbd-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 188, 156, 0.1);
    border: 1px solid rgba(26, 188, 156, 0.25);
    color: #1abc9c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.cbd-info-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
}
.cbd-info-card p {
    font-size: 14px;
    color: #a0aec0;
    line-height: 1.6;
    margin: 0;
}
.cbd-info-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cbd-info-bullets li {
    font-size: 13.5px;
    color: #a0aec0;
    line-height: 1.5;
}
.cbd-info-bullets strong {
    color: #1abc9c;
}

/* Interactive Split Grid */
.cbd-interactive-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 50px auto;
    padding: 0 20px;
}

.cbd-calculator-card, .cbd-specifications-card {
    background: rgba(12, 28, 25, 0.4);
    border: 1px solid rgba(26, 188, 156, 0.15);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.cbd-calculator-card {
    border-color: rgba(26, 188, 156, 0.25);
    box-shadow: 0 12px 35px rgba(26, 188, 156, 0.05);
}

.cbd-section-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cbd-section-title span {
    color: #1abc9c;
}
.cbd-section-title.centered {
    text-align: center;
}
.cbd-section-desc {
    font-size: 14px;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 30px;
}
.cbd-section-desc.centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Inputs */
.cbd-calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}
.cbd-calc-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cbd-calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cbd-calc-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e0;
}
.cbd-calc-value {
    font-size: 16px;
    font-weight: 800;
    color: #1abc9c;
    background: rgba(26, 188, 156, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
}

/* Sliders & Select Box */
.cbd-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    margin: 10px 0;
}
.cbd-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1abc9c;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(26, 188, 156, 0.5);
    transition: transform 0.1s;
}
.cbd-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.cbd-slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #718096;
}

.cbd-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.cbd-select:focus {
    border-color: #1abc9c;
}
.cbd-select option {
    background: #0c1c19;
    color: #ffffff;
}

/* Results */
.cbd-calc-results {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(26, 188, 156, 0.1);
    border-radius: 12px;
    padding: 25px;
}
.cbd-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cbd-result-label {
    font-size: 14px;
    font-weight: 700;
    color: #a0aec0;
}
.cbd-result-num {
    font-size: 26px;
    font-weight: 900;
    color: #1abc9c;
}

.cbd-divider-dashed {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.cbd-dropper-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.cbd-dropper-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    transition: border-color 0.3s;
}
.cbd-dropper-card.highlight {
    border-color: rgba(26, 188, 156, 0.4);
    background: rgba(26, 188, 156, 0.05);
}
.cbd-dropper-title {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
    text-transform: uppercase;
}
.cbd-dropper-desc {
    font-size: 9.5px;
    color: #718096;
    margin-bottom: 8px;
}
.cbd-dropper-value {
    font-size: 14px;
    font-weight: 800;
    color: #1abc9c;
}

.cbd-calc-advice {
    display: flex;
    gap: 12px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 15px;
    border-radius: 8px;
    color: #e2e8f0;
}
.cbd-calc-advice svg {
    color: #d4af37;
    flex-shrink: 0;
    margin-top: 2px;
}
.cbd-calc-advice p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

/* Technical Specs Card */
.cbd-specs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}
.cbd-spec-item {
    display: flex;
    gap: 15px;
}
.cbd-spec-icon {
    width: 44px;
    height: 44px;
    background: rgba(26, 188, 156, 0.1);
    border: 1px solid rgba(26, 188, 156, 0.2);
    color: #1abc9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cbd-spec-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #ffffff;
}
.cbd-spec-content p {
    font-size: 13px;
    color: #a0aec0;
    line-height: 1.5;
    margin: 0;
}
.cbd-certifications-banner {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}
.cbd-certifications-banner span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #718096;
    letter-spacing: 0.5px;
}

/* FAQ Section */
.cbd-faq-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}
.cbd-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cbd-accordion-item {
    background: rgba(12, 28, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.cbd-accordion-item:hover {
    border-color: rgba(26, 188, 156, 0.2);
}
.cbd-accordion-item.active {
    border-color: rgba(26, 188, 156, 0.3);
}
.cbd-accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    outline: none;
}
.cbd-accordion-icon {
    color: #a0aec0;
    transition: transform 0.3s ease;
}
.cbd-accordion-item.active .cbd-accordion-icon {
    transform: rotate(180deg);
    color: #1abc9c;
}
.cbd-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}
.cbd-accordion-content p {
    font-size: 13.5px;
    color: #a0aec0;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Products Showcase Grid (Clean, Constrained Cards) */
.cbd-products-showcase {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px 60px 20px;
}
.cbd-custom-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 30px;
    justify-content: center;
    margin-top: 35px;
}
.cbd-product-card {
    background: #081a17;
    border: 1px solid rgba(26, 188, 156, 0.2);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cbd-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(26, 188, 156, 0.2);
    border-color: #1abc9c;
}
.cbd-product-img-wrap {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #04100e;
}
.cbd-product-img-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
    display: block !important;
}
.cbd-product-card:hover .cbd-product-img-wrap img {
    transform: scale(1.06);
}
.cbd-product-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.cbd-product-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.cbd-product-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}
.cbd-product-title a:hover {
    color: #1abc9c;
}
.cbd-product-price {
    font-size: 18px;
    font-weight: 900;
    color: #1abc9c;
    margin-bottom: 18px;
}
.cbd-product-btn {
    display: inline-block;
    text-align: center;
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.2s;
}
.cbd-product-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .cbd-interactive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cbd-dropper-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cbd-hero-title { font-size: 34px; }
    .cbd-hero-subtitle { font-size: 15px; }
    .cbd-calculator-card, .cbd-specifications-card { padding: 25px; }
    .cbd-section-title { font-size: 22px; }
    .cbd-accordion-header { font-size: 14px; padding: 15px; }
    .cbd-accordion-content p { font-size: 13px; }
    .cbd-certifications-banner { flex-direction: column; gap: 10px; align-items: center; }
    .cbd-custom-products-grid { grid-template-columns: 1fr; }
}
