/* Store Offers Page Styles */

/* About Locations Section */
.about-locations {
    background-color: #fff;
    padding: 60px 0 40px;
}

.about-locations h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.about-locations p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 900px;
    margin: 0 auto 15px;
    text-align: center;
}

/* Store Locator Section */
.store-locator {
    background-color: #f7f7f7;
    padding: 60px 0;
}

.store-locator h1 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
}

.locator-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

.search-box {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 10px;
}

.location-search {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.location-search:focus {
    border-color: #0057b8;
}

.search-btn {
    padding: 15px 30px;
    background-color: #0057b8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #004494;
}

.all-locations {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

.all-locations h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.all-locations p {
    font-size: 16px;
    color: #555;
}

.all-locations a {
    color: #0057b8;
    text-decoration: underline;
}

.all-locations a:hover {
    text-decoration: none;
}

.loading-placeholder {
    text-align: center;
    padding: 40px 0;
}

.loading-placeholder img {
    width: 50px;
    height: 50px;
}

/* Services Section */
.services-section {
    background-color: #fff;
    padding: 80px 0;
}

.services-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 50px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card a {
    text-decoration: none;
    color: inherit;
}

.service-card img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

/* Offers Section */
.offers-section {
    background-color: #f7f7f7;
    padding: 80px 0;
}

.offers-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 50px;
    text-align: center;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.offer-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.offer-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-content {
    padding: 30px;
}

.offer-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.offer-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.offer-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Mobile Phones Section */
.mobile-phones-section {
    background-color: #fff;
    padding: 80px 0;
}

.mobile-phones-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
}

.phones-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

/* Phone Categories Filter */
.phone-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 25px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover {
    border-color: #0057b8;
    color: #0057b8;
}

.category-btn.active {
    background-color: #0057b8;
    border-color: #0057b8;
    color: #fff;
}

/* Phones Grid */
.phones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.phone-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.phone-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.phone-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.phone-image img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.phone-info {
    text-align: left;
}

.phone-brand {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.phone-model {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    min-height: 50px;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.phone-price {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.phone-price .dollar {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-right: 2px;
}

.phone-price .price {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.phone-price .cents {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-right: 5px;
}

.phone-price .per-month {
    font-size: 16px;
    color: #666;
    align-self: flex-end;
    margin-bottom: 5px;
}

.phone-card .btn {
    width: 100%;
    margin-bottom: 15px;
}

.phone-disclaimer {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

/* View All Deals */
.view-all-deals {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    padding: 15px 40px;
    background-color: transparent;
    border: 2px solid #0057b8;
    color: #0057b8;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: #0057b8;
    color: #fff;
}

/* Cookie Settings */
.cookie-settings {
    background-color: #f7f7f7;
    padding: 30px 0;
    text-align: center;
}

.cookie-link {
    color: #0057b8;
    text-decoration: underline;
    font-size: 14px;
}

.cookie-link:hover {
    text-decoration: none;
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #0057b8;
    color: #fff;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-secondary {
    background-color: #fff;
    color: #0057b8;
    border: 2px solid #0057b8;
}

.btn-secondary:hover {
    background-color: #0057b8;
    color: #fff;
}

.btn-link {
    background-color: transparent;
    color: #0057b8;
    text-decoration: underline;
}

.btn-link:hover {
    text-decoration: none;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .phones-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .service-card img {
        max-width: 150px;
    }
    
    .phones-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .phone-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .search-box {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .store-locator h1 {
        font-size: 28px;
    }
    
    .services-section h2,
    .offers-section h2,
    .mobile-phones-section h2 {
        font-size: 26px;
    }
    
    .phones-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-content {
        padding: 20px;
    }
    
    .offer-content h3 {
        font-size: 20px;
    }
}