@font-face {
    font-family: 'Cairo';
    font-display: swap;
    src: local('Cairo');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2'),
        url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff') format('woff');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2') format('woff2'),
        url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff') format('woff');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2'),
        url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff') format('woff');
}

:root {
    --primary: #8b5e3c;
    /* لون خشب */
    --primary-light: #b07a4f;
    --primary-dark: #5e3d25;
    --primary-glow: rgba(139, 94, 60, 0.4);

    --secondary: #c9a46c;
    --secondary-light: #d4b98e;

    --beige: #f5f1ea;
    --beige-dark: #e6dfd4;

    --silver: #eaeaea;
    --silver-dark: #a8a8a8;

    --dark-900: #1f1b17;
    --dark-800: #2b2520;
    --dark-700: #3c342f;
    --dark-600: #4a413b;
    --dark-500: #5c524b;

    --text-dark: #2d2d2d;
    --text-light: #777;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(139, 94, 60, 0.3) 0%, rgba(176, 122, 79, 0.1) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-900) 100%);

    --shadow-glow: 0 0 30px var(--primary-glow);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.15);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--beige);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all 0.5s var(--ease-out-expo);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    transition: all 0.4s ease;
}

.header.scrolled::before {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header.scrolled .nav-link {
    color: var(--dark-500);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
}

.header.scrolled .logo-img {
    height: 55px;
}

/* Navbar */
.navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}

.logo-glow {
    display: none;
}

@keyframes logoGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.logo-img {
    height: 70px;
    width: auto;
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease-out-expo);
}

@media (max-width: 560px) {
    .logo-img {
        height: 50px;
    }
    .header.scrolled .logo-img {
        height: 40px;
    }
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .logo {
        position: relative;
        left: auto;
        transform: none;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    position: relative;
    display: block;
    padding: 12px 22px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.link-text {
    position: relative;
    z-index: 2;
}

.link-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transform: scale(0.8);
    border-radius: 12px;
    transition: all 0.4s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}
/* User Dropdown */
.user-dropdown-wrap {
    position: relative;
    display: inline-block;
    margin-right: auto;
}

.user-dropdown-btn {
    background: rgba(139, 94, 60, 0.05);
    border: 1px solid rgba(139, 94, 60, 0.1);
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    padding: 8px 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-dropdown-btn:hover {
    background: rgba(139, 94, 60, 0.1);
    color: var(--primary);
    border-color: rgba(139, 94, 60, 0.2);
}

.header.scrolled .user-dropdown-btn {
    color: var(--dark-500);
}

.header.scrolled .user-dropdown-btn:hover {
    color: var(--primary);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out-expo);
    padding: 10px 0;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-dropdown-wrap:hover .user-dropdown-menu,
.user-dropdown-wrap:focus-within .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.user-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--dark-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    font-family: inherit;
    cursor: pointer;
}

.user-dropdown-menu .dropdown-item:hover {
    background: rgba(139, 94, 60, 0.05);
    color: var(--primary);
    padding-right: 25px;
}

.user-dropdown-menu .dropdown-item.text-danger {
    color: #e3342f;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 5px;
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background: rgba(227, 52, 47, 0.05);
    padding-right: 25px;
}

.login-btn-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-right: auto;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 94, 60, 0.2);
}

.login-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
    background: var(--primary-light);
    color: #fff;
}

.header-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: var(--shadow-glow);
}

.cta-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 16px;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
    transition: all 0.4s ease;
}

.header-cta:hover .cta-glow {
    opacity: 0.8;
    filter: blur(20px);
}

.cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.header-glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary) 20%,
            var(--primary-light) 50%,
            var(--primary) 80%,
            transparent 100%);
    opacity: 0.5;
}

.mobile-toggle {
    display: none;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.mobile-toggle:hover {
    background: rgba(139, 94, 60, 0.1);
    border-color: var(--primary);
}

.toggle-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 18px;
}

.toggle-box .line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--silver);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out-expo);
}

.line-1 {
    top: 0;
}

.line-2 {
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    right: 0;
}

.line-3 {
    bottom: 0;
    width: 50%;
    right: 0;
}

.mobile-toggle:hover .line {
    background: var(--primary-light);
}

.mobile-toggle:hover .line-2 {
    width: 100%;
}

.mobile-toggle:hover .line-3 {
    width: 100%;
}

.mobile-toggle.active .line-1 {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: var(--primary-light);
}

