/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar - Website Theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #4f46e5 rgba(0, 0, 0, 0.5);
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Rajdhani', sans-serif;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 600;
    background: url('../images/IMG_20251223_181909.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

button, input, textarea, select {
    font-family: 'Rajdhani', sans-serif;
}

/* Prime Icons Styling */
.pi {
    font-family: 'primeicons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pi::before {
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.header .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.header .nav-link:hover {
    color: white;
}

.header .logo a {
    color: white;
}

.mobile-menu-toggle {
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 1rem;
    width: 100%;
    position: relative;
}

/* Navbar on right side */
.header-content {
    flex-direction: row;
}

.logo {
    margin-right: auto;
}

.nav {
    margin-left: auto;
    order: 2;
}

.mobile-menu-toggle {
    order: 3;
}

/* Tablet and below */
@media (max-width: 1024px) {
    .header-content {
        padding: 0.65rem 0;
    }
    
    .nav {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        gap: 0.3rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem 0;
        gap: 0.75rem;
    }
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .logo a {
        font-size: 0.9rem;
        gap: 0.4rem;
    }
    
    .logo a i {
        font-size: 1.1rem;
    }
    
    .logo a span {
        font-size: 0.9rem;
    }
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: bold;
}

.logo i {
    font-size: 1.5rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.nav-link:hover {
    color: white;
    transform: translateY(-1px);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cart-link {
    position: relative;
}

.cart-badge {
    background: var(--danger-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-left: 0.25rem;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s;
    border-radius: 0.4rem;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle i {
    transition: transform 0.3s;
}

/* Tablet and below - show mobile menu */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        font-size: 1.3rem;
        padding: 0.45rem 0.65rem;
        min-width: 38px;
        min-height: 38px;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.main-content .container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 1rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.hero-section .container,
.offers-section .container {
    background: transparent;
    border: none;
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%),
                url('https://dl.dir.freefiremobile.com/common/web_event/official2.ff.garena.all/202512/dac8490666a8a13464e8b17da65cbc25.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 4rem 0 5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-title-main {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-title-sub {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 600;
}

.hero-description i {
    color: #10b981;
    font-size: 1.25rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.4));
    margin-right: 0.25rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-hero-outline {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn-hero,
    .btn-hero-outline {
        width: 100%;
    }
}

/* Offers Section */
.offers-section {
    padding: 2rem 0;
    background: transparent;
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.offer-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 0.875rem;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid;
    border-right: none;
    border-top: none;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at left center, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

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

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.5);
}

.offer-card.offer-primary {
    border-left-color: #6366f1;
}

.offer-card.offer-success {
    border-left-color: #10b981;
}

.offer-card.offer-warning {
    border-left-color: #f59e0b;
}

.offer-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
    position: relative;
}

.offer-card:hover .offer-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.offer-card.offer-primary .offer-icon {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.offer-card.offer-success .offer-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.offer-card.offer-warning .offer-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.offer-content {
    flex: 1;
    min-width: 0;
}

.offer-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: white;
    font-weight: 700;
    line-height: 1.3;
}

.offer-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.offer-content p strong {
    color: white;
    font-weight: 700;
}

.offer-code {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.offer-card:hover .offer-code {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.offer-code strong {
    color: #6366f1;
    font-weight: 700;
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .offer-card {
        padding: 1rem;
        gap: 0.875rem;
    }
    
    .offer-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
        border-radius: 0.625rem;
    }
    
    .offer-content h3 {
        font-size: 0.9rem;
    }
    
    .offer-content p {
        font-size: 0.75rem;
    }
    
    .offer-code {
        font-size: 0.7rem;
        padding: 0.3rem 0.55rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn i {
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background: #475569;
}

.btn-cart {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Products Section */
.products-section {
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-title-wrapper-modern {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.section-title-icon-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.section-title-icon-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.section-title-icon-modern i {
    font-size: 1.75rem;
    color: white;
    display: block;
}

.section-title-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

.section-title-modern {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-subtitle-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    text-transform: uppercase;
}

.section-subtitle-modern i {
    color: #6366f1;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.section-subtitle-modern span {
    color: rgba(255, 255, 255, 0.9);
}

/* Legacy support */
.section-title-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    line-height: 1.2;
}

.section-title-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: #6366f1;
    color: white !important;
    border-radius: 0.75rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

.section-title-icon i {
    display: inline-block !important;
    font-family: 'primeicons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: white !important;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-left: 0;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subtitle i {
    color: #6366f1;
    font-size: 1rem;
    display: inline-block !important;
    font-family: 'primeicons' !important;
}

.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h2 i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.filters-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-form-modern {
    width: 100%;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s;
}

.search-wrapper:focus-within {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1;
}

.search-input-modern {
    flex: 1;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: white;
    width: 100%;
}

.search-input-modern::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input-modern:focus {
    outline: none;
}

.search-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.search-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: scale(1.05);
}

.search-btn:active {
    transform: scale(0.98);
}

.category-filters-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.6rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.category-btn-modern:hover {
    border-color: #6366f1;
    color: white;
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.category-btn-modern.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.category-btn-modern i {
    font-size: 0.85rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.search-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.4rem;
    font-size: 0.875rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.category-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.4rem 0.8rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 0.4rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .section-title-modern {
        font-size: 1.75rem;
    }
    
    .section-title-icon-modern {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .section-title-icon-modern i {
        font-size: 1.5rem;
    }
    
    .section-subtitle-modern {
        font-size: 0.9rem;
    }
    
    .section-title-group {
        gap: 1rem;
    }
    
    /* Legacy support */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        margin-left: 3rem;
        font-size: 0.85rem;
    }
    
    .search-wrapper {
        border-radius: 0.5rem;
    }
    
    .search-input-modern {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.75rem 1.25rem;
    }
    
    .category-btn-modern {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
}

.product-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    animation: fadeInUp 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.6);
    background: rgba(0, 0, 0, 0.6);
}


.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    flex-shrink: 0;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    position: relative;
    z-index: 1;
}

.product-category {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-category i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

.product-info h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    color: white;
    line-height: 1.4;
    min-height: 2.8rem;
}

.product-info h3 i {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.product-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.product-meta i {
    font-size: 0.85rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.75rem;
    position: relative;
}

.product-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1.5rem;
    right: -1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
    letter-spacing: 0.5px;
    position: relative;
}

.product-price::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(79, 70, 229, 0.3));
    border-radius: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.product-price:hover::before {
    opacity: 1;
}

.product-price i {
    font-size: 0.9rem;
    -webkit-text-fill-color: var(--primary-color);
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.6));
}

.add-to-cart-form {
    margin: 0;
}

/* Product Detail */
.breadcrumb {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.breadcrumb i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.breadcrumb a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Modern Product Detail - Compact */
.product-detail-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-detail-image-modern {
    position: sticky;
    top: 70px;
    height: fit-content;
}

.product-image-wrapper {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.product-image-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
}

.product-detail-image-modern img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.product-image-wrapper:hover img {
    transform: scale(1.02);
}

.product-detail-info-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-header-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-meta-compact {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.product-category-badge i {
    font-size: 0.7rem;
}

.product-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-id-badge i {
    font-size: 0.7rem;
}

.product-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0;
}

.product-price-modern {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    margin-top: 0.15rem;
}

.price-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #818cf8;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.6);
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.5));
    letter-spacing: 0.3px;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 25%, #6366f1 50%, #4f46e5 75%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(99, 102, 241, 0.3);
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5));
    letter-spacing: 0.8px;
    position: relative;
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.8)) drop-shadow(0 0 30px rgba(99, 102, 241, 0.4));
    }
}

