/* ==========================================
   متجر العطور - Main Frontend Styles
   تصميم عصري واحترافي للواجهة الأمامية
   ========================================== */

/* ==========================================
   المتغيرات الأساسية - CSS Variables
   ========================================== */
:root {
    /* الألوان الرئيسية */
    --gold-primary: #c9a962;
    --gold-light: #e8d5a3;
    --gold-dark: #a68b3d;
    --black-primary: #0d0d0d;
    --black-soft: #1a1a1a;
    --black-light: #2d2d2d;
    --white-pure: #ffffff;
    --white-soft: #f8f8f8;
    --gray-light: #e5e5e5;
    --gray-muted: #888888;
    --blue-muted: #607d8b;

    /* التدرجات */
    --gradient-gold: linear-gradient(
        135deg,
        #c9a962 0%,
        #e8d5a3 50%,
        #c9a962 100%
    );
    --gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    --gradient-hero: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.95) 0%,
        rgba(26, 26, 26, 0.9) 100%
    );

    /* الظلال */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 8px 30px rgba(201, 169, 98, 0.25);

    /* الانتقالات */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s ease;
}

/* ==========================================
   إعدادات عامة - General Settings
   ========================================== */
body {
    font-family: "Tajawal", "Segoe UI", sans-serif;
    background-color: var(--white-soft);
    color: var(--black-primary);
    overflow-x: hidden;
    position: relative;
    direction: rtl;
}

/* خلفية الصفحة الرئيسية */
body.home-page {
    background:
        linear-gradient(135deg, rgba(201, 169, 98, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(201, 169, 98, 0.02) 0%, transparent 50%),
        radial-gradient(
            ellipse at 100% 0%,
            rgba(201, 169, 98, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 0% 100%,
            rgba(201, 169, 98, 0.04) 0%,
            transparent 50%
        ),
        var(--white-soft);
    background-attachment: fixed;
}

/* نمط الخلفية المتحركة */
body.home-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a962' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ==========================================
   شريط التنقل - Navbar
   ========================================== */
.navbar-main {
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-main.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-main .navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a962 0%, #e8d5a3 50%, #c9a962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 0;
}

.navbar-main .navbar-brand::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(135deg, #c9a962 0%, #e8d5a3 100%);
    transition: width 0.3s ease;
}

.navbar-main .navbar-brand:hover::before {
    width: 100%;
}

.navbar-main .nav-link {
    font-weight: 500;
    padding: 10px 20px !important;
    margin: 0 4px;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
    font-size: 1rem;
}

.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
    width: 60%;
}

.navbar-main .nav-link:hover {
    color: #c9a962 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color:var(--gold-primary) !important;
}

.navbar-main .nav-link i {
    margin-left: 6px;
    font-size: 1.1rem;
}

.navbar-main .cart-badge {
    position: absolute;
    top: 0;
    right: 5px;
    background: #c9a962;
    color: #0d0d0d;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 20px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.navbar-main .nav-link:hover .cart-badge {
    background: #ffffff;
    color: #c9a962;
    transform: scale(1.1);
}

.navbar-toggler {
    border: 2px solid rgba(201, 169, 98, 0.3);
    padding: 8px 12px;
    transition: all 0.25s ease;
}

.navbar-toggler:hover {
    border-color: #c9a962;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c9a962' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   قسم الهيرو - Hero Section
   ========================================== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(201, 169, 98, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(201, 169, 98, 0.06) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 40% 80%,
            rgba(201, 169, 98, 0.05) 0%,
            transparent 40%
        );
    animation: float-bg 15s ease-in-out infinite;
}

@keyframes float-bg {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--blue-muted), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 30px;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-weight: 800;
    color: var(--white-pure);
    margin-bottom: 24px;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ==========================================
   الأزرار - Buttons
   ========================================== */
.btn-gold {
    background: var(--gradient-gold);
    border: none;
    color: var(--black-primary);
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.btn-gold::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 169, 98, 0.4);
    color: var(--black-primary);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--black-primary);
    transform: translateY(-3px);
}

