/* ==========================================================================
   1. متغيرات الألوان (Themes)
   ========================================================================== */
:root, :root[data-theme="light"] {
    --bg-main: #fdfafc;
    --bg-card: #ffffff;
    --bg-header: #ffffff;
    --bg-secondary: #fdf2f8;
    --bg-subtle: #f8fafc;
    
    --text-primary: #1e1b1d;
    --text-secondary: #594a53;
    --text-muted: #8c7a84;
    
    --primary-color: #ec4899;
    --primary-hover: #db2777;
    --primary-light: #fce7f3;
    
    --border-color: #fce7f3;
    --border-light: #f3e8ee;
    
    --shadow-sm: 0 4px 15px rgba(236, 72, 153, 0.05);
    --shadow-md: 0 10px 25px rgba(236, 72, 153, 0.08);
    --footer-bg: #1e1219;
    --footer-bottom-bg: #140b10;
}

:root[data-theme="dark"] {
    --bg-main: #0b0f19;
    --bg-card: #131b2e;
    --bg-header: #0f172a;
    --bg-secondary: #1e293b;
    --bg-subtle: #162035;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --primary-color: #f472b6;
    --primary-hover: #fb7185;
    --primary-light: rgba(244, 114, 182, 0.15);
    
    --border-color: #1e293b;
    --border-light: #2d3b55;
    
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.5);
    --footer-bg: #070a10;
    --footer-bottom-bg: #04060a;
}

/* ==========================================================================
   2. الإعدادات العامة (Global Reset)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1;
    padding: 40px 0;
}

/* ==========================================================================
   3. الهيدر (Header & Nav)
   ========================================================================== */
.main-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    gap: 20px;
}

.logo {
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.logo-accent {
    color: var(--primary-color);
}

.header-search {
    flex: 1;
    max-width: 320px;
}

.header-search form {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    width: 100%;
    padding: 9px 40px 9px 15px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 13.5px;
    outline: none;
}

.header-search input:focus {
    border-color: var(--primary-color);
}

.header-search .search-icon {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    font-size: 14px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

:root[data-theme="light"] .light-icon { display: none; }
:root[data-theme="dark"] .dark-icon { display: none; }

.btn-login {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background-color: var(--primary-hover);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
}

/* ==========================================================================
   4. السكشن الترحيبي (Hero Section)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    padding: 50px 20px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.btn-hero-primary {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.btn-hero-primary:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background-color: #22c55e !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-hero-secondary:hover {
    background-color: #16a34a !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. التصنيفات الدائرية (Circular Categories / Stories)
   ========================================================================== */
.categories-section {
    margin-bottom: 45px;
}

.section-top-bar {
    margin-bottom: 15px;
}

.sub-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.circle-categories-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 20px 5px;
    scrollbar-width: thin;
}

.circle-categories-wrapper::-webkit-scrollbar {
    height: 6px;
}

.circle-categories-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 90px;
    min-width: 90px;
    gap: 8px;
}

.circle-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-color), #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.circle-item:hover .circle-avatar {
    transform: scale(1.06);
}

.circle-avatar img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
    background: var(--bg-card);
}

.circle-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.circle-item:hover .circle-name {
    color: var(--primary-color);
}