.product-info-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.3rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(2px);
}

.info-item i {
    font-size: 1rem;
    color: #6366f1;
    flex-shrink: 0;
}

.info-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.info-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-value {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
}

/* Premium styling for price displays */
.price-premium,
[class*="price"],
td:last-child:has-text("₹"),
strong:has-text("₹") {
    font-weight: 700;
}

/* Cart and checkout price styling */
.cart-price,
.cart-table td:last-child,
.checkout-summary .summary-row.total span:last-child {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4));
    font-weight: 700;
    letter-spacing: 0.3px;
}

.product-description-modern {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.4rem;
    border-left: 3px solid var(--primary-color);
}

.description-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.description-title i {
    color: #6366f1;
    font-size: 0.75rem;
}

.product-description-modern p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.85rem;
    margin: 0;
}

.product-stock-modern {
    margin-top: 0.5rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-radius: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stock-badge i {
    font-size: 1rem;
}

.stock-count {
    opacity: 0.8;
    font-weight: 500;
}

.product-actions-modern {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.75rem;
    border-radius: 0.4rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.duration-selector-modern {
    margin-bottom: 1rem;
}

.duration-selector-modern label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.duration-selector-modern label i {
    color: #6366f1;
    font-size: 0.9rem;
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.duration-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.duration-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.duration-option.active,
.duration-option:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.duration-option input[type="radio"]:checked + .duration-label {
    color: white;
}

.duration-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.4rem;
}

.duration-price {
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4));
    transition: all 0.3s ease;
}

