@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../assets/fonts/IBMPlexSansArabic-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../assets/fonts/IBMPlexSansArabic-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../assets/fonts/IBMPlexSansArabic-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../assets/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../assets/fonts/IBMPlexSansArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../assets/fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../assets/fonts/IBMPlexSansArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

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

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

.app-main {
    width: 100%;
    max-width: 100%;
}

:root {
    --primary-color: #C9A35A;
    /* Luxury Gold */
    --primary-dark: #b08d4b;
    --secondary-color: #F7F7FA;
    /* Light gray */
    --text-main: #111111;
    --text-muted: #6B7280;
    --accent-red: #FF0000;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    --transition: all 0.4s ease;
    --max-width: 1440px;
}

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

body {
    font-family: 'Playfair Display', 'IBMPlexSansArabic', serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 40px 0;
}

.text-red {
    color: var(--accent-red) !important;
}

/* Typography elements */
.section-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header.light-text {
    color: var(--white);
}

.see-all {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.see-all:hover {
    opacity: 0.8;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--text-main);
}

/* TOP BAR */
.top-bar {
    background-color: var(--secondary-color);
    font-size: 13px;
    padding: 8px 0;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
}

.dropdown-btn:hover {
    color: var(--primary-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 150px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    z-index: 200;
    top: 100%;
    left: 0;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a:hover {
    color: var(--primary-color);
}

/* HEADER */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.is-scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transform: translateY(0);
}

.header.is-scrolled .logo {
    height: 42px;
}

.header.is-scrolled .main-nav {
    gap: 20px;
    font-size: 14px;
}

.header.is-scrolled .search-container input {
    background-color: rgba(241, 245, 249, 0.7);
    padding: 6px 16px 6px 36px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-block;
    height: 60px;
}

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

.main-nav {
    display: flex;
    gap: 24px;
    font-weight: 500;
    font-size: 15px;
}

.mobile-header-links {
    display: none;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.search-container {
    flex-grow: 0;
    width: 200px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 8px 16px 8px 36px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
}

.search-container i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
}

.header-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-main);
}

.action-btn i {
    font-size: 20px;
}

.action-btn:hover {
    color: var(--primary-color);
}

/* HERO SECTION */
.hero {
    position: relative;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: var(--text-main);
    max-width: 500px;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-slider-container {
    width: 100%;
    position: relative;
    height: 700px;
    /* Base height, adjust as needed */
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
    display: block;
}

.hero-image-wrapper.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-model {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Dots Navigation */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(201, 163, 90, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dots .dot:hover {
    background-color: rgba(201, 163, 90, 0.5);
}

.hero-dots .dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(201, 163, 90, 0.3);
}

/* CATEGORIES */
.category-scroll {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.cat-img-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
    transition: var(--transition);
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item:hover .cat-img-wrap {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-item:hover span {
    color: var(--primary-color);
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
}

@media (min-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px;
    }
}

@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0;
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        padding: 0;
    }
}

/* OPTIMIZED PRODUCT CARD & CATEGORIES */
.new-product-card-design {
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease !important;
}

.new-product-card-design:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.product-image-container img {
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1) !important;
}

.new-product-card-design:hover .product-image-container img {
    transform: scale(1.08);
}

.category-slide-item a {
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;
}

.category-slide-item a:hover {
    transform: translateY(-6px) !important;
}

.category-circle {
    transition: box-shadow 0.3s ease !important;
}

.category-slide-item a:hover .category-circle {
    box-shadow: 0 10px 20px rgba(164, 220, 185, 0.5);
}

/* PREMIUM PRODUCT CARD */
.product-card {
    display: block;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--secondary-color);
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.discount-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: var(--white);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-badge {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 4px 10px rgba(56, 239, 125, 0.3);
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
    transition: all 0.3s ease;
    color: #94a3b8;
}

.favorite-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.favorite-btn:hover {
    background: var(--white);
    color: #ff4b2b;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover i {
    transform: scale(1.15);
}

.hover-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover .hover-arrows {
    opacity: 1;
    pointer-events: auto;
}

