﻿/* =====================================
   DRIVESTORE - MODERNÍ RESPONZIVNÍ CSS
   ===================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Public+Sans:wght@300;400;500;600&display=swap');

/* CSS Reset & Základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimalizace pro plynulý scrolling */
html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #2563eb;
    --accent-pink: #ea580c;
    --accent-pink-light: #fb923c;
    --accent-pink-dark: #c2410c;
    --accent-purple: #2563eb;
    --accent-green: #16a34a;
    --accent-blue: #0ea5e9;
    --accent-orange: #ea580c;
    --accent-red: #ef4444;
    --text-dark: #1a202c;
    --text-medium: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --hero-background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow: 0 4px 24px rgba(30, 64, 175, 0.08);
    --shadow-hover: 0 8px 32px rgba(30, 64, 175, 0.12);
    --shadow-lg: 0 16px 48px rgba(30, 64, 175, 0.15);
    --shadow-xl: 0 25px 60px rgba(30, 64, 175, 0.2);
    --card-radius: 16px;
    --button-radius: 12px;
    --badge-radius: 20px;
    --container-width: 1200px;
    --gradient-primary: linear-gradient(135deg, #1e40af, #2563eb);
    --gradient-secondary: linear-gradient(135deg, #16a34a, #15803d);
    --gradient-tertiary: linear-gradient(135deg, #0ea5e9, #0284c7);
    --gradient-warning: linear-gradient(135deg, #f59e0b, #d97706);
    --gradient-danger: linear-gradient(135deg, #ef4444, #dc2626);
    --gradient-pink: linear-gradient(135deg, #ea580c, #c2410c);
    --gradient-purple: linear-gradient(135deg, #2563eb, #1d4ed8);
    --gradient-shimmer: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--background);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    scroll-behavior: smooth;
    scroll-behavior: smooth;
    /* transform: translateZ(0); REMOVED - Breaks position: fixed */
}

/* Global Button Group Responsiveness */
.checkout-actions,
.hero-buttons,
.modal-footer,
.form-actions,
.buttons-group {
    display: flex;
    gap: 12px;
}

/* Ensure right alignment by default for standard actions */
.checkout-actions,
.modal-footer,
.form-actions {
    justify-content: flex-end;
}

/* Ensure left alignment by default for hero/content actions */
.hero-buttons,
.buttons-group {
    justify-content: flex-start;
    align-items: center;
}

@media (max-width: 600px) {

    /* Target all known button containers */
    .checkout-actions,
    .hero-buttons,
    .modal-footer,
    .form-actions,
    .buttons-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 16px;
    }

    /* Reverse order for checkout/modal actions (Primary on top) */
    .checkout-actions,
    .modal-footer {
        flex-direction: column-reverse;
    }

    /* Force full width on buttons inside these containers */
    .checkout-actions button,
    .checkout-actions a,
    .hero-buttons button,
    .hero-buttons a,
    .modal-footer button,
    .modal-footer a,
    .form-actions button,
    .form-actions a,
    .buttons-group button,
    .buttons-group a,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-hero {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
    }
}

/* Manrope font pro nadpisy */
h1,
h2,
h3,
h4,
h5,
h6,
.hero h1,
.section-header h2,
.feature-card h3,
.product-info h3,
.hero-widget-info h3,
.footer-logo,
.testimonial-author h4,
.logo a {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

button {
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    outline: none;
}

/* Animace */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -8px, 0);
    }

    70% {
        transform: translate3d(0, -4px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-in-left {
    animation: fadeInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* HEADER */
header,
header.ds-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}
header.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
header.header-hidden { transform: translateY(-100%); transition: transform 0.3s ease; }

.ds-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 64px;
}

/* Logo */
.ds-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.ds-header__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.ds-header__logo-icon .lucide { width: 18px; height: 18px; }
.ds-header__logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.3px;
}
.ds-header__logo-text strong { font-weight: 800; color: #1e40af; }

/* Nav */
.ds-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.ds-header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.ds-header__nav-link .lucide { width: 14px; height: 14px; }
.ds-header__nav-link:hover,
.ds-header__nav-link.active {
    background: #eff6ff;
    color: #1e40af;
}

/* Right side — cart */
.ds-header__right { margin-left: auto; }
.ds-header__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ds-header__cart .lucide { width: 19px; height: 19px; }
.ds-header__cart:hover,
.ds-header__cart.active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* Keep old .cart a working for other pages */
.cart a {
    position: relative;
    padding: 12px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.cart a:hover {
    color: var(--primary-color);
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* Keep old .navbar for other pages */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark);
}
.logo .icon {
    background: var(--gradient-primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
}
.right-nav { display: flex; align-items: center; }

/* Mobile header */
@media (max-width: 640px) {
    .ds-header__nav { display: none; }
    .ds-header__inner { gap: 16px; }
}

.cart a.active {
    color: var(--primary-color);
    background: rgba(30, 64, 175, 0.15);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-pink);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.cart-count.has-items {
    opacity: 1;
    transform: scale(1);
}

/* BUTTONS - MODERNIZOVANÉ */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 20px 36px;
    border-radius: var(--button-radius);
    font-weight: 600;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

@keyframes pulse-purple {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
    }
}

/* Checkout buttons: highlighted but not pulsing */
.checkout-btn,
#checkout-btn,
a[href="details.php"].btn-primary {
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    filter: brightness(1.1);
}

.btn-primary:active {
    transition: transform 0.1s;
}

.btn-outline {
    background: var(--glass-bg);
    color: var(--primary-color);
    padding: 14px 28px;
    border: 2px solid rgba(30, 64, 175, 0.2);
    border-radius: var(--button-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.1);
}

/* HERO SECTION */
.hero {
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(150deg, #1e3a8a 0%, #1e40af 55%, #1d4ed8 100%),
        url('../images/hero-background.png') center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-attachment: scroll;
    will-change: auto;
    transform: translateZ(0);
}

/* Enhanced Hero Background with Floating Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}



/* Add floating geometric shapes */
.hero::after {
    display: none;
}

.hero-particles {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Cart Item Spacing Fixes - Reverted */


.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    color: white;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero h1 .highlight {
    color: #ffffff;

}

.hero h1 .text-white {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-brands {
    padding: 60px 0 40px 0;
    position: relative;
}

.brands-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 20px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 120px;
}

.brand-item:hover {
    opacity: 1;
    transform: translateY(-8px);
}

.brand-logo-img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    border-radius: 8px;
    background: transparent;
    padding: 8px;
}

.brand-item:hover .brand-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 15px rgba(255, 255, 255, 0.5));
    transform: scale(1.15);
}

.brand-name {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.brand-item:hover .brand-name {
    color: white;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* Responsive brands */
@media (max-width: 768px) {
    .hero-brands {
        padding: 40px 0 30px 0;
    }

    .brands-list {
        gap: 40px;
        padding: 0 15px;
    }

    .brand-item {
        min-width: 100px;
    }

    .brand-logo-img {
        width: 60px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .brands-list {
        gap: 30px;
        padding: 0 10px;
    }

    .brand-item {
        min-width: 80px;
    }

    .brand-logo-img {
        width: 50px;
        height: 35px;
    }
}



.btn-hero {
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Animated Background Gradient */
.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: inherit;
}

/* Shimmer Effect */
.btn-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.8s ease;
}

.btn-hero:hover::before {
    opacity: 1;
}

.btn-hero:hover::after {
    left: 100%;
}

.btn-hero.primary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero.primary:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    filter: brightness(1.15);
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    filter: brightness(1.15);
}

/* Button Icon Enhancement */
.btn-hero .lucide {
    transition: all 0.4s ease;
    position: relative;
    width: 1.25em;
    height: 1.25em;
}

.btn-hero:hover .lucide {
    transform: scale(1.2) rotate(5deg);
}

/* Button Text Enhancement */
.btn-hero span,
.btn-hero {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* HERO PRODUCT CARD */
.hero-product {
    display: flex;
    justify-content: center;
}

/* New HDD Stack Image Styling */
.hero-image-container {
    position: relative;
    max-width: 750px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating elements around HDD */
.hero-image-container::before,
.hero-image-container::after {
    display: none;
}

.hero-hdd-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.hero-hdd-image:hover {
    transform: scale(1.05) rotateY(5deg);
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.25));
}

.hero-image-container .floating-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow:
        0 15px 35px rgba(30, 64, 175, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-image-container .floating-badge i {
    color: var(--accent-pink-light);
    font-size: 14px;
}

.hero-image-container .floating-badge:hover {
    transform: scale(1.1);
    box-shadow:
        0 20px 45px rgba(30, 64, 175, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card.hero-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card.hero-widget:hover {
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.product-card.hero-widget:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.hero-widget-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.hero-widget-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-medium);
}

.spec i {
    color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* DISCOUNT BADGE */
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-pink);
    color: white;
    padding: 4px 8px;
    border-radius: var(--badge-radius);
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow);
}

.hero-discount-badge {
    top: 16px;
    right: 16px;
}

/* SECTIONS */
.products {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    backdrop-filter: blur(20px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Hero section badge - bílé na gradientu */
.hero .section-badge {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Products a features section badge - tmavé na světlém */
.products .section-badge,
.features .section-badge,
.section-header.centered .section-badge {
    background: rgba(30, 64, 175, 0.15);
    border: 1px solid rgba(30, 64, 175, 0.3);
    color: var(--primary-dark);
    text-shadow: none;
}

.section-badge .lucide {
    width: 14px;
    height: 14px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--card-radius);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--secondary-color),
            var(--accent-pink));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

.product-card:hover {
    box-shadow:
        0 40px 80px rgba(30, 64, 175, 0.15),
        0 20px 40px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(30, 64, 175, 0.3);
}

.product-card:hover .product-image-wrapper {
    transform: scale(1.05);
}

.product-image-wrapper {
    position: relative;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    overflow: hidden;
    border-radius: 12px;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

.specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.spec .lucide {
    color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.spec .value {
    font-weight: 500;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
    margin-bottom: 8px;
}

.add-to-cart[data-adding="true"] {
    opacity: 0.7;
    pointer-events: none;
}

.add-to-cart .lucide-loader {
    animation: spin 1s linear infinite;
}

.quick-view-btn {
    width: 100%;
    font-size: 13px;
}

/* STATS SECTION */
.stats {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 40px 32px;
    background: var(--gray-50);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: left 0.6s;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    filter: brightness(1.05);
}

.stat .icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat .icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s;
}

.stat:hover .icon::before {
    left: 100%;
}

.stat:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.stat .number {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 20px 0 12px 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.stat:hover .number {
    transform: scale(1.1);
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 48px;
    border-radius: 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -25px;
    left: 36px;
    font-size: 140px;
    color: var(--primary-color);
    opacity: 0.06;
    font-family: serif;
    line-height: 1;
    transition: all 0.4s ease;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: left 0.6s;
}

.testimonial-card:hover::after {
    left: 100%;
}

.testimonial-card:hover::before {
    opacity: 0.1;
    transform: scale(1.1);
}

.testimonial-card:hover {
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.15);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.98);
}

.testimonial-content {
    margin-bottom: 32px;
}

.stars {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    justify-content: center;
}

.stars i {
    color: #fbbf24;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: default;
}

.testimonial-card:hover .stars i {
    transform: scale(1.1);
    animation: bounce 0.6s ease;
}

.testimonial-card:hover .stars i:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-card:hover .stars i:nth-child(2) {
    animation-delay: 0.1s;
}

.testimonial-card:hover .stars i:nth-child(3) {
    animation-delay: 0.2s;
}

.testimonial-card:hover .stars i:nth-child(4) {
    animation-delay: 0.3s;
}

.testimonial-card:hover .stars i:nth-child(5) {
    animation-delay: 0.4s;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-info span {
    color: var(--text-light);
    font-size: 14px;
}

/* NEWSLETTER SECTION */
.newsletter {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter-text span {
    color: var(--accent-pink-light);
}

.newsletter-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.benefit i {
    color: var(--accent-pink-light);
    font-size: 18px;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    padding: 48px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.newsletter-form:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.form-group input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group button {
    padding: 18px 32px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.form-group button:hover {
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

.form-group button:active {
    filter: brightness(0.95);
}

.form-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0;
}

/* ENHANCED ANIMATIONS */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat.counting .number {
    animation: countUp 0.6s ease-out;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-animate[data-delay="0"] {
    transition-delay: 0s;
}

.scroll-animate[data-delay="100"] {
    transition-delay: 0.1s;
}

.scroll-animate[data-delay="200"] {
    transition-delay: 0.2s;
}

.scroll-animate[data-delay="300"] {
    transition-delay: 0.3s;
}

.scroll-animate[data-delay="400"] {
    transition-delay: 0.4s;
}

.scroll-animate[data-delay="500"] {
    transition-delay: 0.5s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-image-container {
        max-width: 450px;
        margin: 0 auto;
    }

    .hero-hdd-image {
        max-width: 420px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .hero-content {
        gap: 32px;
    }

    .hero-text,
    .hero-product {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-logo .icon {
        align-self: center;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-image-container {
        max-width: 380px;
        margin: 0 auto;
    }

    .hero-hdd-image {
        max-width: 350px;
    }

    .hero-image-container .floating-badge {
        top: -8px;
        right: -8px;
        padding: 8px 16px;
        font-size: 10px;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: 32px 0;
    }

    .feature-item {
        font-size: 14px;
        gap: 10px;
    }

    .feature-item i {
        font-size: 18px;
    }

    .brand-item img {
        height: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .product-card {
        padding: 16px;
    }

    .feature-card {
        padding: 28px 20px;
    }
}

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-badge,
    .hero-particles,
    .feature-item i {
        animation: none !important;
    }

    .product-card:hover,
    .feature-card:hover,
    .testimonial-card:hover,
    .stat:hover {
        transform: none !important;
    }
}

/* SELECTION STYLES */
::selection {
    background: rgba(30, 64, 175, 0.2);
    color: var(--text-dark);
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.5);
    }

    .btn-primary,
    .btn-outline {
        border-width: 2px;
    }
}

/* ANIMATION PERFORMANCE OPTIMIZATIONS */
.product-card,
.feature-card,
.testimonial-card,
.stat,
.brand-item,
.feature-item {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* FEATURES SECTION */
.features {
    padding: 120px 0;
    background: #E2E7F1;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}


.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px auto;
    position: relative;
    z-index: 1;
}

.section-header.centered .section-badge {
    background: rgba(30, 64, 175, 0.15);
    color: var(--primary-dark);
    border: 1px solid rgba(30, 64, 175, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Modern Widget Style Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    padding: 48px 36px 40px;
    text-align: center;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Gradient Border Animation */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--secondary-color),
            var(--accent-pink));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Floating Particles Effect */
.feature-card::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.8s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.5);
}

@keyframes borderGlow {
    0% {
        background: linear-gradient(135deg,
                var(--primary-color),
                var(--secondary-color),
                var(--accent-pink));
    }

    100% {
        background: linear-gradient(135deg,
                var(--accent-pink),
                var(--primary-color),
                var(--secondary-color));
    }
}

.feature-card:hover {
    box-shadow:
        0 40px 80px rgba(30, 64, 175, 0.15),
        0 20px 40px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(30, 64, 175, 0.3);
}

/* Premium Icon Design */
.feature-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 36px auto;
    font-size: 40px;
    color: white;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 20px 40px rgba(30, 64, 175, 0.25),
        0 8px 16px rgba(30, 64, 175, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.feature-icon .lucide {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}



.feature-icon::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    background: inherit;
    border-radius: inherit;
    opacity: 0.15;
    filter: blur(8px);
    z-index: -1;
    transition: all 0.6s ease;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow:
        0 25px 50px rgba(30, 64, 175, 0.35),
        0 12px 24px rgba(30, 64, 175, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}



.feature-card:hover .feature-icon::after {
    opacity: 0.25;
    transform: scale(1.2);
}

/* Typography Enhancements */
.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    position: relative;
}





.feature-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    font-weight: 500;
}

/* Feature Details with Enhanced Styling */
.feature-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-medium);
    font-weight: 600;
    padding: 12px 20px;
    background: rgba(30, 64, 175, 0.05);
    border: 1px solid rgba(30, 64, 175, 0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover .detail-item {
    background: rgba(30, 64, 175, 0.08);
    border-color: rgba(30, 64, 175, 0.15);
    color: var(--primary-color);
}

.feature-card:hover .detail-item::before {
    left: 100%;
}

/* Staggered Detail Items Animation */
.feature-card:hover .detail-item:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:hover .detail-item:nth-child(2) {
    transition-delay: 0.2s;
}

/* Interactive Widget States */
.feature-card.active {
    box-shadow:
        0 40px 80px rgba(30, 64, 175, 0.2),
        0 20px 40px rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 1);
}

/* Responsive Widget Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 600px;
    }

    .feature-card {
        padding: 40px 32px 36px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 80px 0;
    }

    .feature-card {
        padding: 36px 28px 32px;
        border-radius: 24px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        border-radius: 20px;
        margin-bottom: 28px;
    }

    .feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .feature-card p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px 28px;
        border-radius: 20px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }
}

/* ENHANCED HERO FEATURES - SIMPLE & CLEAN */
.hero-features {
    display: flex;
    gap: 40px;
    margin: 48px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item:hover {
    filter: brightness(1.15);
}

.feature-item .lucide {
    color: var(--accent-pink-light);
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.feature-item:hover .lucide {
    transform: scale(1.2);
}

.feature-item span {
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* FOOTER - ANTRACITOVÝ DESIGN */
footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #2d3748 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Moderní pozadí s efekty */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* Footer Logo Sekce */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .icon {
    background: var(--gradient-primary);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
}

.footer-logo .icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.4);
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 400px;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-column h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    letter-spacing: -0.25px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: inline-block;
    position: relative;
}

.footer-column ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-pink-light);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-column ul li a:hover::before {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Speciální barvy pro social sítě */
.social-links a[title="Facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-links a[title="Twitter"]:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-links a[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-links a[title="LinkedIn"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* Admin Link */
.admin-footer-link {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.admin-footer-link:hover {
    opacity: 1 !important;
    background: var(--gradient-primary) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* HIGH CONTRAST MODE PRO ACCESSIBILITY */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000 !important;
        --text-medium: #1a1a1a !important;
        --text-light: #333333 !important;
        --text-muted: #666666 !important;
    }

    .section-badge {
        background: rgba(0, 0, 0, 0.9) !important;
        color: white !important;
        border: 2px solid white !important;
        font-weight: 900 !important;
    }

    .hero .section-badge {
        background: rgba(0, 0, 0, 0.8) !important;
        color: white !important;
        border: 2px solid white !important;
    }

    .feature-card h3,
    .product-info h3,
    .section-header h2,
    .hero-widget-info h3 {
        color: #000000 !important;
        font-weight: 900 !important;
    }

    .feature-card p,
    .section-header p,
    .product-desc {
        color: #333333 !important;
        font-weight: 600 !important;
    }
}

/* Responsive Footer Design */
@media (max-width: 900px) {
    footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-logo .icon {
        align-self: center;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 40px 0 20px;
        /* Reduced padding */
    }

    .footer-content {
        gap: 24px;
        /* Reduced from 40px/default */
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Reduced from 24px */
        text-align: center;
    }

    .footer-column h4 {
        margin-bottom: 16px;
        /* Reduced margin below headers */
    }

    .footer-column ul li {
        margin-bottom: 8px;
        /* Reduced from 12px */
    }

    .footer-column ul li a {
        padding: 4px 0;
        /* Reduced from 8px */
        font-size: 14px;
        /* Slightly smaller text */
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Add floating geometric shapes */
.hero::after {
    display: none;
}

.hero-particles {
    display: none;
}

@keyframes particles {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floatingShape1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
}

/* BRANDS BANNER - SKEWED DARK STRIPE */
.brands-banner {
    height: 120px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%);
    position: relative;
    overflow: hidden;
    transform: skewY(-2deg);
    margin: -10px 0 30px 0;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Reset skew for content */
.brands-container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated track */
.brands-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scrollBrands 20s linear infinite;
    white-space: nowrap;
    padding: 0 40px;
}

/* Brand logo styling */
.brand-logo {
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.4s ease;
    filter: brightness(0) invert(1);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.1) translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.brand-logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    transition: all 0.4s ease;
}

/* Scrolling animation */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-640px);
        /* 5 logos * 160px (120px + 40px gap) */
    }
}

/* Gradient overlays for seamless fade */
.brands-banner::before,
.brands-banner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-banner::before {
    left: 0;
    background: linear-gradient(90deg, #1f2937 0%, transparent 100%);
}

.brands-banner::after {
    right: 0;
    background: linear-gradient(270deg, #1f2937 0%, transparent 100%);
}

/* Pause animation on hover */
.brands-banner:hover .brands-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .brands-banner {
        height: 100px;
        transform: skewY(-1.5deg);
    }

    .brands-container {
        /* No skew reset - keep same angle as banner */
    }

    .brand-logo {
        padding: 8px 16px;
    }

    .brand-logo img {
        height: 32px;
        max-width: 100px;
    }

    .brands-track {
        gap: 60px;
    }

    @keyframes scrollBrands {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-520px);
        }
    }
}

@media (max-width: 480px) {
    .brands-banner {
        height: 80px;
        transform: skewY(-1deg);
    }

    .brands-container {
        /* No skew reset - keep same angle as banner */
    }

    .brand-logo img {
        height: 24px;
        max-width: 80px;
    }

    .brands-track {
        gap: 40px;
    }
}

/* FEATURES SECTION */

/* PARTNERS SECTION - SIMPLE BRANDS */
.partners {
    padding: 60px 0 30px 0;
    background: #E2E7F1;
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.partners-wrapper {
    position: relative;
    padding: 20px 0;
    z-index: 1;
}

.partners-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-img {
    width: 180px;
    height: 90px;
    object-fit: contain;
    filter: brightness(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .partners {
        padding: 50px 0 25px 0;
    }

    .partners-track {
        gap: 60px;
    }

    .partner-img {
        width: 160px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 40px 0 20px 0;
    }

    .partners-track {
        gap: 40px;
    }

    .partner-img {
        width: 140px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .partners {
        padding: 30px 0 15px 0;
    }

    .partners-track {
        gap: 30px;
    }

    .partner-img {
        width: 120px;
        height: 60px;
    }
}

/* ===================================== 
   MODAL STYLES - PRODUCT DETAIL MODAL
   ===================================== */

/* Product Modal Overlay */
.product-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0);
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10000 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(0px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

/* Product Modal Container */
.product-modal {
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    opacity: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    margin: auto;
}

.product-modal-overlay.active .product-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Modal Close Button */
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: #374151;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Modal Content */
.modal-content {
    display: flex;
    padding: 40px;
}

.modal-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.modal-info {
    flex: 1;
    padding: 20px;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.modal-description {
    margin: 12px 0 18px 0;
    color: #4b5563;
    line-height: 1.6;
}

.modal-specs {
    margin: 20px 0;
}

.modal-specs .spec {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #f8f9ff;
    border-radius: 8px;
}

.modal-specs .spec i {
    color: var(--primary-color);
    font-size: 14px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.modal-add-to-cart {
    flex: 1;
}

/* Quantity Controls in Modal */
.quantity-section {
    margin: 20px 0;
}

.quantity-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
    background: white;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-medium);
    font-size: 14px;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-btn:disabled:hover {
    background: var(--gray-100);
    color: var(--text-medium);
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: white;
    color: var(--text-dark);
    font-size: 14px;
}

.qty-input:focus {
    outline: none;
}

/* Prevent body scroll when modal is open */
.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        padding: 20px;
    }

    .modal-image {
        padding: 10px;
    }

    .modal-info {
        padding: 10px;
    }

    .modal-info h2 {
        font-size: 1.5rem;
    }

    .product-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .product-modal-overlay {
        padding: 10px;
    }

    .modal-content {
        padding: 15px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

/* ===================================== 
   SEARCH MODAL STYLES
   ===================================== */

/* Search Modal Overlay */
.search-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0);
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding-top: 10vh;
    z-index: 2000 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(0px);
    box-sizing: border-box;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

/* Search Modal Container */
.search-modal {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.7) translateY(-50px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 80vh;
    opacity: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.search-modal-overlay.active .search-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Search Modal Header */
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.search-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.close-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-search:hover {
    color: #333;
}

/* Search Input */
.search-input-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 24px;
}

.search-input-container input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: translateY(-2px);
}

/* Search Results */
.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 24px 24px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.result-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}

.result-price {
    color: var(--primary-color);
    font-weight: 700;
}

.search-placeholder,
.no-results {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

/* ===================================== 
   NOTIFICATION STYLES
   ===================================== */

/* Notification System */
.notification {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 999999 !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    min-width: auto !important;
    /* Fit content */
    max-width: 90vw !important;
    border-left: 4px solid #1e40af !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.notification.show {
    transform: translateX(0) !important;
}

.notification.success {
    border-left-color: #10b981 !important;
}

.notification.error {
    border-left-color: #ef4444 !important;
}

.notification i {
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
}

.notification.success i {
    color: #10b981 !important;
}

.notification.error i {
    color: #ef4444 !important;
}

.notification.info i {
    color: #1e40af !important;
}

.notification span {
    color: #333 !important;
}

.notification-link {
    color: #1e40af !important;
    font-weight: 700 !important;
    font-size: 0.95em !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.notification-link:hover {
    text-decoration: none !important;
    color: #1d4ed8 !important;
}

.notification-link:hover span {
    text-decoration: underline !important;
}

/* Responsive Adjustments for Modals */
@media (max-width: 768px) {

    .search-modal,
    .product-modal {
        width: 95%;
        margin: 0 auto;
    }

    .modal-content {
        flex-direction: column;
        padding: 20px;
    }

    .search-header {
        padding: 16px;
    }

    .search-input-container {
        padding: 0 16px;
        flex-direction: column;
        gap: 8px;
    }

    .search-results {
        padding: 0 16px 16px;
    }

    .notification {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto !important;
        max-width: none !important;
        transform: translateY(-100%) !important;
    }

    .notification.show {
        transform: translateY(0) !important;
    }
}

.lucide {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
}

/*
Hide
Number
Input
Spin
Buttons
Globally
*/
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.quantity-input {
    padding: 0 !important;
}

/* Global Checkout Header & Progress Styles */
.checkout-page-header {
    background: #fff;
    padding: 30px 0;
    box-shadow: none;
    margin-bottom: 0;
}

.checkout-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.checkout-header-content h1 {
    font-size: 2em;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.checkout-progress-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 600px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    /* Pro badge */
}

.step-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin-bottom: 20px;
}

.step-item.active .step-icon {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.2);
}

.step-item.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.step-item.completed .step-icon {
    background: #27ae60 !important;
    color: white !important;
    border-color: #27ae60 !important;
}

.step-item.completed .step-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background-color: #27ae60;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1.5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-item.completed .step-label {
    color: #27ae60 !important;
}

.step-line.completed {
    background: #27ae60 !important;
}

/* Hover effects for step links */
a.step-item:hover .step-icon {
    transform: translateY(-2px);
}


/* Mobile Adjustments for Checkout Progress */
@media (max-width: 600px) {
    .checkout-page-header {
        padding: 20px 0;
    }

    .checkout-header-content {
        gap: 16px;
        padding: 0 10px;
    }

    .checkout-progress-modern {
        gap: 2px;
        max-width: 100%;
        overflow-x: visible;
        padding: 4px;
        justify-content: space-between;
        align-items: flex-start;
    }

    .step-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9em;
        flex-shrink: 0;
    }

    /* Hide labels for inactive steps on mobile to save space - DISABLED based on user feedback */
    /* .step-item:not(.active):not(.completed) .step-label {
        display: none;
    } */

    .step-label {
        display: block !important;
        font-size: 0.7em;
        margin-top: 4px;
        text-align: center;
        width: auto;
    }

    .step-line {
        margin-top: 15px;
        /* (Icon Height 32px / 2) - (Line Height 2px / 2) */
        min-width: 5px;
        margin-bottom: 0;
        align-self: flex-start;
    }
}

/* CHECKOUT PROGRESS STYLES - UNIFIED */
.checkout-page-header {
    background: #fff;
    padding: 30px 0;
    box-shadow: none;
    margin-bottom: 0;
}

.checkout-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.checkout-header-content h1 {
    font-size: 2em;
    font-weight: 700;
    color: #111827;
    margin: 0;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.checkout-progress-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 600px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
}

.step-label {
    font-size: 0.85em;
    transition: all 0.3s ease;
    color: #6b7280;
    font-weight: 500;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin-bottom: 20px;
}

.step-item.active .step-icon {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.2);
}

.step-item.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.step-item.completed .step-icon {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
}

.step-item.completed .step-label {
    color: var(--accent-green);
}

.step-line.completed {
    background: var(--accent-green);
}

/* SHIPPING & SUMMARY COMMON STYLES */
.shipping-section,
.summary-section {
    background: #f9fafb;
    padding: 40px 0;
}

.shipping-container,
.summary-container {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.08);
    padding: 32px 24px;
}

.modern-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-block,
.summary-block {
    background: #f8fafc;
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.04);
    border: 1px solid #e5e7eb;
    margin-bottom: 18px;
}

.checkout-block:last-of-type,
.summary-block:last-of-type {
    margin-bottom: 0;
}

.checkout-block h3,
.summary-block h3 {
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e40af !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-block h3 svg,
.checkout-block h3 i,
.summary-block h3 svg,
.summary-block h3 i {
    color: #1e40af !important;
}

/* Cart Specific Header Style */
.cart-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-section-title svg,
.cart-section-title i {
    color: #1e40af !important;
}

.cart-header-row .cart-section-title {
    margin-bottom: 0;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-option {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.shipping-option:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.shipping-option input[type='radio'] {
    accent-color: #1e40af;
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.shipping-option input[type='radio']:checked+.option-content {
    font-weight: 600;
}

.shipping-option:has(input:checked) {
    border-color: #1e40af;
    background: #eff6ff;
}

.option-content {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
}

.option-icon {
    font-size: 1.3em;
    color: #1e40af;
    width: 32px;
    text-align: center;
}

.option-name {
    flex: 1;
    font-weight: 500;
}

.option-price {
    font-weight: 600;
    color: #22c55e;
}

.option-price s {
    color: #9ca3af;
    font-weight: 400;
    margin-right: 4px;
}

/* Summary Specific */
.cart-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cart-list li:last-child {
    border-bottom: none;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px dashed #e5e7eb;
}

.cart-total.total-final {
    border-bottom: none;
}

.cart-total:first-of-type {
    border-top: 1px dashed #e5e7eb;
}

.cart-total span:last-child {
    text-align: right;
}

.cart-total.total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4em;
    font-weight: 800;
    color: #1e40af;
    border-top: 2px solid #e5e7eb;
    margin-top: 0;
    padding-top: 12px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: #1e40af;
}

.payment-option:has(input:checked) {
    border-color: #1e40af;
    background: #eff6ff;
}

.payment-option input[type='radio'] {
    accent-color: #1e40af;
    width: 20px;
    height: 20px;
}

.summary-actions,
.checkout-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 10px;
}

#submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn-secondary,
.btn-outline {
    background: #e5e7eb;
    color: #374151;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: #d1d5db;
}

/* Packet Point Selection Buttons */
.btn-packeta {
    width: 100%;
    background: linear-gradient(135deg, #ba1b1d 0%, #8a1315 100%);
    color: #fff;
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-packeta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 27, 29, 0.3);
}

.btn-packeta i {
    font-size: 1.2em;
}

.btn-balikovna {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-balikovna:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-balikovna i {
    font-size: 1.2em;
}

.selected-point-box {
    margin-top: 16px;
    padding: 16px;
    background: #e0f2fe;
    border-radius: 12px;
}

.point-name {
    font-weight: 600;
    margin-top: 8px;
    font-size: 1.05em;
}

.point-address {
    color: #64748b;
    font-size: 0.9em;
    margin-top: 2px;
}

/* Pickup Modal */
.pickup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: hidden;
}

.pickup-modal-content {
    background: #fff;
    width: 95%;
    max-width: 1200px;
    height: 80vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 0;
    position: relative;
}

.pickup-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: #fff;
    flex-shrink: 0;
}

.pickup-modal-header h3 {
    margin: 0;
    font-size: 1.15em;
    font-weight: 600;
}

.zasilkovna-header {
    background: linear-gradient(135deg, #ba1b1d 0%, #8a1315 100%);
}

.balikovna-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.pickup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1;
    padding: 4px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.pickup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.widget-container {
    flex: 1;
    width: 100%;
    border: 0;
    overflow: auto;
}

@media (max-width: 600px) {

    .shipping-container,
    .summary-container {
        padding: 16px 12px;
    }

    .pickup-modal {
        align-items: flex-start;
        padding-top: 5px;
    }

    .pickup-modal-content {
        width: 100%;
        height: auto;
        max-height: calc(100vh - 10px);
        border-radius: 12px 12px 0 0;
        flex: 1;
        margin-bottom: 0;
    }
}

/* CART SUMMARY RESTORED */
.cart-summary {
    flex: 0 0 350px;
}

.cart-summary .summary-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.08);
    position: sticky;
    top: 24px;
}

/* Summary Page Styles (Moved from summary.php) */
.summary-section {
    background: #f9fafb;
    padding: 60px 0;
}

.summary-wrapper {
    max-width: 672px;
    margin: 0 auto;
    padding: 0 16px;
}

.summary-section .summary-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.08);
    padding: 32px 24px 40px 24px;
    margin-bottom: 32px;
}

