/* ===== Global Variables ===== */
:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2538;
    --primary-light: #2a5a8a;
    --accent: #c9a96e;
    --accent-light: #e0c896;
    --gold: #d4a843;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-light: #7a7a8a;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 0.82rem;
    font-weight: 500;
}
.top-bar-text { display: inline-flex; align-items: center; }
.top-bar-link {
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
}
.top-bar-link:hover { color: var(--accent); }

/* ===== Main Navbar ===== */
.main-navbar {
    background: var(--white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.main-navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.navbar-logo { text-align: center; }
.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 3px;
    line-height: 1;
}
.logo-subtext {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Search */
.navbar-search { flex: 1; max-width: 500px; }
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: var(--bg-light);
    transition: var(--transition);
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26,58,92,0.08);
}
.search-btn {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}
.search-btn:hover { background: var(--primary-dark); }

/* Nav Actions */
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.nav-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}
.nav-action:hover { background: var(--bg-light); }
.action-icon {
    position: relative;
    font-size: 1.2rem;
    color: var(--primary);
}
.action-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Category Nav ===== */
.category-nav {
    background: var(--primary);
    padding: 0;
}
.category-list {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-list::-webkit-scrollbar { display: none; }
.category-list li a {
    display: block;
    padding: 14px 20px;
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.category-list li a:hover,
.category-list li a.active {
    color: var(--white);
    border-bottom-color: var(--accent);
    background: rgba(255,255,255,0.05);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: var(--transition);
    overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}
.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}
.mobile-menu-close:hover { background: #eee; }
.mobile-menu-body { padding: 20px; }
.mobile-search { margin-bottom: 20px; }
.mobile-nav-list li a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}
.mobile-nav-list li a:hover { color: var(--primary); padding-right: 8px; }
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920') center/cover;
    opacity: 0.15;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(201,169,110,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,169,110,0.2);
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--accent-light);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-title span {
    color: var(--accent);
    position: relative;
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}
.btn-hero-primary:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,169,110,0.4);
    color: var(--white);
}
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}
.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero-float-badge {
    position: absolute;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}