.arrow-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.arrow-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .carousel-dots {
    opacity: 1;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.add-to-cart-overlay {
    position: absolute;
    bottom: -60px;
    left: 12px;
    right: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(62, 180, 137, 0.4);
    pointer-events: none;
}

.product-card:hover .add-to-cart-overlay {
    bottom: 20px;
    pointer-events: auto;
}

.add-to-cart-overlay:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 180, 137, 0.5);
}

.product-details {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    transition: color 0.2s ease;
    letter-spacing: -0.1px;
}

.product-card:hover .product-name {
    color: var(--primary-color);
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.price-main {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 16px;
    letter-spacing: -0.3px;
}

.price-currency {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 700;
    opacity: 0.85;
}

.price-secondary {
    font-size: 11px;
    color: #b0b8c8;
    text-decoration: line-through;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    margin-top: 1px;
}

.product-rating .stars {
    color: #f59e0b;
    display: flex;
    gap: 1px;
    font-size: 10px;
}

.product-rating span {
    color: #a0aec0;
    font-weight: 500;
    font-size: 10px;
}

/* RECOMMENDED FOR YOU */
.recommended {
    background-color: var(--primary-color);
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rec-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
}

.rec-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.rec-card:hover img {
    transform: scale(1.03);
}

.rec-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.rec-info h3 {
    font-size: 18px;
    font-weight: 600;
}

.rec-info p {
    font-size: 14px;
    opacity: 0.9;
}

/* COLLECTIONS */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.collection-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.collection-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-banner:hover img {
    transform: scale(1.05);
}

.collection-content {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    gap: 16px;
}

.collection-content h3 {
    font-size: 24px;
    font-weight: 700;
}

/* PROMO BANNER */
.promo-inner {
    background: linear-gradient(135deg, #3EB489 0%, #2F9C75 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    height: 300px;
}

.promo-text {
    padding: 60px;
    color: var(--white);
    width: 50%;
}

.promo-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.promo-text p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
    max-width: 400px;
}

.promo-image {
    width: 50%;
    height: 100%;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* BAGS SECTION */
.bags-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bag-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--secondary-color);
}

.bag-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* FOOTER */
.footer {
    background-color: var(--secondary-color);
}