.btn-dark-elegant {
    background: var(--black-soft);
    border: 1px solid var(--black-light);
    color: var(--white-pure);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.btn-dark-elegant:hover {
    background: var(--black-light);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

/* ==========================================
   قسم العناوين - Section Headers
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 20px;
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   قسم العطور - Perfumes Section
   ========================================== */
.perfumes-section {
    padding: 100px 0;
    background: var(--white-soft);
}

/* ==========================================
   بطاقة العطر - Perfume Card
   ========================================== */
.perfume-card {
    background: var(--white-pure);
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
}

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

.perfume-card .card-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
    border: none;
}

.perfume-card .perfume-img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.perfume-card:hover .perfume-img {
    transform: scale(1.08);
}

.perfume-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.perfume-card:hover .card-overlay {
    opacity: 1;
}

.perfume-card .quick-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white-pure);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-primary);
    transition: var(--transition-fast);
    cursor: pointer;
}

.perfume-card .quick-action-btn:hover {
    background: var(--gold-primary);
    color: var(--white-pure);
    transform: scale(1.1);
}

.perfume-card .card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.perfume-card .card-badge.new {
    background: var(--gold-primary);
    color: var(--black-primary);
}

.perfume-card .card-badge.sale {
    background: #e74c3c;
    color: var(--white-pure);
}

.perfume-card .card-badge.bestseller {
    background: var(--black-primary);
    color: var(--gold-primary);
}

.perfume-card .card-body {
    padding: 28px;
}

.perfume-card .perfume-category {
    font-size: 0.8rem;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.perfume-card .card-body h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black-primary);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.perfume-card:hover .card-body h5 {
    color: var(--gold-dark);
}

.perfume-card .perfume-notes {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.perfume-card .perfume-note {
    padding: 4px 12px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--gray-muted);
}

.perfume-card .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.perfume-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black-primary);
}

.perfume-card .price .currency {
    font-size: 1rem;
    color: var(--gray-muted);
    font-weight: 500;
}

/* ==========================================
   قسم المميزات - Features Section
   ========================================== */
.features-section {
    padding: 100px 0;
    background: var(--black-primary);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(201, 169, 98, 0.03) 0%,
        transparent 50%
    );
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 169, 98, 0.2);
    transform: translateY(-8px);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--black-primary);
    margin: 0 auto 24px;
    box-shadow: var(--shadow-gold);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white-pure);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   قسم الاختبار - Quiz Section
   ========================================== */
.quiz-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f6f3 0%, var(--white-soft) 100%);
    position: relative;
}

.quiz-card {
    background: var(--white-pure);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.quiz-card::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(201, 169, 98, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.quiz-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.quiz-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black-primary);
    margin-bottom: 16px;
}

.quiz-content p {
    color: var(--gray-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.quiz-image {
    flex: 0 0 300px;
    position: relative;
    z-index: 1;
}

.quiz-image img {
    width: 100%;
    border-radius: 20px;
}

/* ==========================================
   قسم الشهادات - Testimonials (Carousel)
   ========================================== */
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white-pure) 0%, #f8f6f3 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(201, 169, 98, 0.06) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(201, 169, 98, 0.06) 0%,
            transparent 40%
        );
    pointer-events: none;
}

/* سلايدر الآراء */
.testimonials-carousel {
    position: relative;
    padding: 20px 0;
}

.testimonials-carousel .carousel-inner {
    padding: 20px 0;
}

.testimonials-carousel .carousel-item {
    padding: 0 15px;
}

.testimonial-card {
    background: var(--white-pure);
    border-radius: 28px;
    padding: 45px;
    position: relative;
    border: 1px solid rgba(201, 169, 98, 0.15);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 60px rgba(201, 169, 98, 0.15);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card .quote-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--black-primary);
    margin-bottom: 28px;
    box-shadow: var(--shadow-gold);
}

