/* ============================================
   KLUGNA.DE - Premium Dropshipping Shop
   Modernes, vertrauenswürdiges E-Commerce Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Farben */
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-hover: #ff6b6b;
    --success: #00bf63;
    --warning: #ffc107;
    --bg-light: #f8f9fa;
    --bg-cream: #fefefe;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --border-light: #e9ecef;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 48px rgba(0,0,0,0.15);
    
    /* Typografie */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    max-width: 900px;
}

.container-lg {
    max-width: 1600px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-xs) 0;
    font-size: 0.85rem;
}

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

.header-top-links {
    display: flex;
    gap: var(--space-md);
}

.header-top-links a:hover {
    color: var(--accent);
}

.header-main {
    padding: var(--space-sm) 0;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.nav-main {
    display: flex;
    gap: var(--space-lg);
}

.nav-main a {
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.nav-main a:hover::after,
.nav-main a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.search-box {
    position: relative;
}

.search-input {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    width: 280px;
    transition: var(--transition-smooth);
    background: var(--bg-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    width: 320px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.btn-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition-smooth);
    position: relative;
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge svg {
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-features {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    opacity: 0.85;
}

.hero-feature svg {
    color: var(--success);
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.hero-image-main:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

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

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

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

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

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   CATEGORIES
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}

.category-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   PRODUCTS GRID
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.product-badge {
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--accent);
    color: var(--white);
}

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

.badge-hot {
    background: var(--warning);
    color: var(--text-dark);
}

.product-actions {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.product-action-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.product-info {
    padding: var(--space-md);
}

.product-category {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a:hover {
    color: var(--accent);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: 0.75rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.btn-add-cart:hover {
    background: var(--accent);
    transform: scale(1.15);
}

/* ============================================
   FEATURES BANNER
   ============================================ */

.features-banner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0.05) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-2xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    padding: var(--space-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-payments {
    display: flex;
    gap: var(--space-sm);
}

.footer-payments img {
    height: 24px;
    opacity: 0.7;
}

/* ============================================
   PRODUCT PAGE
   ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.breadcrumb-separator {
    opacity: 0.5;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    padding: var(--space-lg) 0 var(--space-2xl);
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: var(--space-sm);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: var(--space-xs);
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent);
}

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.product-sku {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.product-detail-price .price-current {
    font-size: 2rem;
}

.product-detail-price .price-old {
    font-size: 1.2rem;
}

.price-discount {
    background: var(--accent);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.product-options {
    margin-bottom: var(--space-lg);
}

.option-group {
    margin-bottom: var(--space-md);
}

.option-label {
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: block;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.option-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-weight: 500;
    transition: var(--transition-fast);
}

.option-btn:hover {
    border-color: var(--primary);
}

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

.quantity-selector {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.product-detail-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.product-detail-actions .btn {
    flex: 1;
}

.product-guarantees {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.guarantee-item:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.guarantee-icon {
    color: var(--success);
}

/* ============================================
   CART PAGE
   ============================================ */

.cart-page {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xl);
}

.cart-items {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.cart-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-item-price {
    font-weight: 600;
}

.cart-item-remove {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--accent);
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.cart-summary h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 2px solid var(--border-light);
}

.coupon-form {
    display: flex;
    gap: var(--space-xs);
    margin: var(--space-md) 0;
}

.coupon-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
}

/* ============================================
   CHECKOUT
   ============================================ */

.checkout-page {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-xl);
}

.checkout-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
}

.checkout-section {
    margin-bottom: var(--space-lg);
}

.checkout-section h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--border-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

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

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method.active {
    border-color: var(--primary);
    background: rgba(26, 26, 46, 0.02);
}

.order-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    height: fit-content;
    position: sticky;
    top: 120px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.legal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xl);
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--border-light);
}

.legal-content h2 {
    font-size: 1.25rem;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--primary);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: var(--space-md) 0 var(--space-xs);
}

.legal-content p {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-content ul {
    margin: var(--space-sm) 0;
    padding-left: var(--space-md);
}

.legal-content li {
    margin-bottom: var(--space-xs);
    list-style-type: disc;
    color: var(--text-dark);
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent-hover);
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* ============================================
   ADMIN STYLES
   ============================================ */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-md);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.admin-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.9rem var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    opacity: 0.8;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.1);
    opacity: 1;
}

.admin-nav a.active {
    background: var(--accent);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: var(--space-lg);
    background: var(--bg-light);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.admin-header h1 {
    font-size: 1.75rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-icon.green {
    background: rgba(0, 191, 99, 0.1);
    color: var(--success);
}

.stat-icon.yellow {
    background: rgba(255, 193, 7, 0.1);
    color: #f59e0b;
}

.stat-icon.red {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--accent);
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-card-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h2 {
    font-size: 1.1rem;
}

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

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

.admin-table th {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table tr:hover {
    background: var(--bg-light);
}

.status-badge {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #f59e0b;
}

.status-processing {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-shipped {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.status-delivered {
    background: rgba(0, 191, 99, 0.1);
    color: var(--success);
}

.status-cancelled {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

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

.modal-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    padding: var(--space-md);
}

.modal-footer {
    padding: var(--space-md);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

/* ============================================
   EMPTY STATES
   ============================================ */

.empty-state {
    text-align: center;
    padding: var(--space-2xl);
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 2.5rem;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */

.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--border-light) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.toast {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

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

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--accent);
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto var(--space-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .nav-main {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .search-box {
        display: none;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-features {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: auto 1fr;
        gap: var(--space-sm);
    }
    
    .cart-item-price,
    .cart-item-remove {
        grid-column: 2;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Legal page extras */
.legal-main {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.highlight-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin: 1rem 0;
}

.form-template {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
}

.legal-date {
    margin-top: 3rem;
    font-style: italic;
    color: var(--text-muted);
}