.mobile-toggle.active .line-2 {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-toggle.active .line-3 {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    width: 100%;
    background: var(--primary-light);
}

/* SIDEBAR */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    pointer-events: none;
}

.mobile-sidebar.active {
    pointer-events: auto;
}

.sidebar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-sidebar.active .sidebar-overlay {
    opacity: 1;
}

.overlay-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 94, 60, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(176, 122, 79, 0.08) 0%, transparent 40%);
}

.sidebar-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 90%;
    height: 100%;
    background: var(--gradient-dark);
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid rgba(139, 94, 60, 0.2);
    box-shadow: none;
}

.mobile-sidebar.active .sidebar-panel {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.sidebar-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(139, 94, 60, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: circleRotate 20s linear infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -50px;
    animation: circleRotate 15s linear infinite reverse;
}

.sidebar-close {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s var(--ease-out-expo);
}

.sidebar-close:hover {
    background: rgba(255, 77, 77, 0.2);
    border-color: #ff4d4d;
    transform: rotate(90deg);
}

.close-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-line {
    stroke: var(--silver);
    stroke-width: 2;
    stroke-linecap: round;
    transition: all 0.3s ease;
}

.sidebar-close:hover .close-line {
    stroke: #ff4d4d;
}

.sidebar-header {
    padding: 60px 30px 40px;
    text-align: center;
    position: relative;
    background: #ffffff;
    border-radius: 0 0 35px 35px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.logo-pulse {
    position: absolute;
    inset: -10px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.15;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

.sidebar-logo {
    height: 65px;
    width: auto;
    position: relative;
    z-index: 1;
}

.sidebar-tagline {
    color: var(--secondary);
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s var(--ease-out-expo) 0.3s;
}

.mobile-sidebar.active .sidebar-tagline {
    opacity: 1;
    transform: translateY(0);
}

.sidebar-nav {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 25px;
    color: var(--silver);
    text-decoration: none;
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s var(--ease-out-expo);
    transition-delay: var(--delay);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 10px;
}

.sidebar-link.active {
    border-color: var(--primary-light);
    background: rgba(139, 94, 60, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(-8px);
}

.sidebar-link:hover {
    transform: translateX(-8px);
}

.mobile-sidebar.active .sidebar-link {
    opacity: 1;
    transform: translateX(0);
}

.link-hover-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-link:hover .link-hover-bg,
.sidebar-link.active .link-hover-bg {
    opacity: 1;
}

.sidebar-link:hover,
.sidebar-link.active {
    border-color: rgba(139, 94, 60, 0.3);
}

.link-icon-box {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--silver);
    z-index: 1;
    transition: all 0.4s var(--ease-out-expo);
}

.sidebar-link.active .link-icon-box {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: var(--primary);
    border-radius: 12px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-link:hover .icon-glow,
.sidebar-link.active .icon-glow {
    opacity: 0.3;
}

.link-label {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    z-index: 1;
    transition: all 0.3s ease;
}

.sidebar-link:hover .link-label,
.sidebar-link.active .link-label {
    color: #fff;
}

.link-arrow {
    color: var(--silver-dark);
    font-size: 12px;
    z-index: 1;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.sidebar-link:hover .link-arrow,
.sidebar-link.active .link-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary-light);
}

.sidebar-footer {
    padding: 25px 20px;
    border-top: 1px solid rgba(139, 94, 60, 0.1);
    text-align: center;
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
    text-decoration: none;
    font-size: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    transition-delay: calc(0.4s + var(--i) * 0.1s);
}

.mobile-sidebar.active .social-link {
    opacity: 1;
    transform: translateY(0);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.sidebar-copyright {
    color: var(--silver-dark);
    font-size: 13px;
    opacity: 0;
    animation: fadeInUp 0.5s var(--ease-out-expo) 0.8s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
    color: var(--primary-dark);
    padding-top: 80px;
    overflow: hidden;
    border-top: 4px double var(--secondary);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--secondary) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.1;
    z-index: 0;
}

.footer-overlay {
    display: none;
}

.footer-main {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    direction: rtl;
}

.footer-logo {
    height: 85px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(139, 94, 60, 0.1));
}

.footer-brand-name {
    font-family: 'Aref Ruqaa', serif;
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px rgba(201, 164, 108, 0.2);
}

.brand-text {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: var(--primary);
    margin-bottom: 25px;
}

.social-circles {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-btn i {
    font-size: 18px;
}

.social-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px) rotate(8deg);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(139, 94, 60, 0.15);
}

.col-title {
    font-family: 'Amiri', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.clean-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clean-links a {
    color: var(--primary);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.clean-links a:hover {
    color: var(--secondary);
    padding-right: 10px;
}

.direct-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-box i {
    font-size: 16px;
    color: var(--secondary);
    margin-top: 4px;
}

.contact-box span {
    line-height: 1.6;
}

.contact-box:hover {
    color: var(--primary);
}

.footer-legal {
    background: var(--beige-dark);
    padding: 30px 0;
    border-top: 2px solid rgba(201, 164, 108, 0.2);
    text-align: center;
    position: relative;
    z-index: 2;
}

.legal-wrap p {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.legal-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
}

.legal-wrap p {
    font-size: 13px;
    color: #fff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-circles {
        justify-content: center;
    }
}


/* BG */
.str {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

@media (max-width: 600px) {
    .str {
        white-space: normal;
        text-overflow: clip;
    }
}
.main-container {
    padding: 20px;

}

@media (max-width: 992px) {

    .nav-menu,
    .header-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: block !important;
    }

    .nav-container {
        padding: 0 20px;
        width: 100%;
        justify-content: space-between;
    }

    .logo-img {
        height: 50px;
    }
}

.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.call-btn {
    background: linear-gradient(135deg, #0088cc 0%, #004080 100%);
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* CART SIDEBAR */
#cartOverlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cartOverlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100%;
    background: var(--dark-900);
    border-left: 1px solid rgba(201, 164, 108, 0.25);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    z-index: 3001;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    z-index: 1;
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(139, 94, 60, 0.15);
    background: rgba(139, 94, 60, 0.04);
    flex-shrink: 0;
}

.cart-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.cart-sidebar-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

#closeCartSidebar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #c0c0c0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#closeCartSidebar:hover {
    background: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.4);
    color: #ff6b6b;
    transform: rotate(90deg);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 94, 60, 0.3) transparent;
}