.duration-option.active .duration-price,
.duration-option:hover .duration-price {
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 25%, #6366f1 50%, #4f46e5 75%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    font-weight: 700;
}

.selected-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.4rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.selected-price-display span:last-child,
.selected-price-display strong {
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 25%, #6366f1 50%, #4f46e5 75%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    font-weight: 700;
    letter-spacing: 0.5px;
}

.price-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quantity-selector-modern {
    margin-bottom: 0.75rem;
}

.quantity-selector-modern label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.quantity-selector-modern label i {
    color: #6366f1;
    font-size: 0.75rem;
}

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.4rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.quantity-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
}

.quantity-btn:hover {
    background: #6366f1;
    color: white;
}

.quantity-btn.minus {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.quantity-btn.plus {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.quantity-input-wrapper input {
    width: 70px;
    padding: 0.6rem;
    border: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    color: white;
}

.btn-add-to-cart {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.btn-add-to-cart i {
    font-size: 0.9rem;
}

.product-features-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.feature-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.2rem 0;
}

.feature-content p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Legacy Support */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.product-detail-image {
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-detail-info h1 i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.product-price-large {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.product-price-large i {
    font-size: 1.25rem;
}

.product-description-full {
    color: var(--text-light);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.product-stock {
    color: var(--success-color);
    margin: 0.75rem 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.product-stock i {
    font-size: 1rem;
}

.quantity-selector {
    margin: 1.5rem 0;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.quantity-selector input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.4rem;
    font-size: 0.9rem;
}

.product-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.feature i {
    color: var(--primary-color);
    font-size: 1rem;
}

.related-products {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.related-products h2 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.related-products h2 i {
    font-size: 1.5rem;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

/* Cart */
.page-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
}

.page-title i {
    font-size: 1.75rem;
    color: #6366f1;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin: 2rem auto;
}

.empty-cart i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    opacity: 0.6;
    display: block;
}

.empty-cart h2 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: white;
}

.empty-cart p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.empty-cart .btn {
    margin-top: 0.5rem;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.cart-table th {
    text-align: left;
    padding: 1rem 0;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.cart-table td {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.cart-product {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.4rem;
}

.cart-product h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: white;
    font-weight: 700;
}

.cart-product .product-duration {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding: 0.25rem 0.5rem;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 0.3rem;
    width: fit-content;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.cart-product .product-duration i {
    color: #6366f1;
    font-size: 0.8rem;
}

.quantity-form input {
    width: 60px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.25rem;
}

.cart-summary {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.cart-summary h2 i {
    font-size: 1.25rem;
    color: #6366f1;
}

.cart-summary .btn-block + .btn-block {
    margin-top: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.summary-row i {
    color: #6366f1;
    margin-right: 0.4rem;
}

.summary-row span {
    font-weight: 600;
    color: white;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: none;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(99, 102, 241, 0.4);
    color: white;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1));
    padding: 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.summary-row.total span {
    font-weight: 700;
    color: white;
}

.summary-row.total span:last-child {
    font-weight: 700;
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 25%, #6366f1 50%, #4f46e5 75%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.clear-cart-form {
    margin-top: 1.5rem;
}

/* Checkout */
.checkout-success {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.checkout-success i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 0.75rem;
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.checkout-form-container {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.6rem;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-form-container h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
}

.checkout-form-container h2 i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group label i {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.4rem;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: white;
    font-family: 'Rajdhani', sans-serif;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.form-group select option {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 0.5rem;
}

.form-group select option:hover,
.form-group select option:checked {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout-summary {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0.6rem;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.checkout-summary h2 i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.checkout-summary .btn-block + .btn-block {
    margin-top: 0.75rem;
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0.4rem;
}

.order-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: white;
    font-weight: 700;
}

.order-item span {
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
}

.item-total {
    margin-left: auto;
    font-weight: 700;
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4));
    letter-spacing: 0.3px;
}

.summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

/* Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.alert i {
    font-size: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.alert-error ul {
    list-style: none;
    margin-left: 0;
}

/* Custom Modal */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.custom-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(79, 70, 229, 0.05));
}

.modal-header i {
    font-size: 1.75rem;
    color: #f59e0b;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    white-space: pre-line;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: var(--bg-light);
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

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

.modal-footer .btn-secondary:hover {
    background: #475569;
    transform: translateY(-1px);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 100;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-section h3 i,
.footer-section h4 i {
    font-size: 0.9rem;
}

.footer-section p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.35rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-section a i {
    font-size: 0.8rem;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    font-size: 1rem;
    transition: transform 0.3s;
    color: rgba(255, 255, 255, 0.75);
}

.social-links a:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.payment-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.payment-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.payment-icon i {
    font-size: 1.5rem;
}

.payment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.no-products p {
    color: rgba(255, 255, 255, 0.8);
}

/* Keyframe animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile menu backdrop overlay */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Ensure backdrop doesn't show on desktop */
@media (min-width: 1025px) {
    .mobile-menu-backdrop {
        display: none !important;
    }
}

/* Responsive - Tablet and below */
@media (max-width: 1024px) {
    .nav {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        left: auto;
        width: 280px;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -4px 8px 32px rgba(0, 0, 0, 0.6);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        animation: slideInRight 0.3s ease-out;
    }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.85rem 1rem;
        border-radius: 0.5rem;
        width: 100%;
        justify-content: flex-start;
        font-size: 0.95rem;
        transition: all 0.3s;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: rgba(99, 102, 241, 0.2);
        border-color: rgba(99, 102, 241, 0.4);
        color: white;
        transform: translateX(5px);
    }
    
    .nav-link i {
        font-size: 1rem;
        width: 20px;
        text-align: center;
    }
    
    .cart-link {
        position: relative;
    }
    
    .cart-badge {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
    
    .header {
        position: relative;
    }
}

/* Mobile devices - extra small screens */
@media (max-width: 480px) {
    .nav {
        top: 55px;
        width: 260px;
        padding: 0.75rem;
        gap: 0.4rem;
    }
    
    .nav-link {
        padding: 0.75rem 0.85rem;
        font-size: 0.9rem;
    }
    
    .nav-link i {
        font-size: 0.95rem;
        width: 18px;
    }
    
    .logo a {
        font-size: 0.85rem;
    }
    
    .logo a span {
        font-size: 0.85rem;
    }
    
    .header-content {
        padding: 0.4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .product-detail,
    .product-detail-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-detail-image-modern {
        position: static;
    }
    
    .product-title-modern {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .price-currency {
        font-size: 1.1rem;
    }
    
    .product-info-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .duration-options {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .duration-option {
        padding: 0.6rem;
    }
    
    .product-features-modern {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .feature-card {
        flex-direction: row;
        text-align: left;
        padding: 0.75rem;
    }
    
    .product-actions-modern {
        padding: 0.875rem;
    }
    
    .cart-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary,
    .checkout-summary {
        position: static;
    }
    
    .cart-table {
        font-size: 0.875rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 0.75rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

