/* RTL/LTR Support */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Language Toggle Button */
.language-toggle {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
    padding: 8px;
    z-index: 10001;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

.logo {
    height: 48px;
    /* Reverted to 48px */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Mobile adjustment for logo if needed */
/* Mobile adjustment for logo removed to ensure global consistency */

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* RTL Positioning */
[dir="rtl"] .search-box input {
    padding: 12px 18px 12px 50px;
}

[dir="rtl"] .search-box button {
    right: auto;
    left: 4px;
}

[dir="rtl"] .cart-count {
    right: auto;
    left: 8px;
}

[dir="rtl"] .deal-badge,
[dir="rtl"] .product-badge {
    left: auto;
    right: 12px;
}

[dir="rtl"] .slide-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

[dir="rtl"] .phone-feature {
    transform: translateX(30px);
}

[dir="rtl"] .phone-feature.visible {
    transform: translateX(0);
}

[dir="rtl"] .app-btn-text {
    text-align: right;
}

[dir="rtl"] .footer-col a:hover {
    padding-inline-start: 5px;
}

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

:root {
    --primary: #E85D04;
    --primary-dark: #D45103;
    --primary-light: #F48C06;
    --secondary: #1A1A1A;
    --dark: #0D0D0D;
    --yellow: #FECC00;
    --green: #38A169;
    --gray-100: #f7f7f7;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Cairo', sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px
}

/* HERO - ENHANCED */
.hero {
    padding: 15px 0;
    background: var(--gray-100)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 15px
}

.hero-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2.8/1
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s
}

.slide.active {
    opacity: 1
}

.slide-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 50px
}

.slide-1 {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%)
}

.slide-2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%)
}

.slide-3 {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%)
}

.slide-fullimg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important
}

.slide-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.slide-fullimg .slide-inner {
    position: relative;
    z-index: 1;
}

.slide-fullimg .slide-title,
.slide-fullimg .slide-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6)
}

.slide-content {
    flex: 1;
    color: #fff
}

.slide-badge {
    display: inline-block;
    background: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    animation: fadeInUp .6s
}

.slide-2 .slide-badge {
    background: var(--secondary)
}

.slide-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    animation: fadeInUp .6s .1s both
}

.slide-subtitle {
    font-size: 14px;
    opacity: .9;
    margin-bottom: 20px;
    animation: fadeInUp .6s .2s both
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--secondary);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all .3s;
    animation: fadeInUp .6s .3s both
}

.slide-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2)
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

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

.slide-image {
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px
}

.slide-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3));
    animation: floatPhone 3s ease-in-out infinite
}

@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(0) rotateY(0)
    }

    50% {
        transform: translateY(-10px) rotateY(5deg)
    }
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .3s
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #fff
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.hero-banner {
    flex: 1;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
    overflow: hidden;
    position: relative
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, .1));
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.hero-banner-text {
    position: relative;
    z-index: 2
}

.hero-banner:hover::before {
    opacity: 1
}

.hero-banner:hover {
    transform: scale(1.02)
}

.hero-banner-1 {
    background: linear-gradient(135deg, #7c3aed, #5b21b6)
}

.hero-banner-2 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark))
}

.hero-banner-fullimg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important
}

.hero-banner-fullimg.hero-banner-1,
.hero-banner-fullimg.hero-banner-2 {
    background: none
}

.hero-banner-fullimg .hero-banner-text h3,
.hero-banner-fullimg .hero-banner-text p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5)
}

.hero-banner-fullimg .hero-banner-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3)
}

.hero-banner-hasimg {
    padding: 0;
    background: none !important
}

.hero-banner-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1
}

.hero-banner-hasimg .hero-banner-text {
    position: relative;
    z-index: 2;
    padding: 20px
}

.hero-banner-hasimg .hero-banner-text h3,
.hero-banner-hasimg .hero-banner-text p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5)
}

.hero-banner-hasimg .hero-banner-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3)
}

.hero-banner-badge {
    display: inline-block;
    background: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase
}

.hero-banner-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px
}

.hero-banner-text p {
    font-size: 12px;
    opacity: .9;
    margin-bottom: 8px
}

.hero-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    transition: all .3s;
    text-decoration: none
}

.hero-banner-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2)
}

.hero-banner-icon {
    font-size: 40px;
    animation: bounce 2s infinite
}

