/*!
Theme Name: servicehub
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: servicehub
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

servicehub is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/




/* CSS Variables for Theme */
:root {
    --primary-color: #ff3300;
    --secondary-color: #7914ec;
    --accent-color: #e6951c;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --background-primary: #ffffff;
    --background-secondary: #f7fafc;
    --background-tertiary: #edf2f7;
    --border-color: #e2e8f0;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}


/* Dark Theme Variables */
[data-theme="dark"] {
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --background-primary: #1a202c;
    --background-secondary: #2d3748;
    --background-tertiary: #4a5568;
    --border-color: #4a5568;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--background-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--background-secondary);
    border-radius: 25px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
}

.search-input {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    outline: none;
    color: var(--text-primary);
    width: 300px;
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: transform 0.2s ease;
}

.search-btn:hover {
    transform: scale(1.1);
}

.burger-toggle,
.theme-toggle {
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}






.theme-toggle:hover {
    transform: rotate(180deg);
}

/* Main Content Layout */
.main {
    padding: 2rem 0;
}

.main-content {
    display: grid;
    grid-template-columns: 280px 1fr 250px;
    gap: 1rem;
    align-items: start;
}

/* Left Sidebar - Filters */
.sidebar-left {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group h4 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.filter-option:hover {
    background-color: var(--background-tertiary);
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#priceRange {
    accent-color: var(--primary-color);
}

.price-display {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-content {
    max-width: 375px;
}

.filter-clear {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-clear:hover {
    background: var(--primary-color);
    color: white;
}

/* Content Area */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Stories Section */
.stories-section h2 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.stories-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
    cursor: pointer;
}

.story-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    position: relative;
    transition: transform 0.2s ease;
}

.story-preview::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
}

.story-item:hover .story-preview {
    transform: scale(1.1);
}

.story-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Services Section */
.services-section {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

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

.section-header h2 {
    font-weight: 600;
}

#sortSelect {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-primary);
    cursor: pointer;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--background-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;

    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-provider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.provider-avatar {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.provider-avatar img {
    width: 100%;
    height: auto;
}

.provider-info h4 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.provider-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.service-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-rating {
    justify-content: center;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.provider-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
}

.provider-avatar-large {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.provider-avatar-large img {
    width: 100%;
    object-fit: cover;
    height: 100%;

}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-tag {
    background: var(--background-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: #ffd700;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-price {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading Indicator */
.loading {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Right Sidebar - Banners */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}
.acf-fields > .acf-field {
    padding: 10px 0 !important;
}
.banner {
    /* background: var(--gradient-secondary); */
    color: white;
    /* padding: 1rem; */
    border-radius: 12px;
    text-align: center;
    /* box-shadow: var(--shadow-medium); */
    transition: transform 0.2s ease;
    /* margin-bottom: 16px; */
    overflow: hidden;
}
.acf-field[data-width] + .acf-field[data-width] {
    border-left:none !important;
}
.banner img {
    width: 100%;
    object-position: center;
    border-radius: 12px;
    height: auto;
}
.banner:hover {
    transform: translateY(-3px);
}
.form-roww {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.banner h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.banner p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.banner-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: var(--background-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 250px 1fr 250px;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sidebar-left,
    .sidebar-right {
        position: static;
        max-height: none;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .search-input {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .nav {
        justify-content: center;
    }

    .header-actions {
        justify-content: center;
    }

    .search-input {
        width: 150px;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

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

    .service-card {
        padding: 1rem;
    }

    .banner {
        padding: 1.5rem;
    }

    .stories-container {
        justify-content: center;
    }
}

.service-card {

    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}


.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.filter-toggle {
    display: none;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    transition: background 0.3s ease, transform 0.2s ease;
}

.filter-toggle:hover {
    background: var(--background-tertiary);
    transform: scale(1.05);
}

.filter-toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.filter-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .filter-toggle {
        display: block;
    }

    .filter-content {
        max-height: 0;
        opacity: 0;
    }

    .filter-content.open {
        max-height: 100%;
        opacity: 1;
    }

    .filter-header {
        margin-bottom: 0;
    }


    .filter-header h3 {
        margin-bottom: 0;
        margin-top: -3px;
    }

    .filter-group {
        padding-top: 20px;
    }






}

.gear-icon {
    transition: fill 0.3s ease, stroke 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .gear-icon {
    fill: var(--text-primary);
    stroke: var(--text-primary);
}

.filter-toggle {
    padding: 0;
    border: none;
}

.filter-toggle-icon svg {
    width: 24px;
    height: 24px;
}

.filter-toggle-icon {
    height: 24px;
    width: 24px;
}




.sidebar-left {
    direction: rtl;
}

.sidebar-left * {
    direction: ltr;
}


.sidebar-right::-webkit-scrollbar {
    width: 12px;
}

.sidebar-right::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

.sidebar-right::-webkit-scrollbar-thumb {
    background-color: var(--text-secondary);
    border-radius: 10px;
    border: 3px solid var(--background-secondary);
}


[data-theme="dark"] .sidebar-right::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

[data-theme="dark"] .sidebar-right::-webkit-scrollbar-thumb {
    background-color: #999;
    border: 3px solid var(--background-secondary);
}

/* Общий стиль скроллбара */
.sidebar-left::-webkit-scrollbar {
    width: 12px;
}

.sidebar-left::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

.sidebar-left::-webkit-scrollbar-thumb {
    background-color: var(--text-secondary);
    border-radius: 10px;
    border: 3px solid var(--background-secondary);
}


[data-theme="dark"] .sidebar-left::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

[data-theme="dark"] .sidebar-left::-webkit-scrollbar-thumb {
    background-color: #999;
    border: 3px solid var(--background-secondary);
}


.story-item {
    padding-top: 10px;
}



.advanced-filters {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1rem;

    box-shadow: var(--shadow-light);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-select,
.filter-checkbox {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-select {
    min-width: 120px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-checkbox input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.filter-select:hover,
.filter-checkbox:hover {
    background-color: var(--background-tertiary);
}

[data-theme="dark"] .filter-select,
[data-theme="dark"] .filter-checkbox {
    background: var(--background-tertiary);
    color: var(--text-primary);
}


.mobile-flex {
    display: none;
}








@media (max-width: 768px) {
    .mobile-flex {
        display: block;
    }

    .desktop-flex {
        display: none;
    }

    .filter-row {
        flex-direction: column;
    }

    .filter-select,
    .filter-checkbox {
        width: 100%;
    }

    .stories-container {
        flex-wrap: wrap;
    }

    .filter-group {
        margin-bottom: 0;
    }

    .theme-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .burger-toggle {
        position: absolute;
        top: 20px;
        right: 70px;
    }











}

.video-modal-content {
    margin: 0;
    max-height: 100vh;
    height: 100vh;
}

#countryFilter,
#cityFilter {
    display: none;
}








/* Advanced Filters Toggle */
.advanced-filters .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.advanced-filters .filter-toggle-advanced {
    display: none;
    background: var(--background-secondary);
    border: none;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.advanced-filters .filter-toggle-advanced:hover {
    background: var(--background-tertiary);
    transform: scale(1.05);
}

.advanced-filters .filter-toggle-icon {
    height: 24px;
    width: 24px;
}

.advanced-filters .filter-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.advanced-filters .filter-content.open {
    max-height: 1000px;
    /* Достаточно для всего контента */
    opacity: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--background-primary);
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: var(--shadow-light);
}

.profile-avatar {
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.service-actions {
    flex-direction: column;
}




@media (max-width: 768px) {
    .benefits-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .advanced-filters .filter-toggle-advanced {
        display: block;
    }

    .advanced-filters .filter-content {
        max-height: 0;
        opacity: 0;
    }

    .advanced-filters .filter-content.open {
        max-height: 1000px;
        opacity: 1;
    }

    .advanced-filters .filter-header h3 {
        margin-bottom: 0;
        margin-top: -3px;
    }

    .advanced-filters .filter-row {
        padding-top: 20px;
    }

    .advanced-filters {
        padding: 10px 20px;
    }











}


.sort-options {
    display: none;
}




.video-hero {
    text-align: center;
    padding: 3rem 0;
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.video-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.video-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
}

.filter-tab {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.video-sort select {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.video-stats {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: var(--background-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
    background: var(--gradient-primary);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.video-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

video {
    border-radius: 16px !important;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.video-views {
    font-weight: 500;
}

.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    background: var(--background-primary);
    border-radius: 16px;
    width: 90%;
    max-width: 460px;
    max-height: 90vh;
    /* overflow: auto; */
    box-shadow: var(--shadow-medium);
    height: 90vh;

}

.video-modal-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.video-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--background-tertiary);
    color: var(--text-primary);
}

.video-player-container {
    position: absolute;
    width: 100%;
    aspect-ratio: 9/16;
    max-width: 460px;
    inset: 0;
    border-radius: 16px;
    z-index: 2;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.video-modal-info {
    padding: 1.5rem;
}

.video-modal-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-video-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.video-modal-header h3 {
    color: black;
}

.modal-close {
    color: black;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 250px 1fr 250px;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sidebar-left,
    .sidebar-right {
        position: static;
        max-height: none;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .search-input {
        width: 200px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .video-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.burger-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .nav {
        display: none;
        flex-direction: column;
        align-items: start;
        gap: 10px;


        /* justify-content: center;
        flex-wrap: wrap; */
    }




    .nav.open {
        display: flex;
    }

    .burger-toggle {
        display: block;
    }





    .header-actions {
        justify-content: center;
    }

    .search-input {
        width: 150px;
    }

    .video-hero h1 {
        font-size: 2rem;
    }

    .video-hero p {
        font-size: 1rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .video-modal-content {
        width: 95%;
        margin: 2rem auto;
    }
}

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

    .video-hero {
        padding: 2rem 1rem;
    }

    .video-filters {
        padding: 1rem;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-tab {
        text-align: center;
    }

    .video-modal-content {
        width: 98%;
        margin: 0;
        max-height: 100vh;
        height: 100vh;
        width: 100%;
        border-radius: 0;
    }

    .video-modal-header {
        border: none;
    }

    .video-modal-header h3 {
        color: black;
    }

    .modal-close {
        color: black;
    }

    video {
        border-radius: 0 !important;
    }

    .video-modal-header {
        padding: 1rem;
    }

    .video-modal-info {
        padding: 1rem;
    }
}

/* Filter and Advanced Filter Styles */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-toggle {
    display: none;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    transition: background 0.3s ease, transform 0.2s ease;
}

.filter-toggle:hover {
    background: var(--background-tertiary);
    transform: scale(1.05);
}

.filter-toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.filter-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.mobile-flex {
    display: none;
}

.desktop-flex {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .filter-toggle {
        display: block;
    }

    .filter-content {
        max-height: 0;
        opacity: 0;
    }

    .filter-content.open {
        max-height: 1000px;
        opacity: 1;
    }

    .filter-header {
        margin-bottom: 0;
    }

    .filter-header h3 {
        margin-bottom: 0;
        margin-top: -3px;
    }

    .filter-group {
        padding-top: 20px;
    }

    .mobile-flex {
        display: block;
    }

    .desktop-flex {
        display: none;
    }
}

.gear-icon {
    transition: fill 0.3s ease, stroke 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .gear-icon {
    fill: var(--text-primary);
    stroke: var(--text-primary);
}

.filter-toggle {
    padding: 0;
    border: none;
}

.filter-toggle-icon svg {
    width: 24px;
    height: 24px;
}

.filter-toggle-icon {
    height: 24px;
    width: 24px;
}

.sidebar-left {
    direction: rtl;
}

.sidebar-left * {
    direction: ltr;
}

/* Scrollbar Styles */
.sidebar-left::-webkit-scrollbar {
    width: 12px;
}

.sidebar-left::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

.sidebar-left::-webkit-scrollbar-thumb {
    background-color: var(--text-secondary);
    border-radius: 10px;
    border: 3px solid var(--background-secondary);
}

[data-theme="dark"] .sidebar-left::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

[data-theme="dark"] .sidebar-left::-webkit-scrollbar-thumb {
    background-color: #999;
    border: 3px solid var(--background-secondary);
}

.advanced-filters {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-light);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-select,
.filter-checkbox {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-select {
    min-width: 120px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-checkbox input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.filter-select:hover,
.filter-checkbox:hover {
    background-color: var(--background-tertiary);
}

[data-theme="dark"] .filter-select,
[data-theme="dark"] .filter-checkbox {
    background: var(--background-tertiary);
    color: var(--text-primary);
}

.advanced-filters .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.advanced-filters .filter-toggle-advanced {
    display: none;
    background: var(--background-secondary);
    border: none;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.advanced-filters .filter-toggle-advanced:hover {
    background: var(--background-tertiary);
    transform: scale(1.05);
}

.advanced-filters .filter-toggle-icon {
    height: 24px;
    width: 24px;
}

.advanced-filters .filter-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.advanced-filters .filter-content.open {
    max-height: 1000px;
    opacity: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--background-primary);
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: var(--shadow-light);
}

.profile-avatar {
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.service-actions {
    flex-direction: column;
}

.sort-options {
    display: none;
}

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

    .advanced-filters .filter-toggle-advanced {
        display: block;
    }

    .advanced-filters .filter-content {
        max-height: 0;
        opacity: 0;
    }

    .advanced-filters .filter-content.open {
        max-height: 1000px;
        opacity: 1;
    }

    .advanced-filters .filter-header h3 {
        margin-bottom: 0;
        margin-top: -3px;
    }

    .advanced-filters .filter-row {
        padding-top: 20px;
    }

    .advanced-filters {
        padding: 10px 20px;
    }

    .filter-row {
        flex-direction: column;
    }

    .filter-select,
    .filter-checkbox {
        width: 100%;
    }

    .stories-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .container {
        padding: 0 5px;
    }

    .filter-group {
        margin-bottom: 0;
    }
}

#countryFilter,
#cityFilter {
    display: none;
}







































/* Reviews Page Specific Styles */

.reviews-hero {
    text-align: center;
    padding: 3rem 0;
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.reviews-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.reviews-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Reviews Filters */
.reviews-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
}

.filter-tab {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.reviews-sort select {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Reviews Summary */
.reviews-summary {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.summary-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.overall-rating .rating-stars {
    font-size: 1.5rem;
    color: #ffd700;
    margin: 0.5rem 0;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.rating-bar span:first-child {
    min-width: 30px;
    color: var(--text-secondary);
}

.rating-bar span:last-child {
    min-width: 40px;
    text-align: right;
    color: var(--text-secondary);
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--background-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

/* Reviews Grid */
.reviews-section {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--background-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    /* opacity: 0; */
    transform: translateY(20px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    box-shadow: var(--shadow-medium);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.reviewer-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-meta {
    text-align: right;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: flex-end;
}

.review-rating .rating-stars {
    color: #ffd700;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.service-info {
    background: var(--background-tertiary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.service-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.service-provider {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-content {
    margin-bottom: 1rem;
}

.review-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-photos {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.review-photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.review-photo:hover {
    transform: scale(1.05);
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-tag {
    background: var(--background-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.review-tag.positive {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.review-tag.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.review-actions {
    display: flex;
    gap: 1rem;
}

.review-action {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.review-action:hover {
    color: var(--primary-color);
}

.review-badges {
    display: flex;
    gap: 0.5rem;
}

.review-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.review-badge.verified {
    background: #22c55e;
}

.review-badge.detailed {
    background: #3b82f6;
}

/* Quick Stats Sidebar */
.quick-stats {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}

.quick-stats h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.highlight-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .reviews-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .reviews-hero h1 {
        font-size: 2rem;
    }

    .reviews-hero p {
        font-size: 1rem;
    }

    .reviews-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .review-header {
        flex-direction: column;
        gap: 1rem;
    }

    .review-meta {
        text-align: left;
    }

    .review-rating {
        justify-content: flex-start;
    }

    .service-info {
        flex-direction: column;
        text-align: center;
    }

    .review-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .review-actions {
        justify-content: center;
    }

    .review-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .reviews-hero {
        padding: 2rem 1rem;
    }

    .reviews-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .reviews-filters {
        padding: 1rem;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-tab {
        text-align: center;
    }

    .review-card {
        padding: 1rem;
    }

    .reviewer-info {
        flex-direction: column;
        text-align: center;
    }

    .review-photos {
        justify-content: center;
    }
}

/* Animation for review cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card.animate {
    animation: slideInUp 0.5s ease forwards;
}






.services-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.services-content {
    padding: 4rem 0;
}

.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.category-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.premium-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.premium-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.premium-card ul li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
}

.purchase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.purchase-btn:hover {
    transform: translateY(-2px);
}

.premium-services {
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.premium-services h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.premium-card {
    background: var(--background-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.premium-card.featured {
    border: 2px solid var(--primary-color);
}

.premium-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 3rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.premium-card h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.premium-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.premium-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.add-ons-section {
    margin-bottom: 4rem;
}

.add-ons-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.add-ons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.add-on-card {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.add-on-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.add-on-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.add-on-info {
    flex: 1;
}

.add-on-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.add-on-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.add-on-price {
    font-weight: 600;
    color: var(--primary-color);
}

.add-on-btn {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.add-on-btn:hover {
    transform: scale(1.05);
}

.cart-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: transform 0.2s ease;
    z-index: 1000;
}

.cart-widget:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f56565;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--background-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .services-hero {
        padding: 2rem 0;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-content {
        padding: 2rem 0;
    }

    .premium-services {
        padding: 2rem;
    }

    .category-card,
    .premium-card {
        padding: 1.5rem;
    }
}

.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-primary);
    position: relative;
    overflow: hidden;
}

.error-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.error-number {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.error-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.error-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.error-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 0, 0.3);
}

.error-btn-secondary {
    background: var(--background-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.error-btn-secondary:hover {
    background: var(--background-tertiary);
    transform: translateY(-2px);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    top: 20%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    animation-delay: 1s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-4 {
    bottom: 30%;
    right: 10%;
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    animation-delay: 3s;
}

.suggestions {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-secondary);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.suggestions h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.suggestions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.suggestion-item {
    padding: 1rem;
    background: var(--background-primary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.suggestion-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.suggestion-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.suggestion-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(120deg);
    }

    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-number {
        font-size: 6rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .suggestions-list {
        grid-template-columns: 1fr;
    }

    .shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .error-content {
        padding: 1rem;
    }

    .error-number {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .suggestions {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

/* Theme toggle positioning for 404 page */
.theme-toggle-404 {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.theme-toggle-404:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* Icon styles */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.article-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lines" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 0 20 L 20 0" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23lines)"/></svg>');
}

.article-breadcrumb {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb-nav a:hover {
    opacity: 1;
}

.article-content {
    padding: 4rem 0;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-main {
    background: var(--background-secondary);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
    position: relative;
}

.article-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.article-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-date {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-medium);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem 0;
    color: var(--text-primary);
    position: relative;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body blockquote {
    background: var(--background-primary);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body code {
    background: var(--background-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.article-body pre {
    background: var(--background-primary);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

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

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: var(--background-primary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.related-article:hover {
    background: var(--background-primary);
    transform: translateY(-2px);
}

.related-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    background: var(--gradient-secondary);
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-btn.copy {
    background: var(--background-primary);
    color: var(--text-primary);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.newsletter-card {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.newsletter-card h3 {
    color: white;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.newsletter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.comments-section {
    background: var(--background-secondary);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-light);
}

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

.comments-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.comments-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comment-form {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.comment-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--background-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

@media (max-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 3rem 0;
    }

    .article-main {
        padding: 2rem;
    }

    .article-title {
        font-size: 2.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .article-stats {
        gap: 1rem;
    }

    .article-image {
        height: 250px;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    .comments-section {
        padding: 2rem;
    }









    .burger-toggle,
    .theme-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--background-secondary);
        border: 1px solid var(--border-color);
        padding: 0.5rem;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        transition: transform 0.2s ease;
        width: 40px;
        height: 40px;
    }
}






.login-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.login-container {
    max-width: 500px;
    margin: 3rem auto;
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
}

.login-tabs {
    display: flex;
    background: var(--background-tertiary);
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.login-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.login-tab.active {
    background: var(--gradient-primary);
    color: white;
}

.login-form {
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.1);
}

.login-btn {
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--text-secondary);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    padding: 0 1rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--background-tertiary);
    transform: translateY(-1px);
}

.register-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fee;
    color: #c53030;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #fed7d7;
    display: none;
}

.success-message {
    background: #f0fff4;
    color: #38a169;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c6f6d5;
    display: none;
}

@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }

    .login-hero {
        padding: 2rem 0;
    }
}


.profile-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
}

.profile-info h1 {
    margin-bottom: 0.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    opacity: 0.8;
    font-size: 0.9rem;
}

.profile-content {
    padding: 3rem 0;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

.sidebar-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-color);
    color: white;
}

.profile-main {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.services-list {
    display: grid;
    gap: 1.5rem;
}

.service-item {
    background: var(--background-primary);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-details h4 {
    margin-bottom: 0.5rem;
}

.service-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-edit {
    background: var(--primary-color);
    color: white;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

.btn-small:hover {
    transform: translateY(-1px);
}

.orders-grid {
    display: grid;
    gap: 1.5rem;
}

.order-item {
    background: var(--background-primary);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

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

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;

}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--background-primary);
    color: var(--text-primary);
}

.save-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.save-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

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

.profile-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
}

.profile-info h1 {
    margin-bottom: 0.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    opacity: 0.8;
    font-size: 0.9rem;
}

.profile-content {
    padding: 3rem 0;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

.sidebar-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-color);
    color: white;
}

.profile-main {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.services-list {
    display: grid;
    gap: 1.5rem;
}

.service-item {
    background: var(--background-primary);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-details h4 {
    margin-bottom: 0.5rem;
}

.service-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-edit {
    background: var(--primary-color);
    color: white;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

.btn-small:hover {
    transform: translateY(-1px);
}

.orders-grid {
    display: grid;
    gap: 1.5rem;
}

.order-item {
    background: var(--background-primary);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

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

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;

}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--background-primary);
    color: var(--text-primary);
}

.save-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.save-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

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


.register-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.register-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.register-tabs {
    display: flex;
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--gradient-secondary);
    color: white;
}

.tab-content {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.form-select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-primary);
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.register-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.register-btn:hover {
    transform: translateY(-2px);
}

.benefits-section {
    margin-top: 3rem;
    background: var(--background-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

@media (max-width: 768px) {

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

    .register-tabs {
        flex-direction: column;
    }
}

.file-upload {
    position: relative;
    display: inline-block;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}
.edit-btn,
.file-upload .file-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 1;
    position: relative;
    box-shadow: var(--shadow-light);
}

.cancel-edit-btn,
.acf-button.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 1;
    position: relative;
    box-shadow: var(--shadow-light);
}

.file-upload .file-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

[data-theme="dark"] .file-upload .file-btn {
    background: var(--gradient-secondary);
}

/* ACF стилизация как твоя форма */
.acf-fields .acf-field {
    margin-bottom: 1.5rem;
}

.acf-fields .acf-label label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.acf-fields .acf-input select,
.acf-fields .acf-input input[type="text"],
.acf-fields .acf-input input[type="number"],
.acf-fields .acf-input textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--background-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.acf-fields .acf-input select {
    cursor: pointer;
}

/* True/False (чекбоксы) */
.acf-fields .acf-input .acf-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acf-fields .acf-input input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

/* Кнопка сохранения */
.acf-fields input[type="submit"] {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-light);
}

.acf-fields input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ACF стилизация как твоя форма */
.acf-profile-form .acf-field {
    margin-bottom: 1.5rem;
}

.acf-profile-form .acf-label label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.acf-profile-form .acf-input select,
.acf-profile-form .acf-input input[type="text"],
.acf-profile-form .acf-input input[type="number"],
.acf-profile-form .acf-input textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--background-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.acf-profile-form .acf-input select {
    cursor: pointer;
}

/* True/False (чекбоксы) */
.acf-profile-form .acf-input .acf-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acf-profile-form .acf-input input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

/* Кнопка сохранения */
.acf-profile-form input[type="submit"] {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-light);
}

.acf-profile-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
.product-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.product-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.product-main {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.provider-card {
    background: var(--background-secondary);
    border-radius: 12px;
    padding-top: 2rem;
    padding-bottom: 2rem;


}

.provider-avatar-large {

    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.order-card {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.order-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.order-btn:hover {
    transform: translateY(-2px);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    margin-top: 0;
}

.gallery-item.gallery-item-1 {
    height: 250px;
}
.gallery-item {
    /* aspect-ratio: 9/16; */
    background: var(--gradient-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    height: 200px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}



.gallery-item:hover {
    transform: scale(1.05);
}

.review-item {
    background: var(--background-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

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

.review-rating {
    color: #ffd700;
}

@media (max-width: 1024px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    display: block;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
}

.navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
}

#productDescription ul {
    padding-left: 24px;
}

#productDescription ol {
    padding-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .close {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 5px;
    }
.advanced-filters {
    box-shadow: none;
}
    .gallery-item {
        height: 150px;
    }

    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .product-content {
        display: flex;
        flex-direction: column-reverse;
    }

    .product-content {
        padding-top: 0;
    }
    .header-content {
        display: block;
    }
}

.chat-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: calc(100vh - 120px);
    background: var(--background-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin: 2rem 0;
}

.chat-sidebar {
    background: var(--background-primary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--gradient-primary);
    color: white;
}

.chat-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.chat-search {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--background-secondary);
    color: var(--text-primary);
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.conversation-item:hover {
    background: var(--background-secondary);
}

.conversation-item.active {
    background: var(--background-tertiary);
    border-right: 3px solid var(--primary-color);
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    overflow: hidden;
    flex-shrink: 0;
}

.conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.conversation-preview {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.conversation-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.unread-badge {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.chat-main {
    display: flex;
    flex-direction: column;
    background: var(--background-primary);
}

.chat-main-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-secondary);
}

.chat-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    overflow: hidden;
}

.chat-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-user-info h3 {
    margin: 0;
    color: var(--text-primary);
}

.chat-user-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.chat-actions {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

.chat-action-btn {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-action-btn:hover {
    background: var(--background-tertiary);
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 70%;
}

.message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    overflow: hidden;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    background: var(--background-secondary);
    padding: 0.75rem 1rem;
    border-radius: 16px;
    position: relative;
}

.message.sent .message-content {
    background: var(--gradient-primary);
    color: white;
}

.message-text {
    margin: 0;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.message.sent .message-time {
    color: rgba(255, 255, 255, 0.8);
}

.message-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--background-secondary);
}

.message-input-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.message-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--background-primary);
    color: var(--text-primary);
    resize: none;
    max-height: 100px;
    outline: none;
}

.message-input:focus {
    border-color: var(--primary-color);
}

.send-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.send-btn:hover {
    transform: translateY(-1px);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.empty-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    text-align: center;
}

.empty-chat-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.acf-checkbox-list.acf-hl {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.acf-checkbox-list.acf-hl::before{
    content: none;
    display: none;
}
@media (max-width: 768px) {
    .acf-checkbox-list.acf-hl {
    grid-template-columns: repeat(3, 1fr);
}
    .header-actions {
        justify-content: end;
        padding-right: 20px;
    }
    .nav {
        align-items: end;
    }
    .chat-container {
        grid-template-columns: 1fr;
        height: calc(100vh - 80px);
        margin: 1rem 0;
    }

    .chat-sidebar {
        display: none;
    }
.gtranslate_wrapper {
    position: absolute;
    top: 25px;
    right: 120px;
}
    .advanced-filters .filter-content.open {
        max-height: 1250px;
    }
    .chat-sidebar.mobile-open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
    }

    .mobile-chat-toggle {
        display: block;
        padding: 0.5rem;
        background: var(--background-secondary);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
    }
}

.mobile-chat-toggle {
    display: none;
}
.premium-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.woocommerce img,
.woocommerce-page img {
    max-width: 400px;
}


.service-card .provider-avatar img {
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.comment-form-rating label {
    font-weight: 600;
    color: var(--text-primary);
}

.star-rating-input select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.comment-form {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-top: 2rem;
}

.comment-form textarea {
    width: 100%;
    height: 120px;
    padding: 1rem;
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
}

.comment-form input[type="submit"] {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
}

.comment-form input[type="submit"]:hover {
    opacity: 0.9;
}

.woocommerce-review {
    background: var(--background-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}

.woocommerce-review__author {
    font-weight: 600;
    color: var(--text-primary);
}

.woocommerce-review__published-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.woocommerce-review__text {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.star-rating {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.logged-in-as {
    position: absolute;
    visibility: hidden;
}

.review-card {
    position: relative;
    overflow: hidden;
}

.review-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-indent: -9999px;
    background: transparent;
}

.comment-list,
.comments-title {
    position: absolute;
    visibility: hidden;
}

.provider-card a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.provider-avatar-large img {
    max-width: 100%;
    object-position: top;
    width: 100%;
}

.gallery-item.video-item-gallery {
    height: auto;
    max-width: 375px;
    border-radius: 16px;
}

.gallery-item.video-item-gallery:hover {
    transform: scale(1);

}

.video-play-btn svg polygon {
    fill: black;
}

.video-card:hover svg polygon {
    fill: white;
}
.messages-container {
    max-height: 560px;
}


.filter-content.advanced-filter-content {
    padding: 5px;
}

.filter-content {
    padding-bottom: 20px;
}

.filter-clear {
    text-decoration: none;
border: 1px solid transparent;
        padding: 0.7rem;
        background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: none;
}


.filter-apply {
width: 100%;
        padding: 1rem;
        background: var(--gradient-secondary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid transparent;
}

.filter-apply:hover {
        transform: translateY(-3px);
}


.filter-clear:hover {
        transform: translateY(-3px);
    text-decoration: none;
border: 1px solid transparent;
        padding: 0.7rem;
        background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}


.filter-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}


[data-theme="dark"] .gt_selector {
    background: var(--background-primary);
    color: white;
    border: none;
}



.gt_selector {
    border: none;
    width: 69px;
}



[data-theme="dark"] .bp-messages-wrap {
        background: var(--background-primary);
    color: white !important;
}

[data-theme="dark"] .bp-messages-wrap h4{

    color: white !important;
}
[data-theme="dark"] .bp-messages-wrap p{

    color: white !important;
}
[data-theme="dark"] .starred-messages svg{

    fill: white !important;
}
[data-theme="dark"] .settings svg{

    fill: white !important;
}
[data-theme="dark"] .bpbm-empty-icon svg{

    fill: white !important;
}
.bp-messages-wrap .chat-footer,
.bp-messages-wrap .chat-header {
    background: transparent;
}
[data-theme="dark"] .bp-messages-wrap a{

    color: white !important;
}


[data-theme="dark"] .bpbm-maximize svg {

    stroke:white !important;
}
[data-theme="dark"] .new-message svg{

    stroke:white !important;
}


a {
    text-decoration: none !important;
}




[data-theme="dark"] .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack.bm-left-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background) {
    background: transparent;

}

[data-theme="dark"] .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack.bm-left-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background) * {
    color:white !important;
}
[data-theme="dark"] .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack.bm-left-side .bm-content .bm-info a {
    color:white !important;
}
[data-theme="dark"] .bp-messages-wrap .bm-messages-list .bm-list .bm-conversation-start {
    color:white !important;
}


[data-theme="dark"] .bp-messages-wrap .threads-list .thread:hover {

    color:black !important;
}

[data-theme="dark"] .bp-messages-wrap .threads-list .thread:hover h4{

    color:black !important;
}


.forgot-toggle { 
    background: none; 
    border: 0; 
    cursor: pointer; 
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.register-link p {
    text-align: start;
}


.bm_user_selector {
    color: black !important;
}


#comments {
    display: none;
}


.woocommerce-notices-wrapper {
    position: absolute;
    visibility: hidden;
}
#post-18 h1 {
    padding-top: 90px;
}
#post-18 p,
#post-18 form,
.order_details,
#post-18 h1,
table,
#order_review_heading,
#customer_details,
#payment {
    max-width: 600px !important;
    margin: 0 auto !important;
}
main {
    min-height: 70vh;
}

.col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    width: 100%;
}
.order-total td,
.cart-subtotal td,
.product-total {
    text-align: end;
}










input[type="submit"][name="pay"] {
        width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;

}


.bm-search-results-header,
.bp-messages-user-list {
    background: transparent !important;
}

.bp-messages-user-list div.user:not(.not-clickable):hover a{
	color:black !important;
}

.service-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-badge--premium {
        background: var(--gradient-secondary);
}

.service-badge--vip {
    background: var(--gradient-primary);
}

.service-badge--verification {
background: green;
}

.service-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 6px 8px;
    border-radius: 8px;
}






