.payment-details-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.payment-details-container.expanded {
    max-height: 250px;
    opacity: 1;
    margin: 12px 0 20px 0;
}

.summary-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

/* H3 styles for summary cards are handled by global .summary-block h3 rule above */

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95em;
    color: #4b5563;
}

.summary-row span:last-child {
    font-weight: 600;
    color: #111827;
}

.summary-row.total {
    margin-top: 16px;
    font-weight: 700;
    font-size: 1.4em;
    color: #1e40af;
    border-top: 2px solid #e5e7eb;
    padding-top: 16px;
    margin-bottom: 24px;
}

.summary-divider {
    display: none;
    /* Handled by padding/border in total row usually, but keeping class just in case */
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0;
}

/* Trust Badges Styling */
.trust-badges {
    opacity: 0.9;
    transition: opacity 0.3s;
}

.trust-badges:hover {
    opacity: 1;
}

.trust-badge-item {
    text-align: center;
    flex: 1;
}

/* =============================================
   TRUST STRIP - pruh důvěry pod headerem
   ============================================= */
.trust-strip {
    background: #f0f4ff;
    border-bottom: 1px solid #dbeafe;
    padding: 9px 0;
}

.trust-strip .trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-strip .trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.trust-strip .trust-item .lucide {
    color: #1e40af;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.trust-strip .trust-item .highlight {
    color: #ea580c;
    font-weight: 700;
}

