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

:root {
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --secondary: #2563eb;
    --accent: #16a34a;
    --dark: #0f172a;
    --light: #ffffff;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --success: #10b981;
    --danger: #ef4444;
    --border: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #fafafa;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

html {
    scroll-behavior: smooth;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@media (min-width: 1536px) {
    .container {
        max-width: 1440px;
    }
}

/* Modern Header */
.header-modern {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.header-modern.header-hidden {
    transform: translateY(-100%);
}

.header-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    gap: 24px;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-actions {
    display: flex;
    gap: 16px;
}

.header-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.header-link:hover {
    opacity: 0.8;
}

.header-main {
    background: white;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.logo-modern:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-tagline {
    font-size: 11px;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-modern {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: #f3f4f6;
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.2);
}

.cart-link-modern {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 6px;
    right: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    transition: all 0.2s;
}

.cart-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.cart-count {
    background: white;
    color: var(--primary);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 120px 40px;
    text-align: center;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
    line-height: 1.1;
}

.hero-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

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

.btn-success:hover {
    background: #059669;
}

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

.btn-danger:hover {
    background: #dc2626;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #d1d5db;
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--gray-light);
    border-color: var(--dark);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Features Section */
.features-section {
    background: white;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 20px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: #fafafa;
}

.categories-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.category-card {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 32px 24px;
    color: white;
}

.category-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-overlay span {
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
    margin-bottom: 48px;
}

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--dark);
}

.page-header-content p {
    color: var(--gray);
    font-size: 1rem;
}

/* Products Filter Bar */
.products-filter-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9375rem;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    color: var(--dark);
    background: white;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--dark);
    background: var(--gray-light);
}

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

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 24px;
}

/* Products Grid */
.section-title {
    font-size: 2rem;
    margin-bottom: 48px;
    text-align: left;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--dark);
}

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

.section-header .section-title {
    margin-bottom: 0;
}

.view-all-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: opacity 0.2s;
}

.view-all-link:hover {
    opacity: 0.7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #d1d5db;
}

.product-card a.product-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.product-card .btn {
    position: relative;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--gray-light);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.product-name {
    font-size: 1.125rem;
    margin: 0 0 12px 0;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    gap: 8px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb span:last-child {
    color: var(--dark);
    font-weight: 600;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    background: white;
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 64px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-main {
    position: relative;
    background: var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.thumbnail {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail:hover {
    border-color: var(--gray);
}

.thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-info h1 {
    font-size: 2.25rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

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

.stars {
    color: #fbbf24;
    font-size: 1.125rem;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--gray);
    font-size: 0.9375rem;
}

.product-detail-price {
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 800;
    margin: 24px 0;
}

.product-detail-description {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.stock-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0fdf4;
    color: var(--success);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.product-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--dark);
}

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

.add-to-cart-form {
    margin-bottom: 24px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 600;
    font-size: 15px;
}

.quantity-selector input {
    width: 100px;
    padding: 12px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
    font-weight: 600;
}

.quantity-selector input:focus {
    outline: none;
    border-color: var(--dark);
}

.product-info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fef9c3;
    border-radius: 8px;
    border: 1px solid #fde047;
}

.product-info-box i {
    color: #ca8a04;
    font-size: 1.5rem;
    margin-top: 2px;
}

.product-info-box strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
}

.product-info-box p {
    margin: 0;
    font-size: 0.9375rem;
    color: #854d0e;
}

/* Cart */
.cart-container {
    background: white;
    border-radius: 12px;
    padding: 48px;
    border: 1px solid var(--border);
    margin-bottom: 64px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-bottom: 64px;
}

.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}

.cart-item-card:hover {
    box-shadow: var(--shadow-md);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--gray-light);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark);
    margin: 0;
}

.cart-item-category {
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.cart-item-unit-price {
    color: var(--gray);
    font-size: 0.9375rem;
    margin: 0;
}

.cart-item-quantity {
    text-align: center;
}

.quantity-label {
    font-weight: 600;
    color: var(--dark);
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-price {
    color: var(--dark);
    font-weight: 700;
    font-size: 1.25rem;
}

.remove-btn {
    color: var(--danger);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.remove-btn:hover {
    opacity: 0.7;
}

.cart-summary-section {
    position: sticky;
    top: 84px;
    height: fit-content;
}

.cart-summary-card {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.cart-summary-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.9375rem;
}

.free-badge {
    background: #dcfce7;
    color: var(--success);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

.payment-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.875rem;
}

.payment-info i {
    color: var(--success);
}

.empty-cart {
    text-align: center;
    padding: 80px 40px;
}

.empty-cart i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 24px;
}

.empty-cart h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Checkout */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-bottom: 64px;
}

.checkout-form {
    background: white;
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.checkout-form h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    font-weight: 700;
    color: var(--dark);
}

.payment-security-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #86efac;
    margin-bottom: 32px;
}

