.pricing-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.pricing-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-hero-content .section-badge {
    background: var(--gradient-primary, linear-gradient(135deg, #2563eb, #10b981));
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.pricing-hero-content h1 {
    font-family: var(--font-display), "Playfair Display", serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900, #0f172a);
    margin-bottom: 20px;
    line-height: 1.2;
}

.pricing-hero-content p {
    font-size: 18px;
    color: var(--gray-700, #334155);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-plans-section {
    padding: 80px 0;
    background-color: var(--bg-light, #f8fafc);
}



.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--primary-color, #2563eb);
    background: transparent;
    color: var(--primary-color, #2563eb);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-primary, linear-gradient(135deg, #2563eb, #10b981));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.menu-wrapper {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.menu-wrapper.active-menu {
    display: block !important;
    opacity: 1;
}



.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid #23c393;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}


.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(35, 195, 147, 0.15);
    padding-bottom: 15px;
}

.category-header {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #0f172a;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.sub-category-title {
    font-size: 14px;
    font-weight: 700;
    margin: 25px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4b5563;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 4px;
}



.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 15px;
    color: #374151;
    transition: all 0.2s ease;
}

.price-list li:hover {
    padding-left: 6px;
    color: #0f172a;
}

.price-list li:last-child {
    border-bottom: none;
}


.price-list li span:last-child {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    padding: 4px 14px;
    border-radius: 30px;
    background: rgba(35, 195, 147, 0.06);
    border: 1px solid rgba(35, 195, 147, 0.1);
    font-size: 14px;
    transition: all 0.3s ease;
}

.price-list li:hover span:last-child {
    background: #23c393;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(35, 195, 147, 0.2);
    border-color: transparent;
}

.brand-text {
    font-weight: 600;
    color: #1e3a8a;
}



.category-card.derma-theme {
    border-top: none;
    border-left: 5px solid #23c393 !important;
}

.derma-theme .sub-category-title {
    color: #23c393 !important;
    border-bottom: 1px dashed rgba(35, 195, 147, 0.3);
}

.derma-footer-note {
    text-align: center;
    margin-top: 40px;
    padding: 18px;
    background: rgba(35, 195, 147, 0.1);
    border-left: 4px solid #23c393;
    border-radius: 8px;
    color: #23c393;
    font-weight: 600;
}


.topic-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #23c393;
    box-shadow: 0 4px 10px rgba(35, 195, 147, 0.15);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.category-card:hover .topic-thumb {
    transform: scale(1.1) rotate(6deg);
    border-color: #111827;
}


.image-feature-card {
    padding: 0 !important;
    overflow: hidden;
    min-height: 400px;
    display: flex;
}

.image-zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.image-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
    z-index: 1;
}

.image-text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px;
    z-index: 2;
    box-sizing: border-box;
    text-align: left;
}

.image-text-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 10px 0;
}

.image-text-content p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.img-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #23c393;
    color: #ffffff;
    display: inline-block;
}

.img-badge.admin-b {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-card.image-feature-card:hover .feature-img {
    transform: scale(1.06);
}



@media (max-width: 768px) {
    .pricing-hero {
        padding: 100px 0 60px;
        margin-top: 60px;
    }

    .pricing-hero-content h1 {
        font-size: 36px;
    }

    .pricing-hero-content p {
        font-size: 16px;
    }

    .pricing-plans-section {
        padding: 60px 0;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 25px;
    }

    .image-feature-card {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}



.brand-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    
}


.brand-logo-img {
    height: 18px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}


.brand-logo-img.square-logo {
    height: 20px;
    width: 20px;
    border-radius: 4px;
}


.brand-price-row:hover .brand-logo-img {
    filter: grayscale(0%);
}



.carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}


.horizontal-scroll-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 30px 10px;
    snap-type: x mandatory;

    
    scrollbar-width: none;
    
    -ms-overflow-style: none;
    
}


.horizontal-scroll-track::-webkit-scrollbar {
    display: none;
}


.horizontal-scroll-track .category-card {
    flex: 0 0 360px;
    
    snap-align: start;
    margin: 0;
}



.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(35, 195, 147, 0.25);
    color: #0f172a;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-arrow:hover {
    background: #23c393;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(35, 195, 147, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: -25px;
}

.next-arrow {
    right: -25px;
}


@media (max-width: 992px) {
    .scroll-arrow {
        display: none;
    }

    .horizontal-scroll-track {
        gap: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .horizontal-scroll-track .category-card {
        flex: 0 0 85vw;
        
    }
}