/* ====== CSS RESET & VARIABLES ====== */

:root {

    --primary-color: #8B4513;

    --secondary-color: #D4AF37;

    --accent-color: #A0522D;

    --light-color: #F9F5F0;

    --dark-color: #2C1810;

    --white: #FFFFFF;

    --gray: #8D8D8D;

    --light-gray: #F5F5F5;

    --success-color: #28a745;

    --error-color: #dc3545;

    

    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s ease;

    --border-radius: 12px;

    --border-radius-sm: 8px;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

    scroll-padding-top: 80px;

}



body {

    font-family: 'Tajawal', sans-serif;

    line-height: 1.6;

    color: var(--dark-color);

    background-color: var(--white);

    direction: rtl;

    overflow-x: hidden;

}



.container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}

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


/* ====== TYPOGRAPHY ====== */

h1, h2, h3, h4 {

    font-family: 'Cairo', sans-serif;

    font-weight: 700;

    line-height: 1.3;

}



h1 {

    font-size: 3rem;

    margin-bottom: 1rem;

}



h2 {

    font-size: 2.5rem;

    margin-bottom: 1.5rem;

}



h3 {

    font-size: 1.8rem;

    margin-bottom: 1rem;

}



p {

    margin-bottom: 1rem;

    color: var(--gray);

}



/* ====== BUTTONS ====== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 12px 28px;

    border: none;

    border-radius: 30px;

    font-family: 'Tajawal', sans-serif;

    font-weight: 600;

    font-size: 16px;

    cursor: pointer;

    transition: var(--transition);

    text-decoration: none;

    text-align: center;

    white-space: nowrap;

    background: transparent;

}



.btn-primary {

    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));

    color: var(--white);

    box-shadow: var(--shadow);

    border: none;

}



.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-heavy);

}



.btn-outline {

    background: transparent;

    color: var(--primary-color);

    border: 2px solid var(--primary-color);

}



.btn-outline:hover {

    background: var(--primary-color);

    color: var(--white);

}



.btn-small {

    padding: 8px 16px;

    font-size: 14px;

}



/* ====== NAVBAR ====== */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(10px);

    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);

    z-index: 1000;

    padding: 15px 0;

}



.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo a {

    display: flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: var(--primary-color);

    font-size: 1.8rem;

    font-weight: 800;

}



.logo i {

    color: var(--secondary-color);

    font-size: 2rem;

}



.nav-links {

    display: flex;

    list-style: none;

    gap: 30px;

    margin: 0;

    padding: 0;

}



.nav-links a {

    color: var(--dark-color);

    text-decoration: none;

    font-weight: 500;

    font-size: 16px;

    padding: 8px 0;

    position: relative;

    transition: var(--transition);

}



.nav-links a:hover,

.nav-links a.active {

    color: var(--primary-color);

}



.nav-links a::after {

    content: '';

    position: absolute;

    bottom: 0;

    right: 0;

    width: 0;

    height: 2px;

    background: var(--primary-color);

    transition: var(--transition);

}



.nav-links a:hover::after,

.nav-links a.active::after {

    width: 100%;

}



.nav-right {

    display: flex;

    align-items: center;

    gap: 15px;

}



.nav-icon {

    background: none;

    border: none;

    font-size: 1.2rem;

    color: var(--dark-color);

    cursor: pointer;

    padding: 8px;

    position: relative;

    transition: var(--transition);

    border-radius: 50%;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.nav-icon:hover {

    background: var(--light-gray);

    color: var(--primary-color);

}



.cart-count {

    position: absolute;

    top: -5px;

    left: -5px;

    background: var(--secondary-color);

    color: var(--white);

    font-size: 12px;

    min-width: 20px;

    height: 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    display: none;

}



.menu-toggle {

    display: none;

}



/* ====== CART MODAL ====== */

.cart-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    display: none;

    justify-content: flex-end;

    z-index: 2000;

}



.cart-modal.active {

    display: flex;

}



.cart-container {

    width: 100%;

    max-width: 400px;

    height: 100vh;

    background: var(--white);

    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);

    display: flex;

    flex-direction: column;

    animation: slideLeft 0.3s ease;

}



.cart-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px;

    border-bottom: 1px solid var(--light-gray);

}



.close-cart {

    background: none;

    border: none;

    font-size: 1.5rem;

    color: var(--gray);

    cursor: pointer;

    transition: var(--transition);

}



.close-cart:hover {

    color: var(--primary-color);

}



.cart-body {

    flex: 1;

    display: flex;

    flex-direction: column;

    overflow: hidden;

}



.cart-items {

    flex: 1;

    overflow-y: auto;

    padding: 20px;

}



.cart-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    border-bottom: 1px solid var(--light-gray);

    border-radius: var(--border-radius-sm);

    background: var(--light-gray);

    margin-bottom: 10px;

}



.cart-item:last-child {

    margin-bottom: 0;

}



.cart-item-image {

    width: 70px;

    height: 70px;

    border-radius: var(--border-radius-sm);

    overflow: hidden;

    flex-shrink: 0;

}



.cart-item-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.cart-item-details {

    flex: 1;

    min-width: 0;

}