.newsletter-section {
    background-color: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.newsletter-inner h2 {
    font-size: 24px;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 500px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: inherit;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.footer-main {
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col.brand-col p {
    color: var(--text-muted);
    margin: 16px 0 24px 0;
    font-size: 14px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.mt-4 {
    margin-top: 32px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--text-main);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.app-btn i {
    font-size: 24px;
}

.app-btn:hover {
    background: var(--primary-color);
}

.footer-bottom {
    background: var(--white);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-model {
        opacity: 1;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .promo-inner {
        flex-direction: column;
        height: auto;
    }

    .promo-text,
    .promo-image {
        width: 100%;
    }

    .bags-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none;
    }

    .search-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

/* RTL SUPPORT FOR ARABIC */
[dir="rtl"] .search-container i {
    left: auto;
    right: 18px;
}

[dir="rtl"] .search-container input {
    padding: 12px 145px 12px 20px;
    /* Adjust padding for search icon in Arabic */
}

[dir="rtl"] .search-container input::placeholder {
    text-align: right;
}

[dir="rtl"] .discount-label {
    left: auto;
    right: 10px;
}

[dir="rtl"] .favorite-btn {
    right: auto;
    left: 10px;
}

[dir="rtl"] .add-to-cart {
    flex-direction: row;
    /* Ensure text matches icon */
}

[dir="rtl"] .add-to-cart i {
    margin-right: 0;
    margin-left: 8px;
    /* Spaces the icon correctly on the left side of text */
}

[dir="rtl"] .product-rating span {
    margin-left: 0;
    margin-right: 4px;
}

[dir="rtl"] .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 4px;
}

[dir="rtl"] .footer-col.app-col h4 {
    margin-bottom: 20px;
}

[dir="rtl"] .action-btn {
    text-align: center;
}

/* =========================================================================
   ADMIN DASHBOARD CSS — PHASE 1 REDESIGN
   ========================================================================= */

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background-color: #f1f5f9;
    color: var(--text-main);
    font-family: inherit;
}

/* ── Sidebar ── */
.admin-sidebar {
    width: 260px;
    background: #fff;
    border-right: 1px solid #e8edf2;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    z-index: 50;
    box-shadow: 2px 0 12px rgba(15, 23, 42, 0.04);
}

.admin-sidebar::-webkit-scrollbar { display: none; }

[dir="rtl"] .admin-sidebar {
    border-right: none;
    border-left: 1px solid #e8edf2;
    box-shadow: -2px 0 12px rgba(15, 23, 42, 0.04);
}

/* ── Logo area ── */
.admin-logo {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.admin-logo h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.admin-logo i {
    color: #f59e0b;
    font-size: 20px;
    flex-shrink: 0;
}

/* ── Navigation ── */
.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 4px 12px 20px;
    flex: 1;
}

/* Group label */
.admin-nav-group-label {
    padding: 16px 8px 6px;
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.admin-nav-item {
    background: transparent;
    border: none;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
    white-space: nowrap;
}

[dir="rtl"] .admin-nav-item { text-align: right; }

.admin-nav-item:hover {
    background-color: #f8fafc;
    color: #1e293b;
    transform: translateX(2px);
}

[dir="rtl"] .admin-nav-item:hover { transform: translateX(-2px); }

.admin-nav-item.active {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #15803d;
    font-weight: 700;
}

.admin-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: #22c55e;
    border-radius: 0 3px 3px 0;
}

[dir="rtl"] .admin-nav-item.active::before {
    left: auto; right: 0;
    border-radius: 3px 0 0 3px;
}

.admin-nav-item i {
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.admin-nav-item.active i { opacity: 1; }

/* ── Main content ── */
.admin-main {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Overview ── */
.admin-overview {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.09) !important;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #22c55e);
    border-radius: 0 0 16px 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.stat-card:hover::after { opacity: 1; }

/* ── Page Header ── */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8edf2;
    margin-bottom: 0;
    background: #fff;
    flex-shrink: 0;
}

.admin-header h1 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.2px;
}

/* ── Admin Card ── */
.admin-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    padding: 28px 28px 24px;
    border: 1px solid #e8edf2;
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #22c55e);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.admin-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-card-title i {
    color: var(--primary-color);
    background: #f0fdf4;
    padding: 7px;
    border-radius: 8px;
    font-size: 14px;
}

/* ── Pro Inputs ── */
.admin-input-group {
    margin-bottom: 16px;
}

.admin-input-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #475569;
}

.admin-input-group input[type="text"],
.admin-input-group input[type="number"],
.admin-input-group input[type="file"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 13.5px;
    color: #334155;
    transition: all 0.18s ease;
    background: #f8fafc;
    font-family: inherit;
}

.admin-input-group input[type="text"]:focus,
.admin-input-group input[type="number"]:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

/* ── Slide Grid ── */
.admin-grid-slides {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.admin-slide-item {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.admin-slide-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: #cbd5e1;
}

.admin-slide-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.admin-slide-info {
    padding: 14px;
    font-size: 12.5px;
    color: #64748b;
}

.admin-slide-link {
    margin-top: 6px;
    font-weight: 500;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-danger {
    background-color: #fee2e2;
    color: #ef4444;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: all 0.18s ease;
    opacity: 0.85;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

[dir="rtl"] .btn-danger { right: auto; left: 10px; }

.btn-danger:hover {
    background-color: #ef4444;
    color: #fff;
    opacity: 1;
    transform: scale(1.05);
}

/* ── Form group used in flash sale / special offers ── */
.admin-form-group {
    margin-bottom: 16px;
}

.admin-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #475569;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    font-size: 13.5px;
    color: #334155;
    background: #f8fafc;
    font-family: inherit;
    transition: border-color 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

/* Animate-up for conditional blocks */
.animate-up {
    animation: slideUp 0.22s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MOBILE RESPONSIVE & RE-DESIGN (Kewi Style) - FINAL
   ========================================================================== */

:root {
    --card-radius: 12px;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Modern Product Card Base */
.product-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-shadow);
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.product-card-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color, #2ea98b);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card-btn:hover {
    background: #258a71;
}

.product-image-container {
    position: relative;
    background: #f8fafc;
}

.main-product-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .main-product-img {
    transform: scale(1.05);
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #ef4444;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background: #fff;
    width: 12px;
    border-radius: 10px;
}

.hover-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-card:hover .hover-arrows {
    opacity: 1;
}

.arrow-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

/* Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #ffffff;
    display: none;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.2s;
    flex: 1;
}

.mobile-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.mobile-nav-item.active {
    color: var(--primary-color, #2ea98b);
}

/* Categories View Switching */
.mobile-categories-view {
    display: none;
}

/* Circular Categories - HORIZONTAL SCROLL */
.categories-circular-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    overflow-x: auto !important;
    padding: 10px 15px 20px 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.categories-circular-wrapper::-webkit-scrollbar {
    display: none;
}

.category-circle-item {
    flex: 0 0 80px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-decoration: none;
    max-width: 80px;
}

.category-circle-img-container {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0fdf4;
    position: relative;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.category-circle-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-circle-title {
    margin-top: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Media Queries */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }

    body {
        padding-bottom: 75px !important;
        overflow-x: hidden !important;
    }

    .section-padding {
        padding: 24px 0 !important;
    }

    .top-bar {
        display: none !important;
    }

    .header {
        position: sticky !important;
        top: 0;
        z-index: 1100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        height: auto !important;
    }

    .header-inner {
        padding: 8px 15px !important;
        height: 55px !important;
    }

    .logo img {
        height: 35px !important;
    }

    .main-nav,
    .header-actions {
        display: none !important;
    }

    .mobile-header-links {
        display: flex !important;
        gap: 15px;
        font-weight: 700 !important;
        font-size: 13px !important;
    }

    .mobile-categories-view {
        display: block !important;
    }

    .desktop-categories-view {
        display: none !important;
    }

    .container {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    /* Product Grid Mobile - EXACT 2 Column */
    .product-grid,
    .collections-grid,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px 20px 12px !important;
        display: grid !important;
    }

    .section-title {
        font-size: 18px !important;
        padding: 0 15px !important;
        margin-bottom: 12px !important;
    }

    /* Hero height responsive */
    .hero-slider-container {
        height: 55vw !important;
        min-height: 220px !important;
        max-height: 420px !important;
    }

    /* Hero image must be fully visible on mobile */
    .hero-model {
        opacity: 1 !important;
    }

    /* Prevent any single element from breaking the layout */
    .app-main>* {
        max-width: 100vw;
    }

    /* Footer mobile */
    .footer-main {
        padding: 40px 16px !important;
    }

    /* === PRODUCT CARD MOBILE === */

    /* Hide arrows on mobile  swipe is used instead */
    .desktop-arrows-only {
        display: none !important;
    }

    /* Dots always visible on mobile */
    .carousel-dots {
        opacity: 1 !important;
        bottom: 44px !important;
    }

    /* Add to Cart  always visible, professional style on mobile */
    .add-to-cart-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        background: rgba(0, 0, 0, 0.65) !important;
        backdrop-filter: blur(4px) !important;
        color: #fff !important;
        padding: 10px 8px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        pointer-events: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        letter-spacing: 0.3px !important;
        border: none !important;
        box-shadow: none !important;
        transition: background 0.2s ease !important;
    }

    .add-to-cart-overlay:active {
        background: rgba(62, 180, 137, 0.9) !important;
    }
}

/* ==========================================================================
   CART ENHANCEMENTS (DRAWER & MODAL)
   ========================================================================== */

/* Cart Overlay & Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.cart-drawer.rtl {
    right: auto;
    left: -400px;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer.rtl.open {
    left: 0;
    right: auto;
}

/* Cart Header */
.cart-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.cart-header h2 {
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    color: #64748b;
    font-size: 16px;
    font-weight: normal;
}

.cart-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.favorite-cart-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.close-cart-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
}

/* Shipping Banner */
.cart-shipping-banner {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.hey-icon {
    font-weight: 900;
    font-size: 24px;
    transform: rotate(-10deg);
}

.shipping-text {
    font-size: 13px;
}

.shipping-success {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
}

/* Cart Items */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-cart-message {
    text-align: center;
    color: #94a3b8;
    margin-top: 40px;
}

.empty-cart-message i {
    font-size: 40px;
    margin-bottom: 10px;
}

.cart-item {
    display: flex;
    gap: 15px;
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background: #f8fafc;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cart-item-price {
    font-weight: bold;
    font-size: 16px;
}

.cart-item-old-price {
    text-decoration: line-through;
    color: #ef4444;
    font-size: 12px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.icon-btn {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
}

.icon-btn:hover {
    color: #0f172a;
}

.cart-item-actions .divider {
    color: #e2e8f0;
}

.modal-add-favorite {
    background: transparent;
    border: none;
    text-decoration: underline;
    color: #64748b;
    font-size: 12px;
    text-align: left;
    padding: 0;
    cursor: pointer;
    margin-bottom: 4px;
}

.rtl .modal-add-favorite {
    text-align: right;
}

.cart-item-title {
    font-size: 13px;
    font-weight: normal;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: bold;
}

.cart-suggest-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 12px;
    text-align: left;
    padding: 0;
    cursor: pointer;
    margin-top: auto;
}

.rtl .cart-suggest-btn {
    text-align: right;
}

/* Cart Footer */
.cart-footer {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
}

.cart-coupon {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #94a3b8;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.cart-coupon i {
    color: #64748b;
    margin-right: 10px;
}

.rtl .cart-coupon i {
    margin-right: 0;
    margin-left: 10px;
}

.cart-coupon input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.cart-coupon button {
    border: none;
    background: transparent;
    font-weight: bold;
    cursor: pointer;
    color: #0f172a;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
}

.summary-row.total {
    font-size: 16px;
    font-weight: bold;
    color: #0f172a;
    margin-top: 10px;
}

.summary-row .text-success {
    color: var(--primary-color);
}

.btn-process-order {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* Added To Cart Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.added-modal {
    background: #fff;
    width: 400px;
    border-radius: 8px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #64748b;
}

.rtl .modal-close {
    right: auto;
    left: 16px;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.modal-header .text-primary {
    color: var(--primary-color);
    font-size: 20px;
}

.modal-product {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-product-img {
    width: 100px;
    height: 130px;
    object-fit: cover;
    background: #f8fafc;
}

.modal-product-details {
    flex: 1;
}

.modal-product-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-product-price {
    font-size: 24px;
    font-weight: normal;
}

.modal-product-price .currency {
    font-size: 14px;
}

.modal-product-old-price {
    display: block;
    text-decoration: line-through;
    color: #ef4444;
    font-size: 12px;
}

.modal-product-title {
    font-size: 14px;
    font-weight: normal;
    color: #475569;
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal-product-size {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 12px;
}

.modal-product-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    margin-left: 8px;
    vertical-align: middle;
}

.rtl .modal-product-color {
    margin-left: 0;
    margin-right: 8px;
}

.modal-product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.full-width {
    width: 100%;
}

.btn-link {
    background: transparent;
    border: none;
    text-decoration: underline;
    color: #475569;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .cart-drawer.rtl {
        left: -100%;
    }

    .added-modal {
        width: 90%;
        max-width: 400px;
    }
}

/* ======================================================
   PREMIUM GLOBAL MOBILE ENHANCEMENTS
   ====================================================== */

/* Container mobile padding */
@media (max-width: 600px) {
    .container {
        padding: 0 14px;
    }
    .section-padding {
        padding: 24px 0;
    }
}

/* Product page layout on mobile */
@media (max-width: 768px) {
    .product-page-wrapper {
        padding: 12px !important;
    }
    .product-main-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .product-info-panel {
        padding: 0 !important;
    }
}

/*Product grid sections spacings */
@media (max-width: 600px) {
    section h2,
    .section-title {
        font-size: 18px !important;
        margin-bottom: 14px !important;
    }
}

/* Flash sale & section headers mobile */
@media (max-width: 600px) {
    .section-header {
        padding: 0 14px;
        margin-bottom: 12px !important;
    }
    .flash-sale-timer {
        font-size: 12px !important;
    }
}

/* Hero slider mobile */
@media (max-width: 600px) {
    .hero-slider {
        min-height: 220px !important;
        max-height: 320px !important;
    }
    .hero-slide-content h1,
    .hero-slide-content h2 {
        font-size: 20px !important;
    }
    .hero-slide-content p {
        font-size: 13px !important;
    }
}

/* Categories horizontal scroll mobile */
@media (max-width: 600px) {
    .categories-section {
        padding: 10px 0 0 0 !important;
    }
    .categories-scroll-container {
        gap: 16px !important;
        padding: 8px 14px 12px !important;
    }
}

/* Product card mobile - always show cart button */
@media (max-width: 768px) {
    .pc-wrap:hover {
        transform: none !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.07) !important;
    }
}

/* Header mobile */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .header-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .logo {
        height: 40px;
    }

    .header-right {
        position: absolute;
        right: 15px;
        gap: 15px;
    }

    .header-actions {
        gap: 12px;
    }

    .action-btn span {
        display: none;
    }

    .action-btn i {
        font-size: 1.25rem;
    }

    .header.is-scrolled {
        padding: 6px 0;
    }

    .header.is-scrolled .logo {
        height: 32px;
    }
}

[dir="rtl"] .header-right {
    right: auto;
    left: 15px;
}

/* Cart drawer mobile full screen */
@media (max-width: 480px) {
    .cart-drawer {
        width: 100vw !important;
    }
}

/* .product-grid min card size safety */
@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 8px !important;
    }
    .pc-title {
        font-size: 12px !important;
    }
    .pc-price {
        font-size: 13px !important;
    }
}

/* Wishlist & profile pages mobile */
@media (max-width: 600px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 12px !important;
    }
}