.payment-security-info i {
    font-size: 2rem;
    color: var(--success);
}

.payment-security-info strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
}

.payment-security-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #166534;
}

/* Stripe-style Payment Form */
.stripe-payment-container {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stripe-card-element {
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.stripe-card-element:last-child {
    border-bottom: none;
}

.stripe-card-element label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #30313d;
    margin-bottom: 0;
    padding: 12px 16px 8px 16px;
}

.stripe-input-wrapper {
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.stripe-card-input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    font-size: 16px;
    color: #30313d;
    background: white;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: background-color 0.15s ease;
}

.stripe-card-input:focus {
    background-color: #fafafa;
}

.stripe-card-input::placeholder {
    color: #aab7c4;
}

.stripe-input-wrapper .stripe-card-input {
    padding-right: 100px;
}

.card-brand-icons {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
}

.card-brand-icons i {
    font-size: 24px;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.card-brand-icons i.active {
    opacity: 1;
}

.fab.fa-cc-visa {
    color: #1434CB;
}

.fab.fa-cc-mastercard {
    color: #EB001B;
}

.fab.fa-cc-amex {
    color: #006FCF;
}

.stripe-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.stripe-input-row .stripe-card-input {
    border-right: 1px solid #e0e0e0;
}

.stripe-input-row .stripe-card-input:last-child {
    border-right: none;
}

select.stripe-card-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23697386' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.payment-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #697386;
    font-size: 13px;
}

.badge-item i {
    color: #10b981;
    font-size: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dark);
}

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

.order-summary {
    background: var(--gray-light);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 84px;
}

.order-summary h3 {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    font-size: 1.25rem;
    font-weight: 700;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.order-total span:last-child {
    color: var(--dark);
}

.payment-method {
    background: #fef9c3;
    padding: 16px;
    border-radius: 8px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #fde047;
}

.payment-method i {
    color: #ca8a04;
    font-size: 1.5rem;
}

/* Success Page */
.success-container {
    text-align: center;
    background: white;
    padding: 80px 60px;
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 640px;
    margin: 64px auto;
}

.success-container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 100px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.main-footer {
    background: #111827;
    color: white;
    padding: 48px 0;
    text-align: center;
    margin-top: 0;
    border-top: 1px solid #1f2937;
}

.main-footer p {
    opacity: 0.7;
    margin: 8px 0;
    font-size: 14px;
}

/* Admin Styles */
.admin-header {
    background: var(--dark);
    color: white;
    padding: 15px 0;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header .logo {
    color: white;
}

.admin-nav {
    display: flex;
    gap: 20px;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.admin-nav a:hover {
    opacity: 1;
}

.admin-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 60px);
}

.admin-sidebar {
    background: white;
    padding: 30px;
    box-shadow: var(--shadow);
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: var(--primary);
    color: white;
}

.admin-main {
    padding: 30px;
}

.admin-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.admin-card h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--dark);
}

.stat-card p {
    color: var(--gray);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--light);
    font-weight: 600;
}

.admin-table tr:hover {
    background: #f8fafc;
}