@media (max-width: 640px) {
    .trust-strip .trust-items {
        gap: 14px;
    }
    .trust-strip .trust-item {
        font-size: 11.5px;
    }
}

@media (max-width: 400px) {
    .trust-strip {
        display: none;
    }
}

/* =============================================
   STOCK BADGE na produktových kartách
   ============================================= */
.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 20px;
}

.stock-status.in-stock {
    background: #dcfce7;
    color: #16a34a;
}

.stock-status.low-stock {
    background: #fef9c3;
    color: #a16207;
}

.stock-status.out-of-stock {
    background: #fee2e2;
    color: #dc2626;
}

.stock-status .lucide {
    width: 12px;
    height: 12px;
}

/* =============================================
   VAT NOTE na cenách
   ============================================= */
.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.vat-note {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
    align-self: flex-end;
    padding-bottom: 2px;
}

/* ==========================================================
   DS DESIGN SYSTEM — kompletní redesign pro CZ e-shop
   ========================================================== */

/* ---- Sdílené tokeny ---- */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    white-space: nowrap;
    outline: none;
}
.ds-btn .lucide { width: 16px; height: 16px; flex-shrink: 0; }

.ds-btn--primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.32), inset 0 1px 0 rgba(255,255,255,0.14);
}
.ds-btn--primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.42);
    color: #fff;
    filter: brightness(1.04);
}
.ds-btn--primary:disabled {
    background: #d1d5db;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.ds-btn--outline {
    background: transparent;
    color: #1e40af;
    border-color: #bfdbfe;
}
.ds-btn--outline:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.ds-btn--ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.ds-btn--ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.ds-btn--lg { padding: 13px 24px; font-size: 15px; border-radius: 10px; }
.ds-btn--full { width: 100%; padding: 11px 16px; }