.hero-banner-img {
    width: 125px;
    height: 125px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .2));
    animation: bounce 2s infinite
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

/* USP BAR */
.usp-bar {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200)
}

.usp-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all .3s;
    flex: 1;
    min-width: 200px
}

.usp-item:hover {
    transform: translateY(-3px)
}

.usp-icon {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: all .3s;
    flex-shrink: 0
}

.usp-item:hover .usp-icon {
    background: var(--primary);
    color: #fff
}

.usp-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary)
}

.usp-text span {
    font-size: 11px;
    color: var(--gray-600)
}

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

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary)
}

.section-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    transition: all .3s
}

.section-link:hover {
    gap: 10px
}

/* CATEGORIES */
.categories {
    padding: 30px 0
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px
}

.category-card {
    text-align: center;
    padding: 20px 10px;
    background: var(--gray-100);
    border-radius: 12px;
    cursor: pointer;
    transition: all .3s
}

.category-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transform: translateY(-8px)
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: all .3s
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(10deg)
}

.category-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700)
}

/* ==================== FANCY PHONE SHOWCASE ==================== */
.phone-showcase {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #000 100%);
    position: relative;
    overflow: hidden
}

.phone-showcase::before {
    content: 'JUMBOTECH';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, .02);
    white-space: nowrap;
    pointer-events: none
}

.phone-showcase .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1
}

.phone-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    perspective: 1500px
}

.phone-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .1s
}

.phone-wrapper img {
    width: 300px;
    filter: drop-shadow(0 50px 100px rgba(232, 93, 4, .4))
}

.phone-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(25px);
    opacity: .6
}

.phone-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border: 1px solid rgba(232, 93, 4, .2);
    border-radius: 50%;
    animation: ringPulse 3s infinite
}

.phone-ring:nth-child(2) {
    width: 400px;
    height: 400px;
    animation-delay: .5s
}

.phone-ring:nth-child(3) {
    width: 450px;
    height: 450px;
    animation-delay: 1s
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .5
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0
    }
}

.phone-info {
    flex: 1;
    color: #fff
}

.phone-badge {
    display: inline-block;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px
}

.phone-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px
}

.phone-title span {
    color: var(--primary)
}

.phone-desc {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 30px;
    line-height: 1.7
}

.phone-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px
}

.phone-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, .05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    transition: all .3s;
    opacity: 0;
    transform: translateX(30px)
}

.phone-feature.visible {
    opacity: 1;
    transform: translateX(0)
}

.phone-feature:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--primary)
}

.phone-feature .icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px
}

.phone-feature .text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px
}

.phone-feature .text p {
    font-size: 12px;
    color: var(--gray-500)
}

.phone-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px
}

.phone-price .current {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary)
}

.phone-price .old {
    font-size: 16px;
    color: var(--gray-500);
    text-decoration: line-through
}

.phone-cta {
    display: flex;
    gap: 15px
}

.btn-primary {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 10px
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 93, 4, .4)
}

.btn-secondary {
    padding: 14px 25px;
    background: transparent;
    border: 2px solid var(--gray-600);
    border-radius: 10px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s
}

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

/* FLASH DEALS */
.flash-deals {
    padding: 30px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark))
}

.flash-deals .section-header {
    color: #fff
}

.flash-deals .section-title {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px
}

.flash-deals .section-title i {
    color: var(--yellow);
    animation: flash 1s infinite
}

@keyframes flash {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

.flash-deals .section-link {
    color: #fff
}

.countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    font-size: 13px;
    color: #fff
}

.countdown-item {
    background: var(--secondary);
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 700;
    min-width: 36px;
    text-align: center
}

.products-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth
}

.products-slider::-webkit-scrollbar {
    height: 6px
}

.products-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .3);
    border-radius: 3px
}

/* PRODUCT CARD */
.product-card {
    min-width: 190px;
    max-width: 190px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
    position: relative
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    transform: translateY(-10px)
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53e3e;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2
}

.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    z-index: 2;
    color: var(--gray-400);
    transition: all .3s
}

.product-wishlist:hover {
    transform: scale(1.2)
}

.product-wishlist.active {
    color: #e53e3e;
    animation: heartBeat .5s
}

@keyframes heartBeat {
    0% {
        transform: scale(1)
    }

    25% {
        transform: scale(1.3)
    }

    50% {
        transform: scale(1)
    }

    75% {
        transform: scale(1.3)
    }

    100% {
        transform: scale(1)
    }
}

