﻿
.main-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: -1px -2px 30px 10px #dee4ef;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4A90E2;
}
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.spec-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.spec-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
}
.countries-section {
    margin: 3rem 0;
}
.search-container {
        margin: 1.5rem 0;
    }

    .search-field {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid #e9ecef;
        border-radius: 15px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
    }

    .search-field:focus {
        outline: none;
        border-color: #4A90E2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }

    .search-field::placeholder {
        color: #999;
    }

    .countries-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
        transition: all 0.3s ease;
    }

    .countries-grid.collapsed {
        max-height: 200px;
        overflow: hidden;
        position: relative;
    }

    .countries-grid-blur {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(transparent, white);
        pointer-events: none;
    }

    .country-tag {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 1rem;
        border-radius: 12px;
        text-align: center;
        font-weight: 600;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        opacity: 1;
    }

    .country-tag:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

    .country-tag.hidden {
        display: none;
    }

    .view-more-btn {
        display: block;
        margin: 1.5rem auto 0;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #4A90E2 0%, #357abd 100%);
        color: white;
        border: none;
        border-radius: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .view-more-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
    }

    .countries-count {
        color: #666;
        font-size: 0.9rem;
        margin-top: 1rem;
        text-align: center;
    }

    .features-section {
        margin-top: 3rem;
    }

    .features-list {
        display: grid;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .feature-item:hover {
        background: #e3f2fd;
        transform: translateX(10px);
    }

    .feature-icon {
        width: 24px;
        height: 24px;
        background: #27ae60;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 0.8rem;
    }

    .sidebar {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        position: sticky;
        top: 2rem;
        height: fit-content;
    }

    .purchase-card {
        background: white;
        border-radius: 20px;
        padding: 2rem;
        box-shadow: -1px -2px 30px 10px #dee4ef;
    }

    .purchase-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.2rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 1.5rem;
    }

    .purchase-title::before {
        content: "🛒";
    }

    .addon-section {
        background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
        border-radius: 15px;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .addon-title {
        color: #8b4513;
        font-weight: bold;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .addon-title::before {
        content: "⚡";
    }

    .addon-options {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .addon-section select {
        border-radius: 10px;
    }

    .addon-option {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: rgba(255,255,255,0.8);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .addon-option:hover {
        background: rgba(255,255,255,1);
        transform: scale(1.02);
    }

    .addon-option.selected {
        background: rgba(74, 144, 226, 0.1);
        border: 2px solid #4A90E2;
    }

    .radio-input {
        width: 20px;
        height: 20px;
        accent-color: #4A90E2;
    }

    .social-share {
        margin-top: 2rem;
        text-align: center;
    }

    .social-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-btn {
        padding: 0.8rem 1.5rem;
        border: none;
        border-radius: 10px;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .social-btn.facebook { background: #3b5998; }
    .social-btn.twitter { background: #1da1f2; }
    .social-btn.whatsapp { background: #25d366; }

    .social-btn:hover {
        transform: translateY(-3px);
        opacity: 0.9;
    }

    .help-section {
        background: #f8f9fa;
        border-radius: 15px;
        padding: 1.5rem;
        text-align: center;
    }

    .help-title {
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .help-title::before {
        content: "❓";
    }

    .help-text {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .contact-btn {
        background: #6c757d;
        color: white;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .contact-btn:hover {
        background: #5a6268;
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .content-wrapper {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        
        .specs-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .countries-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .header {
            padding: 1rem;
        }
        
        .nav-links {
            gap: 1rem;
        }
        .social-btn {
            padding: 0.5rem;
        }
    }

    /* Enhanced Tags Styling */
.product-tags {
    margin: 1.5rem 0;
    padding: 0.5rem 0;
}

.tags-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #e1f1f7 0%, #d5edf6 100%);
    border-radius: 20px;
    color: #4a5568;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tag:hover {
    background: linear-gradient(135deg, #4A90E2 0%, #357abd 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    border-color: transparent;
}

/* For the tag icon */
.tag i {
    margin-right: 6px;
    font-size: 0.8em;
}

.blog-perspective {
    padding-top: 60px;
    padding-bottom: 60px;
}
.blog-hero .overline {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b04bff;
    font-weight: 600;
}
.blog-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1d103f;
    margin-bottom: 1rem;
}
.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 30px;
    background: linear-gradient(120deg, #10ade7 0%, #0eabe4 55%, #10ade7 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(13, 0, 77, 0.08);
    margin-bottom: 35px;
}
.filter-label {
    font-weight: 600;
    color: #ffffff;
    margin-right: 12px;
}
.filter-chips {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.filter-chips .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chip {
    border: 1px solid #e6f2f9;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    color: #035b89;
    text-decoration: none;
    background: #fff;
    transition: all .2s ease;
}
.chip-active,
.chip:hover {
    background: #035b89;
    border-color: #035b89;
    color: #ffffff;
}
.sort-control label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    display: block;
}
.select-wrapper {
    position: relative;
}
.select-wrapper select {
    appearance: none;
    border: 1px solid #e6f2f9;
    border-radius: 999px;
    padding: 10px 36px 10px 16px;
    font-weight: 600;
    color: #035b89;
    background: #fff;
    min-width: 160px;
}
.select-wrapper .chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #c4b7dc;
    pointer-events: none;
}
/* Blog Grid Layout */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    row-gap: 30px;
}

.blog-grid > [class*='col-'] {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}

/* Ensure all cards have equal height and width */
.blog-card-link {
    display: flex;
    height: 100%;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Fix for mobile view */
@media (max-width: 575.98px) {
    .blog-grid > [class*='col-'] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.blog-card {
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 9px 20px #035b8936;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.blog-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-tags span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #035b89;
    background: #e6f2f9;
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 16px;
}
.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1c1530;
}
.blog-card h3 a {
    text-decoration: none;
    color: inherit;
}
.blog-card p {
    color: #5f5477;
    flex: 1;
}
.blog-card-meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8b7cab;
    margin-top: 20px;
}
.blog-card-link {
    display: flex;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.blog-card-link:hover {
    transform: translateY(-5px);
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.blog-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body p {
    flex: 1;
}

/* Blog layout adjustments */
.blog-hero-container {
    margin-bottom: 30px;
}

.blog-filter-container {
    margin-bottom: 30px;
}

.blog-index .pagination li a {
    background: #F5F3F9;
    border-radius: 50px !important;
    border: none !important;
}
.blog-index .pagination .active a {
    background: linear-gradient(120deg, #10ade7 0%, #0eabe4 55%, #10ade7 100%);
}
.pagination li a:hover {
    color: #63636a !important;
    background: #c1e9f8 !important;
}
@media (max-width: 767px) {
    .blog-filter-container {
        order: 2;
        margin-top: 20px;
        margin-bottom: 0;
    }
    
    .blog-grid {
        order: 3;
        margin-top: 20px;
    }
    
    .blog-filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-chips {
        width: 100%;
    }
    
    .chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .chips::-webkit-scrollbar {
        height: 4px;
    }
    
    .sort-control {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .blog-filter-bar {
        padding: 20px;
    }
    .select-wrapper select {
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tags-container {
        gap: 0.5rem;
    }
    .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}