/* ---- Badge ---- */
.ds-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.92);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}
.ds-badge .lucide { width: 13px; height: 13px; }

/* ==========================================================
   HERO
   ========================================================== */
.ds-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #1d4ed8 100%);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

/* Subtle background texture */
.ds-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(234,88,12,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.ds-hero .container { position: relative; z-index: 1; }

.ds-hero__grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

/* Left column */
.ds-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.ds-hero__accent {
    color: #fb923c;
}

.ds-hero__lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 32px;
}

.ds-hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}
.ds-hero__stat {
    text-align: center;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    padding: 14px 22px;
    backdrop-filter: blur(8px);
}
.ds-hero__stat strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.ds-hero__stat span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 4px;
}
.ds-hero__stat-sep {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.ds-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Right column — image */
.ds-hero__image-col { display: flex; justify-content: center; }

.ds-hero__img-wrap {
    position: relative;
    max-width: 380px;
    width: 100%;
}
.ds-hero__img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
    border-radius: 0;
    transition: filter 0.3s ease;
}
.ds-hero__img:hover {
    filter: drop-shadow(0 28px 48px rgba(0,0,0,0.32));
}
.ds-hero__img-badge {
    position: absolute;
    top: 16px;
    right: -8px;
    background: #ea580c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(234,88,12,0.35);
}
.ds-hero__img-badge .lucide { width: 12px; height: 12px; }

