/**
 * Hisense Warranty Page Specific Styles
 *
 * @package TwentyTwenty Child
 * @since 1.0.0
 *
 * Note: Common styles are now in global.css
 */

/* Header and footer styles moved to common.css */

/* Breadcrumb styles moved to common.css for reuse across multiple pages */

/* ==========================================================================
   Warranty Content Styles
   ========================================================================== */

.warranty-content-section {
    padding: 80px 0;
    background: var(--hisense-white);
}

.warranty-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image-container {
    position: relative;
}

.promotion-product-image {
    width: 100%;
    object-fit: cover;;
    object-position: center bottom;
    border-radius: 5px !important;
    box-shadow: none;
    display: block;
}

.promo-details {
    padding-left: 20px;
    padding-right: 15%;
}

.promo-title {
    font-size: 35px;
    font-weight: 500;
    color: var(--hisense-secondary);
    margin-bottom: 10px;
    line-height: 50px;
}

.validity-info {
    margin-bottom: 20px;
    color: var(--hisense-dark-gray);
}

.validity-label {
    margin-right: 10px;
    color: inherit;
}

.validity-dates {
    color: inherit;
}

.promo-description {
    margin-bottom: 30px;
}

.promo-description p {
    color: var(--hisense-text);
    line-height: 2.1;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.terms-link {
    color: var(--hisense-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-section .section-title{
    text-align: center;
}

.faq-section {
    padding: 0 0 80px 0;
    background: var(--hisense-white);
}

.faq-item {
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
    color: var(--hisense-text);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--hisense-primary);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 30px;
    font-weight: 300;
    color: var(--hisense-text);
    line-height: 1;
    position: relative;
    top: -6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 30px;
    font-weight: 300;
    transition: all 0.4s ease;
    opacity: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon::before {
    content: '+';
}

.faq-icon::after {
    content: '−';
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    opacity: 0;
}

.faq-item.active .faq-icon::after {
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 25px 0;
    margin: 0;
    color: var(--hisense-text);
    line-height: 1.6;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .warranty-content-wrapper {
        gap: 40px;
        align-items: flex-start;
    }

    .promo-details {
        padding: 0;
    }

    .promo-title {
        margin-top: 0;
        font-size: 28px;
        line-height: 35px;
    }
}

@media (max-width: 768px) {
    .warranty-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .promo-details {
        padding-left: 0;
    }

    .promo-title {
        font-size: 24px;
    }

    .faq-question {
        padding: 15px 0;
        font-size: 16px;
        line-height: 26px;
    }

    .faq-answer p {
        padding: 0 0 20px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .warranty-content-section {
        padding: 50px 0 0 0;
    }

    .faq-section {
        padding: 60px 0;
    }

    .promo-title {
        font-size: 20px;
    }
}