.hero-float-badge.badge-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}
.hero-float-badge.badge-2 {
    bottom: 15%;
    right: 0;
    animation-delay: 1.5s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.float-badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.float-badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

/* ===== Section Styles ===== */
.section-padding { padding: 80px 0; }
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(26,58,92,0.06);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.section-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ===== Vision & Mission ===== */
.vision-mission-section { background: var(--white); }
.vm-card {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}
.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201,169,110,0.2);
}
.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(26,58,92,0.2);
}
.vm-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}
.vm-text {
    color: var(--text-medium);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* ===== Warranty Section ===== */
.warranty-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}
.warranty-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 80px;
}
.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--accent);
    padding: 20px 40px;
    border-radius: var(--radius-xl);
    color: var(--white);
}
.warranty-badge i {
    font-size: 2.5rem;
    color: var(--accent);
}
.warranty-badge-text {
    text-align: right;
}
.warranty-badge-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.warranty-badge-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* ===== Product Cards ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bg-light);
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image { transform: scale(1.08); }
.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}
.badge-new { background: #22c55e; color: var(--white); }
.badge-sale { background: #ef4444; color: var(--white); }
.badge-hot { background: var(--accent); color: var(--white); }
.badge-featured { background: var(--primary); color: var(--white); }
.product-discount {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: #ef4444;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
}
.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    transition: var(--transition);
    z-index: 3;
}
.product-card:hover .product-actions { bottom: 0; }
.product-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
.product-action-btn.add-cart {
    width: auto;
    padding: 0 20px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.85rem;
    gap: 8px;
}
.product-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-category {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.product-name {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.product-price-wrap { display: flex; flex-direction: column; }
.product-price {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}
.product-old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.product-warranty {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #22c55e;
    font-weight: 600;
    background: rgba(34,197,94,0.08);
    padding: 6px 12px;
    border-radius: var(--radius-xl);
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.newsletter-content { position: relative; z-index: 2; }
.newsletter-title-main {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.newsletter-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
}
.newsletter-form-main {
    position: relative;
    z-index: 2;
}
.newsletter-form-main .form-control {
    padding: 16px 24px;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
}
.newsletter-form-main .form-control::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form-main .form-control:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.15);
    box-shadow: none;
    color: var(--white);
}
.newsletter-form-main .btn {
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    background: var(--accent);
    border: none;
    transition: var(--transition);
}
.newsletter-form-main .btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.main-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 40px; }
.footer-brand .footer-logo .logo-text { color: var(--white); font-size: 1.6rem; }
.footer-brand .footer-logo .logo-subtext { color: var(--accent); }
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
}
.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-title {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links li a:hover {
    color: var(--accent);
    padding-right: 5px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
.footer-contact li i {
    color: var(--accent);
    margin-top: 4px;
    font-size: 0.9rem;
}
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: var(--accent); }
.footer-newsletter .newsletter-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.newsletter-form .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form .btn {
    background: var(--accent);
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    padding: 12px 20px;
}
.newsletter-form .btn:hover { background: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.copyright { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.payment-methods { display: flex; gap: 12px; justify-content: center; }
.payment-icon {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}
.payment-icon:hover { color: var(--accent); }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
    color: var(--white);
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Cart Sidebar ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}
.cart-sidebar.open { right: 0; }
.cart-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-sidebar-header h5 {
    font-family: var(--font-secondary);
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}
.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}
.cart-close:hover { background: #eee; }
.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-sm); }
.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.cart-item-details { flex: 1; }
.cart-item-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.cart-item-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.cart-item-remove {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    transition: var(--transition);
}
.cart-item-remove:hover { color: #dc2626; }
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}
.cart-empty i { font-size: 3rem; margin-bottom: 16px; color: #ddd; }
.cart-sidebar-footer {
    padding: 24px;
    border-top: 1px solid #eee;
    background: var(--white);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.total-price {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.cart-overlay.show { opacity: 1; visibility: visible; }

/* ===== About Page ===== */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 60px;
}
.about-hero h1 {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
}
.about-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.about-content { padding: 80px 0; }
.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-wrap img { width: 100%; height: auto; }
.about-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}
.about-text p {
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 16px;
}
.about-features { margin-top: 30px; }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}
.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}
.about-feature h4 {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Contact Page ===== */
.contact-section { padding: 80px 0; }
.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}
.contact-info-card h4 {
    font-family: var(--font-secondary);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.contact-info-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0;
}
.contact-info-card a { color: var(--primary); font-weight: 600; }
.contact-info-card a:hover { color: var(--accent); }
.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.contact-form-wrap h3 {
    font-family: var(--font-secondary);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}
.form-control-custom {
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-light);
}
.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26,58,92,0.08);
}
.btn-submit {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 700;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,58,92,0.25);
}

/* ===== Products Page ===== */
.products-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0 50px;
    text-align: center;
    color: var(--white);
}
.products-hero h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.products-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}
.products-filter-bar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 70px;
    z-index: 100;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    border: 2px solid #e8e8e8;
    background: var(--white);
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    margin: 4px;
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* ===== Product Detail ===== */
.product-detail-section { padding: 60px 0; }
.product-gallery {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.product-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery-main img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.product-detail-info h1 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
}
.product-detail-price .current {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}
.product-detail-price .old {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.product-detail-price .discount {
    background: #ef4444;
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
}
.product-detail-desc {
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 24px;
    font-size: 1rem;
}
.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    font-size: 0.88rem;
    font-weight: 600;
}
.product-meta-item i { color: var(--accent); }
.product-detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.qty-selector button {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--bg-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.qty-selector button:hover { background: var(--primary); color: var(--white); }
.qty-selector input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    background: var(--white);
}
.btn-add-cart-lg {
    flex: 1;
    min-width: 200px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-add-cart-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,58,92,0.25);
    color: var(--white);
}
.btn-wishlist {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #e8e8e8;
    background: var(--white);
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-wishlist:hover,
.btn-wishlist.active {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239,68,68,0.05);
}