/* ==========================================================
   USP STRIP
   ========================================================== */
.ds-usp {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
}

.ds-usp__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ds-usp__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid #e5e7eb;
    transition: background 0.15s ease;
}
.ds-usp__item:last-child { border-right: none; }
.ds-usp__item:hover { background: #f8fafc; }

.ds-usp__icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.ds-usp__icon .lucide { width: 20px; height: 20px; }

.ds-usp__copy { display: flex; flex-direction: column; gap: 2px; }
.ds-usp__copy strong { font-size: 13.5px; font-weight: 700; color: #111827; }
.ds-usp__copy span   { font-size: 12px; color: #6b7280; }

/* ==========================================================
   PRODUCTS SECTION
   ========================================================== */
.ds-products {
    background: #f3f4f6;
    padding: 52px 0 64px;
}

.ds-products__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}
.ds-products__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.ds-products__sub {
    font-size: 14px;
    color: #6b7280;
}
.ds-products__count {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ==========================================================
   PRODUCT CARD (ds-card)
   ========================================================== */
.ds-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ds-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.ds-card:hover {
    box-shadow: 0 16px 40px rgba(30,64,175,0.11), 0 4px 12px rgba(0,0,0,0.06);
    border-color: #93c5fd;
    transform: translateY(-3px);
}
.ds-card--unavailable { opacity: 0.65; }

/* Image */
.ds-card__img-wrap {
    position: relative;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}
.ds-card__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
    transition: transform 0.25s ease;
}
.ds-card:hover .ds-card__img { transform: scale(1.04); }

.ds-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(234,88,12,0.35);
}

/* Body */
.ds-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1;
}