.product-image {
    height: 170px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .5s
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(3deg)
}

.product-info {
    padding: 12px
}

.product-brand {
    font-size: 10px;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 4px
}

.product-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 34px
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px
}

.product-rating i {
    color: #fbbf24;
    font-size: 10px
}

.product-rating span {
    font-size: 10px;
    color: var(--gray-500)
}

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

.price-current {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary)
}

.price-old {
    font-size: 11px;
    color: var(--gray-500);
    text-decoration: line-through
}

.express-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--yellow);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 8px
}

/* ==================== HORIZONTAL SCROLL PRODUCTS ==================== */
.horizontal-products {
    padding: 50px 0;
    background: #000;
    overflow: hidden;
    position: relative
}

.horizontal-products .section-header {
    margin-bottom: 30px
}

.horizontal-products .section-title {
    color: #fff
}

.horizontal-products .section-title span {
    color: var(--primary)
}

.horizontal-products .section-link {
    color: var(--primary)
}

.horizontal-slider-wrapper {
    position: relative;
    overflow: visible;
    padding: 0 70px
}

@media(max-width:768px) {
    .horizontal-slider-wrapper {
        padding: 0 50px
    }
}

.horizontal-track {
    display: flex;
    gap: 20px;
    cursor: grab;
    user-select: none;
    padding: 20px 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch
}

.horizontal-track::-webkit-scrollbar {
    display: none
}

.horizontal-track {
    scrollbar-width: none;
    -ms-overflow-style: none
}

.horizontal-track:active {
    cursor: grabbing
}

.horizontal-card {
    min-width: 350px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    transition: all .5s;
    scroll-snap-align: start
}

.horizontal-card:hover {
    transform: scale(1.03)
}

.horizontal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .9) 100%);
    z-index: 1
}

.horizontal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.horizontal-card:hover img {
    transform: scale(1.1)
}

.horizontal-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    color: #fff
}

.horizontal-card-tag {
    display: inline-block;
    background: var(--primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 12px
}

.horizontal-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px
}

.horizontal-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary)
}

/* Slider Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    opacity: 0;
    pointer-events: none;
    border: none;
    outline: none
}

.horizontal-products:hover .slider-nav-btn {
    opacity: 1;
    pointer-events: auto
}

.slider-nav-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1)
}

.slider-nav-btn:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95)
}

.slider-nav-btn.prev {
    left: 20px
}

.slider-nav-btn.next {
    right: 20px
}

.slider-nav-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
    pointer-events: none
}

[dir="rtl"] .slider-nav-btn.prev {
    left: auto;
    right: 20px
}

[dir="rtl"] .slider-nav-btn.next {
    right: auto;
    left: 20px
}

/* BANNERS */
.banners {
    padding: 30px 0
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.banner-card {
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
    min-height: 140px;
    position: relative;
    overflow: hidden
}

.banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, .1));
    transform: translateX(-100%);
    transition: transform .5s
}

.banner-card:hover::before {
    transform: translateX(100%)
}

.banner-card:hover {
    transform: scale(1.02)
}

.banner-1 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark))
}

.banner-2 {
    background: linear-gradient(135deg, #2d3748, #1a202c)
}

.banner-3 {
    background: linear-gradient(135deg, #7c3aed, #5b21b6)
}

.banner-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px
}

.banner-text p {
    font-size: 12px;
    opacity: .9;
    margin-bottom: 12px
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .2);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    transition: all .3s
}

.banner-card:hover .banner-btn {
    background: rgba(255, 255, 255, .3)
}

.banner-icon {
    font-size: 50px;
    transition: all .3s
}

.banner-card:hover .banner-icon {
    transform: scale(1.2) rotate(10deg)
}

/* ==================== 3D FLIP CARDS ==================== */
.flip-section {
    padding: 60px 0;
    background: var(--gray-100)
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px
}

.flip-card {
    height: 380px;
    perspective: 1000px;
    cursor: pointer
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s;
    transform-style: preserve-3d
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg)
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden
}

.flip-card-front {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1)
}

.flip-card-front img {
    width: 100%;
    height: 65%;
    object-fit: contain;
    padding: 20px;
    background: var(--gray-100)
}

.flip-card-front-content {
    padding: 15px 20px
}

.flip-card-front h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary)
}