.cart-item-title {

    font-weight: 600;

    margin-bottom: 5px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.cart-item-price {

    color: var(--primary-color);

    font-weight: bold;

    font-size: 1.1rem;

}



.cart-item-controls {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 8px;

}



.quantity-btn {

    background: var(--white);

    border: 1px solid var(--gray);

    width: 25px;

    height: 25px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: var(--transition);

    font-size: 14px;

}



.quantity-btn:hover {

    background: var(--primary-color);

    color: var(--white);

    border-color: var(--primary-color);

}



.quantity {

    font-weight: bold;

    min-width: 30px;

    text-align: center;

}



.remove-item {

    background: none;

    border: none;

    color: var(--error-color);

    cursor: pointer;

    padding: 5px;

    transition: var(--transition);

}



.remove-item:hover {

    color: #c82333;

}



.cart-summary {

    padding: 20px;

    border-top: 1px solid var(--light-gray);

    background: var(--white);

}



.cart-total {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    font-size: 1.2rem;

    font-weight: bold;

}



.total-price {

    color: var(--primary-color);

}



.checkout-btn {

    width: 100%;

}



.empty-cart {

    text-align: center;

    padding: 50px 20px;

    color: var(--gray);

}



.empty-cart i {

    font-size: 3rem;

    margin-bottom: 20px;

    color: var(--light-gray);

}



.empty-cart p {

    margin-bottom: 20px;

    font-size: 1.1rem;

}



/* ====== CHECKOUT MODAL ====== */

.checkout-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 3000;

}



.checkout-modal.active {

    display: flex;

}



.checkout-container {

    width: 90%;

    max-width: 500px;

    background: var(--white);

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-heavy);

    animation: slideUp 0.3s ease;

}



.checkout-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px;

    border-bottom: 1px solid var(--light-gray);

}



.close-checkout {

    background: none;

    border: none;

    font-size: 1.5rem;

    color: var(--gray);

    cursor: pointer;

    transition: var(--transition);

}



.close-checkout:hover {

    color: var(--primary-color);

}



.checkout-form {

    padding: 20px;

    height: 100%;

}



.form-group {

    margin-bottom: 20px;

}



.form-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;

    color: var(--dark-color);

}



.form-group label i {

    color: var(--primary-color);

    margin-left: 5px;

}



.form-group input,

.form-group textarea {

    width: 100%;

    padding: 12px 15px;

    border: 2px solid var(--light-gray);

    border-radius: var(--border-radius-sm);

    font-family: 'Tajawal', sans-serif;

    font-size: 16px;

    outline: none;

    transition: var(--transition);

}



.form-group input:focus,

.form-group textarea:focus {

    border-color: var(--primary-color);

}



.form-group textarea {

    min-height: 100px;

    resize: vertical;

}



.form-actions {

    display: flex;

    gap: 10px;

    margin-top: 30px;

}



.form-actions .btn {

    flex: 1;

}



/* ====== HERO SLIDER ====== */

.hero-slider {

    position: relative;

    height: 80vh;

    min-height: 600px;

    overflow: hidden;

    background: linear-gradient(135deg, var(--light-color) 0%, #f0e6d6 100%);

    margin-top: 80px;

}



.slide {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    opacity: 0;

    transition: opacity 1s ease;

}



.slide.active {

    opacity: 1;

}



.slide-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;

    height: 100%;

    padding-top: 50px;

}



.slide-text {

    text-align: right;

}



.slide-title {

    font-size: 48px;

    color: var(--primary-color);

    margin-bottom: 20px;

}



.slide-desc {

    font-size: 18px;

    color: var(--gray);

    margin-bottom: 30px;

    max-width: 500px;

}



.slide-image img {

    width: 100%;

    max-width: 500px;

    height: auto;

    border-radius: 20px;

    box-shadow: var(--shadow-heavy);

}



.slider-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.9);

    border: none;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    font-size: 20px;

    color: var(--primary-color);

    cursor: pointer;

    transition: var(--transition);

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: var(--shadow);

}



.slider-btn:hover {

    background: var(--primary-color);

    color: var(--white);

    transform: translateY(-50%) scale(1.1);

}



.prev-btn {

    right: 30px;

}



.next-btn {

    left: 30px;

}



.slider-dots {

    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;

    z-index: 10;

}



.dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition: var(--transition);

    margin-bottom: 20px;
}



.dot.active {

    background: var(--primary-color);

    transform: scale(1.2);

}



/* ====== TWO COLUMN SECTION ====== */

.two-column-section {

    padding: 80px 0;

    background: var(--white);

}



.two-column-inner {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}



.section-title {

    font-size: 36px;

    color: var(--primary-color);

    margin-bottom: 20px;

}



.section-desc {

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 30px;

    max-width: 500px;

}



.column-image img {

    width: 100%;

    border-radius: 20px;

    box-shadow: var(--shadow-heavy);

}



/* ====== PRODUCT HIGHLIGHT ====== */

.product-highlight {

    padding: 80px 0;

    background: var(--light-color);

}



.center-title {

    text-align: center;

    font-size: 36px;

    color: var(--primary-color);

    margin-bottom: 50px;

}



.highlight-box {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    background: var(--white);

    border-radius: 20px;

    padding: 40px;

    box-shadow: var(--shadow);

    max-width: 1000px;

    margin: 0 auto;

}



.highlight-image img {

    width: 100%;

    border-radius: 15px;

}



.product-name {

    font-size: 28px;

    color: var(--primary-color);

    margin-bottom: 15px;

}



.product-desc {

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 25px;

}



/* ====== PRODUCTS SECTION ====== */

.products-section {

    padding: 80px 0;

    background: var(--white);

}



.section-title {

    text-align: center;

    color: var(--primary-color);

    position: relative;

    padding-bottom: 20px;

    margin-bottom: 20px;

}



.section-title::after {

    content: '';

    position: absolute;

    bottom: 0;

    right: 50%;

    transform: translateX(50%);

    width: 100px;

    height: 3px;

    background: var(--secondary-color);

    border-radius: 2px;

}



.section-subtitle {

    text-align: center;

    color: var(--gray);

    margin-bottom: 50px;

    font-size: 1.1rem;

    max-width: 600px;

    margin-left: auto;

    margin-right: auto;

}