.ds-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Spec chips */
.ds-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.ds-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 9px;
    border-radius: 8px;
    letter-spacing: 0.1px;
}
.ds-chip .lucide { width: 11px; height: 11px; color: #1e40af; }

/* Pricing */
.ds-card__pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
}
.ds-card__price-row { display: flex; align-items: baseline; gap: 4px; }
.ds-card__price {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1;
}
.ds-card__vat {
    font-size: 10.5px;
    color: #9ca3af;
    font-weight: 400;
}
.ds-card__old-price {
    font-size: 12.5px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Stock */
.ds-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 10px;
    align-self: flex-start;
}
.ds-stock .lucide { width: 12px; height: 12px; }
.ds-stock--in  { background: #dcfce7; color: #15803d; }
.ds-stock--low { background: #fef9c3; color: #a16207; }
.ds-stock--out { background: #fee2e2; color: #dc2626; }

/* CTA buttons */
.ds-card__actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

/* Empty state */
.ds-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 64px 24px;
    color: #9ca3af;
    text-align: center;
}
.ds-empty .lucide { width: 48px; height: 48px; color: #d1d5db; }
.ds-empty h3 { font-size: 1.1rem; font-weight: 700; color: #374151; }
.ds-empty p  { font-size: 14px; }

/* ==========================================================
   RESPONZIVNÍ DESIGN
   ========================================================== */

/* Hero */
@media (max-width: 1024px) {
    .ds-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .ds-hero__title { font-size: 2.4rem; }
    .ds-hero__lead  { max-width: 100%; }
    .ds-hero__stats { justify-content: center; }
    .ds-hero__actions { justify-content: center; }
    .ds-hero__image-col { order: -1; }
    .ds-hero__img-wrap { max-width: 300px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .ds-hero { padding: 44px 0 40px; }
    .ds-hero__title { font-size: 1.9rem; }
    .ds-hero__lead  { font-size: 0.95rem; }
    .ds-hero__actions { flex-direction: column; }
    .ds-hero__actions .ds-btn { width: 100%; justify-content: center; }
    .ds-hero__stats { gap: 16px; }
    .ds-hero__stat strong { font-size: 1.3rem; }
}

/* USP strip */
@media (max-width: 900px) {
    .ds-usp__grid { grid-template-columns: repeat(2, 1fr); }
    .ds-usp__item { border-bottom: 1px solid #e5e7eb; }
    .ds-usp__item:nth-child(2) { border-right: none; }
    .ds-usp__item:nth-child(3) { border-bottom: none; }
    .ds-usp__item:nth-child(4) { border-right: none; border-bottom: none; }
}

@media (max-width: 480px) {
    .ds-usp__grid { grid-template-columns: 1fr; }
    .ds-usp__item { border-right: none !important; }
    .ds-usp__item:last-child { border-bottom: none; }
}

/* Products */
@media (max-width: 768px) {
    .ds-products { padding: 36px 0 48px; }
    .ds-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .ds-card__img-wrap { padding: 14px; }
}

@media (max-width: 480px) {
    .ds-product-grid { grid-template-columns: 1fr; gap: 12px; }
    .ds-products__header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   DS FOOTER
   ========================================================== */
.ds-footer {
    background: #111827;
    color: rgba(255,255,255,0.85);
    padding: 56px 0 0;
    margin-top: 0;
}

.ds-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Brand column */
.ds-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.ds-footer__logo strong { font-weight: 800; color: #60a5fa; }
.ds-footer__logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.ds-footer__logo-icon .lucide { width: 16px; height: 16px; }

.ds-footer__tagline {
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.ds-footer__trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.ds-footer__trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
}
.ds-footer__trust .lucide { width: 13px; height: 13px; color: #22c55e; }

/* Link columns */
.ds-footer__col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}
.ds-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ds-footer__col ul li a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s;
}
.ds-footer__col ul li a:hover { color: #fff; }

/* Payment methods */
.ds-footer__payment {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.ds-footer__pay-label { font-size: 11px; color: rgba(255,255,255,0.4); }
.ds-footer__pay-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 5px;
}
.ds-footer__pay-icon .lucide { width: 11px; height: 11px; }

/* Bottom bar */
.ds-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
    flex-wrap: wrap;
}
.ds-footer__bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.ds-footer__bottom-links {
    display: flex;
    gap: 4px;
    align-items: center;
}
.ds-footer__bottom-links a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.ds-footer__bottom-links a .lucide { width: 16px; height: 16px; }
.ds-footer__bottom-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.ds-footer__admin-link { opacity: 0.4; }
.ds-footer__admin-link:hover { opacity: 1 !important; background: rgba(30,64,175,0.3) !important; color: #60a5fa !important; }

/* Footer responsive */
@media (max-width: 1024px) {
    .ds-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
    .ds-footer__brand { grid-column: 1 / -1; }
    .ds-footer__tagline { max-width: 100%; }
}
@media (max-width: 640px) {
    .ds-footer { padding-top: 40px; }
    .ds-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .ds-footer__brand { grid-column: 1 / -1; }
    .ds-footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
    .ds-footer__grid { grid-template-columns: 1fr; }
}

/* Card Price Meta Row */
.ds-card__price-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ds-card__savings {
    font-size: 0.72rem;
    font-weight: 700;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    padding: 1px 7px;
    white-space: nowrap;
}

/* SMART Health Badge */
.ds-smart {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 5px 10px;
    margin-bottom: 10px;
}
.ds-smart .lucide { width: 13px; height: 13px; flex-shrink: 0; }
.ds-smart__sep { color: #9ca3af; margin: 0 2px; }

/* Header Contact Link */
.ds-header__contact {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    transition: color 0.15s;
    margin-right: 8px;
}
.ds-header__contact:hover { color: #fff; }
.ds-header__contact .lucide { width: 16px; height: 16px; }
.ds-header__contact-text { display: none; }
@media (min-width: 900px) {
    .ds-header__contact-text { display: inline; }
}

/* Footer Legal Disclaimer */
.ds-footer__disclaimer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 28px 0 0;
    font-size: 0.71rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.4);
}
.ds-footer__disclaimer .lucide { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.25); }