.flip-card-front p {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary)
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #fff;
    text-align: center
}

.flip-card-back h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px
}

.flip-card-back p {
    font-size: 13px;
    opacity: .9;
    margin-bottom: 20px;
    line-height: 1.6
}

.flip-card-back .price {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px
}

.flip-card-back button {
    padding: 12px 30px;
    background: #fff;
    border: none;
    border-radius: 25px;
    color: var(--primary);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s
}

.flip-card-back button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2)
}

/* BRANDS */
.brands {
    padding: 30px 0;
    background: var(--gray-100)
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all .3s;
    min-height: 100px
}

.brand-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transform: translateY(-5px)
}

.brand-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-600);
    transition: color .3s
}

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

.brand-logo {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain
}

/* ==================== MARQUEE ==================== */
.marquee {
    background: var(--secondary);
    padding: 15px 0;
    overflow: hidden
}

.marquee-track {
    display: flex;
    animation: marquee 25s linear infinite
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
    white-space: nowrap;
    color: #fff;
    font-size: 14px;
    font-weight: 500
}

.marquee-item i {
    color: var(--primary);
    font-size: 18px
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

[dir="rtl"] .marquee-track {
    animation: marqueeRTL 25s linear infinite
}

@keyframes marqueeRTL {
    0% {
        transform: translateX(-50%)
    }

    100% {
        transform: translateX(0)
    }
}

/* FEATURES SECTION */
.features-section {
    padding: 50px 0;
    background: var(--secondary)
}

.features-section .section-title {
    color: #fff;
    text-align: center;
    margin-bottom: 30px
}

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

.feature-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all .3s;
    cursor: pointer
}

.feature-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--primary);
    transform: translateY(-10px)
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #fff;
    transition: all .3s
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg)
}

.feature-card h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px
}

.feature-card p {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.5
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 60px 0;
    background: #fff
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 40px
}

.testimonials .section-title span {
    color: var(--primary)
}

.testimonials-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory
}

.testimonials-track::-webkit-scrollbar {
    display: none
}

.testimonial-card {
    min-width: 350px;
    padding: 30px;
    background: var(--gray-100);
    border-radius: 16px;
    scroll-snap-align: start;
    transition: all .3s
}

.testimonial-card:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
    transform: translateY(-5px)
}

.testimonial-stars {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 15px
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700
}

.testimonial-info h4 {
    font-weight: 600;
    font-size: 14px
}

.testimonial-info p {
    font-size: 12px;
    color: var(--gray-500)
}

/* APP SECTION */
.app-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden
}

.app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, .05);
    transform: rotate(-20deg)
}

.app-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1
}

.app-text {
    color: #fff;
    max-width: 500px
}

.app-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px
}

.app-text p {
    font-size: 14px;
    opacity: .9;
    margin-bottom: 20px
}

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

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, .3);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all .3s
}

.app-btn:hover {
    background: rgba(0, 0, 0, .5);
    transform: translateY(-3px)
}

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

.app-btn-text {
    text-align: left
}

.app-btn-text span {
    display: block;
    font-size: 10px;
    opacity: .8
}

.app-btn-text strong {
    font-size: 14px
}