.products-grid {

    display: grid;

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

    gap: 30px;

    margin-top: 30px;

}



.product-card {

    background: var(--white);

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

    position: relative;

    cursor: pointer;

    border: none;

}



.product-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-heavy);

}



.product-image {

    height: 250px;

    overflow: hidden;

    position: relative;

}



.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.product-card:hover .product-image img {

    transform: scale(1.1);

}



.product-badge {

    position: absolute;

    top: 15px;

    right: 15px;

    background: var(--secondary-color);

    color: var(--white);

    padding: 5px 15px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;

    z-index: 1;

}



.product-content {

    padding: 20px;

}



.product-title {

    font-size: 1.2rem;

    color: var(--dark-color);

    margin-bottom: 10px;

    height: 40px;

    overflow: hidden;

}



.product-description {

    font-size: 14px;

    color: var(--gray);

    margin-bottom: 15px;

    line-height: 1.5;

    height: 63px;

    overflow: hidden;

}



.product-price {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

}



.price {

    font-size: 1.3rem;

    font-weight: bold;

    color: var(--primary-color);

}



.old-price {

    color: var(--gray);

    text-decoration: line-through;

    font-size: 0.9rem;

    margin-left: 10px;

}



/* ====== CATEGORIES SECTION ====== */

.categories-section {

    padding: 80px 0;

    background: var(--light-color);

}



.categories-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

}



.category-card {

    height: 400px;

    border-radius: var(--border-radius);

    overflow: hidden;

    position: relative;

    background-size: cover;

    background-position: center;

    transition: transform 0.5s ease;

}



.category-card:hover {

    transform: scale(1.05);

}



.men-category {

    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 

                      url('img/mens.png');

}



.women-category {

    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 

                      url('img/womens.png');

}



.category-overlay {

    position: absolute;

    bottom: 0;

    right: 0;

    left: 0;

    padding: 40px;

    background: linear-gradient(transparent, rgba(0,0,0,0.8));

    color: var(--white);

    text-align: center;

}



.category-overlay h3 {

    color: var(--white);

    font-size: 2rem;

    margin-bottom: 10px;

}



.category-overlay p {

    color: rgba(255,255,255,0.9);

    margin-bottom: 20px;

}



/* ====== FEATURED SECTION ====== */

.featured-section {

    padding: 80px 0;

    background: var(--white);

}



.featured-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

    margin-top: 30px;

}



.featured-card {

    background: var(--white);

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

}



.featured-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-heavy);

}



.featured-image {

    height: 200px;

    overflow: hidden;

    position: relative;

}



.featured-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.featured-badge {

    position: absolute;

    top: 15px;

    right: 15px;

    background: var(--primary-color);

    color: var(--white);

    padding: 5px 15px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;

}



.featured-content {

    padding: 20px;

}



.featured-content h3 {

    color: var(--primary-color);

    margin-bottom: 10px;

}



.featured-content p {

    font-size: 14px;

    color: var(--gray);

    margin-bottom: 15px;

    line-height: 1.5;

    height: 42px;

    overflow: hidden;

}



.featured-price {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 15px;

}



/* ====== ABOUT SECTION ====== */

.about-section {

    padding: 80px 0;

    background: var(--light-color);

}



.about-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;

}



.about-text {

    animation: fadeInRight 1s ease;

}



.features {

    display: grid;

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

    gap: 20px;

    margin-top: 30px;

}



.feature {

    text-align: center;

    padding: 20px;

    background: var(--white);

    border-radius: var(--border-radius-sm);

    box-shadow: var(--shadow);

    transition: var(--transition);

}



.feature:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-heavy);

}



.feature i {

    font-size: 2rem;

    color: var(--secondary-color);

    margin-bottom: 10px;

}



.feature h4 {

    margin-bottom: 5px;

    color: var(--primary-color);

}



.feature p {

    font-size: 14px;

    margin: 0;

}



.about-image {

    animation: fadeInLeft 1s ease;

}



.about-image img {

    width: 100%;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-heavy);

}



/* ====== REVIEW SECTION ====== */

.review-section {

    padding: 80px 0;

    background: var(--white);

}



.review-inner {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}



.review-image img {

    width: 100%;

    border-radius: 20px;

    box-shadow: var(--shadow-heavy);

}



.review-slider {

    position: relative;

    min-height: 200px;

    margin-bottom: 30px;

}



.review-slide {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    opacity: 0;

    transition: opacity 0.5s ease;

}



.review-slide.active {

    opacity: 1;

    position: relative;

}



.review-text {

    background: var(--light-color);

    padding: 30px;

    border-radius: 15px;

    box-shadow: var(--shadow);

    margin-bottom: 20px;

}



.review-text p {

    font-size: 18px;

    line-height: 1.8;

    font-style: italic;

    color: var(--dark-color);

}



.review-author h4 {

    font-size: 20px;

    color: var(--primary-color);

    margin-bottom: 5px;

}



.review-author p {

    color: var(--gray);

    font-size: 14px;

}



.review-controls {

    display: flex;

    gap: 15px;

}



.review-nav-btn {

    background: var(--white);

    border: 2px solid var(--light-gray);

    width: 40px;

    height: 40px;

    border-radius: 50%;

    font-size: 16px;

    color: var(--primary-color);

    cursor: pointer;

    transition: var(--transition);

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

}



.review-nav-btn:hover {

    background: var(--primary-color);

    color: var(--white);

}



/* ====== SPECIAL PERFUME SECTION ====== */

.special-perfume {

    padding: 80px 0;

    background: var(--light-color);

}



.special-perfume-inner {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}