.cart-sidebar-body::-webkit-scrollbar {
    width: 4px;
}

.cart-sidebar-body::-webkit-scrollbar-track {
    background: transparent;
}

.cart-sidebar-body::-webkit-scrollbar-thumb {
    background: rgba(139, 94, 60, 0.3);
    border-radius: 2px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 16px;
}

.cart-empty-icon {
    width: 90px;
    height: 90px;
    background: rgba(139, 94, 60, 0.08);
    border: 1px solid rgba(139, 94, 60, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--secondary);
    position: relative;
}

.cart-empty-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px dashed rgba(139, 94, 60, 0.2);
    border-radius: 50%;
    animation: cartSpinOrbit 12s linear infinite;
}

@keyframes cartSpinOrbit {
    to {
        transform: rotate(360deg);
    }
}

.cart-empty-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.cart-empty-subtitle {
    font-size: 14px;
    color: #8a8a8a;
    line-height: 1.6;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 94, 60, 0.12);
    border-radius: 16px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.cart-item:hover {
    border-color: rgba(139, 94, 60, 0.3);
    background: rgba(139, 94, 60, 0.05);
}

.cart-item-media {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    background: rgba(139, 94, 60, 0.1);
    border: 1px solid rgba(139, 94, 60, 0.25);
    border-radius: 8px;
    color: var(--secondary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.cart-qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.cart-qty-input {
    width: 36px;
    height: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.cart-qty-input:focus {
    border-color: var(--primary);
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-qty-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.cart-remove-btn {
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #ef4444;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-right: auto;
}

.cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.1);
}

.cart-item-total {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    align-self: center;
    flex-shrink: 0;
}

.cart-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(139, 94, 60, 0.15);
    background: rgba(139, 94, 60, 0.04);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-summary-label {
    font-size: 14px;
    color: #8a8a8a;
}

.cart-summary-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(139, 94, 60, 0.4);
    width: 100%;
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 94, 60, 0.6);
    color: #fff;
}

.cart-icon-wrap {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(139, 94, 60, 0.08);
    border: 1px solid rgba(139, 94, 60, 0.2);
    border-radius: 12px;
    color: var(--primary);
    font-size: 18px;
    transition: all 0.3s ease;
}

.cart-icon-wrap:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(176, 122, 79, 0.5);
}

.cart-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    min-width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
    border: 2px solid #fff;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-badge.visible {
    transform: scale(1);
}

.cart-loading {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 16, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.cart-loading.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 94, 60, 0.2);
    border-top-color: #0088cc;
    border-radius: 50%;
    animation: cartSpin 0.7s linear infinite;
}

