:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #7dd3fc;
    --secondary: #e0f2fe;
    --accent: #0ea5e9;
    --accent-2: #0284c7;
    --bg: #f0f9ff;
    --bg-2: #e0f2fe;
    --card-bg: #ffffff;
    --text: #0c4a6e;
    --text-light: #0ea5e9;
    --border: #e0f2fe;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-hero: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 50%, #0ea5e9 100%);
    --gradient-header: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    --gradient-button: linear-gradient(135deg, #0ea5e9, #0284c7);
    --gradient-footer: linear-gradient(135deg, #e0f2fe, #0ea5e9);
    --shadow-card: 0 4px 20px rgba(14, 165, 233, 0.1);
    --shadow-button: 0 4px 15px rgba(14, 165, 233, 0.3);
    --shadow-header: 0 2px 20px rgba(14, 165, 233, 0.08);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
        background: var(--bg);
        color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
@keyframes bgShift {
    0% { background-position: 0% 50%, center; }
    50% { background-position: 100% 50%, center; }
    100% { background-position: 0% 50%, center; }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}
.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}
.animate-slide-in {
    animation: slideInRight 0.5s ease forwards;
}
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
}
button, input, select, textarea {
    font-family: inherit;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.btn:hover::before {
    left: 100%;
}
.btn-primary {
    background: var(--gradient-button) !important;
    color: white;
    box-shadow: var(--shadow-button) !important;
    border: 2px solid transparent;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-button) !important;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.header {
    background: var(--gradient-header);
    box-shadow: var(--shadow-header);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.top-bar {
    background: var(--primary-dark, #1f2937);
    padding: 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: none;
}
.top-bar .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.top-bar-right,
.top-bar-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    width: auto !important;
}
.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.top-bar-right .divider {
    color: rgba(255, 255, 255, 0.3);
}
.top-bar-left .social-links {
    display: flex;
    gap: 8px;
}
.top-bar-left .social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}
.top-bar-left .social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.header-main {
    background: var(--gradient-header) !important;
    box-shadow: var(--shadow-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
}
.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform var(--transition-normal);
}
.logo:hover {
    transform: scale(1.02);
}
.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 5px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
}
.search-box {
    flex: 1;
    max-width: 550px;
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 14px 55px 14px 22px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    background: var(--card-bg);
    transition: all 0.3s ease;
}
.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.15);
}
.search-box button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-box button:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-action {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 16px;
    border-radius: 50px;
    background: white;
    border: 1px solid var(--border);
}
.header-action:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(225, 29, 72, 0.05);
    transform: translateY(-2px);
}
.header-action .action-icon {
    font-size: 18px;
}
.header-action .action-text {
    font-size: 12px;
    font-weight: 600;
}
.action-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
    right: 0;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}
.mobile-menu-btn:hover {
    background: rgba(244, 114, 182, 0.1);
    color: var(--primary);
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-bar {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.main-nav {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}
.main-nav li {
    position: relative;
}
.main-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}
.main-nav a:hover {
    background: var(--bg);
    color: var(--primary);
}
.nav-categories {
    position: relative;
}
.category-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.nav-categories:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.category-dropdown li {
    margin: 0;
}
.category-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s;
}
.category-dropdown a:hover {
    background: var(--bg);
    color: var(--primary);
}
.hero {
    background: var(--gradient-hero);
    padding: 80px 0;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text);
}
.hero p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 36px;
    color: var(--text);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(225,29,72,0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card:hover::after {
    opacity: 1;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.15);
}
.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.03) 100%);
    z-index: 1;
    pointer-events: none;
}
.product-image-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    text-decoration: none;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-image img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}
.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s;
    z-index: 3;
}
.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}
.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--card-bg);
    color: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}
.product-actions button:hover {
    background: var(--primary);
    color: white;
}
.product-info {
    padding: 20px;
}
.product-category {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}
.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}
.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}
.old-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}
.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}
.rating stars {
    color: #ffc107;
}
.rating span {
    font-size: 14px;
    color: var(--text-light);
}
.product-footer {
    padding: 20px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.product-footer a {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    margin-right: 20px;
}
.features-section {
    padding: 60px 0;
    background: var(--card-bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}
.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}
.feature-text p {
    color: #4b5563;
    font-size: 14px;
    margin: 0;
}
.banner-section {
    padding: 60px 0;
}
.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.banner-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s;
}
.banner-card:hover {
    transform: translateY(-5px);
}
.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 30px;
}
.banner-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}
.banner-content p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}
.product-card-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}
.btn-card-buy {
    flex: 1;
    background: var(--gradient-button);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-card-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}