.special-perfume-image img {

    width: 100%;

    border-radius: 20px;

    box-shadow: var(--shadow-heavy);

}



.special-title {

    font-size: 36px;

    color: var(--primary-color);

    margin-bottom: 10px;

}



.special-subtitle {

    font-size: 28px;

    color: var(--secondary-color);

    margin-bottom: 20px;

}



.special-desc {

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 30px;

}



.special-features {

    list-style: none;

    margin-bottom: 30px;

}



.special-features li {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

    font-size: 16px;

    color: var(--dark-color);

}



.special-features i {

    color: var(--secondary-color);

    font-size: 18px;

}



.special-buttons {

    display: flex;

    gap: 20px;

}



/* ====== EMAIL OFFER ====== */

.email-offer {

    padding: 80px 0;

    background: linear-gradient(135deg, var(--primary-color) 0%, #6b3a1c 100%);

    color: var(--white);

    text-align: center;

}



.email-title {

    font-size: 36px;

    color: var(--white);

    margin-bottom: 15px;

}



.email-desc {

    font-size: 18px;

    color: rgba(255,255,255,0.9);

    margin-bottom: 40px;

    max-width: 600px;

    margin-left: auto;

    margin-right: auto;

}



.email-form {

    max-width: 500px;

    margin: 0 auto;

}



.email-form .form-group {

    display: flex;

    gap: 10px;

}



.email-form input {

    flex: 1;

    padding: 15px 20px;

    border: none;

    border-radius: 30px;

    font-family: 'Tajawal', sans-serif;

    font-size: 16px;

    outline: none;

}



.email-form input:focus {

    box-shadow: 0 0 0 2px var(--secondary-color);

}



.form-message {

    margin-top: 15px;

    padding: 10px;

    border-radius: 5px;

    font-size: 14px;

    display: none;

}



.form-message.success {

    display: block;

    background: rgba(255,255,255,0.1);

    border: 1px solid rgba(255,255,255,0.3);

}



/* ====== FOOTER ====== */

.footer {

    background: var(--dark-color);

    color: var(--white);

    padding: 60px 0 30px;

}



.footer-content {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;

    margin-bottom: 50px;

}



.footer-links {

    display: grid;

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

    gap: 30px;

}



.footer-title {

    font-size: 20px;

    color: var(--white);

    margin-bottom: 20px;

    position: relative;

    padding-bottom: 10px;

}



.footer-title::after {

    content: '';

    position: absolute;

    bottom: 0;

    right: 0;

    width: 50px;

    height: 2px;

    background: var(--secondary-color);

}



.link-column ul {

    list-style: none;

}



.link-column li {

    margin-bottom: 10px;

}



.link-column a {

    color: rgba(255,255,255,0.8);

    font-size: 14px;

    transition: var(--transition);

    text-decoration: none;

}



.link-column a:hover {

    color: var(--secondary-color);

    padding-right: 5px;

}



.payment-methods,

.social-media {

    text-align: center;

}



.payment-icons {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 20px;

    font-size: 30px;

    color: rgba(255,255,255,0.8);

}



.social-icons {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 20px;

}



.social-icons a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    background: rgba(255,255,255,0.1);

    border-radius: 50%;

    color: var(--white);

    font-size: 18px;

    transition: var(--transition);

    text-decoration: none;

}



.social-icons a:hover {

    background: var(--secondary-color);

    transform: translateY(-3px);

}



.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.1);

    padding-top: 30px;

    text-align: center;

}



.copyright {

    color: rgba(255,255,255,0.7);

    font-size: 14px;

}



