/*
==================================================
  متجر نوادر - Custom CSS
  Modern E-commerce Design with RTL Support
==================================================
*/

/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Primary Colors - Deep Violet/Purple */
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --primary-lighter: #ede9fe;
    
    /* Secondary Colors */
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    
    /* Neutral Colors */
    --bg-color: #ffffff;
    --bg-gray: #f9fafb;
    --bg-light: #f3f4f6;
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Border & Shadow */
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== GENERAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

/* ==================== NAVBAR ==================== */
.navbar {
    transition: all var(--transition-normal);
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
}

/* Logo reset + responsive sizing */
.site-header {
    overflow: visible !important;
}

.site-logo,
.site-logo * {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: visible !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0;
}

.site-logo svg {
    width: 150px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.site-logo::before,
.site-logo::after {
    display: none !important;
    content: none !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: lowercase;
    color: var(--primary-color);
}

.logo-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .site-logo svg {
        width: 120px;
    }
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
    padding: 0.25rem 0.5rem;
}

.brand-text-section {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.brand-sub-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: -2px;
    font-style: italic;
}

.brand-logo-wrapper {
    position: relative;
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    border: 3px solid rgba(124, 58, 237, 0.15);
    animation: subtle-pulse 4s ease-in-out infinite;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

.navbar-brand:hover .brand-logo-wrapper {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.18));
    border-color: rgba(124, 58, 237, 0.25);
}

.navbar-brand:hover .brand-logo {
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.18));
    transform: rotate(5deg);
}

.navbar-brand:hover .brand-main-text {
    color: var(--secondary-color);
    letter-spacing: 0px;
}

.navbar-brand:hover .brand-sub-text {
    color: var(--primary-color);
}

/* Logo Animation */
@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
        border-color: rgba(124, 58, 237, 0.15);
    }
    50% {
        box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
        border-color: rgba(124, 58, 237, 0.2);
    }
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    background-color: var(--primary-lighter);
    color: var(--primary-color);
}

/* Search Bar */
.search-form {
    position: relative;
    min-width: 300px;
}

.search-input {
    border-radius: 25px;
    border: 2px solid var(--border-color);
    padding: 0.5rem 3rem 0.5rem 1.5rem;
    transition: var(--transition-fast);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-lighter);
}

.btn-search {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Icon */
.cart-icon-link {
    position: relative;
    margin-right: 1rem;
}

.cart-icon-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

.cart-icon-wrapper:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

/* WhatsApp Header Icon */
.whatsapp-header-link {
    position: relative;
    margin-left: 1rem;
    text-decoration: none;
}

.whatsapp-header-wrapper {
    position: relative;
    background: #25d366;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
}

.whatsapp-header-wrapper i {
    font-size: 1.2rem;
}

.whatsapp-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.whatsapp-header-wrapper:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    border-color: rgba(37, 211, 102, 0.2);
}

.whatsapp-header-link:hover {
    text-decoration: none;
}