/* Checkout mobile */
@media (max-width: 768px) {
    .checkout-layout {
        flex-direction: column !important;
    }
    .checkout-form,
    .checkout-summary {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Bottom mobile nav safe area */
@media (max-width: 768px) {
    .content-area {
        padding-bottom: 80px !important;
    }
}

/* Search modal mobile */
@media (max-width: 600px) {
    .search-modal-inner {
        padding: 16px !important;
        border-radius: 20px 20px 0 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-height: 80vh !important;
    }
}

/* ——— Product Page Layout ——— */
.product-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.product-info-sticky {
    position: sticky;
    top: 100px; /* Adjust based on header height */
    z-index: 10;
}

@media (max-width: 1024px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-info-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-page-main {
        padding: 0 !important;
        margin-top: 80px !important;
    }
    .breadcrumbs {
        margin: 0 20px 20px 20px !important;
        padding: 0 !important;
        font-size: 13px !important;
    }
    .product-main-grid {
        gap: 0 !important;
        display: block !important;
    }
    .gallery-main-viewport {
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    .product-gallery-container {
        padding: 0 !important;
    }
    .gallery-thumbs-row {
        padding: 0 20px !important;
        margin-bottom: 30px !important;
    }
    .product-info-wrap {
        padding: 30px 20px !important;
        background: #fff;
        border-radius: 30px 30px 0 0;
        margin-top: -20px;
        position: relative;
        z-index: 5;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.06);
    }
    .product-actions-grid {
        grid-template-columns: 1fr 1fr !important;
        padding: 0 !important;
        gap: 12px !important;
    }
    .product-actions-grid .qty-picker {
        grid-column: span 2 !important;
    }
}

.product-page-main {
    margin-top: 20px;
}

.btn-add-to-cart-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(62,180,137, 0.3) !important;
    background: var(--primary-dark) !important;
}

.btn-add-to-cart-premium:active {
    transform: scale(0.98);
}