/**
 * Offers and Promotions CSS
 * This file contains styles for the offers and coupons page
 */

/* Page Header */
.page-header {
    padding: 20px 0;
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.lead {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
}

/* Section Titles - Disabled to avoid conflicts */
.section-header {
    /* Styles disabled */
}

.section-title {
    /* Styles disabled */
}

.section-title:before {
    /* Styles disabled */
}

.section-title:after {
    /* Styles disabled */
}

.rtl .section-title:before {
    /* Styles disabled */
}

/* Coupons Section */
.coupons-section {
    margin-bottom: 40px;
}

.coupon-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.coupon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coupon-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.coupon-header {
    background: var(--primary-color);
    padding: 15px;
    text-align: center;
}

.coupon-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.coupon-body {
    padding: 15px;
    flex-grow: 1;
}

.coupon-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.coupon-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.coupon-code-container {
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 5px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.coupon-code {
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.copy-code-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: all 0.3s ease;
}

.copy-code-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.coupon-meta {
    margin-top: 12px;
}

.coupon-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
    color: #777;
}

.coupon-meta-item i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.rtl .coupon-meta-item i {
    margin-right: 0;
    margin-left: 6px;
}

.coupon-footer {
    padding: 12px 15px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    text-align: center;
}

.coupon-footer .btn {
    padding: 6px 15px;
    font-size: 14px;
}

/* Products Section */
.products-section {
    margin-bottom: 40px;
}

.product-card {
    margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .coupon-value {
        font-size: 22px;
    }
    
    .coupon-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .lead {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 22px;
    }
    
    .lead {
        font-size: 14px;
    }
    
    .coupon-value {
        font-size: 18px;
    }
}

/* No Items Found */
.no-products {
    padding: 30px 15px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 25px;
}

.no-products .alert {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    color: #666;
    font-size: 15px;
}

.no-products .alert i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--info-color);
}

.rtl .no-products .alert i {
    margin-right: 0;
    margin-left: 8px;
} 