/* ========== PROMOTIONS PAGE ========== */
.promotions-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.promotions-header {
    text-align: center;
    margin-bottom: 50px;
}

.promotions-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A1A1A;
}

.promotions-header p {
    font-size: 16px;
    color: #666;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.promo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.promo-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-image .no-image {
    font-size: 60px;
}

.promo-content {
    padding: 25px;
}

.promo-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.promo-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.promo-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E0E0E0;
}

.discount-badge {
    background: #FFD4C4;
    color: #E55A2B;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.expiry {
    font-size: 12px;
    color: #999;
}

.no-promotions {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* ========== SEARCH PAGE ========== */
.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1A1A1A;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.search-form input {
    padding: 14px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.search-form input:focus {
    outline: none;
    border-color: #FF6B35;
}

.search-results {
    margin-top: 40px;
}

.results-count {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.result-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.result-image {
    width: 100%;
    height: 150px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.result-card:hover .result-image img {
    transform: scale(1.1);
}

.result-info {
    padding: 15px;
}

.result-name {
    display: block;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.result-name:hover {
    color: #FF6B35;
}

.result-price {
    font-size: 15px;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 10px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* ========== COMPARISON PAGE ========== */
.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.comparison-container > h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1A1A1A;
}

.empty-comparison {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.empty-comparison p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

th {
    background: #F8FAFC;
    font-weight: 600;
    color: #1A1A1A;
}

tr:last-child td {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #1A1A1A;
    background: #F8FAFC;
}

.price {
    font-weight: 700;
    color: #FF6B35;
}

/* ========== CONTACTS PAGE ========== */
.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contacts-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacts-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A1A1A;
}

.contacts-header p {
    font-size: 16px;
    color: #666;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacts-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1A1A1A;
}

.info-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.info-card a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

.contacts-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contacts-form h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1A1A1A;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #1A1A1A;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.success-message {
    background: #D4EDDA;
    border: 1px solid #C3E6CB;
    color: #27AE60;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-primary {
    background: #FF6B35;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-small {
    padding: 8px 15px;
    font-size: 13px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .contacts-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
    }

    .contacts-info {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