/* Responsive WhatsApp Header */
@media (max-width: 768px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-header-wrapper {
        padding: 10px;
        border-radius: 50%;
        width: 45px;
        height: 45px;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 4s ease-in-out infinite;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.hero-decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    background-color: white;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    background-color: var(--bg-gray);
}

.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Product Cards */
.product-card {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.product-body {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    background-color: var(--primary-lighter);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price .price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.product-price .currency {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Offer/Discount Pricing */
.product-price .price-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-price .original-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
}

.product-price .text-success {
    font-size: 1.6rem;
    font-weight: 900;
    color: #27ae60 !important;
}

.offer-badge {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-add-cart:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-add-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 58, 237, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* إخفاء الـ overlay على الموبايل لتجنب التعارض مع أزرار السلة */
@media (max-width: 768px) {
    .product-overlay {
        display: none !important;
    }
}

/* Empty State */
.empty-state {
    padding: 5rem 2rem;
}

.empty-state i {
    font-size: 6rem;
    color: var(--text-light);
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-input {
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.newsletter-btn {
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 2rem;
    font-weight: 600;
    background-color: var(--text-primary);
    border-color: var(--text-primary);
}

.newsletter-btn:hover {
    background-color: #111827;
    border-color: #111827;
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail-section {
    background-color: white;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.product-detail-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-detail-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.product-detail-image:hover {
    transform: scale(1.05);
}

.stock-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.stock-available {
    background-color: rgba(34, 197, 94, 0.9);
    color: white;
}

.stock-low {
    background-color: rgba(251, 191, 36, 0.9);
    color: white;
}

.stock-out {
    background-color: rgba(239, 68, 68, 0.9);
    color: white;
}

.product-detail-info {
    padding: 2rem 0;
}

.product-detail-category {
    display: inline-block;
    background-color: var(--primary-lighter);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-icon {
    color: #fbbf24;
    font-size: 1.2rem;
}

.rating-count {
    margin-right: 0.5rem;
    color: var(--text-secondary);
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Discount Section Styling */
.discount-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(46, 204, 113, 0.1));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.original-price-wrapper {
    display: flex;
    align-items: center;
}

.original-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
}

.discount-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.discount-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    animation: pulse-animation 2s infinite;
    white-space: nowrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #27ae60;
}

.description-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.description-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.stock-info {
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.btn-add-to-cart {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 700;
    transition: var(--transition-fast);
}

.btn-add-to-cart:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.product-features {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Product Tabs */
.product-tabs {
    border-bottom: 2px solid var(--border-color);
}

.product-tabs .nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 2rem;
}

.product-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: transparent;
}

.product-tab-content {
    padding: 2rem;
    background-color: white;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.specifications-table th {
    width: 30%;
    font-weight: 700;
    color: var(--text-primary);
}

.shipping-list {
    list-style: none;
    padding: 0;
}

.shipping-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
}

/* ==================== CART PAGE ==================== */
.cart-section {
    background-color: var(--bg-gray);
    min-height: 70vh;
}

.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cart-items-wrapper {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cart-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image-wrapper {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.cart-item-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cart-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cart-item-title a:hover {
    color: var(--primary-color);
}

.cart-item-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cart-item-price-mobile {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 0.5rem;
}

.cart-item-subtotal {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.currency-small {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.qty-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.qty-input {
    width: 60px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem;
    font-weight: 700;
}

.btn-update-qty {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.btn-update-qty:hover {
    background-color: var(--primary-lighter);
    color: var(--primary-color);
}

.btn-remove-item {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.btn-remove-item:hover {
    color: #ef4444;
    transform: scale(1.2);
}

/* Order Summary */
.order-summary {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.sticky-summary {
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.summary-content {
    margin-top: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.summary-value {
    font-weight: 700;
    color: var(--text-primary);
}

.summary-divider {
    margin: 1.5rem 0;
    border-color: var(--border-color);
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
}

.summary-total .total-amount {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.btn-checkout {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 700;
    padding: 1rem;
    transition: var(--transition-fast);
}

.btn-checkout:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Empty Cart */
.empty-cart {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 5rem 2rem;
}

.empty-cart-icon {
    font-size: 6rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.empty-cart-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-cart-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-section {
    background-color: var(--bg-gray);
    min-height: 80vh;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid var(--border-color);
    transition: var(--transition-fast);
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
}

.step.completed .step-number {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.step.active .step-label {
    color: var(--primary-color);
}

.step-line {
    width: 80px;
    height: 3px;
    background-color: var(--border-color);
    margin: 0 1rem;
}

.step-line.completed {
    background-color: var(--primary-color);
}

/* Checkout Card */
.checkout-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.checkout-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control-lg {
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-lighter);
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    cursor: pointer;
}

.payment-method.active {
    border-color: var(--primary-color);
    background-color: var(--primary-lighter);
}

.payment-method.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-info {
    flex: 1;
}

.payment-info h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.payment-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.payment-check {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transition: var(--transition-fast);
}

.payment-method.active .payment-check {
    opacity: 1;
}

/* Checkout Summary */
.checkout-summary {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.summary-items {
    max-height: 400px;
    overflow-y: auto;
    padding-left: 0.5rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.item-image {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-quantity {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
}

.item-details {
    flex: 1;
}

.item-details h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.item-details p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.85rem;
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.summary-breakdown {
    margin: 1.5rem 0;
}

.btn-place-order {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 700;
    padding: 1rem;
    transition: var(--transition-fast);
}

.btn-place-order:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.security-badge i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==================== ORDER SUCCESS PAGE ==================== */
.order-success-section {
    background-color: var(--bg-gray);
    min-height: 80vh;
}

.success-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.success-icon-wrapper {
    margin-bottom: 2rem;
}

.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-icon i {
    font-size: 4rem;
    color: white;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.order-number-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.order-label {
    font-size: 1rem;
    opacity: 0.9;
}

.order-number {
    font-size: 3rem;
    font-weight: 900;
    margin-top: 0.5rem;
}

.order-details-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: right;
}

.details-title {
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.total-value {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Timeline */
.steps-title {
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.steps-timeline {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.timeline-step {
    flex: 1;
    text-align: center;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--primary-lighter);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.timeline-content h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== MOBILE SEARCH BAR ==================== */
#mobileSearchBar {
    animation: slideDown 0.3s ease;
}

#mobileSearchBar .form-control {
    border-radius: 8px 0 0 8px;
    border: 1px solid #dee2e6;
    font-size: 0.95rem;
}

#mobileSearchBar .btn {
    border-radius: 0 8px 8px 0;
    padding: 0.6rem 1.2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 75%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 25%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 15s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed 0%, #ec4899 50%, #3b82f6 100%);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; box-shadow: 0 0 15px rgba(124, 58, 237, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 25px rgba(236, 72, 153, 0.6); }
}

.footer-text {
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0.5rem 0.75rem 0.5rem 0;
    border-radius: 6px;
}

.footer-links a::before {
    content: '◆';
    position: absolute;
    right: -18px;
    font-size: 0.6rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(5px);
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: #ffffff;
    padding-right: 1.5rem;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(236, 72, 153, 0.4));
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #3b82f6 100%);
    color: white;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4), 0 0 25px rgba(236, 72, 153, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon:hover::before {
    width: 200%;
    height: 200%;
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.footer-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(124, 58, 237, 0.3) 20%,
        rgba(236, 72, 153, 0.4) 50%,
        rgba(124, 58, 237, 0.3) 80%,
        transparent 100%);
    margin: 3rem 0 2rem;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
    animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerGlow {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
    }
    50% { 
        opacity: 0.7;
        box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
    }
}

.footer-copyright {
    color: #cbd5e1;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Contact Info Styling */
.contact-info {
    margin-top: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.06));
    border-radius: 12px;
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.12));
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.2), inset 0 0 15px rgba(124, 58, 237, 0.1);
}

.contact-item i {
    font-size: 1.3rem;
    margin-left: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px currentColor);
}

.contact-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-normal);
    flex: 1;
    font-weight: 500;
}

.contact-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.contact-text {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
    font-weight: 500;
}

/* App Download Buttons */
.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.2rem;
}

.app-store-btn,
.google-play-btn {
    display: inline-block;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.08));
    border: 1.5px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.app-store-btn:hover,
.google-play-btn:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.15));
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3), 0 0 20px rgba(236, 72, 153, 0.2);
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    margin-top: 2rem;
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
    letter-spacing: 0.5px;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* ===== Large Tablets & Small Laptops (max-width: 1199px) ===== */
@media (max-width: 1199px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .product-image-wrapper {
        height: 220px;
    }
}

/* ===== Tablets (max-width: 991px) ===== */
@media (max-width: 991px) {
    .container {
        padding: 0 1.5rem;
    }
    
    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .brand-logo-wrapper {
        width: 75px;
        height: 75px;
    }
    
    .search-form {
        min-width: 200px;
        margin-top: 1rem;
        width: 100%;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        box-shadow: var(--shadow-md);
    }
    
    /* Hero Section */
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Product Cards */
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    /* Product Detail */
    .product-detail-title {
        font-size: 2rem;
    }
    
    .product-detail-image {
        margin-bottom: 2rem;
    }
    
    /* Checkout */
    .checkout-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step-line {
        display: none;
    }
    
    /* Features */
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* ===== Mobile & Tablets Portrait (max-width: 768px) ===== */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Navbar */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .brand-logo-wrapper {
        width: 65px;
        height: 65px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        padding: 0.25rem;
    }
    
    .cart-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .cart-badge {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .search-form {
        margin-top: 0.75rem;
    }
    
    .search-input {
        font-size: 14px;
        padding: 0.5rem 2.5rem 0.5rem 1rem;
    }
    
    .btn-search {
        width: 35px;
        height: 35px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 50px 0 40px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-image img {
        margin-top: 2rem;
    }
    
    /* Sections */
    .section-header {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .section-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
    
    /* Product Cards */
    .product-card {
        margin-bottom: 1.25rem;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-body {
        padding: 1.25rem;
    }
    
    .product-category {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .product-price .price {
        font-size: 1.3rem;
    }
    
    .product-price .original-price {
        font-size: 1rem;
    }
    
    .product-price .text-success {
        font-size: 1.4rem;
    }
    
    /* Product Detail Page */
    .product-detail-title {
        font-size: 1.75rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
    
    .product-actions .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    /* Forms */
    .form-control,
    .form-select,
    .form-control-lg {
        font-size: 14px;
        padding: 0.65rem 0.85rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    label {
        font-size: 0.9rem;
    }
    
    /* Payment Methods */
    .payment-method-label {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .payment-info h6 {
        font-size: 0.95rem;
    }
    
    .payment-info p {
        font-size: 0.85rem;
    }
    
    /* Checkout Summary */
    .checkout-summary {
        padding: 1.5rem;
    }
    
    .summary-items {
        max-height: 300px;
    }
    
    .summary-item {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }
    
    .item-image {
        width: 50px;
        height: 50px;
    }
    
    .item-details h6 {
        font-size: 0.9rem;
    }
    
    .item-details p {
        font-size: 0.8rem;
    }
    
    .item-price {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.95rem;
        padding: 0.65rem 1.25rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-sm {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    /* Tables */
    .table {
        font-size: 0.9rem;
    }
    
    .table thead th {
        font-size: 0.85rem;
        padding: 0.65rem;
    }
    
    .table tbody td {
        padding: 0.65rem;
        font-size: 0.9rem;
    }
    
    /* Make tables scroll horizontally on mobile */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Specifications Table */
    .specifications-table {
        font-size: 0.85rem;
    }
    
    .specifications-table th,
    .specifications-table td {
        padding: 0.6rem;
    }
    
    /* Checkout */
    .steps-timeline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkout-step {
        width: 100%;
    }
    
    .sticky-summary {
        position: static;
        margin-top: 2rem;
    }
    
    .order-summary {
        margin-top: 1.5rem;
    }
    
    /* Cart Page */
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .cart-item-image {
        width: 100%;
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .cart-item-details {
        width: 100%;
    }
    
    .cart-item-actions {
        width: 100%;
        margin-top: 1rem;
        flex-direction: row;
        justify-content: space-between;
    }
    
    /* Alerts & Messages */
    .alert {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    /* Badges */
    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.65rem;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand {
        padding: 1rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-title::after {
        width: 35px;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .social-icons {
        gap: 0.75rem;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-item i {
        font-size: 1.1rem;
    }
    
    .contact-link,
    .contact-text {
        font-size: 0.9rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    .app-downloads {
        align-items: center;
    }
    
    .app-store-btn,
    .google-play-btn {
        padding: 0.6rem 0.85rem;
        width: 100%;
        max-width: 250px;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
    
    /* WhatsApp Float Button */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        left: 20px;
        font-size: 26px;
    }
}

/* ===== Small Mobile (max-width: 576px) ===== */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    /* Navbar */
    .brand-logo-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .cart-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .navbar-collapse {
        padding: 0.75rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.95rem;
        padding: 0.65rem 1.25rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.85rem;
    }
    
    /* Products */
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-image-wrapper {
        height: 160px;
    }
    
    .product-body {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 0.95rem;
    }
    
    .product-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .product-price .price {
        font-size: 1.2rem;
    }
    
    .product-price .original-price {
        font-size: 0.95rem;
    }
    
    .product-price .text-success {
        font-size: 1.3rem;
    }
    
    .product-category {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
    
    /* Product Detail */
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 1.35rem;
    }
    
    .product-detail-description {
        font-size: 0.9rem;
    }
    
    /* Forms */
    .form-control,
    .form-select,
    .form-control-lg {
        font-size: 13px;
        padding: 0.6rem 0.75rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.1rem;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.7rem 1.35rem;
    }
    
    .btn-sm {
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
    }
    
    /* Payment Methods */
    .payment-method-label {
        padding: 0.85rem;
    }
    
    .payment-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .payment-info h6 {
        font-size: 0.9rem;
    }
    
    .payment-info p {
        font-size: 0.8rem;
    }
    
    /* Checkout Summary */
    .checkout-summary {
        padding: 1.25rem;
    }
    
    .summary-item {
        padding: 0.65rem 0;
        gap: 0.65rem;
    }
    
    .item-image {
        width: 45px;
        height: 45px;
    }
    
    .item-quantity {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .item-details h6 {
        font-size: 0.85rem;
    }
    
    .item-details p {
        font-size: 0.75rem;
    }
    
    .item-price {
        font-size: 0.9rem;
    }
    
    /* Cart */
    .cart-item {
        padding: 0.85rem;
    }
    
    .cart-item-image {
        height: 130px;
    }
    
    .cart-item-title {
        font-size: 0.95rem;
    }
    
    .cart-item-price {
        font-size: 1.1rem;
    }
    
    /* Tables */
    .table {
        font-size: 0.85rem;
    }
    
    .table thead th {
        font-size: 0.8rem;
        padding: 0.5rem 0.4rem;
    }
    
    .table tbody td {
        padding: 0.5rem 0.4rem;
        font-size: 0.85rem;
    }
    
    /* Cards */
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    /* Alerts */
    .alert {
        font-size: 0.85rem;
        padding: 0.65rem 0.85rem;
    }
    
    /* Badges */
    .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.55rem;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 0.25rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0.85rem;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-body {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-text,
    .footer-links a,
    .contact-link,
    .contact-text {
        font-size: 0.85rem;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .footer-brand {
        padding: 0.85rem;
    }
    
    .footer-logo {
        height: 35px;
    }
    
    .footer-subtitle {
        font-size: 0.95rem;
    }
    
    .contact-item {
        padding: 0.65rem 0.85rem;
    }
    
    .app-store-btn,
    .google-play-btn {
        padding: 0.5rem 0.75rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;
        font-size: 24px;
    }
    
    /* Spacing Adjustments */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .py-4 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .my-5 {
        margin-top: 2.5rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .my-4 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

/* ===== Extra Small Mobile (max-width: 375px) ===== */
@media (max-width: 375px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    /* Navbar */
    .navbar {
        padding: 0.4rem 0;
    }
    
    .brand-logo-wrapper {
        width: 42px;
        height: 42px;
    }
    
    .navbar-brand {
        font-size: 0.95rem;
    }
    
    .cart-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    
    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 35px 0 25px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.35rem;
    }
    
    .section-description {
        font-size: 0.85rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    /* Products */
    .product-image-wrapper {
        height: 140px;
    }
    
    .product-body {
        padding: 0.85rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-description {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .product-price .price {
        font-size: 1.1rem;
    }
    
    .product-price .original-price {
        font-size: 0.9rem;
    }
    
    .product-price .text-success {
        font-size: 1.2rem;
    }
    
    .product-category {
        font-size: 0.6rem;
        padding: 0.15rem 0.45rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-title {
        font-size: 0.95rem;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
    
    /* Product Detail */
    .product-detail-title {
        font-size: 1.35rem;
    }
    
    .product-detail-price {
        font-size: 1.25rem;
    }
    
    .product-detail-description {
        font-size: 0.85rem;
    }
    
    /* Forms */
    .form-control,
    .form-select,
    .form-control-lg {
        font-size: 12px;
        padding: 0.55rem 0.7rem;
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    label {
        font-size: 0.8rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.85rem;
        padding: 0.55rem 1rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }
    
    .btn-sm {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
    
    /* Payment Methods */
    .payment-method-label {
        padding: 0.75rem;
        gap: 0.65rem;
    }
    
    .payment-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .payment-info h6 {
        font-size: 0.85rem;
    }
    
    .payment-info p {
        font-size: 0.75rem;
    }
    
    /* Checkout Summary */
    .checkout-summary {
        padding: 1rem;
    }
    
    .summary-item {
        padding: 0.6rem 0;
        gap: 0.6rem;
    }
    
    .item-image {
        width: 42px;
        height: 42px;
    }
    
    .item-quantity {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .item-details h6 {
        font-size: 0.8rem;
    }
    
    .item-details p {
        font-size: 0.7rem;
    }
    
    .item-price {
        font-size: 0.85rem;
    }
    
    /* Cart */
    .cart-item {
        padding: 0.75rem;
    }
    
    .cart-item-image {
        height: 120px;
    }
    
    .cart-item-title {
        font-size: 0.9rem;
    }
    
    .cart-item-price {
        font-size: 1rem;
    }
    
    /* Tables */
    .table {
        font-size: 0.8rem;
    }
    
    .table thead th {
        font-size: 0.75rem;
        padding: 0.45rem 0.35rem;
    }
    
    .table tbody td {
        padding: 0.45rem 0.35rem;
        font-size: 0.8rem;
    }
    
    /* Cards */
    .card-body {
        padding: 0.85rem;
    }
    
    .card-title {
        font-size: 0.95rem;
    }
    
    .card-text {
        font-size: 0.8rem;
    }
    
    /* Alerts */
    .alert {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
    
    /* Badges */
    .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    /* Modal */
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0.75rem;
    }
    
    .modal-title {
        font-size: 0.95rem;
    }
    
    .modal-body {
        font-size: 0.8rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 0.85rem;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .footer-title::after {
        width: 30px;
        height: 2.5px;
    }
    
    .footer-text,
    .footer-links a,
    .contact-link,
    .contact-text {
        font-size: 0.8rem;
    }
    
    .social-icons {
        gap: 0.65rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .footer-brand {
        padding: 0.75rem;
    }
    
    .footer-logo {
        height: 32px;
    }
    
    .footer-subtitle {
        font-size: 0.9rem;
        margin-top: 1.25rem;
    }
    
    .contact-item {
        padding: 0.6rem 0.75rem;
    }
    
    .contact-item i {
        font-size: 1rem;
        margin-left: 0.65rem;
    }
    
    .app-store-btn,
    .google-play-btn {
        padding: 0.45rem 0.65rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 12px;
        left: 12px;
        font-size: 22px;
    }
    
    /* Search */
    .search-input {
        font-size: 13px;
        padding: 0.45rem 2.25rem 0.45rem 0.85rem;
    }
    
    .btn-search {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    /* Spacing Adjustments */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .my-4 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Text sizes */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    h5 {
        font-size: 1rem;
    }
    
    h6 {
        font-size: 0.9rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar, .footer, .action-buttons, .next-steps {
        display: none;
    }
    
    .success-card {
        box-shadow: none;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== UTILITIES ==================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

/* Logo Styling */
.brand-logo {
    height: 45px;
    width: auto;
    transition: var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.08));
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-brand:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.12));
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3), 0 0 20px rgba(236, 72, 153, 0.2);
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(124, 58, 237, 0.5));
    opacity: 0.95;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-brand:hover .footer-logo {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(124, 58, 237, 0.8)) drop-shadow(0 0 35px rgba(236, 72, 153, 0.5));
    transform: scale(1.05) rotate(-2deg);
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .brand-logo {
        height: 55px;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem 0.75rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
    }
    
    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
        width: 30px;
    }
    
    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .app-downloads {
        align-items: center;
    }
    
    .contact-item {
        padding: 0.5rem 0.75rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==================== FOOTER CONTACT STYLES ==================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.contact-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    color: var(--primary-color);
}

.contact-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: white;
    text-decoration: underline;
}

.contact-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-store-btn,
.google-play-btn {
    display: inline-block;
    transition: var(--transition-fast);
}

.app-store-btn:hover,
.google-play-btn:hover {
    transform: scale(1.05);
}

/* ==================== MONTHLY PACKAGE STYLES ==================== */
.monthly-package-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.monthly-package-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0.5;
}

.monthly-package-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.monthly-package-card:hover {
    transform: translateY(-10px);
}

.section-title {
    color: white;
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Package Gallery Styles */
.package-gallery {
    position: relative;
}

.main-package-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.package-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-image:hover {
    transform: scale(1.05);
}

.discount-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(238, 90, 36, 0.4);
    animation: pulse 2s infinite;
}

.discount-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.discount-percent {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.package-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px;
}

.package-thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.package-thumbnail:hover,
.package-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.package-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Package Details Styles */
.package-details {
    padding: 20px 0;
}

.package-category .badge {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.package-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3748;
    margin: 20px 0;
    line-height: 1.2;
}

.package-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.rating-text {
    color: #718096;
    font-weight: 600;
}

.package-price {
    margin: 25px 0;
}

.price-original {
    font-size: 1.1rem;
    color: #e53e3e;
    text-decoration: line-through;
    margin-left: 10px;
}

.price-current {
    font-size: 2rem;
    font-weight: 800;
    color: #38a169;
}

.package-description {
    margin: 25px 0;
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.1rem;
}

.package-actions {
    margin: 30px 0;
}

.package-btn {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: all 0.3s ease;
}

.package-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.package-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 600;
}

.feature-item i {
    font-size: 1.2rem;
}

/* Responsive Design for Monthly Package */
@media (max-width: 1199px) {
    .monthly-package-section {
        padding: 4rem 0;
    }
    
    .package-image {
        height: 350px;
    }
}

@media (max-width: 991px) {
    .monthly-package-card {
        padding: 30px;
    }
    
    .package-title {
        font-size: 2rem;
    }
    
    .package-image {
        height: 300px;
    }
    
    .package-gallery {
        margin-bottom: 2rem;
    }
    
    .discount-badge-large {
        padding: 12px 18px;
    }
    
    .discount-percent {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .monthly-package-card {
        padding: 20px;
    }
    
    .package-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .package-image {
        height: 250px;
    }
    
    .discount-badge-large {
        padding: 10px 15px;
        top: 10px;
        right: 10px;
    }
    
    .discount-text {
        font-size: 0.8rem;
    }
    
    .discount-percent {
        font-size: 1.1rem;
    }
    
    .package-category .badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .package-rating {
        justify-content: center;
    }
    
    .package-price {
        text-align: center;
    }
    
    .price-original {
        font-size: 1rem;
    }
    
    .price-current {
        font-size: 1.75rem;
    }
    
    .package-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .package-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        justify-content: center;
    }
    
    .package-thumbnails {
        justify-content: center;
        gap: 8px;
    }
    
    .package-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .package-actions {
        text-align: center;
    }
    
    .package-btn {
        width: 100%;
        font-size: 1rem;
        padding: 12px 25px;
    }
}

@media (max-width: 576px) {
    .monthly-package-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .monthly-package-card {
        padding: 15px;
    }
    
    .package-title {
        font-size: 1.5rem;
    }
    
    .package-image {
        height: 200px;
    }
    
    .package-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .price-current {
        font-size: 1.6rem;
    }
    
    .package-description {
        font-size: 0.95rem;
    }
}

/* ==================== HOME PACKAGE HIGHLIGHT ==================== */
.home-package-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}

.home-package-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="80" r="3" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.4;0.1" dur="4s" repeatCount="indefinite"/></circle></svg>');
}

.package-highlight-content {
    color: white;
    position: relative;
    z-index: 2;
}

.highlight-badge {
    margin-bottom: 1rem;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.highlight-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.highlight-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    opacity: 0.95;
}

.highlight-price {
    margin: 2rem 0;
}

.price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.8;
    margin-left: 1rem;
}

.price-new {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-actions {
    margin-top: 2rem;
}

.btn-highlight {
    background: white;
    color: #f5576c;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #f5576c;
}

.btn-outline-highlight {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 13px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-highlight:hover {
    background: white;
    color: #f5576c;
    transform: translateY(-2px);
}

/* Package Highlight Gallery */
.package-highlight-gallery {
    position: relative;
}

.highlight-main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.highlight-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-main-image:hover img {
    transform: scale(1.05);
}

.highlight-discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(255, 55, 56, 0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.highlight-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.highlight-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.highlight-thumbnail:hover,
.highlight-thumbnail.active {
    border-color: white;
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.highlight-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive for home package */
@media (max-width: 1199px) {
    .home-package-section {
        padding: 4rem 0;
    }
    
    .highlight-main-image img {
        height: 350px;
    }
}

@media (max-width: 991px) {
    .highlight-title {
        font-size: 2.25rem;
    }
    
    .highlight-description {
        font-size: 1.1rem;
    }
    
    .price-new {
        font-size: 2.25rem;
    }
    
    .highlight-main-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .home-package-section {
        padding: 3rem 0;
    }
    
    .package-highlight-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .highlight-badge {
        display: flex;
        justify-content: center;
    }
    
    .highlight-title {
        font-size: 2rem;
    }
    
    .highlight-description {
        font-size: 1rem;
    }
    
    .highlight-price {
        justify-content: center;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .price-old {
        font-size: 1.1rem;
    }
    
    .price-new {
        font-size: 2rem;
    }
    
    .highlight-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .highlight-actions .btn {
        font-size: 1rem;
        padding: 12px 20px;
        width: 100%;
    }
    
    .highlight-main-image img {
        height: 250px;
    }
    
    .highlight-discount-badge {
        padding: 8px 12px;
        font-size: 0.9rem;
        top: 10px;
        right: 10px;
    }
    
    .highlight-thumbnails {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .highlight-thumbnail {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .home-package-section {
        padding: 2.5rem 0;
    }
    
    .highlight-title {
        font-size: 1.75rem;
    }
    
    .highlight-description {
        font-size: 0.95rem;
    }
    
    .price-new {
        font-size: 1.8rem;
    }
    
    .price-old {
        font-size: 1rem;
    }
    
    .highlight-main-image img {
        height: 200px;
    }
    
    .highlight-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .badge-text {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* ==================== SIMPLE PACKAGE STYLES (Products Page) ==================== */
.monthly-packages-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.section-title-simple {
    color: #495057;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0;
}

.package-simple-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.package-simple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.package-simple-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.package-simple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-simple-card:hover .package-simple-image {
    transform: scale(1.1);
}

.simple-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(238, 90, 36, 0.3);
}

.simple-package-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-simple-card:hover .simple-package-actions {
    opacity: 1;
}

.package-simple-info {
    padding: 20px;
}

.package-simple-category .badge {
    font-size: 0.8rem;
    padding: 5px 12px;
}

.package-simple-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 10px 0;
    line-height: 1.3;
}

.package-simple-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars-small {
    display: flex;
    gap: 1px;
}

.stars-small i {
    font-size: 0.9rem;
}

.rating-text-small {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 600;
}

.package-simple-price {
    margin: 10px 0;
}

.price-original-small {
    font-size: 0.9rem;
    color: #e53e3e;
    text-decoration: line-through;
    margin-left: 5px;
}

.price-current-small {
    font-size: 1.3rem;
    font-weight: 800;
    color: #38a169;
}

.package-simple-desc {
    color: #718096;
    font-size: 0.9rem;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

/* Responsive for simple package */
@media (max-width: 1199px) {
    .package-simple-image-wrapper {
        height: 180px;
    }
}

@media (max-width: 991px) {
    .monthly-packages-section {
        padding: 2.5rem 0;
    }
    
    .section-title-simple {
        font-size: 1.4rem;
    }
    
    .package-simple-card {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    .monthly-packages-section {
        padding: 2rem 0;
    }
    
    .section-title-simple {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .package-simple-card {
        margin-bottom: 1rem;
    }
    
    .package-simple-image-wrapper {
        height: 160px;
    }
    
    .package-simple-info {
        padding: 15px;
    }
    
    .package-simple-category .badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .package-simple-title {
        font-size: 1.1rem;
    }
    
    .package-simple-rating {
        justify-content: center;
    }
    
    .package-simple-price {
        text-align: center;
    }
    
    .price-original-small {
        font-size: 0.85rem;
    }
    
    .price-current-small {
        font-size: 1.2rem;
    }
    
    .package-simple-desc {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .simple-discount-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

@media (max-width: 576px) {
    .package-simple-image-wrapper {
        height: 140px;
    }
    
    .package-simple-info {
        padding: 12px;
    }
    
    .package-simple-title {
        font-size: 1rem;
    }
    
    .price-current-small {
        font-size: 1.15rem;
    }
}

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
/* WhatsApp Container */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Nawadir Ai Branding */
.nawadir-branding {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.nawadir-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nawadir-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s infinite;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    animation: pulse-whatsapp 2s infinite;
    position: relative;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 2px;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    }
}

/* Animations for Nawadir Ai branding */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* WhatsApp container hover effects */
.whatsapp-container:hover .nawadir-text {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-container:hover .whatsapp-float {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* Tooltip for WhatsApp button */
.whatsapp-float::before {
    content: "تواصل معنا عبر الواتساب";
    position: absolute;
    top: 50%;
    right: 75px;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Arrow for tooltip */
.whatsapp-float::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 65px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-container {
        bottom: 20px;
        left: 20px;
    }
    
    .nawadir-text {
        font-size: 12px;
        padding: 4px 8px;
        letter-spacing: 0.5px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .whatsapp-float::before {
        display: none;
    }
    
    .whatsapp-float::after {
        display: none;
    }
}

/* ==================== LARGE SCREENS & DESKTOP (min-width: 1400px) ==================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .product-image-wrapper {
        height: 280px;
    }
    
    .feature-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

/* ==================== LANDSCAPE MODE FOR MOBILE & TABLETS ==================== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding: 30px 0 20px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .hero-badge {
        margin-bottom: 0.75rem;
        padding: 0.35rem 1rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1.25rem;
    }
    
    .navbar {
        padding: 0.4rem 0;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .modal-dialog {
        margin: 0.5rem auto;
    }
}

/* ==================== IPAD & TABLET LANDSCAPE (768px - 1024px landscape) ==================== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 3.5rem 0 1.75rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar, 
    .footer, 
    .action-buttons, 
    .next-steps,
    .whatsapp-float,
    .cart-icon-wrapper,
    .btn-search {
        display: none !important;
    }
    
    .success-card,
    .checkout-summary,
    .order-summary {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: white;
    }
    
    .product-card,
    .feature-card {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .container {
        max-width: 100%;
    }
}

/* ==================== HOVER EFFECTS FOR DESKTOP ONLY ==================== */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        transform: translateY(-10px);
    }
    
    .feature-card:hover {
        transform: translateY(-10px);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
    
    .social-icon:hover {
        transform: translateY(-5px) scale(1.08);
    }
    
    .cart-icon-wrapper:hover {
        transform: scale(1.1);
    }
}

/* ==================== ACCESSIBILITY IMPROVEMENTS ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-outline-primary {
        border-width: 3px;
    }
    
    .product-card,
    .feature-card {
        border: 2px solid var(--border-color);
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Placeholder for future dark mode styles */
}

/* ==================== UTILITY CLASSES FOR RESPONSIVE ==================== */
.d-mobile-none {
    display: none;
}

@media (min-width: 768px) {
    .d-mobile-none {
        display: block;
    }
    
    .d-desktop-none {
        display: none;
    }
}

/* Text alignment utilities for RTL */
.text-start-rtl {
    text-align: right !important;
}

.text-end-rtl {
    text-align: left !important;
}

/* Responsive image utility */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive video */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==================== END OF RESPONSIVE STYLES ==================== */
/* ==================== MODERN CLEAN HEADER STYLES ==================== */
/* Clean White Header with Shadow */
.site-header .navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.site-header .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Modern Search Bar (Center) */
.search-form-center {
    flex: 1;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input-modern {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 0.75rem 3.5rem 0.75rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.search-input-modern:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    outline: none;
}

.btn-search-modern {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-search-modern:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* Header Icons */
.header-icon-link {
    position: relative;
    color: #333;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.header-icon-link:hover {
    color: var(--primary-color);
    background-color: rgba(124, 58, 237, 0.1);
}

.cart-badge-modern {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Secondary Navigation Links */
.nav-link-modern {
    color: #555;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link-modern:hover {
    color: var(--primary-color);
    background-color: rgba(124, 58, 237, 0.05);
}

/* ==================== SHOP BY PET SECTION ==================== */
.shop-by-pet-section {
    background: #ffffff;
    padding: 3rem 0;
}

.section-title-modern {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-description-modern {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.pet-categories-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.pet-categories-wrapper::-webkit-scrollbar {
    height: 8px;
}

.pet-categories-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.pet-categories-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.pet-categories-scroll {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    min-width: min-content;
}

.pet-category-card {
    flex: 0 0 auto;
    width: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pet-card-inner {
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pet-category-card:hover .pet-card-inner {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.pet-image-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.pet-category-card:hover .pet-image-wrapper {
    transform: scale(1.1) translateY(-5px);
}

.pet-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.pet-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 991px) {
    .search-form-center {
        display: none !important;
    }
    
    .header-icon-link {
        font-size: 1.2rem;
    }
    
    .pet-category-card {
        width: 140px;
    }
    
    .pet-image-wrapper {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .section-title-modern {
        font-size: 1.5rem;
    }
    
    .pet-category-card {
        width: 120px;
    }
    
    .pet-card-inner {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .pet-image-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
    }
    
    .pet-name {
        font-size: 0.9rem;
    }
    
    .pet-categories-scroll {
        gap: 1rem;
    }
}

/* ==================== MINIMALIST PRODUCT CARDS ==================== */
.product-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

/* Add to Cart Button - Purple Brand Color */
.btn-add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
} 