/* ====== ANIMATIONS ====== */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes slideInLeft {

    from {

        opacity: 0;

        transform: translateX(-50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slideLeft {

    from {

        transform: translateX(100%);

    }

    to {

        transform: translateX(0);

    }

}



@keyframes slideUp {

    from {

        transform: translateY(50px);

        opacity: 0;

    }

    to {

        transform: translateY(0);

        opacity: 1;

    }

}



@keyframes cartPulse {

    0% { transform: scale(1); }

    50% { transform: scale(1.2); }

    100% { transform: scale(1); }

}



.cart-count.added {

    animation: cartPulse 0.5s ease;

}



/* ====== NOTIFICATION STYLES ====== */

.notification {

    position: fixed !important;

    top: 100px !important;

    right: 20px !important;

    background: #28a745 !important;

    color: white !important;

    padding: 15px 25px !important;

    border-radius: 8px !important;

    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;

    z-index: 99999 !important;

    animation: slideInRight 0.3s ease !important;

    font-family: 'Tajawal', sans-serif !important;

    font-size: 14px !important;

    max-width: 300px !important;

    display: flex !important;

    align-items: center !important;

    gap: 10px !important;

    border: none !important;

}



.notification.error {

    background: #dc3545 !important;

}



.notification.success {

    background: #28a745 !important;

}



@keyframes slideInRight {

    from { transform: translateX(100%); opacity: 0; }

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

}



@keyframes slideOutRight {

    from { transform: translateX(0); opacity: 1; }

    to { transform: translateX(100%); opacity: 0; }

}

/* ====== RESPONSIVE DESIGN ====== */

@media (max-width: 1024px) {

    .slide-content {

        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 100px;

    }

    

    .slide-text {

        text-align: center;

    }

    

   @media (max-width: 768px) {

  .hero-slider {
    min-height: 85vh;
    height: auto;
  }

  .slide {
    position: relative;
  }

  .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding-top: 40px;
  }

  .slide-image {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .slide-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

}


    

    .two-column-inner,

    .review-inner,

    .special-perfume-inner {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    

    .highlight-box {

        grid-template-columns: 1fr;

        text-align: center;

    }

    

    .footer-content {

        grid-template-columns: 1fr;

        text-align: center;

    }

    

    .footer-links {

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

    }

}


@media (max-width: 768px) {

    .nav-links {

        display: none;

        position: absolute;

        top: 70px;

        right: 0;

        background: white;

        width: 200px;

        flex-direction: column;

        padding: 20px;

        box-shadow: var(--shadow-heavy);

        border-radius: var(--border-radius-sm);

    }

    

    .nav-links.active {

        display: flex;

    }

    

    .menu-toggle {

        display: block;

    }

    

    .hero-slider {

        height: 70vh;

        min-height: 500px;

    }

    

    .slide-title {

        font-size: 36px;

    }

    

    .section-title {

        font-size: 28px;

    }

    

    .center-title {

        font-size: 28px;

    }

    

    .slider-btn {

        width: 40px;

        height: 40px;

        font-size: 16px;

    }

    

    .prev-btn {

        right: 15px;

    }

    

    .next-btn {

        left: 15px;

    }

    

    .email-form .form-group {

        flex-direction: column;

    }

    

    .special-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    

    .footer-links {

        grid-template-columns: 1fr;

    }

}
@media (max-width: 480px) {

    .container {

        padding: 0 15px;

    }

    

    .hero-slider {

        height: 60vh;

        min-height: 400px;

    }

    

    .slide-title {

        font-size: 28px;

    }

    

    .slide-desc {

        font-size: 16px;

    }

    

    .btn {

        padding: 10px 20px;

        font-size: 14px;

    }

    

    .cart-container {

        max-width: 100%;

    }

    

    .checkout-container {

        width: 95%;

    }

}


/* ====== FIX CHECKOUT FORM ====== */

.checkout-form {

    max-height: 70vh;

    overflow-y: auto;

    padding-right: 10px;

}



.checkout-form::-webkit-scrollbar {

    width: 5px;

}



.checkout-form::-webkit-scrollbar-track {

    background: #f1f1f1;

    border-radius: 10px;

}



.checkout-form::-webkit-scrollbar-thumb {

    background: var(--primary-color);

    border-radius: 10px;

}



.checkout-form::-webkit-scrollbar-thumb:hover {

    background: var(--accent-color);

}




/* Make form responsive */

.checkout-container {

    max-height: 90vh;

    display: flex;

    flex-direction: column;

}



.checkout-header {

    flex-shrink: 0;

}



.checkout-form {

    flex: 1;

    overflow-y: auto;

}



/* Fix input sizes */

.form-group input,

.form-group textarea {

    font-size: 14px !important;

    padding: 10px 12px !important;

}



/* Smaller labels on mobile */

@media (max-width: 768px) {

    .checkout-container {

        width: 95% !important;

        max-width: 95% !important;

        margin: 10px !important;

        max-height: 85vh !important;

    }

    

    .checkout-header {

        padding: 15px !important;

    }

    

    .checkout-header h3 {

        font-size: 1.2rem !important;

    }

    

    .checkout-form {

        padding: 15px !important;

    }

    

    .form-group label {

        font-size: 14px !important;

        margin-bottom: 5px !important;

    }

    

    .form-group input,

    .form-group textarea {

        font-size: 13px !important;

        padding: 8px 10px !important;

    }

    

    .form-actions {

        flex-direction: column !important;

        gap: 10px !important;

        margin-top: 20px !important;

    }

    

    .form-actions .btn {

        width: 100% !important;

        padding: 10px !important;

        font-size: 14px !important;

    }

}



/* Fix textarea height */

.form-group textarea {

    min-height: 80px !important;

    max-height: 100% !important;

    resize: vertical !important;

}



/* Better spacing */

.form-group {

    margin-bottom: 15px !important;

}



/* ====== FIX HERO SLIDER FOR MOBILE ====== */

@media (max-width: 1024px) {
  /* تحسين السلايدر للتابلت */
  .hero-slider {
    height: auto;
    min-height: 500px;
    margin-top: 70px;
  }
  
  .slide-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 0;
    gap: 30px;
  }
  
  .slide-image {
    order: -1; /* نضع الصورة قبل النص على الموبايل */
    margin-bottom: 20px;
  }
  
  .slide-image img {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* تحسين كامل للموبايل */
  .hero-slider {
    min-height: 450px;
    height: auto !important; /* إجبار الارتفاع على التكيف */
    overflow: visible !important; /* السماح بعرض المحتوى */
    position: relative;
    background: linear-gradient(135deg, var(--light-color) 0%, #f0e6d6 100%);
  }
  
  /* تغيير طريقة عرض السلايدر على الموبايل */
  .slide {
    position: relative !important; /* تغيير من absolute إلى relative */
    opacity: 1 !important; /* إظهار جميع العناصر */
    display: none; /* إخفاء جميع السلايدات إلا النشطة */
    height: auto;
    padding: 20px 0;
  }
  
  .slide.active {
    display: block; /* إظهار السلايد النشط فقط */
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .slide-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
    height: auto;
  }
  
  .slide-text {
    text-align: center;
    width: 100%;
    padding: 0 10px;
  }
  
  .slide-title {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
  }
  
  .slide-desc {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 100%;
  }
  
  .slide-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
    order: -1; /* الصورة قبل النص */
  }
  
  .slide-image img {
    width: 100%;
    height: 250px;
    object-fit: contain; /* الحفاظ على نسبة الصورة */
    border-radius: 15px;
    box-shadow: var(--shadow);
  }
  
  /* تحسين أزرار التنقل */
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .prev-btn {
    right: 10px;
  }
  
  .next-btn {
    left: 10px;
  }
  
  /* تحسين النقاط */
  .slider-dots {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    margin-top: 20px;
    
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* تحسين للشاشات الصغيرة جدا */
  .hero-slider {
    min-height: 400px;
    margin-top: 120px;
    
  }
  
  .slide-title {
    font-size: 24px;
  }
  
  .slide-desc {
    font-size: 15px;
  }
  
  .slide-image img {
    height: 200px;
  }
  
  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* ====== FIX SECTIONS FLOW ====== */

/* تحسين تدفق العناصر تحت السلايدر */
.two-column-section,
.product-highlight,
.products-section,
.categories-section,
.featured-section,
.about-section,
.review-section,
.special-perfume,
.email-offer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* منع تراكب العناصر */
.container {
  position: relative;
  z-index: 2;
}

/* تحسين الـ grid للعناصر */
.products-grid,
.featured-grid,
.categories-grid {
  position: relative;
  z-index: 3;
}

/* ====== ENSURE ARTICLES VISIBILITY ====== */

/* التأكد من ظهور جميع الـ articles */
.product-card,
.featured-card,
.category-card {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* إصلاح مشكلة الفراغات في الموبايل */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  /* إصلاح أي عنصر مخفي */
  .product-card,
  .featured-card,
  .category-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* تحسين الـ grid للموبايل */
  /* .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  } */
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  /* تحسين الأقسام */
  .two-column-section,
  .product-highlight,
  .products-section,
  .categories-section {
    padding: 40px 0 !important;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
}



/* kkkkkkkkkkkkkkkkkkkkkkkkkk*/



/* ====== FIX SPECIFIC ISSUES ====== */

/* إصلاح مشكلة التمرير على الموبايل */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* إزالة أي height ثابتة تسبب مشاكل */
  .hero-slider,
  .slide,
  .slide-content {
    min-height: auto;
    height: auto;
  }
  
  /* تحسين التباعد بين العناصر */
  .product-highlight {
    margin-top: 0;
  }
  
  /* إصلاح ترتيب العناصر */
  .highlight-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* ====== RESPONSIVE FONT SIZES ====== */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  p { font-size: 14px; }
}

/* ====== FIX BUTTONS FOR MOBILE ====== */

@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .btn-primary,
  .btn-outline {
    min-width: 140px;
  }
}







/* ==============================================

   ADMIN ACCESS STYLES

   ============================================== */



.nav-icon.admin-access-btn {

    position: relative;

    background: linear-gradient(135deg, #8B4513, #D4AF37);

    color: white !important;

}



.nav-icon.admin-access-btn:hover {

    background: linear-gradient(135deg, #7a3809, #c19b2e);

    transform: scale(1.1);

}



.nav-icon.admin-access-btn::after {

    content: 'لوحة التحكم';

    position: absolute;

    top: 100%;

    left: 50%;

    transform: translateX(-50%);

    background: #2c3e50;

    color: white;

    padding: 5px 10px;

    border-radius: 4px;

    font-size: 12px;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 1000;

    margin-top: 5px;

}



.nav-icon.admin-access-btn:hover::after {

    opacity: 1;

    visibility: visible;

    margin-top: 10px;

}



/* Admin link in footer */

.link-column ul li a[href*="admin.html"] {

    color: #D4AF37 !important;

    font-weight: 600;

}



.link-column ul li a[href*="admin.html"]:hover {

    color: #8B4513 !important;

}



/* ==============================================

   SYNC NOTIFICATION

   ============================================== */



.sync-notification {

    position: fixed;

    bottom: 20px;

    left: 20px;

    background: #10b981;

    color: white;

    padding: 12px 20px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    gap: 10px;

    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);

    z-index: 10000;

    animation: slideInUp 0.3s ease;

}



@keyframes slideInUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.sync-notification.error {

    background: #ef4444;

    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);

}



.sync-notification.info {

    background: #3b82f6;

    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);

}







.nav-icon.refresh-btn {

    color: var(--primary-color);

}



.nav-icon.refresh-btn:hover {

    color: var(--secondary-color);

    transform: rotate(180deg);

    transition: transform 0.5s ease;

}


        /* ====== CATEGORY SECTIONS ON HOME PAGE ====== */







.category-section {



    margin-bottom: 60px;



}







.category-section:last-child {



    margin-bottom: 0;



}







.category-header {



    display: flex;



    justify-content: space-between;



    align-items: center;



    margin-bottom: 30px;



    padding-bottom: 15px;



    border-bottom: 2px solid var(--light-color);



}







.category-title {



    font-size: 1.8rem;



    color: var(--primary-color);



    display: flex;



    align-items: center;



    gap: 10px;



}







.category-title i {



    color: var(--secondary-color);



    font-size: 1.5rem;



}







.view-all {



    display: flex;



    align-items: center;



    gap: 8px;



    color: var(--primary-color);



    text-decoration: none;



    font-weight: 600;



    font-size: 15px;



    transition: var(--transition);



}







.view-all:hover {



    color: var(--secondary-color);



    gap: 12px;



}







.view-all i {



    font-size: 12px;



}







/* Featured category products */



.products-grid.category-view {



    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));



}







/* Show only 4 products per category on home page */



.products-grid.category-view .product-card:nth-child(n+5) {



    display: none;



}







/* Responsive */



@media (max-width: 768px) {



    .category-header {



        flex-direction: column;



        align-items: flex-start;



        gap: 10px;



    }



    



    .view-all {



        align-self: flex-end;



    }



}







@media (max-width: 480px) {



    .category-title {



        font-size: 1.5rem;



    }



    



    .products-grid.category-view {



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



        gap: 15px;



    }



}


        /* ====== LOAD MORE BUTTON STYLES ====== */







.load-more-btn {



    display: block;



    margin: 30px auto;



    padding: 12px 30px;



    background: transparent;



    border: 2px solid var(--primary-color);



    border-radius: 25px;



    color: var(--primary-color);



    font-family: 'Tajawal', sans-serif;



    font-weight: 600;



    font-size: 15px;



    cursor: pointer;



    transition: var(--transition);



    text-align: center;



    width: auto;



    min-width: 250px;



}







.load-more-btn:hover {



    background: var(--primary-color);



    color: white;



    transform: translateY(-3px);



    box-shadow: var(--shadow);



}







.load-more-btn i {



    margin-left: 8px;



    font-size: 14px;



}







/* رسالة "تم عرض الكل" */



.all-shown-message {



    text-align: center;



    padding: 15px;



    color: var(--success-color);



    font-size: 14px;



    margin: 20px auto;



}







.all-shown-message i {



    margin-left: 8px;



}







/* Responsive for load more button */



@media (max-width: 768px) {



    .load-more-btn {



        width: 90%;



        margin: 20px auto;



        padding: 10px 20px;



        font-size: 14px;



    }



}


        .confirm-overlay {



    position: fixed;



    top: 0; left: 0;



    width: 100%; height: 100%;



    background: rgba(0,0,0,0.55);



    display: none;



    justify-content: center;



    align-items: center;



    z-index: 99999;



}







.confirm-overlay.active {



    display: flex;



}







.confirm-box {



    background: #ffffff;



    padding: 25px 30px;



    border-radius: 18px;



    width: 320px;



    text-align: center;



    box-shadow: 0 10px 30px rgba(0,0,0,0.15);



    animation: pop .25s ease;



}







@keyframes pop {



    from { transform: scale(0.8); opacity: 0; }



    to   { transform: scale(1); opacity: 1; }



}







.confirm-message {



    font-size: 17px;



    margin-bottom: 20px;



    color: #333;



}







.confirm-actions {



    display: flex;



    gap: 10px;



}







.btn-yes {



    flex: 1;



    padding: 10px;



    background: #27ae60;



    border: none;



    color: white;



    font-size: 15px;



    border-radius: 10px;



    cursor: pointer;



    transition: .2s;



}







.btn-yes:hover { background: #1e874b; }







.btn-no {



    flex: 1;



    padding: 10px;



    background: #e74c3c;



    border: none;



    color: white;



    font-size: 15px;



    border-radius: 10px;



    cursor: pointer;



    transition: .2s;



}







.btn-no:hover { background: #c0392b; }




















/* ===== FIX HERO ON MOBILE ===== */
@media (max-width: 768px) {

  .hero-slider {
    min-height: 85vh;
    height: auto;
    overflow: hidden;
  }

  .hero-slider .container {
    max-width: 100%;
  }

  .hero-slider .slide-content {
    display: flex !important;
    flex-direction: column;
    text-align: center;
  }

}


@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .hero-slider {
    min-height: 70vh;
    height: auto;
    overflow: visible;
    margin-top: 70px; /* باش ما يدخلش فالهيدر */
  }

  .slide {
    position: relative;
    height: auto;
    opacity: 1;
  }

  .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px 0;
  }

  .slide-image {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .slide-image img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
  }
}

/* ===== FIX NAVBAR + HERO ON MOBILE ===== */
@media (max-width: 768px) {

  body {
    padding-top: 70px; /* نفس ارتفاع navbar */
    overflow-x: hidden;
  }

  .navbar {
    height: 70px;
  }

  .hero-slider {
    position: relative;
    min-height: calc(100vh - 70px);
    height: auto;
    /* margin-top: 0 !important; */
    padding-top: 20px;
    overflow: visible;
  }

  .slide {
    position: relative;
    height: auto;
    opacity: 1;
  }

  .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .slide-image {
    display: block;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
  }

  .slide-image img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
  }
}
/* ===== FIX PRODUCT GRID ON MOBILE ===== */
@media (max-width: 768px) {

  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }

  .product-card {
    width: 100%;
    margin: 0;
  }

  .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ===== FORCE FULL WIDTH ON MOBILE ===== */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .main,
  .wrapper,
  section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ===== FIX PRODUCTS GRID MOBILE ===== */
@media (max-width: 768px) {

  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
    width: 100%;
  }

  .product-card {
    width: 100%;
    max-width: 100%;
  }
}