.testimonial-card .testimonial-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--black-soft);
    margin-bottom: 28px;
    flex: 1;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 98, 0.15);
    margin-top: auto;
}

.testimonial-card .author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.testimonial-card .author-info h6 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--black-primary);
    margin-bottom: 4px;
}

.testimonial-card .author-info span {
    font-size: 0.85rem;
    color: var(--gray-muted);
    display: block;
}

.testimonial-card .rating {
    color: var(--gold-primary);
    font-size: 0.95rem;
    margin-top: 6px;
    letter-spacing: 2px;
}

/* أزرار التنقل للسلايدر */
.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: var(--white-pure);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    border: 2px solid rgba(201, 169, 98, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.testimonials-carousel .carousel-control-prev:hover,
.testimonials-carousel .carousel-control-next:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.testimonials-carousel .carousel-control-prev {
    right: auto;
    left: -30px;
}

.testimonials-carousel .carousel-control-next {
    left: auto;
    right: -30px;
}

.testimonials-carousel .carousel-control-prev-icon,
.testimonials-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: none;
}

.testimonials-carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c9a962' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.testimonials-carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c9a962' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.testimonials-carousel
    .carousel-control-prev:hover
    .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230d0d0d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.testimonials-carousel
    .carousel-control-next:hover
    .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230d0d0d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* مؤشرات السلايدر */
.testimonials-carousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
    gap: 8px;
}

.testimonials-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    background: transparent;
    opacity: 1;
    transition: var(--transition-fast);
}

.testimonials-carousel .carousel-indicators button.active {
    background: var(--gold-primary);
    transform: scale(1.2);
}

/* تنسيق بطاقة الشهادة داخل السلايدر */
.testimonials-carousel .testimonial-card {
    max-width: 700px;
    margin: 0 auto;
}

/* تأثير الانتقال بين الشرائح */
.testimonials-carousel .carousel-item {
    transition:
        transform 0.6s ease-in-out,
        opacity 0.6s ease-in-out;
}

/* تحسين المؤشرات */
.testimonials-carousel .carousel-indicators {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    margin-bottom: 0;
}

/* عرض في الشاشات الكبيرة */
@media (min-width: 992px) {
    .testimonials-carousel .testimonial-card {
        max-width: 750px;
    }
}

/* عرض في الشاشات المتوسطة */
@media (min-width: 768px) and (max-width: 991px) {
    .testimonials-carousel .testimonial-card {
        max-width: 600px;
    }
}

/* عرض في الموبايل */
@media (max-width: 767px) {
    .testimonials-carousel .carousel-control-prev,
    .testimonials-carousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .testimonial-card {
        padding: 30px 25px;
        min-height: auto;
        max-width: 100%;
    }

    .testimonials-carousel .carousel-indicators {
        margin-top: 30px;
    }

    .testimonials-carousel .carousel-indicators button {
        width: 10px;
        height: 10px;
    }
}

/* ==========================================
   الفوتر - Footer
   ========================================== */
/* تنسيقات الفوتر المحسنة */
.footer-main {
    background: #0d0d0d;
    padding: 80px 0 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.footer-main::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(201, 169, 98, 0.03) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.footer-main::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 98, 0.3),
        transparent
    );
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-brand h4 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a962 0%, #e8d5a3 50%, #c9a962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-brand h4::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #c9a962, #e8d5a3);
}

.footer-brand p {
    color: #888888;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.25s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.footer-social a:hover {
    background: #c9a962;
    border-color: #c9a962;
    color: #0d0d0d;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(201, 169, 98, 0.3);
}

.footer-social a:hover::before {
    left: 100%;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #c9a962, #e8d5a3);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.8rem;
    color: #c9a962;
    opacity: 0;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: #c9a962;
    transform: translateX(-5px);
}

