:root {
    --primary-color: #146ff5;
    --secondary-color: #0e4eac;
    --text-color: #333;
    --light-gray: #e9e9e9;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --danger-color: #E83445;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #e9e9e9;
    color: var(--text-color);
    /*line-height: 1.6;*/
}

/* Modern Header Styling */
.main-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-icon {
    font-size: 1.8rem;
    color: #3d84a8;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    letter-spacing: 1px;
}

.header-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.search-container {
    position: relative;
    min-width: 500px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: white;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(61, 132, 168, 0.3);
    border-color: #3d84a8;
}

.search-input::placeholder {
    color: #adb5bd;
}

.filter-container {
    display: flex;
    gap: 0.8rem;
}

.filter-dropdown {
    background-color: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    color: #495057;
}

.filter-dropdown:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.filter-dropdown i {
    color: #6c757d;
    font-size: 0.85rem;
}

.filter-dropdown i:first-child {
    color: #3d84a8;
    font-size: 1rem;
}

.button-text {
    font-weight: 500;
}

/* Make the header responsive */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-controls {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        width: 100%;
        min-width: 0;
    }
    
    .filter-container {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-dropdown {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .filter-container {
        flex-direction: column;
    }
    
    .filter-dropdown {
        width: 100%;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
}

/* Search container styles */
.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: #000;
}

.search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.search-button:hover {
    color: #000;
}

/* Filter container styles */
.filter-container {
    display: flex;
    gap: 0.75rem;
    position: relative;
}

.filter-dropdown {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: white;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    position: relative;
    min-width: 160px;
}

.filter-dropdown:hover {
    border-color: var(--text-color);
}

.filter-dropdown.active {
    border-color: var(--primary-color);
    background: var(--light-gray);
}

.filter-dropdown .button-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
}

.filter-dropdown i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.filter-dropdown.active i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    color: var(--text-color);
}

.dropdown-item:hover {
    background: var(--light-gray);
}

.dropdown-item.active {
    background: var(--primary-color);
    color: white;
}

.dropdown-item i {
    font-size: 0.8rem;
}

/* Add smooth scrollbar for dropdown */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.filters-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.filters-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
    user-select: none;
}

.filter-btn:hover {
    background: var(--light-gray);
    border-color: var(--text-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn.active:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Main Content Styles */
.deals-container {
    max-width: 1200px;
    margin: 0.0rem auto;
    padding: 0 1rem;
}

.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.deals-header h2 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.deals-count {
    color: #666;
    font-size: 0.9rem;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .1), 0px 3px 10px 0px rgba(0, 0, 0, .1);
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;

    

    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: inherit;
    text-decoration: none;
}

.card-header {
    position: relative;
    width: 100%;
    height: 175px;
    overflow: hidden;
}

.post-meta {
    position: absolute;
    margin-left: 10px;
    margin-top: 3px;
    top: 3px;
    left: 3px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 5px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--text-color);
    z-index: 1;
}

.product-image {
    width: 75%;
    height: 75%;
    object-fit: contain;
    background: white;
    display: block; /* Ensures it behaves properly in a flex or grid container */
    margin: 0 auto; /* Centers horizontally */
    margin-top: 30px;
}

.product-info {
    padding: 0.85rem;
    padding-top: 0.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 16px;
    font-weight: 550;
    font-family: 'Inter',Arial, Helvetica, sans-serif;
    color: var(--text-color);
    line-height: 1.4;
}

.product-bottom-content {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
}

.price-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.current-price {
    font-size: 1.25rem;
    color: var(--text-color);
}

.original-price {
    color: var(--danger-color);

    text-decoration: line-through;
    font-weight: 400;
    font-family: 'Inter',Arial, Helvetica, sans-serif;
    font-size: 14px;
    opacity: 0.8;
}

.price-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.discount-badge {
    background: var(--danger-color);
    border-radius: 4px;
    color: white;
    padding: 0.37rem 0.4rem;
    font-weight: 600;
    font-size: 10PX;
    
    
}

