/* Modern Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary-color: #FFD700;
    --primary-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --secondary-color: #1a1a2e;
    --secondary-light: #16213e;
    --accent-color: #0f3460;
    --text-primary: #2d2d2d;
    --text-secondary: #6c757d;
    --text-light: #8a92a6;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #0f0f0f;
    --border-color: #e5e8eb;
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Modern Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0f0f0f;
        --bg-secondary: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #a0a0a0;
        --border-color: #2a2a2a;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Top Bar */
.top-bar {
    background: var(--secondary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: var(--transition-fast);
}

.top-bar span:hover {
    opacity: 1;
}

/* Modern Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 2.2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
    transition: var(--transition-base);
}

.logo h1:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Modern Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

/* Modern Cart Button */
.cart-link {
    background: var(--primary-gradient);
    color: var(--secondary-color) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cart-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s;
}

.cart-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--secondary-color) !important;
}

.cart-link:hover::before {
    left: 100%;
}

.cart-link::after {
    display: none !important;
}

.cart-icon {
    font-size: 1.2rem;
}

.cart-count {
    background: var(--secondary-color);
    color: white;
    border-radius: var(--radius-full);
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Modern Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Modern Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 215, 0, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern CTA Button */
.cta-button {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--secondary-color);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Modern Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature:hover::before {
    transform: translateX(0);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature h3 {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Modern Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.page-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 4rem 0 3rem;
    color: var(--secondary-color);
}

/* Modern Products Grid */
.featured-products,
.shop {
    padding: 6rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    group: product;
}

.product-card::before {
    content: 'Quick View';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 46, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 10;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.placeholder-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    font-weight: 500;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.product-info .description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.product-info .price {
    font-size: 1.75rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-info .stock {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-info .stock::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
}

/* Modern Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 100%;
    background: var(--primary-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.5s;
    z-index: 0;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.add-to-cart-btn:hover::before {
    width: 100%;
}

.add-to-cart-btn span {
    position: relative;
    z-index: 1;
}

/* Modern Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.category-filter a {
    padding: 10px 28px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.category-filter a:hover {
    background: var(--primary-gradient);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-filter a.active {
    background: var(--primary-gradient);
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

/* Modern Cart Page */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.cart-items-list {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.cart-item:hover {
    background: var(--bg-secondary);
    margin: 0 -2rem;
    padding: 2rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.item-price {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.qty-btn:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--secondary-color);
    transform: scale(1.1);
}

.qty-display {
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    font-size: 1.1rem;
}

.item-total {
    text-align: right;
}

.item-total p {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
}

.remove-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    text-decoration: none;
}

.empty-cart {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-cart p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Modern Cart Summary */
.cart-summary {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 120px;
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.summary-line.total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    border-top: 2px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* Modern Checkout Button */
.checkout-button,
.place-order-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.checkout-button::before,
.place-order-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.checkout-button:hover,
.place-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.checkout-button:hover::before,
.place-order-btn:hover::before {
    width: 400px;
    height: 400px;
}

/* Modern Checkout Page */
.checkout-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-section h3 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

/* Modern Payment Methods */
.payment-methods {
    display: grid;
    gap: 1.25rem;
}

.payment-method {
    display: block;
    cursor: pointer;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    background: var(--bg-secondary);
}

.payment-method input[type="radio"]:checked + .payment-method-content {
    border-color: var(--primary-color);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.payment-method.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-icon {
    font-size: 2rem;
}

/* Modern Success Message */
.success-message {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-primary);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.success-message h3 {
    color: #27ae60;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.bank-details {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    margin: 2.5rem 0;
    text-align: left;
    border-left: 4px solid var(--primary-color);
}

.bank-details h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.bank-details p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

/* Modern Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.newsletter-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-text p {
    opacity: 0.9;
    margin-bottom: 3rem;
    font-size: 1.15rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

.newsletter-form input::placeholder {
    color: var(--text-secondary);
}

.newsletter-form button {
    padding: 16px 36px;
    background: var(--primary-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.success-msg {
    color: #27ae60;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Modern Footer */
footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.75rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Modern Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-decoration: none;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-5px);
    border-color: transparent;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 1.25rem;
    font-size: 1.8rem;
}

.payment-icons span {
    opacity: 0.6;
    transition: var(--transition-fast);
    cursor: help;
}

.payment-icons span:hover {
    opacity: 1;
    transform: scale(1.2);
}

.footer-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modern Page Content */
.page-content {
    padding: 5rem 0;
    min-height: 60vh;
}

.page-content .content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1.05rem;
}

/* Modern FAQ Page */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-left: 4px solid transparent;
}

.faq-item:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Modern Error 404 */
.error-404 {
    padding: 8rem 0;
    text-align: center;
    min-height: 60vh;
}

.error-404 h2 {
    font-size: 6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.error-404 p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Modern Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification::before {
    content: '✓';
    background: var(--primary-gradient);
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notification.show {
    transform: translateX(0);
}

/* Modern Admin Styles */
.admin-panel {
    min-height: 100vh;
    background: var(--bg-secondary);
}

.admin-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-md);
}

.admin-header h1 {
    display: inline-block;
    margin-right: 3rem;
    font-size: 1.8rem;
}

.admin-header nav {
    display: inline-flex;
    gap: 0.5rem;
}

.admin-header nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    font-weight: 500;
    position: relative;
}

.admin-header nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.admin-content {
    padding: 3rem;
}

.admin-content h2 {
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

/* Modern Admin Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-box h3 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-box p {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Admin Forms */
.add-product-form,
.product-edit-form,
.page-edit-form,
.settings-form {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.add-product-form h3,
.product-edit-form h3,
.page-edit-form h3,
.settings-form h3 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.add-product-form form,
.product-edit-form form {
    display: grid;
    gap: 1.5rem;
    max-width: 700px;
}

.add-product-form input,
.add-product-form textarea,
.add-product-form select,
.product-edit-form input,
.product-edit-form textarea,
.product-edit-form select,
.page-edit-form input,
.page-edit-form textarea,
.settings-form input,
.settings-form textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--bg-secondary);
}

.add-product-form input:focus,
.add-product-form textarea:focus,
.add-product-form select:focus,
.product-edit-form input:focus,
.product-edit-form textarea:focus,
.product-edit-form select:focus,
.page-edit-form input:focus,
.page-edit-form textarea:focus,
.settings-form input:focus,
.settings-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.add-product-form button,
.product-edit-form button,
.page-edit-form button,
.settings-form button {
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.add-product-form button:hover,
.product-edit-form button:hover,
.page-edit-form button:hover,
.settings-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern Admin Tables */
.products-list,
.pages-list,
.admin-content table {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.products-list h3,
.pages-list h3 {
    padding: 2rem;
    background: var(--bg-secondary);
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.6rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-content table {
    width: 100%;
    border-collapse: collapse;
}

.admin-content table th {
    background: var(--secondary-color);
    color: white;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.admin-content table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.admin-content table tr {
    transition: var(--transition-fast);
}

.admin-content table tr:hover {
    background: var(--bg-secondary);
}

/* Modern Admin Actions */
.edit-btn {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-right: 12px;
    transition: var(--transition-fast);
}

.edit-btn:hover {
    color: #2980b9;
    text-decoration: underline;
}

.delete-btn {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.delete-btn:hover {
    color: #c0392b;
    text-decoration: underline;
}

.update-btn {
    background: var(--primary-gradient);
    color: var(--secondary-color);
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-base);
}

.update-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.inline-form {
    display: inline-flex;
    gap: 0.75rem;
}

.inline-form select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    cursor: pointer;
}

/* Modern Admin Login */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.admin-login::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.admin-login form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

.admin-login h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.admin-login input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--bg-secondary);
    transition: var(--transition-base);
}

.admin-login input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.admin-login button {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.admin-login button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.error {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Settings Form */
.settings-form .form-group {
    margin-bottom: 2rem;
}

.settings-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Top Bar Mobile */
    .top-bar {
        display: none;
    }
    
    /* Header Mobile */
    .header-content {
        padding: 1rem 0;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .logo-img {
        height: 45px;
        max-width: 160px;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation */
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav a {
        display: block;
        padding: 1.25rem 0;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
        font-size: 1.1rem;
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    nav a::after {
        display: none;
    }
    
    .cart-link {
        margin-top: 1rem;
        justify-content: center;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 5rem 0;
    }
    
    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
    }
    
    .product-card img,
    .placeholder-image {
        height: 220px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .product-info .price {
        font-size: 1.4rem;
    }
    
    /* Cart Mobile */
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .item-quantity {
        margin: 1rem 0;
        justify-content: flex-start;
    }
    
    /* Newsletter Mobile */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    /* Footer Mobile */
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-section ul li a:hover {
        padding-left: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Admin Mobile */
    .admin-header {
        padding: 1rem;
    }
    
    .admin-header h1 {
        font-size: 1.4rem;
        margin-right: 0;
        display: block;
        margin-bottom: 1rem;
    }
    
    .admin-header nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .admin-header nav a {
        padding: 8px 12px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .admin-content {
        padding: 1.5rem;
    }
    
    .admin-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stat-box p {
        font-size: 2.5rem;
    }
    
    .admin-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .add-product-form,
    .product-edit-form,
    .page-edit-form,
    .settings-form {
        padding: 2rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .product-card:hover,
    .feature:hover,
    .cta-button:hover,
    .add-to-cart-btn:hover {
        transform: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Modern Focus States */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

/* Loading states */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    header,
    footer,
    .newsletter,
    .add-to-cart-btn,
    .cart-link,
    .mobile-menu-toggle {
        display: none;
    }
    
    .product-card,
    .page-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}