.footer-links a:hover i {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    position: relative;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .navbar-main {
        padding: 12px 0;
    }

    .navbar-main .navbar-brand {
        font-size: 1.5rem;
    }

    .footer-main {
        padding: 60px 0 20px;
        text-align: center;
    }

    .footer-brand h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h5::after {
        right: 50%;
        transform: translateX(50%);
    }
}
/* ==========================================
   الرسوم المتحركة - Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-scale {
    animation: scaleIn 0.5s ease forwards;
}

/* Stagger animations for cards */
.perfume-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.perfume-card:nth-child(1) {
    animation-delay: 0.1s;
}
.perfume-card:nth-child(2) {
    animation-delay: 0.2s;
}
.perfume-card:nth-child(3) {
    animation-delay: 0.3s;
}
.perfume-card:nth-child(4) {
    animation-delay: 0.4s;
}
.perfume-card:nth-child(5) {
    animation-delay: 0.5s;
}
.perfume-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* ==========================================
   التجاوب - Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 100px 20px 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .quiz-card {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .quiz-image {
        flex: 0 0 auto;
        order: -1;
        max-width: 250px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-gold,
    .btn-outline-gold {
        width: 100%;
        max-width: 280px;
    }

    .perfume-card .perfume-img {
        height: 250px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .footer-main {
        padding: 60px 0 20px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ==========================================
   تحسينات إضافية - Extra Enhancements
   ========================================== */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--gold-primary);
    color: var(--black-primary);
}

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 3px;
}

/* Loading shimmer effect */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   صفحة تفاصيل المنتج - Product Details Page
   ========================================== */

/* حاوية المنتج */
.product-container {
    background: var(--white-pure);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(201, 169, 98, 0.1);
}

/* قسم الصورة */
.product-gallery {
    position: relative;
    padding: 40px;
    background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
}

.product-gallery::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 2px dashed rgba(201, 169, 98, 0.2);
    border-radius: 24px;
    pointer-events: none;
}

.product-main-image {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 20px;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.product-gallery:hover .product-main-image {
    transform: scale(1.05);
}

/* قسم المعلومات */
.product-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.product-category i {
    font-size: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-price-box {
    background: linear-gradient(
        135deg,
        rgba(201, 169, 98, 0.08) 0%,
        rgba(201, 169, 98, 0.03) 100%
    );
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
    border: 1px solid rgba(201, 169, 98, 0.15);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.product-price .current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-dark);
}

.product-price .currency {
    font-size: 1.1rem;
    color: var(--gray-muted);
    font-weight: 500;
}

.product-description {
    color: var(--black-soft);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-light);
}

/* خصائص المنتج */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white-soft);
    border-radius: 14px;
    transition: var(--transition-fast);
}

.feature-item:hover {
    background: rgba(201, 169, 98, 0.08);
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-primary);
    font-size: 1rem;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--black-soft);
    font-weight: 500;
}

/* نموذج الإضافة للسلة */
.product-actions {
    margin-top: auto;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--black-primary);
    font-size: 1rem;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    background: var(--white-soft);
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--gray-light);
    transition: var(--transition-fast);
}

.quantity-input-group:focus-within {
    border-color: var(--gold-primary);
}

.quantity-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--black-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--gold-primary);
    color: var(--black-primary);
}

.quantity-input {
    width: 60px;
    height: 48px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black-primary);
}

.quantity-input:focus {
    outline: none;
}

/* أزرار الإجراءات */
.action-buttons {
    display: flex;
    gap: 16px;
}

.btn-add-cart {
    flex: 1;
    padding: 18px 32px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-gold);
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 98, 0.4);
}

.btn-add-cart i {
    font-size: 1.3rem;
}

/* معلومات إضافية */
.product-meta {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-muted);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

/* قسم المنتجات المشابهة */
.related-products {
    margin-top: 80px;
}

.related-products .section-header {
    margin-bottom: 40px;
}