.deal-meta {
    margin: 0.1rem 0;
    padding: 0.35rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.promo-code {
    padding: 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    margin-bottom: 0.5rem;
    font-size: 10px;
    
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    background: #333;
    color: white;
    padding: 0.3rem 0.4rem;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #333;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.copy-btn i {
    font-size: 10px;
}

.copy-btn:hover {
    background: white;
    color: #333;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.copy-notification.show {
    opacity: 1;
}

.buy-button {
    display: none; /* Hide the button completely */
    width: 95%;
    padding: 0.6rem 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 6px; 
    transition: background-color 0.2s, transform 0.1s ease-out;
    font-size: 0.9rem;
    font-weight: 600; 
    border: none;
    cursor: pointer;
    align-self: center; /* Keep align-self if needed for parent flex context */
}

.buy-button:hover {
    background: var(--secondary-color);
}

.buy-button.expired {
    background: #999;
    cursor: not-allowed;
    opacity: 0.8;
}

.buy-button.expired:hover {
    background: #999;
}

.copy-btn[disabled] {
    background: #999;
    border-color: #999;
    cursor: not-allowed;
    opacity: 0.8;
}

.copy-btn[disabled]:hover {
    background: #999;
    color: white;
}

.product-card.expired {
    opacity: 0.8;
}

/* Footer Styles */
footer {
    background: #13293e;
    color: white;
    margin-top: 3rem;
    
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 6rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white
}

.newsletter-signup {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    color: white;
}

.newsletter-signup input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: white;
}