/* ===== Cart Page ===== */
.cart-page-section { padding: 60px 0; }
.cart-page-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 30px;
}
.cart-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cart-table { width: 100%; margin: 0; }
.cart-table th {
    background: var(--bg-light);
    padding: 16px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    border: none;
}
.cart-table td {
    padding: 20px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}
.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cart-product-cell img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.cart-product-cell .name {
    font-weight: 700;
    color: var(--text-dark);
}
.cart-product-cell .category {
    font-size: 0.8rem;
    color: var(--accent);
}
.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.cart-summary h4 {
    font-family: var(--font-secondary);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.95rem;
}
.summary-row.total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    padding-top: 14px;
    border-top: 2px solid var(--bg-light);
    margin-top: 14px;
}

/* ===== Checkout Page ===== */
.checkout-section { padding: 60px 0; }
.checkout-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.checkout-form-wrap h3 {
    font-family: var(--font-secondary);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

/* ===== Toast Notification ===== */
.toast-container {
    position: fixed;
    top: 100px;
    left: 30px;
    z-index: 3000;
}
.toast-notification {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-right: 4px solid var(--primary);
    min-width: 300px;
}
.toast-notification.show { transform: translateX(0); }
.toast-notification.success { border-right-color: #22c55e; }
.toast-notification.error { border-right-color: #ef4444; }
.toast-notification.warning { border-right-color: #f59e0b; }
.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.toast-notification.success .toast-icon { background: rgba(34,197,94,0.1); color: #22c55e; }
.toast-notification.error .toast-icon { background: rgba(239,68,68,0.1); color: #ef4444; }
.toast-notification.warning .toast-icon { background: rgba(245,158,11,0.1); color: #f59e0b; }
.toast-content h6 {
    font-weight: 800;
    margin-bottom: 2px;
    font-size: 0.95rem;
}
.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .navbar-search { display: none !important; }
    .cart-sidebar { width: 100%; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .section-padding { padding: 50px 0; }
    .vm-card { padding: 30px 20px; }
    .about-hero h1 { font-size: 2rem; }
    .products-hero h1 { font-size: 1.8rem; }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
    .toast-container { left: 10px; right: 10px; }
    .toast-notification { min-width: auto; width: 100%; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }

/* ===== Bilingual Support ===== */
.lang-en {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

.lang-en .hero-title {
    font-family: 'Poppins', sans-serif;
}

.lang-en .section-title,
.lang-en .vm-title,
.lang-en .footer-title,
.lang-en .logo-text,
.lang-en .newsletter-title-main,
.lang-en .cart-page-title,
.lang-en .about-hero h1,
.lang-en .products-hero h1,
.lang-en .login-title {
    font-family: 'Poppins', sans-serif;
}

/* LTR specific fixes */
html[dir="ltr"] .navbar-search .search-input {
    padding: 12px 20px 12px 50px;
}

html[dir="ltr"] .search-btn {
    left: auto;
    right: 6px;
}

html[dir="ltr"] .category-list li a {
    border-bottom: 3px solid transparent;
    border-right: none;
}

html[dir="ltr"] .mobile-menu {
    right: auto;
    left: -320px;
}

html[dir="ltr"] .mobile-menu.open {
    left: 0;
    right: auto;
}

html[dir="ltr"] .cart-sidebar {
    right: auto;
    left: -420px;
}

html[dir="ltr"] .cart-sidebar.open {
    left: 0;
    right: auto;
}

html[dir="ltr"] .whatsapp-float {
    left: auto;
    right: 30px;
}

html[dir="ltr"] .toast-container {
    left: auto;
    right: 30px;
}

html[dir="ltr"] .toast-notification {
    border-right: none;
    border-left: 4px solid var(--primary);
    transform: translateX(120%);
}

html[dir="ltr"] .toast-notification.show {
    transform: translateX(0);
}

html[dir="ltr"] .footer-title::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .back-to-top {
    right: auto;
    left: 30px;
}

html[dir="ltr"] .hero-float-badge.badge-1 {
    left: auto;
    right: 0;
}

html[dir="ltr"] .hero-float-badge.badge-2 {
    right: auto;
    left: 0;
}

/* Dropdown menu fixes for LTR */
html[dir="ltr"] .dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Language switcher in navbar */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}
.lang-switcher:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* User avatar in navbar */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

/* Login page specific */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px 20px;
}
.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.login-logo {
    margin-bottom: 30px;
}
.login-logo .logo-text {
    font-size: 2.2rem;
    color: var(--primary);
}
.login-logo .logo-subtext {
    font-size: 0.65rem;
    color: var(--accent);
}
.login-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.login-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: var(--white);
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-xl);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-google:hover {
    border-color: #4285f4;
    box-shadow: 0 4px 15px rgba(66,133,244,0.15);
    color: var(--text-dark);
}
.btn-google img {
    width: 24px;
    height: 24px;
}
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 30px 0;
    color: var(--text-light);
    font-size: 0.85rem;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}
.guest-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}
.guest-btn:hover {
    color: var(--accent);
}
.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}


/* ===== Product Showcase - Original Site Style ===== */
.product-showcase-row {
    padding: 50px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.product-showcase-row:last-of-type {
    border-bottom: none;
}

.product-showcase-img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.product-showcase-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.product-showcase-title {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.product-showcase-desc {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.product-showcase-price {
    margin-bottom: 20px;
}

/* RTL: Image stays on right, text on left */
html[dir="rtl"] .product-showcase-row .order-md-1 {
    text-align: right;
}

/* LTR: Image stays on right, text on left (reversed from default) */
html[dir="ltr"] .product-showcase-row .order-md-1 {
    text-align: left;
}
html[dir="ltr"] .product-showcase-title,
html[dir="ltr"] .product-showcase-desc {
    text-align: left;
}

/* Mobile: stack normally */
@media (max-width: 767px) {
    .product-showcase-row {
        padding: 30px 0;
    }
    .product-showcase-img {
        max-width: 350px;
    }
    .product-showcase-title {
        font-size: 1.3rem;
    }
}


/* ===== Admin Panel Styles ===== */
.admin-float-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(34,197,94,0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-admin 2s infinite;
}
.admin-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(34,197,94,0.5);
}
@keyframes pulse-admin {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    70% { box-shadow: 0 0 0 20px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

html[dir="ltr"] .admin-float-btn {
    right: auto;
    left: 30px;
}

/* Admin Edit Button on Products */
.admin-edit-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.product-card:hover .admin-edit-btn,
.product-showcase-row:hover .admin-edit-btn {
    opacity: 1;
    visibility: visible;
}
.admin-edit-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

html[dir="ltr"] .admin-edit-btn {
    left: auto;
    right: 10px;
}

/* Admin Modal Styles */
.admin-modal .modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
}
.admin-modal .modal-header .btn-close {
    filter: invert(1);
}
.admin-modal .modal-title {
    font-family: var(--font-secondary);
    font-weight: 800;
}

.admin-tabs .nav-link {
    color: var(--text-medium);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 24px;
}
.admin-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}
.admin-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--primary);
}

/* Image Upload Box */
.image-upload-box {
    border: 2px dashed #ddd;
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-light);
}
.image-upload-box:hover {
    border-color: var(--primary);
    background: rgba(26,58,92,0.03);
}
.image-upload-box.has-image {
    border-color: var(--accent);
    border-style: solid;
}
.image-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.85rem;
    overflow: hidden;
    margin-bottom: 8px;
}
.image-preview i {
    font-size: 2rem;
    margin-bottom: 5px;
}
.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Admin Badge */
.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    margin-right: 10px;
}

/* Loading Spinner */
.admin-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Animation */
.save-success {
    animation: success-pulse 0.5s ease;
}
@keyframes success-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