/* استجابة للموبايل */
@media (max-width: 991px) {
    .product-gallery {
        min-height: 400px;
        padding: 30px;
    }

    .product-info {
        padding: 40px 30px;
    }

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

    .product-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .product-page {
        padding: 30px 0 60px;
    }

    .product-container {
        border-radius: 24px;
    }

    .product-gallery {
        min-height: 300px;
        padding: 20px;
    }

    .product-gallery::before {
        display: none;
    }

    .product-badges {
        top: 15px;
        right: 15px;
    }

    .wishlist-btn {
        top: 15px;
        left: 15px;
        width: 42px;
        height: 42px;
    }

    .product-info {
        padding: 30px 20px;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .product-price .current-price {
        font-size: 1.8rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
    }

    .product-meta {
        flex-direction: column;
        gap: 16px;
    }
}

/* ==========================================
   صفحة سلة المشتريات - Shopping Cart Page
   ========================================== */

.cart-page {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, var(--white-soft) 0%, #f0efe9 100%);
    min-height: 100vh;
}

.cart-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.cart-page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black-primary);
    margin-bottom: 12px;
}

.cart-page-header p {
    color: var(--gray-muted);
    font-size: 1.1rem;
}

/* خطوات الشراء */
.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 50px;
    padding: 0 20px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--white-pure);
    border-radius: 16px;
    border: 2px solid var(--gray-light);
    transition: var(--transition-smooth);
    position: relative;
}

.checkout-step.active {
    border-color: var(--gold-primary);
    background: linear-gradient(
        135deg,
        rgba(201, 169, 98, 0.08) 0%,
        rgba(201, 169, 98, 0.03) 100%
    );
}

.checkout-step.completed {
    border-color: #20c997;
    background: rgba(32, 201, 151, 0.08);
}

.checkout-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-muted);
    font-size: 0.95rem;
}

.checkout-step.active .step-number {
    background: var(--gradient-gold);
    color: var(--black-primary);
}

.checkout-step.completed .step-number {
    background: #20c997;
    color: white;
}

.checkout-step .step-text {
    font-weight: 600;
    color: var(--gray-muted);
    font-size: 0.95rem;
}

.checkout-step.active .step-text,
.checkout-step.completed .step-text {
    color: var(--black-primary);
}

.step-connector {
    width: 60px;
    height: 3px;
    background: var(--gray-light);
    margin: 0 -1px;
}

.step-connector.active {
    background: var(--gold-primary);
}

/* سلة فارغة */
.empty-cart {
    text-align: center;
    padding: 80px 40px;
    background: var(--white-pure);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(
        135deg,
        rgba(201, 169, 98, 0.15) 0%,
        rgba(201, 169, 98, 0.05) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.empty-cart-icon i {
    font-size: 3.5rem;
    color: var(--gold-primary);
}

.empty-cart h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--black-primary);
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--gray-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* بطاقة عنصر السلة */
.cart-item-card {
    background: var(--white-pure);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 98, 0.1);
    transition: var(--transition-smooth);
}

.cart-item-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: rgba(201, 169, 98, 0.2);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--white-soft);
    padding: 10px;
}

.cart-item-details {
    flex: 1;
    padding: 0 20px;
}

.cart-item-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black-primary);
    margin-bottom: 6px;
}

.cart-item-category {
    font-size: 0.85rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid var(--gray-light);
    background: transparent;
    color: var(--black-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    border-color: var(--gold-primary);
    background: rgba(201, 169, 98, 0.1);
}

.cart-qty-value {
    width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--black-primary);
}

.cart-item-remove {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: #ff6b6b;
    color: white;
}

/* ملخص الطلب */
.order-summary {
    background: var(--white-pure);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 98, 0.1);
    position: sticky;
    top: 120px;
}

.order-summary-header {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 15px;
}

.order-summary-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black-primary);
    margin: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.summary-row span {
    color: var(--gray-muted);
    font-size: 1rem;
}

