/**
 * SAVACODE.COM IMPROVEMENTS V2
 * Fixed: Button sizing, removed icons, cleaner layout
 */

/* ============================================
   COUPON CARDS - CLEANED UP
   ============================================ */

.coupon-card-enhanced {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.coupon-card-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: var(--ppt-primary-color, #667eea);
}

/* Card image/logo area */
.coupon-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    position: relative;
}

/* Badge on image */
.coupon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.coupon-badge.offer {
    background: #17a2b8;
}

.coupon-badge.exclusive {
    background: #dc3545;
}

/* Card content */
.coupon-card-content {
    padding: 20px;
}

.coupon-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.coupon-card-title:hover {
    color: var(--ppt-primary-color, #667eea);
}

.coupon-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Code display */
.coupon-code-display {
    background: #f8f9fa;
    border: 2px dashed var(--ppt-primary-color, #667eea);
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
    margin-bottom: 15px;
}

.coupon-code-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.coupon-code-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ppt-primary-color, #667eea);
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

/* Get Deal Button - HORIZONTAL */
.coupon-btn-primary {
    display: block;
    width: 100%;
    background: var(--ppt-primary-color, #667eea);
    color: white !important;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 1rem;
}

.coupon-btn-primary:hover {
    background: var(--ppt-primary-hover, #5568d3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white !important;
}

/* Store info - no icons */
.coupon-store-info {
    display: flex;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.coupon-store-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: contain;
    margin-right: 10px;
    border: 2px solid #f0f0f0;
    background: white;
    padding: 3px;
}

.coupon-store-name {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

/* Remove all unwanted icons and elements */
.coupon-card-enhanced i,
.coupon-card-enhanced .fa,
.coupon-card-enhanced .far,
.coupon-card-enhanced .fas,
.coupon-card-enhanced .fal {
    display: none !important;
}

/* Hide verification badges and extra symbols */
.coupon-card-enhanced .verified,
.coupon-card-enhanced .badge:not(.coupon-badge),
.coupon-card-enhanced .text-success,
.coupon-card-enhanced .text-muted,
.coupon-card-enhanced .d-flex.align-items-center:not(.coupon-store-info) {
    display: none !important;
}

/* Clean up any Bootstrap default styles that might interfere */
.coupon-card-enhanced .card-body {
    padding: 0;
}

/* Grid layout */
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .coupons-grid {
        grid-template-columns: 1fr;
    }
    
    .coupon-card-image {
        height: 160px;
    }
}

/* ============================================
   STORE PAGE HEADER
   ============================================ */

.store-header-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    color: white;
    border-radius: 15px;
    margin-bottom: 30px;
}

.store-header-enhanced h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.store-header-enhanced p {
    opacity: 0.9;
    font-size: 1.1rem;
    color: white;
}

/* ============================================
   CLEAN HOMEPAGE
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ============================================
   REMOVE UNWANTED ELEMENTS GLOBALLY
   ============================================ */

/* Hide all font awesome icons in coupon cards */
.hide-mobile .fa,
.hide-mobile .far, 
.hide-mobile .fas,
.hide-mobile .fal,
.hide-mobile i[class*="fa-"] {
    display: none !important;
}

/* Keep only essential icons (search, menu, etc in header) */
header .fa,
header .far,
header .fas,
nav .fa,
nav .far,
nav .fas {
    display: inline-block !important;
}

/* Clean card presentation */
.coupon-card-wrapper {
    text-decoration: none;
}

.coupon-card-wrapper:hover {
    text-decoration: none;
}