/* ===== FIX HERO SIZE MOBILE ===== */
@media (max-width: 768px) {

  .hero-slider,
  .hero,
  .hero-section {
    width: 100%;
    min-height: 85vh;
    padding-left: 0;
    padding-right: 0;
  }

  .slide-content {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }
}


/* ===== FIX NAVBAR + HERO MOBILE ===== */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .navbar,
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }

  .hero,
  .hero-slider {
    margin-top: 80px;
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .slide {
    position: relative !important;
    height: auto !important;
    opacity: 1 !important;
  }

  .slide-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    gap: 20px;
  }

  .slide-image {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .slide-image img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }
}
/* ===== FIX PRODUCT GRID MOBILE ===== */
@media (max-width: 768px) {

  .products-grid,
  .products-grid.category-view {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    width: 100%;
  }

  .product-card {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* حبّس nth-child فالموبايل */
  .products-grid.category-view .product-card {
    display: block !important;
  }

}
@media (max-width: 768px) {

  section {
    padding: 30px 15px;
  }

  .hero,
  .category-section {
    margin-bottom: 40px;
  }
}



/* ============================================
   MOBILE COMPLETE FIX - كل شي منظم
   ============================================ */

@media (max-width: 768px) {

  /* 1. إصلاح Body والعرض العام */
  body {
    overflow-x: hidden;
    padding-top: 70px;
    width: 100%;
  }

  /* 2. إصلاح Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    z-index: 9999;
    padding-bottom: 100px;
  }

  /* 3. إصلاح Hero Slider */
  .hero-slider {
    margin-top: 0 !important;
    min-height: auto;
    height: auto;
    padding: 30px 0;
    overflow: visible;
  }

  .slide {
    position: relative !important;
    height: auto !important;
    opacity: 1 !important;
  }

  .slide-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    gap: 20px;
  }

  .slide-image {
    order: 1;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .slide-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
  }

  .slide-text {
    order: 2;
    text-align: center;
  }

  .slide-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .slide-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* 4. إصلاح Sections */
  section {
    padding: 40px 15px;
    width: 100%;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  /* 5. إصلاح Products Grid - واحد واحد */
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100%;
    padding: 0;
  }

  .products-grid.category-view {
    grid-template-columns: 1fr !important;
  }

  /* إظهار كل المنتجات */
  .products-grid .product-card,
  .products-grid.category-view .product-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* 6. إصلاح Product Card */
  .product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .product-image {
    height: 220px;
    width: 100%;
  }

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

  .product-content {
    padding: 15px;
  }

  .product-title {
    font-size: 16px;
    height: auto;
    margin-bottom: 8px;
  }

  .product-description {
    font-size: 13px;
    height: auto;
    margin-bottom: 12px;
  }

  .product-price {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .price {
    font-size: 18px;
  }

  /* 7. إصلاح Featured Grid */
  .featured-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* 8. إصلاح Categories Grid */
  .categories-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .category-card {
    height: 300px;
  }

  /* 9. إصلاح Two Column Sections */
  .two-column-inner,
  .highlight-box,
  .review-inner,
  .special-perfume-inner {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  /* 10. إصلاح Slider Buttons */
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .prev-btn {
    right: 10px;
  }

  .next-btn {
    left: 10px;
  }

  .slider-dots {
    position: relative;
    margin-top: 20px;
  }

  /* 11. إصلاح Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* 12. إصلاح Section Titles */
  .section-title,
  .center-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* 13. إصلاح Category Headers */
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .category-title {
    font-size: 22px;
  }

  .view-all {
    align-self: flex-end;
  }

  /* 14. إصلاح Footer */
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr !important;
  }

  /* 15. إصلاح Nav Links */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* 16. منع أي تداخل */
  * {
    max-width: 100%;
  }
}

/* ============================================
   EXTRA SMALL SCREENS - أصغر شاشات
   ============================================ */

@media (max-width: 480px) {

  .slide-title {
    font-size: 22px;
  }

  .slide-desc {
    font-size: 14px;
  }

  .section-title,
  .center-title {
    font-size: 20px;
  }

  .product-image {
    height: 200px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}
/* ============================================
   MOBILE COMPLETE FIX - كل شي منظم
   ============================================ */

@media (max-width: 768px) {

  /* 1. إصلاح Body والعرض العام */
  body {
    overflow-x: hidden;
    padding-top: 70px;
    width: 100%;
  }

  /* 2. إصلاح Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    z-index: 9999;
    padding-bottom: 100px;
  }

  /* 3. إصلاح Hero Slider */
  .hero-slider {
    margin-top: 0 !important;
    min-height: auto;
    height: auto;
    padding: 30px 0;
    overflow: visible;
  }

  .slide {
    position: relative !important;
    height: auto !important;
    opacity: 1 !important;
  }

  .slide-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    gap: 20px;
  }

  .slide-image {
    order: 1;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .slide-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
  }

  .slide-text {
    order: 2;
    text-align: center;
  }

  .slide-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .slide-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* 4. إصلاح Sections */
  section {
    padding: 40px 15px;
    width: 100%;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  /* 5. إصلاح Products Grid - واحد واحد */
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100%;
    padding: 0;
  }

  .products-grid.category-view {
    grid-template-columns: 1fr !important;
  }

  /* إظهار كل المنتجات */
  .products-grid .product-card,
  .products-grid.category-view .product-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* 6. إصلاح Product Card */
  .product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .product-image {
    height: 220px;
    width: 100%;
  }

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

  .product-content {
    padding: 15px;
  }

  .product-title {
    font-size: 16px;
    height: auto;
    margin-bottom: 8px;
  }

  .product-description {
    font-size: 13px;
    height: auto;
    margin-bottom: 12px;
  }

  .product-price {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .price {
    font-size: 18px;
  }

  /* 7. إصلاح Featured Grid */
  .featured-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* 8. إصلاح Categories Grid */
  .categories-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .category-card {
    height: 300px;
  }

  /* 9. إصلاح Two Column Sections */
  .two-column-inner,
  .highlight-box,
  .review-inner,
  .special-perfume-inner {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  /* 10. إصلاح Slider Buttons */
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .prev-btn {
    right: 10px;
  }

  .next-btn {
    left: 10px;
  }

  .slider-dots {
    position: relative;
    margin-top: 20px;
  }

  /* 11. إصلاح Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* 12. إصلاح Section Titles */
  .section-title,
  .center-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* 13. إصلاح Category Headers */
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .category-title {
    font-size: 22px;
  }

  .view-all {
    align-self: flex-end;
  }

  /* 14. إصلاح Footer */
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr !important;
  }

  /* 15. إصلاح Nav Links */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* 16. منع أي تداخل */
  * {
    max-width: 100%;
  }
}

/* ============================================
   EXTRA SMALL SCREENS - أصغر شاشات
   ============================================ */

@media (max-width: 480px) {

  .slide-title {
    font-size: 22px;
  }

  .slide-desc {
    font-size: 14px;
  }

  .section-title,
  .center-title {
    font-size: 20px;
  }

  .product-image {
    height: 200px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}