.summary-row strong {
    color: var(--black-primary);
    font-size: 1rem;
}

.summary-row.total span {
    font-weight: 700;
    color: var(--black-primary);
    font-size: 1.1rem;
}

.summary-row.total strong {
    font-size: 1.5rem;
    color: var(--gold-dark);
}

/* قسم معلومات الشحن */
.checkout-section {
    background: var(--white-pure);
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 98, 0.1);
}

.checkout-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.checkout-section-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--black-primary);
}

.checkout-section-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black-primary);
    margin: 0;
}

/* حقول الإدخال */
.form-floating-custom {
    position: relative;
    margin-bottom: 20px;
}

.form-floating-custom label {
    display: block;
    font-weight: 600;
    color: var(--black-primary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-floating-custom input,
.form-floating-custom textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 14px;
    font-size: 1rem;
    color: var(--black-primary);
    background: var(--white-soft);
    transition: var(--transition-fast);
}

.form-floating-custom input:focus,
.form-floating-custom textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: var(--white-pure);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

.form-floating-custom input::placeholder {
    color: var(--gray-muted);
}

.form-floating-custom .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

.form-floating-custom input.has-icon {
    padding-left: 48px;
}

/* طرق الدفع */

.payment-method {
    position: relative;
    cursor: pointer;
}

.payment-method input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 20px;
    background: var(--white-soft);
    border: 2px solid var(--gray-light);
    border-radius: 18px;
    transition: var(--transition-smooth);
    text-align: center;
}

.payment-method input:checked + .payment-method-card {
    border-color: var(--gold-primary);
    background: linear-gradient(
        135deg,
        rgba(201, 169, 98, 0.1) 0%,
        rgba(201, 169, 98, 0.03) 100%
    );
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.15);
}

.payment-method-card:hover {
    border-color: rgba(201, 169, 98, 0.5);
}

.payment-method-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--white-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gray-muted);
    transition: var(--transition-fast);
}

.payment-method input:checked + .payment-method-card .payment-method-icon {
    background: var(--gradient-gold);
    color: var(--black-primary);
}

.payment-method-name {
    font-weight: 700;
    color: var(--black-primary);
    font-size: 1rem;
}

.payment-method-desc {
    font-size: 0.85rem;
    color: var(--gray-muted);
}

/* زر إتمام الشراء */
.btn-checkout {
    width: 100%;
    padding: 20px 32px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-gold);
    margin-top: 24px;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 98, 0.4);
}

.btn-checkout i {
    font-size: 1.3rem;
}

.btn-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--gray-light);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black-soft);
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-continue-shopping:hover {
    border-color: var(--gold-primary);
    color: var(--gold-dark);
}

/* مميزات الشراء */
.checkout-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-light);
}

.checkout-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-feature i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(32, 201, 151, 0.12);
    color: #20c997;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.checkout-feature span {
    font-size: 0.9rem;
    color: var(--black-soft);
    font-weight: 500;
}

/* استجابة للموبايل */
@media (max-width: 991px) {
    .checkout-steps {
        flex-wrap: wrap;
        gap: 12px;
    }

    .step-connector {
        display: none;
    }

    .checkout-step {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .order-summary {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .navbar-expand-lg .navbar-collapse {
        margin-top: 20px;
    }
    .navbar-expand-lg .navbar-collapse .nav-item {
        margin-bottom: 10px;
    }

    .cart-page {
        padding: 40px 0 70px;
    }

    .cart-page-header h1 {
        font-size: 1.8rem;
    }

    .checkout-step {
        padding: 12px 16px;
    }

    .checkout-step .step-text {
        display: none;
    }

    .cart-item-card {
        flex-wrap: wrap;
        gap: 16px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-details {
        padding: 0;
        width: calc(100% - 96px);
    }

    .cart-item-quantity {
        width: auto;
    }

    .checkout-section {
        padding: 24px 20px;
    }

    .checkout-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
