/* Mobile Deals Page Styles */

.deals-hero {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    padding: 80px 0;
    color: #fff;
}

.deals-hero h1 {
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-pricing-deals {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.price-display-deals {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.price-amount-deals {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

.price-details span {
    font-size: 18px;
    line-height: 1.2;
}

.hero-buttons-deals {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.phone-promo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
}

.phone-promo h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.phone-promo p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.deals-disclaimer {
    font-size: 13px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.5;
}

/* Shop by Brand Section */
.shop-brands-section {
    padding: 80px 0;
    background: #fff;
}

.shop-brands-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.brand-card {
    background: var(--xfinity-light-gray);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.brand-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.brand-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.brand-card span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Deals Budget Section */
.deals-budget-section {
    padding: 60px 0;
    background: var(--xfinity-light-gray);
    text-align: center;
}

.deals-budget-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.deals-budget-section p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* New Phones Section */
.new-phones-section {
    padding: 80px 0;
    background: #fff;
}

.new-phones-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.phones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.phone-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.phone-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.phone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: var(--xfinity-purple);
}

.phone-image {
    margin-bottom: 20px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.phone-brand {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.phone-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.phone-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--xfinity-purple);
    margin-bottom: 20px;
}

.phone-details {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 15px;
    line-height: 1.4;
}

.view-all-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Accessories Section */
.accessories-section {
    padding: 80px 0;
    background: var(--xfinity-light-gray);
}

.accessories-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.accessories-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.accessory-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.accessory-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

.accessory-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.accessory-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.accessory-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--xfinity-light-gray);
    overflow: hidden;
}

.accessory-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.accessory-content:hover .accessory-image img {
    transform: scale(1.05);
}

.accessory-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.accessory-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.accessory-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.accessory-note {
    font-size: 13px;
    margin-top: 15px !important;
    flex-grow: 0 !important;
}

.accessory-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 20px;
}

.accessory-links a {
    color: var(--xfinity-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.accessory-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .accessories-carousel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .deals-hero h1 {
        font-size: 36px;
    }

    .phone-promo h3 {
        font-size: 26px;
    }

    .price-amount-deals {
        font-size: 56px;
    }

    .new-phones-section h2,
    .accessories-section h2,
    .shop-brands-section h2 {
        font-size: 32px;
    }

    .phones-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .hero-pricing-deals,
    .phone-promo {
        padding: 30px;
    }

    .accessory-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .deals-hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .price-amount-deals {
        font-size: 48px;
    }

    .phone-promo h3 {
        font-size: 22px;
    }

    .phone-card,
    .accessory-info {
        padding: 20px;
    }

    .phone-price {
        font-size: 28px;
    }

    .accessory-info h3 {
        font-size: 20px;
    }
}