/**
 * SEXTECH AI Content Generator - Frontend Styles
 * All classes use sextech- prefix (no Flatsome dependencies)
 */

/* Card base */
.sextech-card {
    border-radius: 12px;
    padding: 40px;
    margin: 20px 0;
    border: 1px solid #d5d2ce;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sextech-card--gradient {
    background: linear-gradient(135deg, rgba(224,186,238,0.1) 0%, rgba(239,251,164,0.1) 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.sextech-card--accent {
    background: linear-gradient(135deg, #EFFBA4 0%, rgba(239,251,164,0.6) 100%);
}

.sextech-card--muted {
    background: #F8F7F5;
    border: none;
    padding: 30px;
}

/* Section titles */
.sextech-section-title {
    margin: 0 0 20px 0;
    font-size: 1.4em;
    color: #101010;
    display: flex;
    align-items: center;
}

.sextech-section-title__icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Product intro */
.sextech-product-intro {
    margin-bottom: 40px;
}

.sextech-product-intro__title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #101010;
    font-weight: 700;
}

.sextech-product-intro__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #333;
}

.sextech-intro__bullets {
    margin: 0;
    padding-left: 20px;
}

.sextech-intro__bullets li {
    margin-bottom: 8px;
    font-size: 1.05em;
    line-height: 1.5;
}

.sextech-intro__text {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Feature pills */
.sextech-feature-pills {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sextech-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #E0BAEE 0%, #EFFBA4 100%);
    color: #101010;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sextech-feature-pill__icon {
    width: 20px;
    height: 20px;
}

/* Badge */
.sextech-badge {
    display: inline-block;
    border-radius: 25px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sextech-badge--sale {
    background: linear-gradient(135deg, #E0BAEE 0%, #EFFBA4 100%);
    color: #101010;
}

.sextech-badge--new {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    color: #fff;
}

/* How to use */
.sextech-how-to-use__text {
    color: #101010;
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6;
}

/* USPs grid - replaces Flatsome row/col */
.sextech-usps {
    margin: 20px 0;
}

.sextech-usps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sextech-usp-card {
    text-align: center;
    padding: 20px;
}

.sextech-usp-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.sextech-usp-card__title {
    margin: 15px 0 10px 0;
    font-size: 1.2em;
}

.sextech-usp-card__text {
    margin: 0;
    color: #666;
    font-size: 1em;
    line-height: 1.5;
}

/* Specs */
.sextech-specs {
    background: linear-gradient(135deg, rgba(224,186,238,0.05) 0%, rgba(239,251,164,0.05) 100%);
    margin: 30px 0;
}

.sextech-specs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sextech-spec-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.sextech-spec-item__check {
    margin-right: 10px;
    color: #E0BAEE;
    font-size: 1.2em;
}

.sextech-spec-item__content {
    flex: 1;
}

.sextech-spec-item__label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.sextech-spec-item__value {
    color: #666;
    font-size: 1em;
}

.sextech-specs__empty {
    color: #666;
}

/* Sizing */
.sextech-sizing__grid p {
    margin: 8px 0;
}

/* Care */
.sextech-care__text {
    margin: 0;
    color: #101010;
    font-size: 1.1em;
    line-height: 1.6;
}

.sextech-care__tips {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    color: #101010;
}

.sextech-care__tips-list {
    margin: 10px 0;
    padding-left: 20px;
    color: #666;
}

/* ----------------------------------------------------------------
 * Split Layout — two-column with text + product image
 * ---------------------------------------------------------------- */

.sextech-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 20px 0;
}

.sextech-split .sextech-card {
    margin: 0;
}

.sextech-split__media {
    border-radius: 12px;
    overflow: hidden;
}

.sextech-split__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

/* ----------------------------------------------------------------
 * USP card icon wrap
 * ---------------------------------------------------------------- */

.sextech-usp-card__icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224,186,238,0.15) 0%, rgba(239,251,164,0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* ----------------------------------------------------------------
 * Spec item SVG checkmark
 * ---------------------------------------------------------------- */

.sextech-spec-item__check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sextech-spec-item__check svg {
    color: #E0BAEE;
    flex-shrink: 0;
}

/* ----------------------------------------------------------------
 * Sizing list
 * ---------------------------------------------------------------- */

.sextech-sizing__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sextech-sizing__list li {
    padding: 10px 0;
    border-bottom: 1px solid #e8e6e3;
    font-size: 1.05em;
    color: #444;
}

.sextech-sizing__list li:last-child {
    border-bottom: none;
}

.sextech-sizing__list li strong {
    color: #101010;
}

/* Related products */
.sextech-related {
    margin: 40px 0;
}

.sextech-related__title {
    text-align: center;
    margin-bottom: 30px;
}

/* ----------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------- */

@media (max-width: 768px) {
    .sextech-card {
        padding: 20px;
    }

    .sextech-product-intro__title {
        font-size: 1.8em;
    }

    .sextech-usps__grid,
    .sextech-specs__grid {
        grid-template-columns: 1fr;
    }

    .sextech-feature-pills {
        gap: 10px;
    }

    .sextech-split {
        grid-template-columns: 1fr;
    }

    .sextech-split__content {
        order: 1;
    }

    .sextech-split__media {
        order: 2;
    }

    .sextech-split__image {
        aspect-ratio: 16 / 9;
    }
}