.btn-card-view {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-card-view:hover {
    background: var(--primary);
    color: white;
}
.newsletter {
    background: var(--gradient-footer);
    padding: 60px 0;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg);
    font-size: 16px;
}
.newsletter-form button {
    background: var(--gradient-button);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    padding: 0;
    margin-top: 60px;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-button);
    background-size: 200% 100%;
    animation: footerGradient 3s ease infinite;
}
@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.footer-top {
    background: transparent;
    padding: 60px 0 30px;
}
.footer-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary);
}
.feature-item i {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}
.feature-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--primary);
}
.feature-item p {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
    color: var(--text);
}
.footer-main {
    padding: 50px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.footer-col h3 {
    margin-bottom: 15px;
    color: var(--text);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.footer-logo img {
    height: 50px;
    border-radius: 10px;
}
.footer-logo h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.footer-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-info {
    display: flex;
    flex-direction: column;
}
.contact-info .label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.contact-info a,
.contact-info span {
    color: var(--text);
    font-weight: 500;
}
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.social-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}
.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.whatsapp { background: #25d366; }
.social-link.tiktok { background: #000; }
.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.footer-heading i {
    color: var(--primary);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 0;
}
.footer-links a i {
    font-size: 10px;
    color: var(--primary);
}
.footer-links a:hover {
    color: var(--primary);
    padding-right: 8px;
}
.contact-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #25d366, #20b857);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}
.contact-support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    color: white;
}
.newsletter-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: var(--card-bg);
    color: var(--text);
}
.newsletter-form input:focus {
    border-color: var(--primary);
}
.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}
.newsletter-form button:hover {
    background: var(--secondary);
    transform: scale(1.05);
}
.newsletter-badges img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.newsletter-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.newsletter-link:hover {
    color: var(--secondary);
}
.newsletter-link i {
    font-size: 16px;
}
.footer-bottom {
    background: rgba(0,0,0,0.03);
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.copyright p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}
.footer-payments {
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-payments span {
    font-size: 13px;
    color: var(--text-light);
}
.payment-icons {
    display: flex;
    gap: 8px;
}
.payment-icons i {
    font-size: 24px;
    color: #666;
}
.footer-powered p {
    margin: 0;
    font-size: 13px;
    color: var(--text-light);
}
.footer-powered i {
    color: #e94560;
    margin: 0 3px;
}
@media (max-width: 992px) {
    .footer-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .footer-features {
        grid-template-columns: 1fr;
    }
    .feature-item {
        justify-content: center;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .contact-item {
        justify-content: center;
    }
    .footer-heading {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 200px;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.category-card:hover img {
    transform: scale(1.05);
}
.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s;
}
.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(225,29,72,0.9) 0%, rgba(225,29,72,0.4) 50%, rgba(225,29,72,0.1) 100%);
}
.category-card-overlay h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.4;
}
.category-card-overlay .category-count {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
}
.category-card-default {
    display: none;
}
.category-card.no-image .category-card-overlay {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.category-card.no-image .category-card-overlay h3 {
    text-align: center;
    width: 100%;
}
@media (max-width: 768px) {
    .category-card {
        height: 140px;
    }
    .category-card-overlay {
        padding: 12px;
    }
    .category-card-overlay h3 {
        font-size: 14px;
    }
}
.breadcrumb {
    padding: 20px 0;
    color: var(--text-light);
}
.breadcrumb a {
    color: var(--primary);
}
.filters {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}
.filter-group {
    margin-bottom: 20px;
}
.filter-group h4 {
    margin-bottom: 15px;
    color: var(--text);
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-option {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-option:hover,
.filter-option.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}
.price-range input {
    width: 100px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.product-detail {
    padding: 40px 0;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.product-gallery {
    position: sticky;
    top: 120px;
}
.main-image {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: white;
    aspect-ratio: 1;
}
.thumbnails {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}
.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}
.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}
.detail-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
    margin: 20px 0;
}
.detail-description {
    color: var(--text-light);
    line-height: 1.8;
    margin: 20px 0;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    background: var(--bg);
    padding: 8px;
    border-radius: 50px;
    width: fit-content;
}
.quantity-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.quantity-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}
.quantity-input {
    width: 60px;
    text-align: center;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    background: transparent;
}
.detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.product-meta {
    margin-top: 40px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
}
.meta-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.meta-label {
    font-weight: 600;
    color: var(--text);
}
.meta-value {
    color: var(--text-light);
}
.cart-page {
    padding: 50px 0;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cart-items h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.cart-item:hover {
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.1);
}
.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-details {
    flex: 1;
}
.cart-item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.cart-item-details h3 a {
    color: var(--text);
    transition: color 0.3s;
}
.cart-item-details h3 a:hover {
    color: var(--primary);
}
.cart-item-price {
    color: var(--text-light);
    font-size: 14px;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cart-item-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 100px;
    text-align: right;
}
.btn-remove {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--bg);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-remove:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: scale(1.1);
}
.cart-summary {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 120px;
}
.cart-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}
.summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--border);
    padding-top: 15px;
    margin-top: 20px;
}
.free-shipping-progress {
    background: var(--bg);
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
}
.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
}
.progress-text span:last-child {
    color: var(--primary);
    font-weight: 600;
}
.progress-bar {
    height: 8px;
    background: var(--border, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--gradient-button);
    border-radius: 10px;
    transition: width 0.5s ease;
}
.checkout-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
    background: white;
}
.alert {
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 1px solid #34d399;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.alert-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 1px solid #f87171;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}
.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    transition: all 0.3s;
}
.pagination a:hover,
.pagination span.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}
.tab {
    padding: 15px 0;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
}
.tab.active {
    color: var(--primary);
}
.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}
.review-card {
    background: var(--bg);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.review-author {
    font-weight: 600;
}
.review-date {
    color: var(--text-light);
    font-size: 14px;
}
.mobile-nav {
    display: none;
}
.mobile-nav-overlay {
    display: none;
}
.bottom-nav {
    display: none;
}
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-actions .action-text {
        display: none;
    }
    .nav-bar {
        display: none;
    }
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--card-bg);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 2000;
        overflow-y: auto;
        display: block;
    }
    .mobile-nav.active {
        right: 0;
    }
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }
    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: var(--primary);
        font-weight: 700;
    }
    .mobile-logo img {
        height: 40px;
        width: auto;
    }
    .mobile-nav-close {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text);
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s;
    }
    .mobile-nav-close:hover {
        background: var(--bg);
        color: var(--primary);
    }
    .mobile-search {
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }
    .mobile-search form {
        display: flex;
        gap: 10px;
    }
    .mobile-search input {
        flex: 1;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 8px;
        font-size: 16px;
    }
    .mobile-search button {
        padding: 12px 20px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }
    .mobile-search button:hover {
        background: var(--primary-dark);
    }
    .mobile-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-menu li {
        border-bottom: 1px solid var(--border);
    }
    .mobile-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        color: var(--text);
        text-decoration: none;
        font-size: 16px;
        transition: background 0.3s;
    }
    .mobile-menu a:hover {
        background: var(--bg);
        color: var(--primary);
    }
    .mobile-divider {
        height: 1px;
        background: var(--border);
        margin: 10px 0;
    }
    .mobile-category-title {
        padding: 15px 20px;
        color: var(--text-light);
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .mobile-count {
        background: var(--primary);
        color: white;
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 10px;
        font-weight: 600;
    }
    .mobile-nav-footer {
        padding: 20px;
        border-top: 1px solid var(--border);
        text-align: center;
    }
    .mobile-social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }
    .mobile-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bg);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        text-decoration: none;
        transition: all 0.3s;
    }
    .mobile-social a:hover {
        background: var(--primary);
        color: white;
    }
    .mobile-nav-footer p {
        color: var(--text-light);
        font-size: 14px;
        margin: 0;
    }
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: var(--card-bg);
        border-top: 1px solid var(--border);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 8px 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: var(--text-light);
        text-decoration: none;
        font-size: 12px;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s;
        min-width: 60px;
    }
    .bottom-nav-item:hover,
    .bottom-nav-item.active {
        color: var(--primary);
        background: rgba(244, 114, 182, 0.1);
    }
    .nav-icon-badge {
        position: relative;
    }
    .nav-icon-badge .badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: var(--primary);
        color: white;
        font-size: 10px;
        font-weight: 600;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
    }
    .container {
        padding: 0 15px;
    }
    .hero {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .section-title {
        font-size: 28px;
        margin: 40px 0 30px;
    }
}