/* ==========================================================================
   6. شبكة الكروت (3 أعمدة)
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.section-header p {
    color: var(--text-secondary);
}

.cards-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    background-color: var(--bg-secondary);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.age-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-features {
    list-style: none;
    margin-bottom: 20px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.card-features li {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.card-features li i {
    color: var(--primary-color);
    font-size: 12px;
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-profile {
    flex: 1;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-profile:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-card-whatsapp {
    background-color: #22c55e;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
}

.btn-card-whatsapp:hover {
    background-color: #16a34a;
}

.no-data-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
}

.no-data-box i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* ==========================================================================
   7. صفحة البروفايل (Profile Page)
   ========================================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb .separator {
    font-size: 11px;
}

.breadcrumb .active {
    color: var(--text-primary);
    font-weight: 700;
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    background: var(--bg-card);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.gallery-wrapper-side {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.gallery-wrapper-side .main-display-image {
    flex: 1;
    height: 440px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.gallery-wrapper-side .main-display-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails-vertical-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100px;
}

.thumbnails-vertical-grid .thumb-item {
    height: 98px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    background: var(--bg-secondary);
}

.thumbnails-vertical-grid .thumb-item:hover,
.thumbnails-vertical-grid .thumb-item.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.03);
}

.thumbnails-vertical-grid .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header-info {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.profile-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.profile-badges {
    display: flex;
    gap: 10px;
}

.badge-tag {
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.age-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.status-tag {
    background: var(--primary-light);
    color: var(--primary-color);
}

.profile-section {
    margin-bottom: 25px;
}

.section-sub-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-sub-title i {
    color: var(--primary-color);
}

.profile-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-list-detailed {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.features-list-detailed li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.features-list-detailed li i {
    color: var(--primary-color);
    font-size: 14px;
}

.profile-action-box {
    margin-top: 30px;
}

.btn-whatsapp-large {
    background-color: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-whatsapp-large:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
}

.btn-whatsapp-large i {
    font-size: 22px;
}

.related-profiles-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px dashed var(--border-color);
}

/* ==========================================================================
   8. الفوتر (Footer)
   ========================================================================== */