.app-image {
    font-size: 150px;
    color: rgba(255, 255, 255, .2)
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }

    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .phone-showcase .container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .phone-info {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .phone-features {
        align-items: center;
    }

    .phone-price {
        justify-content: center;
    }

    .phone-cta {
        justify-content: center;
    }

    .phone-feature {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-banner {
        aspect-ratio: 2.5/1;
        height: auto;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .banner-card:last-child {
        grid-column: span 2;
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .hero-slider {
        aspect-ratio: 2/1;
        min-height: auto;
    }

    .slide-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 40px 20px;
    }

    .slide-fullimg .slide-inner {
        padding: 20px;
    }

    .slide-content {
        margin-bottom: 30px;
        width: 100%;
    }

    .slide-image {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }

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

    .hero-side {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        aspect-ratio: 3/1;
        height: auto;
    }

    .banner-card:last-child {
        grid-column: auto;
    }

    .usp-bar .container {
        justify-content: flex-start;
        padding: 10px 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .usp-item {
        min-width: 220px;
        flex: 0 0 auto;
        background: var(--gray-100);
        padding: 15px;
        border-radius: 10px;
        scroll-snap-align: start;
    }

    .usp-bar ::-webkit-scrollbar {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-link {
        align-self: flex-end;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 15px 5px;
    }

    .app-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 30px 0;
    }

    .app-buttons {
        justify-content: center;
    }

    .app-image i {
        font-size: 100px;
    }

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

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

    .flip-card {
        height: 350px;
    }

    .horizontal-card {
        min-width: 260px;
        height: 360px;
    }

    .horizontal-slider-wrapper {
        padding: 0;
    }

    .slider-nav-btn {
        display: none;
    }

    .testimonial-card {
        min-width: 280px;
    }
}

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

    .hero-slider {
        aspect-ratio: 16/9;
        min-height: auto;
    }

    .hero-banner {
        aspect-ratio: 2.5/1;
        height: auto;
    }

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

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

    .product-card {
        min-width: 160px;
        max-width: 160px;
    }

    .phone-title {
        font-size: 24px;
    }

    .phone-price .current {
        font-size: 26px;
    }

    .phone-visual {
        min-height: 300px;
    }

    .phone-wrapper img {
        width: 180px;
    }

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

/* =====================================================================
   RAMADAN LATEST PRODUCTS SECTION
   ===================================================================== */

/* ---------- Section shell ---------- */
.ramadan-latest {
    position: relative;
    padding: 80px 0 0;
    background: linear-gradient(160deg, #1a0533 0%, #0d1b4b 45%, #0b1535 100%);
    overflow: hidden;
}

/* ---------- Geometric tile background ---------- */
.ramadan-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212,175,55,.06) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(106,13,173,.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30Z' fill='none' stroke='rgba(212,175,55,0.06)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='rgba(212,175,55,0.05)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: auto, auto, 60px 60px;
    pointer-events: none;
}

/* ---------- Lanterns ---------- */
.ramadan-lanterns {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

.lantern {
    position: absolute;
    top: -10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lanternSway 4s ease-in-out infinite;
    transform-origin: top center;
}
.lantern-1 { left: 5%;  animation-delay: 0s;    animation-duration: 4.2s; }
.lantern-2 { left: 50%; transform: translateX(-50%); animation-delay: -1.5s; animation-duration: 3.8s; }
.lantern-3 { right: 5%; animation-delay: -0.8s; animation-duration: 4.5s; }

.lantern-string {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(212,175,55,.6), rgba(212,175,55,.2));
}

.lantern-body {
    width: 28px;
    height: 38px;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 40%, #8e1a0e 100%);
    border-radius: 4px 4px 8px 8px;
    position: relative;
    box-shadow: 0 0 18px rgba(231,76,60,.5), 0 0 40px rgba(231,76,60,.2);
    border: 1px solid rgba(212,175,55,.4);
}

.lantern-body::before,
.lantern-body::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 6px;
    background: linear-gradient(135deg, #D4AF37, #f5d060, #D4AF37);
    border-radius: 2px;
}
.lantern-body::before { top: -4px; }
.lantern-body::after  { bottom: -4px; }

.lantern-glow {
    position: absolute;
    inset: 4px;
    background: radial-gradient(ellipse, rgba(255,200,80,.5) 0%, transparent 70%);
    border-radius: 4px;
    animation: lanternPulse 2s ease-in-out infinite alternate;
}

.lantern-flame {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ffe066 0%, #ffa500 60%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    margin-top: 4px;
    animation: lanternPulse 1.5s ease-in-out infinite alternate;
    filter: blur(1px);
}

@keyframes lanternSway {
    0%, 100% { transform: rotate(-4deg); }
    50%       { transform: rotate(4deg); }
}
.lantern-2 { animation-name: lanternSwayCenter; }
@keyframes lanternSwayCenter {
    0%, 100% { transform: translateX(-50%) rotate(-3deg); }
    50%       { transform: translateX(-50%) rotate(3deg); }
}
@keyframes lanternPulse {
    from { opacity: .6; }
    to   { opacity: 1; }
}

/* ---------- Crescent & stars ---------- */
.ramadan-sky {
    position: absolute;
    top: 18px;
    right: 12%;
    pointer-events: none;
    z-index: 1;
}

.crescent {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    box-shadow: -12px 2px 0 2px #D4AF37;
    filter: drop-shadow(0 0 8px rgba(212,175,55,.7));
    animation: crescentGlow 3s ease-in-out infinite alternate;
}

@keyframes crescentGlow {
    from { filter: drop-shadow(0 0 6px rgba(212,175,55,.5)); }
    to   { filter: drop-shadow(0 0 14px rgba(212,175,55,.9)); }
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite alternate;
}
.star-1 { width:3px; height:3px; top:-12px; left:20px;  animation-delay:0s;   }
.star-2 { width:2px; height:2px; top:-20px; left:60px;  animation-delay:.4s;  }
.star-3 { width:2px; height:2px; top: 10px; left:70px;  animation-delay:.8s;  }
.star-4 { width:3px; height:3px; top: 30px; left:-20px; animation-delay:1.2s; }
.star-5 { width:2px; height:2px; top:-5px;  left:-35px; animation-delay:1.6s; }

@keyframes twinkle {
    from { opacity: .3; transform: scale(.8); }
    to   { opacity: 1;  transform: scale(1.2); }
}

/* ---------- Section header ---------- */
.ramadan-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.ramadan-ornament {
    display: block;
    width: 200px;
    margin: 0 auto 8px;
}
.ramadan-ornament-flip {
    transform: scaleX(-1);
    margin-top: 8px;
    margin-bottom: 0;
}

.ramadan-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 10px;
}
.ramadan-eyebrow i { margin-right: 6px; }

.ramadan-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 0 30px rgba(212,175,55,.3);
}

.ramadan-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    margin: 0 0 16px;
}