@keyframes cartSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
    }
}

/* ----------------------------------------------
   GLOBAL COMPONENT: Creative Art Gallery
---------------------------------------------- */
.ps__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.ps__art-card {
    position: relative;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ps__art-card--1 {
    margin-top: 0;
}

.ps__art-card--2 {
    margin-top: 60px;
}

.ps__art-card--3 {
    margin-top: 30px;
}

.ps__art-img-wrap {
    position: relative;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(139, 94, 60, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    aspect-ratio: 3/4;
}

.ps__art-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ps__art-card:hover .ps__art-img-wrap {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(139, 94, 60, 0.12);
}

.ps__art-card:hover .ps__art-img-wrap img {
    transform: scale(1.1);
}

.ps__art-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 10, 0.15);
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 5;
}

.ps__art-img-wrap:hover .ps__art-overlay {
    opacity: 1;
    backdrop-filter: blur(8px);
}

.ps__art-action {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ps__art-action:hover {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.15) rotate(5deg);
}

.ps__art-badge {
    position: absolute;
    bottom: 30px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: fit-content;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 20px;
    font-family: 'Aref Ruqaa', serif;
    font-size: 14px;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.ps__art-card:hover .ps__art-badge {
    opacity: 1;
    transform: translateY(0);
}

.ps__art-info {
    padding: 30px 10px;
    text-align: center;
}

.ps__art-title {
    font-family: 'Amiri', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 10px;
    line-height: 1.2;
}

.ps__art-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.ps__art-title a:hover {
    color: var(--secondary);
}

.ps__art-price-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ps__art-price {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.ps__art-price-old {
    font-size: 14px;
    color: var(--silver-dark);
    text-decoration: line-through;
    opacity: 0.6;
}

   /* PRODUCTS SECTION */
.products-sec {
    padding: 140px 0 110px;
    background: var(--beige);
    direction: rtl;
}

.ps__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.ps__inner .sec__head {
    padding-top: 20px;
}

.ps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

@media (max-width: 1100px) {
    .ps__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .ps__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .products-sec {
        padding-top: 120px;
    }
}

.ps__card {
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
}

.ps__img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    height: 320px;
    background: #fdfaf5;
    border: 1px solid rgba(201, 164, 108, 0.12);
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.ps__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ps__card:hover .ps__img-wrap {
    border-color: rgba(201, 164, 108, 0.4);
    box-shadow: 0 15px 40px rgba(139, 94, 60, 0.08);
}

.ps__card:hover .ps__img-wrap img {
    transform: scale(1.04);
}

.ps__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    opacity: 0.3;
}

.ps__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    color: var(--primary-dark);
    font-family: 'Cairo', sans-serif;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.ps__body {
    padding: 24px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    text-align: right;
}

.ps__title {
    font-family: 'Amiri', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.ps__title:hover {
    color: var(--secondary);
}

.ps__price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ps__price {
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
}

.ps__price-old {
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    color: var(--silver-dark);
    text-decoration: line-through;
    opacity: 0.6;
}

.ps__actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    display: flex;
    gap: 8px;
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(4px);
    z-index: 3;
}

.ps__img-wrap:hover .ps__actions,
.ps__actions:hover {
    transform: translateY(0);
}

.ps__btn-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ps__btn-cart:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.ps__btn-view {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(201, 164, 108, 0.3);
    border-radius: 4px;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ps__btn-view:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
}

.seo-block {
    background: var(--beige-dark);
    padding: 60px 40px;
    border-top: 1px solid rgba(201, 164, 108, 0.2);
    font-family: 'Cairo', sans-serif;
    color: var(--primary-dark);
    direction: rtl;
    text-align: right;
}

.seo-block__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.seo-block__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.seo-block__col h3 {
    font-family: 'Amiri', serif;
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.seo-block__col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.seo-block__col p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--primary);
    margin-bottom: 15px;
}

.seo-block__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-block__col ul li {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(201, 164, 108, 0.3);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.seo-block__col ul li:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

@media (max-width: 1100px) {
    .ps__gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .ps__art-card--2,
    .ps__art-card--3 {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .col-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .social-circles {
        justify-content: center;
    }

    .contact-box {
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .ps__gallery {
        grid-template-columns: 1fr;
    }

    .ps__art-img-wrap {
        aspect-ratio: 1/1;
        border-radius: 150px 150px 0 0;
    }
}