.main-footer {
    background-color: var(--footer-bg);
    color: #94a3b8;
    padding-top: 55px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-logo {
    color: #ffffff !important;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-desc {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social-links a.wa-social:hover {
    background: #22c55e;
    border-color: #22c55e;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 11px;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(-5px);
}

.contact-info p {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 13.5px;
}

.contact-info p i {
    color: var(--primary-color);
    font-size: 15px;
}

.contact-info a {
    color: #cbd5e1;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ffffff;
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.footer-bottom strong {
    color: #ffffff;
}

/* ==========================================================================
   9. التجاوب مع الشاشات (Responsive)
   ========================================================================== */
@media (max-width: 991px) {
    .header-search { display: none; }
    .mobile-menu-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        background-color: var(--bg-header);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; gap: 15px; }
    .cards-grid-three { grid-template-columns: repeat(2, 1fr); }
    .profile-layout { grid-template-columns: 1fr; padding: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .gallery-wrapper-side { flex-direction: column; }
    .gallery-wrapper-side .main-display-image { height: 320px; width: 100%; }
    .thumbnails-vertical-grid { flex-direction: row; width: 100%; }
    .thumbnails-vertical-grid .thumb-item { flex: 1; height: 80px; }
}

@media (max-width: 600px) {
    .cards-grid-three { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .login-text { display: none; }
    .btn-login { padding: 8px 12px; }
    .hero-title { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}

/* Layout with sidebars */
.page-grid-layout {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

.center-content {
    flex: 1;
    max-width: 960px;
    min-width: 0;
}

/* Sidebar Ads (Vertical 3 on each side) */
.sidebar-ads {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ad-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.ad-box:hover {
    transform: scale(1.02);
}

.ad-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vertical-ad {
    height: 380px;
}

/* Center Horizontal Ads */
.horizontal-ad {
    width: 100%;
    height: 120px;
    margin: 30px 0;
}

/* Responsive handling for ads */
@media (max-width: 1200px) {
    .sidebar-ads {
        width: 140px;
    }
    .vertical-ad {
        height: 300px;
    }
}

@media (max-width: 991px) {
    .sidebar-ads {
        display: none; /* إخفاء الإعلانات الجانبية في التابلت والموبايل لتركيز المساحة للمحتوى */
    }
    .horizontal-ad {
        height: 90px;
        margin: 20px 0;
    }
}
/* ضبط العرض في الشاشات العادية */
.profile-layout {
    display: flex;
    flex-direction: row;
    gap: 40px;
    background: var(--bg-card);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.profile-details-card {
    flex: 1;
    order: 1;
}

.gallery-wrapper-side {
    flex: 1;
    order: 2;
    display: flex;
    gap: 15px;
}

/* التنسيق الخاص بالهواتف والأجهزة اللوحية (Mobile / Tablet) */
@media (max-width: 900px) {
    .profile-layout {
        flex-direction: column !important;
        padding: 20px;
        gap: 25px;
    }

    /* تقديم الصور للأعلى في الموبايل */
    .gallery-wrapper-side {
        order: 1 !important;
        flex-direction: column !important;
        width: 100%;
        gap: 12px;
    }

    .gallery-wrapper-side .main-display-image {
        width: 100%;
        height: 340px;
        border-radius: 12px;
    }

    /* عرض الصور الفرعية أفقياً تحت الصورة الرئيسية */
    .thumbnails-vertical-grid {
        display: flex;
        flex-direction: row !important;
        width: 100% !important;
        gap: 10px;
    }

    .thumbnails-vertical-grid .thumb-item {
        flex: 1;
        height: 75px !important;
        border-radius: 8px;
    }

    /* تأخير تفاصيل النص لتأتي بعد المعرض */
    .profile-details-card {
        order: 2 !important;
        width: 100%;
    }
}
.site-logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}
/* Shop & Services Page Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar Filters */
.filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 110px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.filter-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
}

.reset-filter-btn {
    font-size: 12.5px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.reset-filter-btn:hover {
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 36px 10px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13.5px;
    outline: none;
}

.search-input-wrapper i {
    position: absolute;
    right: 12px;
    top: 13px;
    color: var(--text-muted);
    font-size: 13px;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-inputs input {
    width: 100%;
    padding: 8px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13.5px;
    outline: none;
}

.range-inputs span {
    font-size: 12.5px;
    color: var(--text-muted);
}

.btn-filter-apply {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-filter-apply:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Shop Toolbar */
.shop-toolbar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.results-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-wrapper label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.sort-wrapper select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.view-switchers {
    display: flex;
    gap: 6px;
}

.view-btn {
    width: 34px;
    height: 34px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.view-btn.active, .view-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11.5px;
    backdrop-filter: blur(4px);
}

/* List View Mode Styling */
.cards-grid-three.list-view-mode {
    grid-template-columns: 1fr !important;
}

.cards-grid-three.list-view-mode .service-card {
    flex-direction: row;
    height: 220px;
}

.cards-grid-three.list-view-mode .card-img-wrapper {
    width: 250px;
    height: 100%;
    flex-shrink: 0;
}

.cards-grid-three.list-view-mode .card-content {
    flex: 1;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .filter-card {
        position: static;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .cards-grid-three.list-view-mode .service-card {
        flex-direction: column;
        height: auto;
    }
    .cards-grid-three.list-view-mode .card-img-wrapper {
        width: 100%;
        height: 220px;
    }
    .shop-toolbar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    .toolbar-controls {
        width: 100%;
        justify-content: space-between;
    }
}
/* Contact Page Styles */
.contact-header-section {
    margin-bottom: 40px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-main-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-main-desc {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Contact Methods Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.contact-method-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.method-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.wa-icon { background: #dcfce7; color: #16a34a; }
.email-icon { background: #eff6ff; color: #2563eb; }
.phone-icon { background: var(--primary-light); color: var(--primary-color); }

.method-info h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.method-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.method-info .action-text {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Form and Side Info Layout */
.contact-main-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 35px;
    align-items: flex-start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

.form-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.required {
    color: #ef4444;
}

.btn-submit-contact {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.btn-submit-contact:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Side Social Cards */
.social-box-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.social-box-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.social-box-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-social-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.social-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.social-item.fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.social-item.insta:hover { background: #e1306c; color: #fff; border-color: #e1306c; }
.social-item.in:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.social-item.wa:hover { background: #22c55e; color: #fff; border-color: #22c55e; }

.working-hours-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    border: 1px dashed var(--border-color);
}

.working-hours-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.working-hours-card p {
    font-size: 13px;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-main-layout {
        grid-template-columns: 1fr;
    }
}