.admin-table img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.action-btns {
    display: flex;
    gap: 8px;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.login-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.login-container .logo {
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-delivered {
    background: #dcfce7;
    color: #166534;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Header */
    header {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .main-nav {
        gap: 16px;
    }
    
    .main-nav a:not(.cart-link) {
        display: none;
    }
    
    .cart-link {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Hero */
    .hero {
        padding: 60px 16px;
        min-height: auto;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 6px 14px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    /* Features */
    .features-section {
        padding: 48px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 48px 16px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    /* Filter Bar */
    .products-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    /* Page Header */
    .page-header {
        padding: 24px 0;
    }
    
    .page-header-content h1 {
        font-size: 1.75rem;
    }
    
    .page-header-content p {
        font-size: 14px;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    /* Product Detail */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .product-detail-info h1 {
        font-size: 1.75rem;
    }
    
    .product-detail-price {
        font-size: 2rem;
    }
    
    .product-features {
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }
    
    .feature-item {
        font-size: 14px;
    }
    
    /* Cart */
    .cart-container {
        padding: 20px;
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-summary-section {
        position: static;
    }
    
    .cart-item-card {
        grid-template-columns: 100px 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
    
    .cart-item-name {
        font-size: 1rem;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        grid-column: 2;
    }
    
    .cart-item-total {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-item-price {
        font-size: 1.125rem;
    }
    
    .remove-btn {
        font-size: 13px;
    }
    
    .cart-summary-card {
        padding: 24px;
    }
    
    /* Checkout */
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-form {
        padding: 24px;
    }
    
    .checkout-form h2 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .stripe-payment-container {
        margin-bottom: 16px;
    }
    
    .stripe-card-element label {
        font-size: 12px;
        padding: 10px 12px 6px 12px;
    }
    
    .stripe-card-input {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .card-brand-icons {
        right: 8px;
    }
    
    .card-brand-icons i {
        font-size: 20px;
    }
    
    .payment-badges {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .badge-item {
        font-size: 12px;
    }
    
    .order-summary {
        position: static;
        padding: 20px;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 15px;
        padding: 10px 12px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .btn-sm {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    /* Admin */
    .admin-container {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        padding: 16px;
    }
    
    .admin-card {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .admin-table {
        font-size: 13px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
    
    /* Empty States */
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-cart {
        padding: 60px 20px;
    }
    
    .empty-cart i {
        font-size: 3rem;
    }
}

/* Modern Homepage Styles */
.hero-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    color: white;
    animation: slideInLeft 0.8s ease forwards;
}

.hero-right {
    position: relative;
    animation: slideInRight 0.8s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 18px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    opacity: 0.9;
}


.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-product-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-1 {
    top: 10%;
    left: -20px;
    color: #10b981;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -20px;
    color: #f59e0b;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 15%;
    left: 10%;
    color: #8b5cf6;
    animation-delay: 2s;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    background: white;
}

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

.benefit-item {
    text-align: center;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover .benefit-icon {
    transform: translateY(-10px) rotate(5deg);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit-item p {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* Categories Modern */
.categories-modern {
    padding: 80px 0;
    background: #fafafa;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-large {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

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

.category-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: scaleIn 0.5s ease forwards;
    opacity: 0;
}

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

.category-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.category-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.category-card-modern:hover .category-image-wrapper img {
    transform: scale(1.1);
}

.category-icon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-info {
    padding: 24px;
}

.category-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}

.category-info p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.category-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.category-card-modern:hover .category-arrow i {
    transform: translateX(4px);
    transition: transform 0.3s ease;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background: white;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card-modern:nth-child(1) { animation-delay: 0.1s; }
.product-card-modern:nth-child(2) { animation-delay: 0.15s; }
.product-card-modern:nth-child(3) { animation-delay: 0.2s; }
.product-card-modern:nth-child(4) { animation-delay: 0.25s; }
.product-card-modern:nth-child(5) { animation-delay: 0.3s; }
.product-card-modern:nth-child(6) { animation-delay: 0.35s; }

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.product-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-image-container {
    height: 280px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

.product-card-modern:hover .product-image-container img {
    transform: scale(1.05);
}

.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category-tag {
    display: inline-block;
    background: #f3f4f6;
    color: var(--gray);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}

.product-flavors {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 16px;
    min-height: 1.5rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price-tag {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.price-currency {
    font-size: 1.25rem;
}

.btn-add-cart {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
    border: none;
    cursor: pointer;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-add-cart:active {
    transform: scale(0.95);
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: #fafafa;
}

.trust-content {
    text-align: center;
}

.trust-header {
    margin-bottom: 60px;
}

.trust-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.trust-header p {
    font-size: 1.125rem;
    color: var(--gray);
}

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

.trust-stat {
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.trust-stat:nth-child(1) { animation-delay: 0.1s; }
.trust-stat:nth-child(2) { animation-delay: 0.2s; }
.trust-stat:nth-child(3) { animation-delay: 0.3s; }
.trust-stat:nth-child(4) { animation-delay: 0.4s; }

.trust-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.trust-stat:hover .trust-number {
    animation: pulse 0.6s ease;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.75rem;
    color: white;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.trust-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.1;
}

.cta-box {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-box h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.text-center {
    text-align: center;
}

/* Page Header Modern */
.page-header-modern {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb i {
    font-size: 10px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.filter-bar-modern {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-pill:hover {
    border-color: var(--primary);
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-pill.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: scale(1.05);
}

.filter-pill:active {
    transform: scale(0.95);
}

.empty-state-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.empty-icon-modern {
    width: 100px;
    height: 100px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 3rem;
    color: var(--gray);
}

.empty-state-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-state-modern p {
    color: var(--gray);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .categories-grid-modern,
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-info {
        gap: 16px;
    }
    
    .header-info span {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 6px 0;
    }
    
    .header-info span:last-child {
        display: none;
    }
    
    .nav-modern {
        gap: 4px;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 18px;
    }
    
    .logo-modern {
        gap: 8px;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .logo-name {
        font-size: 1.25rem;
    }
    
    .logo-tagline {
        font-size: 9px;
    }
    
    .filter-bar-modern {
        padding: 16px;
    }
    
    .filter-pills {
        gap: 8px;
    }
    
    .filter-pill {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .page-header-modern {
        padding: 30px 0;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .header-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-main {
        padding: 12px 0;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .hero-modern {
        padding: 40px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .hero-product-img {
        max-width: 100%;
    }
    
    .floating-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .categories-grid-modern,
    .products-grid-modern,
    .benefits-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title-large {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-image-wrapper {
        height: 180px;
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .trust-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .trust-stat {
        padding: 24px;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
    
    .filter-header {
        font-size: 0.9rem;
    }
}