.ramadan-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #D4AF37;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(212,175,55,.4);
    padding: 7px 18px;
    border-radius: 20px;
    transition: all .3s;
    background: rgba(212,175,55,.06);
}
.ramadan-view-all:hover {
    background: rgba(212,175,55,.18);
    border-color: #D4AF37;
    gap: 10px;
    color: #f5d060;
}

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

/* ---------- Product card ---------- */
.ramadan-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s;
}

.ramadan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,.4), 0 0 30px rgba(212,175,55,.15);
}

.ramadan-card-inner {
    background: linear-gradient(160deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    position: relative;
}

.ramadan-card:hover .ramadan-card-inner {
    border-color: rgba(212,175,55,.45);
}

/* "NEW" badge */
.ramadan-new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: linear-gradient(135deg, #D4AF37, #f5d060);
    color: #1a0533;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 4px;
}
.ramadan-new-badge i { font-size: 7px; margin-right: 2px; }

/* Discount badge */
.ramadan-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: #e53e3e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
}

/* Image area */
.ramadan-card-image {
    position: relative;
    height: 180px;
    background: rgba(255,255,255,.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.ramadan-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .5s;
    position: relative;
    z-index: 1;
}
.ramadan-card:hover .ramadan-card-image img {
    transform: scale(1.08) rotate(2deg);
}

/* Shimmer sweep on hover */
.ramadan-card-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(212,175,55,.12) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    z-index: 2;
}
.ramadan-card:hover .ramadan-card-shimmer {
    transform: translateX(100%);
}

/* Text body */
.ramadan-card-body {
    padding: 14px 16px 0;
}

.ramadan-brand {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 4px;
}

.ramadan-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ramadan-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ramadan-price-current {
    font-size: 15px;
    font-weight: 800;
    color: #D4AF37;
}

.ramadan-price-old {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    text-decoration: line-through;
}

/* Footer CTA */
.ramadan-card-footer {
    padding: 10px 16px 14px;
}

.ramadan-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(212,175,55,.7);
    transition: all .3s;
}
.ramadan-card:hover .ramadan-cta {
    color: #D4AF37;
    gap: 10px;
}

/* Corner geometric accent */
.ramadan-card-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: conic-gradient(from 45deg, rgba(212,175,55,.15), transparent 90deg, rgba(212,175,55,.08), transparent);
    border-top-left-radius: 40px;
    pointer-events: none;
}

/* ---------- Arch wave divider at bottom ---------- */
.ramadan-arch-divider {
    position: relative;
    margin-top: 60px;
    line-height: 0;
}
.ramadan-arch-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ramadan-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ramadan-latest {
        padding-top: 60px;
    }
    .ramadan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .ramadan-title {
        font-size: 24px;
    }
    .lantern-1, .lantern-3 {
        display: none;
    }
    .ramadan-sky {
        right: 4%;
    }
}

@media (max-width: 480px) {
    .ramadan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ramadan-card-image {
        height: 140px;
    }
}