.newsletter-signup button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.footer-bottom {
    
    padding: 1.5rem;
    text-align: center;
    color: white;
    background: #00162e;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .search-container {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .filter-container {
        width: 100%;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Add these new styles after your existing CSS */

/* Common Page Styles */
.page-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* About Page Specific Styles */
body {
    background-color: #f8f9fa;
}

.site-title-link {
    text-decoration: none;
}

.about-page-main {
    background-color: #ffffff;
    padding-bottom: 3rem;
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('about-hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

.about-content-container {
    max-width: 900px;
}

.about-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3.5rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 60px;
    text-align: center;
    margin-top: 0.5rem;
}

.about-text {
    flex: 1;
}

.about-section h2 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.about-section p, .about-section ul {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-section ul li i {
    color: var(--success-color);
    font-size: 1rem;
}

.about-values-section {
    background-color: #f8f9fa;
    padding: 3rem 1rem;
    margin: 3rem -1rem;
    text-align: center;
    border-radius: 8px;
}

.about-values-section h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.about-cta {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    margin-top: 3rem;
    border-radius: 8px;
}

.about-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Responsive adjustments for About Page */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .about-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-icon {
        margin-bottom: 1rem;
    }

    .about-text {
        width: 100%;
    }
    
    .about-section h2 {
        display: block;
    }

    .about-section ul li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-section {
        padding: 1.5rem;
    }
}

/* Contact Page Specific Styles */
.contact-page-main {
    background-color: #f8f9fa; /* Consistent light background */
    padding-bottom: 3rem;
}

.contact-hero {
    background: linear-gradient(rgba(0, 123, 255, 0.7), rgba(0, 86, 179, 0.8)); /* Blue gradient */
    color: white;
    text-align: center;
    padding: 3rem 1rem 2.5rem;
    margin-bottom: 3rem;
}

.contact-hero .hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-hero .hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
}

.contact-content-container {
    max-width: 1100px; /* Wider container for grid */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Adjust column ratio as needed */
    gap: 3rem;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.contact-info-section h2, .contact-form-section h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.contact-info-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.contact-methods-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-method-card {
    display: flex;
    flex-direction: column; /* Stack icon, title, text */
    align-items: flex-start; /* Align items to the left */
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.contact-method-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-method-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-method-card p, .contact-method-card span {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-method-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-method-card a:hover {
    text-decoration: underline;
}

/* Contact Form Styling */
.contact-form-section .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600; /* Bolder labels */
    font-size: 0.9rem;
}

.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea {
    width: 100%;
    padding: 0.9rem 1rem; /* Slightly more padding */
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form-section input:focus,
.contact-form-section select:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(20, 111, 245, 0.2);
}

.contact-form-section select {
    appearance: none; /* Remove default arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3E%3Cpath fill-rule='evenodd' d='M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E"); /* Add custom arrow */
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.contact-form-section textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-section .submit-button {
    background: var(--primary-color);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: auto; /* Fit content */
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.contact-form-section .submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Adjustments for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns */
        padding: 2rem;
    }
    .contact-info-section {
        margin-bottom: 2rem; /* Add space when stacked */
    }
}

@media (max-width: 768px) {
    .contact-hero .hero-content h1 {
        font-size: 2.2rem;
    }
    .contact-info-section h2, .contact-form-section h2 {
        font-size: 1.6rem;
    }
    .contact-grid {
        padding: 1.5rem;
    }
}

/* Terms and Privacy Pages Styles */
.terms-section,
.privacy-section {
    background: white;
    padding: 2rem;
    font-family: "Anton", sans-serif;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.terms-header,
.privacy-header {
    background: white;
    color: white;
    padding: 1rem;
    border-radius: 8px;
}

.terms-section h2,
.privacy-section h2 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.terms-section h1,
.privacy-section h1 {
    color: var(--text-color);
    font-family: "Anton", sans-serif;
    font-weight: 00;
    margin: 2rem 0 1rem;
    font-size: rem;
}

.terms-section p,
.privacy-section p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.privacy-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

/* Logo Link Style */
.logo a {
    text-decoration: none;
    color: inherit;
    padding: 2rem;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    padding-top: 1rem;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 0.7rem;
    margin-top: 1rem;
    color: white;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--primary-color);
}

.x-icon {
    width: 25px;
    height: 22px;
    fill: currentColor;
    transition: fill 0.2s;
    color: white;
}

.social-icon:hover .x-icon {
    fill: var(--primary-color);
}

/* Update responsive design for grid */
@media (max-width: 1200px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 50%; /* Circular buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    text-decoration: none; /* Remove underlines */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-btn:hover:not(.disabled) {
    border-color: var(--text-color);
    background-color: rgba(20, 111, 245, 0.05); /* Subtle background on hover */
    color: var(--text-color);
    text-decoration: none; /* Ensure no underline on hover */
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.page-btn.active {
    background: var(--text-color);
    color: white;
    border-color: var(--text-color);
    font-weight: 600;
    /*box-shadow: 0 2px 5px rgba(20, 111, 245, 0.3);*/
    cursor: default; /* Keep default cursor for active page */
    text-decoration: none; /* Ensure no underline on active */
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.page-btn.prev,
.page-btn.next {
    padding: 0 0.75rem;
}

.ellipsis {
    color: var(--text-color);
    padding: 0 0.3rem;
}

@media (max-width: 480px) {
    .pagination {
        gap: 0.3rem;
    }

    .page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .page-btn.prev,
    .page-btn.next {
        padding: 0 0.6rem;
    }
}

/* Share Deal Styles */
.share-deal {
    display: none;
}

/* Share button styles */
.share-container {
    display: inline-flex;
    position: relative;
    
}

.share-btn-main {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn-main .share-arrow {
    width: 29px;
    height: 28px;
    transition: transform 0.3s ease;
}

.share-btn-main .share-arrow.active {
    transform: rotate(180deg);
}

.share-text {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

.share-buttons {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 8px;
    display: none;
    flex-direction: row;
    z-index: 1000000;
    border: 1px solid black;
    width: 160px;
}

.share-options-container {
    display: flex;
    gap: 4px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    z-index: 10000000;
}

.share-option {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: white;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    padding: 0;
    z-index: 10000000;
}

.share-option:hover {
    color: var(--primary-color);
    background: white;
}

.share-option i {
    font-size: 14px;
}

@media (max-width: 480px) {
    .share-buttons {
        width: 180px;
        padding: 6px;
    }
    
    .share-text {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .share-option {
        width: 22px;
        height: 22px;
    }
    
    .share-option i {
        font-size: 12px;
    }
}

/* === Blog Page Styles === */

/* Blog Listing Page (blog.html) */
.blog-page-main {
    background-color: var(--white-color); /* White background for content area */
    padding-bottom: 3rem;
}

.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('blog-hero-background.jpg'); /* Optional: Add a relevant hero image */
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 3.5rem 1rem;
    margin-bottom: 3rem;
}

.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-list-container {
    max-width: 1200px; /* Consistent max-width */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px; /* Slightly reduced height */
    overflow: hidden;
    position: relative; /* Needed for potential overlay later */
    background-color: var(--light-gray); /* Background for loading/missing images */
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Change from cover to contain */
    display: block; 
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to grow */
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-meta span i {
    margin-right: 0.3rem;
    color: var(--primary-color);
}

.blog-card-title {
    font-size: 1.25rem; 
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 600;
    flex-grow: 1; /* Allow title to push link down */
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    /* Optional: Limit excerpt lines */
    /* display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden; */
}

.blog-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto; /* Push to bottom */
    align-self: flex-start; /* Align left */
    transition: color 0.2s ease;
}

.blog-card-link i {
    transition: transform 0.2s ease;
}

.blog-card-link:hover {
    color: var(--secondary-color);
}

.blog-card-link:hover i {
    transform: translateX(3px);
}

/* Use general pagination styles, add specific class if needed */
.blog-pagination {
     margin-top: 1rem;
}

/* Blog Post Page (blog-post.html) */
.blog-post-page-main {
    background-color: var(--white-color);
    padding: 2rem 0 4rem; /* Add padding */
}

.blog-post-container-narrow { /* Use this for centering content */
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-article {
    background: var(--white-color); /* Keep white or use light gray */
    border-radius: 8px;
    /* Removed padding/shadow - apply to container or sections */
}

.blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-header .post-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-header h1 {
    font-size: 2.6rem; /* Larger post title */
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.blog-post-header .post-meta-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem; /* Row and column gap */
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.blog-post-header .post-meta-details span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-post-header .post-meta-details i {
    color: var(--secondary-color);
}

.blog-post-image-container {
    margin: 2.5rem 0;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain; /* Change from cover to contain */
    border-radius: 8px;
    display: block; 
    margin: 0 auto; /* Center if container is wider */
}

.blog-post-content {
    font-size: 1.1rem; /* Comfortable reading size */
    line-height: 1.8; /* Generous line height */
    color: var(--text-color);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.4;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.5;
}

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.blog-post-content a:hover {
    color: var(--secondary-color);
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: var(--light-gray);
    font-style: italic;
    color: var(--dark-gray);
}

.blog-post-content img {
     max-width: 100%;
     height: auto;
     border-radius: 6px;
     margin: 1.5rem 0;
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Use share styles from details.css */
.share-section-details {
    margin-top: 2rem; /* Add some top margin */
    margin-bottom: 0; 
    padding-top: 1.5rem; /* Add padding above */
    border-top: 1px solid var(--border-color); /* Add separator */
}

.share-section-details .section-label {
    display: block;
    font-size: 0.9rem; /* Keep label size reasonable */
    color: var(--dark-gray); /* Use dark gray */
    font-weight: 500; /* Slightly less bold */
    margin-bottom: 0.75rem;
    text-transform: none; /* Remove uppercase */
    letter-spacing: normal; /* Remove letter spacing */
}

.share-buttons-details {
    display: flex;
    gap: 0.75rem; /* Slightly increased gap */
    flex-wrap: wrap; 
}

.back-to-blog {
    margin-top: 3rem;
    text-align: center;
}

.back-to-blog a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.back-to-blog a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}


/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
}

/* Remove Redundant/Old Blog Styles 
.blog-container, 
.blog-post, 
.share-section, 
.social-share {
    display: none; // Example: Hide old styles completely
} 
    // ... (Keep other page styles like About, Contact, etc.) ... 
*/
