/*
 Theme Name:   ECIP Astra Child
 Theme URI:    https://ecip.ciper.sk
 Description:  Child theme for ECIP.sk e-commerce - 1:1 migration from React
 Author:       ECIP.sk
 Author URI:   https://ecip.sk
 Template:     astra
 Version:      1.0.8
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  ecip-astra-child
*/

/* ==========================================================================
   ECIP Design System - CSS Custom Properties
   Based on design-tokens.md from ecip.sk React source
   ========================================================================== */

:root {
    /* ===== COLORS ===== */

    /* Primary (Teal) */
    --color-primary: #15a34f;
    --color-primary-hover: #10893f;
    --color-primary-light: #e8f6ee;
    --color-primary-accent: #cbe6d7;
    --color-primary-dark: #071710;
    --color-primary-darker: #0b2a1b;

    /* Secondary (Amber - CTA) */
    --color-secondary: #f59e0b;
    --color-secondary-hover: #d97706;
    --color-secondary-light: #fbbf24;

    /* Background */
    --color-bg: #f8fafc;
    --color-bg-white: #ffffff;
    --color-bg-alt: #f1f5f9;
    --color-bg-dark: #0f172a;
    --color-bg-hero: linear-gradient(to right, #071710, #0b2a1b);

    /* Text */
    --color-text: #1e293b;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-text-disabled: #cbd5e1;
    --color-text-light: #ffffff;
    --color-text-light-muted: #cbe6d7;

    /* Links */
    --color-link: #15a34f;
    --color-link-hover: #10893f;

    /* Borders */
    --color-border: #e2e8f0;
    --color-border-hover: #15a34f;
    --color-border-focus: #15a34f;
    --color-divider-dark: #1e293b;

    /* Status */
    --color-success-bg: #dcfce7;
    --color-success-border: #22c55e;
    --color-success-text: #16a34a;
    --color-warning-bg: #f1f5f9;
    --color-warning-border: #cbd5e1;
    --color-warning-text: #475569;
    --color-error-bg: #fee2e2;
    --color-error-border: #ef4444;
    --color-error-text: #dc2626;
    --color-info-bg: #dbeafe;
    --color-info-border: #3b82f6;
    --color-info-text: #2563eb;

    /* ===== TYPOGRAPHY ===== */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-none: 1;
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;

    /* ===== SPACING ===== */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */

    --container-max-width: 1280px;
    --section-padding-y: 4rem;      /* 64px */
    --section-padding-y-mobile: 3rem; /* 48px */
    --card-padding: 1.5rem;         /* 24px */
    --gap: 1.5rem;                  /* 24px */

    /* ===== BORDER RADIUS ===== */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-full: 9999px;
    --radius-btn: 9999px;
    --radius-card: 0.75rem; /* 12px */
    --radius-input: 0.5rem; /* 8px */

    /* ===== SHADOWS ===== */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-teal: 0 4px 14px 0 rgb(21 163 79 / 0.2);

    /* ===== TRANSITIONS ===== */
    --transition-fast: 75ms;
    --transition-default: 150ms;
    --transition-medium: 200ms;
    --transition-slow: 300ms;
    --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ===== Z-INDEX ===== */
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-modal-overlay: 40;
    --z-modal: 50;
    --z-toast: 50;
}

/* ==========================================================================
   ASTRA OVERRIDES - Reset default styles
   ========================================================================== */

/* Body */
body {
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-base) !important;
    line-height: var(--line-height-normal) !important;
    color: var(--color-text) !important;
    background-color: var(--color-bg) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.ast-archive-title {
    font-family: var(--font-primary) !important;
    color: var(--color-text) !important;
    font-weight: var(--font-weight-bold) !important;
    line-height: var(--line-height-tight) !important;
}

h1, .entry-title { font-size: var(--font-size-4xl) !important; }
h2 { font-size: var(--font-size-3xl) !important; }
h3 { font-size: var(--font-size-2xl) !important; font-weight: var(--font-weight-semibold) !important; }
h4 { font-size: var(--font-size-xl) !important; font-weight: var(--font-weight-semibold) !important; }

p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

a {
    color: var(--color-link);
    transition: var(--transition);
}

a:hover {
    color: var(--color-link-hover);
}

/* Links */
.ast-single-post a,
.entry-content a {
    color: var(--color-primary);
}

.ast-single-post a:hover,
.entry-content a:hover {
    color: var(--color-primary-hover);
}

/* Container */
.ast-container,
.site-content .ast-container {
    max-width: var(--container-max-width) !important;
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
}

@media (min-width: 640px) {
    .ast-container,
    .site-content .ast-container {
        padding-left: var(--space-6) !important;
        padding-right: var(--space-6) !important;
    }
}

@media (min-width: 1024px) {
    .ast-container,
    .site-content .ast-container {
        padding-left: var(--space-8) !important;
        padding-right: var(--space-8) !important;
    }
}

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

/* Primary Button (Amber) */
.btn-primary,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary) !important;
    color: var(--color-text-light) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-base) !important;
    font-weight: var(--font-weight-semibold) !important;
    padding: var(--space-3) var(--space-8) !important;
    border-radius: var(--radius-btn) !important;
    border: none !important;
    cursor: pointer;
    transition: var(--transition) !important;
    text-decoration: none !important;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--color-secondary-hover) !important;
    color: var(--color-text-light) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Secondary Button (Teal) */
.btn-secondary {
    background-color: var(--color-primary) !important;
    color: var(--color-text-light) !important;
    font-weight: var(--font-weight-semibold) !important;
    padding: var(--space-3) var(--space-8) !important;
    border-radius: var(--radius-btn) !important;
    border: none !important;
    transition: var(--transition) !important;
}

.btn-secondary:hover {
    background-color: var(--color-primary-hover) !important;
}

/* Outline Button */
.btn-outline {
    background-color: transparent !important;
    color: var(--color-text-light) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    padding: var(--space-3) var(--space-8) !important;
    border-radius: var(--radius-btn) !important;
    font-weight: var(--font-weight-bold) !important;
    transition: var(--transition) !important;
}

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

/* ==========================================================================
   FORMS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: var(--space-3) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-input) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-sm) !important;
    background-color: var(--color-bg-white) !important;
    transition: var(--transition) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-border-focus) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(21,163,79, 0.1) !important;
}

/* Labels */
label,
.woocommerce form .form-row label {
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-medium) !important;
    color: var(--color-text) !important;
    margin-bottom: var(--space-2) !important;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.ecip-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ecip-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Hero Card (glassmorphism) */
.ecip-hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-medium) var(--ease-default);
}

.ecip-hero-card:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   HIDE ASTRA DEFAULTS
   ========================================================================== */

/* Hide default Astra branding in footer */
.ast-small-footer .ast-footer-site-title,
.site-footer .ast-row .ast-small-footer-section.ast-small-footer-section-1 .ast-footer-html-inner,
.ast-footer-copyright,
.ast-small-footer-wrap {
    display: none !important;
}

/* Hide breadcrumbs */
.ast-breadcrumbs,
.ast-breadcrumbs-wrapper {
    display: none !important;
}

/* Hide sidebar on pages */
.ast-separate-container #secondary,
.ast-plain-container #secondary {
    display: none !important;
}

/* Hide entry meta on pages */
.page .entry-meta,
.page .post-meta {
    display: none !important;
}

/* Hide page title where we have custom headers */
.page .entry-title {
    /* Will be controlled per-page via body classes */
}

/* ==========================================================================
   WOOCOMMERCE OVERRIDES
   ========================================================================== */

/* Product cards */
.woocommerce ul.products li.product {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-semibold) !important;
    color: var(--color-text) !important;
}

/* Product price */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-xl) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--color-primary) !important;
}

/* Product image */
.woocommerce ul.products li.product img {
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==========================================================================
   ECIP CUSTOM HEADER
   Exact replica of ecip.sk navbar (Navbar.tsx)
   ========================================================================== */

/* Header wrapper - sticky positioning */
.ecip-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Navbar */
.ecip-navbar {
    height: 64px;
    border-bottom: 1px solid #f1f5f9;
}

.ecip-navbar-container {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .ecip-navbar-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .ecip-navbar-container {
        padding: 0 32px;
    }
}

/* Logo */
.ecip-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ecip-logo:hover {
    opacity: 0.9;
}

.ecip-logo-icon {
    width: 32px;
    height: 32px;
    background-color: #15a34f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.ecip-logo-icon svg {
    width: 20px;
    height: 20px;
}

.ecip-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.ecip-logo-teal {
    color: #15a34f;
}

/* Desktop Navigation - modern pill-style bar */
.ecip-nav-desktop {
    display: none;
    align-items: center;
    gap: 5px;
}

@media (min-width: 640px) {
    .ecip-nav-desktop {
        display: flex;
    }
}

/* Nav Links */
.ecip-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    min-height: 36px;
    box-sizing: border-box;
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 10px;
    line-height: 1;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.ecip-nav-link:hover {
    color: #0f172a;
    background-color: #f1f5f9;
}

.ecip-nav-link.active {
    color: #15a34f;
    background-color: #e8f6ee;
}

.ecip-nav-link svg,
.ecip-nav-link-icon svg {
    width: 18px;
    height: 18px;
}

/* Primary CTA - Objednať stands out among the links */
.ecip-nav-cta {
    color: #15a34f;
    background-color: #e8f6ee;
    box-shadow: inset 0 0 0 1px #cbfaf1;
}
.ecip-nav-cta:hover {
    color: #10893f;
    background-color: #cbe6d7;
}
.ecip-nav-cta.active {
    color: #ffffff;
    background-color: #15a34f;
    box-shadow: none;
}

.ecip-nav-link-logout {
    color: #64748b;
}

.ecip-nav-link-logout:hover {
    color: #dc2626;
    background-color: #fef2f2;
}

/* Nav Divider */
.ecip-nav-divider {
    width: 1px;
    height: 22px;
    background-color: #e2e8f0;
    margin: 0 6px;
}

/* Cart Button */
.ecip-cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    min-height: 36px;
    box-sizing: border-box;
    background-color: #15a34f;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 1px 2px 0 rgb(21 163 79 / 0.2);
}

.ecip-cart-btn:hover {
    background-color: #10893f;
    color: #ffffff;
}

.ecip-cart-btn svg {
    width: 16px;
    height: 16px;
}

/* Cart Badge */
.ecip-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle Button */
.ecip-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ecip-mobile-toggle:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

@media (min-width: 640px) {
    .ecip-mobile-toggle {
        display: none;
    }
}

/* Toggle icons visibility */
.ecip-mobile-toggle .ecip-close-icon {
    display: none;
}

.ecip-header.mobile-open .ecip-mobile-toggle .ecip-menu-icon {
    display: none;
}

.ecip-header.mobile-open .ecip-mobile-toggle .ecip-close-icon {
    display: block;
}

/* Mobile Menu */
.ecip-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px calc(20px + env(safe-area-inset-bottom));
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.15);
}

.ecip-header.mobile-open .ecip-mobile-menu {
    display: flex;
    animation: ecipMenuIn 0.22s ease;
}

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

@media (min-width: 640px) {
    .ecip-mobile-menu {
        display: none !important;
    }
}

/* Mobile Links - modern tile rows */
.ecip-mobile-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.ecip-mobile-link:active { transform: scale(0.985); }

.ecip-mobile-link .ec-mm-ic {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.ecip-mobile-link .ec-mm-label { flex: 1; }
.ecip-mobile-link .ec-mm-chev { color: #cbd5e1; flex: 0 0 auto; transition: transform 0.18s ease, color 0.18s ease; }

.ecip-mobile-link:hover,
.ecip-mobile-link.active {
    background-color: #e8f6ee;
    border-color: #cbfaf1;
}
.ecip-mobile-link:hover .ec-mm-ic,
.ecip-mobile-link.active .ec-mm-ic { background: #15a34f; color: #fff; }
.ecip-mobile-link:hover .ec-mm-chev,
.ecip-mobile-link.active .ec-mm-chev { color: #15a34f; transform: translateX(2px); }

/* Primary CTA - Objednať */
.ecip-mobile-link-primary,
.ecip-mobile-link-primary .ec-mm-label {
    color: #fff !important;
}
.ecip-mobile-link-primary {
    background: linear-gradient(135deg, #15a34f, #10893f);
    box-shadow: 0 8px 18px -6px rgba(21,163,79, 0.55);
}
.ecip-mobile-link-primary .ec-mm-ic { background: rgba(255,255,255,0.18); color: #fff; }
.ecip-mobile-link-primary .ec-mm-chev { color: rgba(255,255,255,0.8); }
.ecip-mobile-link-primary:hover,
.ecip-mobile-link-primary.active {
    background: linear-gradient(135deg, #10893f, #0b2a1b);
    border-color: transparent;
}
.ecip-mobile-link-primary:hover .ec-mm-ic,
.ecip-mobile-link-primary.active .ec-mm-ic { background: rgba(255,255,255,0.22); color: #fff; }
.ecip-mobile-link-primary:hover .ec-mm-chev { color: #fff; }

.ecip-mobile-divider { height: 1px; background: #f1f5f9; margin: 8px 6px; }

.ecip-mobile-link-account .ec-mm-ic { background: #e8f6ee; color: #15a34f; }

.ecip-mobile-link-logout { color: #ef4444; }
.ecip-mobile-link-logout .ec-mm-ic { background: #fef2f2; color: #ef4444; }
.ecip-mobile-link-logout:hover { background-color: #fef2f2; border-color: #fecaca; }
.ecip-mobile-link-logout:hover .ec-mm-ic { background: #ef4444; color: #fff; }

/* Mobile Cart (at bottom of mobile menu) */
.ecip-mobile-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 24px;
    background-color: #15a34f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ecip-mobile-cart:hover {
    background-color: #10893f;
    color: #ffffff;
}

/* Sticky header offset for content */
body.ecip-theme {
    padding-top: 0;
}

/* ==========================================================================
   HIDE ASTRA DEFAULT HEADER
   ========================================================================== */

/* Hide all Astra header elements completely */
.ast-primary-header,
.ast-above-header,
.ast-below-header,
#ast-desktop-header,
.ast-mobile-header-wrap,
.ast-main-header-wrap,
.ast-header-break-point .site-header,
header.site-header,
#masthead,
.site-header-primary-section-left,
.site-header-primary-section-center,
.site-header-primary-section-right,
.ast-builder-menu,
.ast-builder-header-row,
#ast-fixed-header,
.ast-sticky-shrunk,
.ast-header-sticked {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ==========================================================================
   HERO SECTION
   Exact replica of LandingPage.tsx Hero
   ========================================================================== */

/* Hero Wrapper */
.ecip-hero {
    position: relative;
    background: linear-gradient(to right, #071710, #0b2a1b);
    color: #ffffff;
    overflow: hidden;
    padding: 80px 0 96px;
}

@media (min-width: 1024px) {
    .ecip-hero {
        padding: 128px 0 144px;
    }
}

/* Blur overlay circles */
.ecip-hero::before,
.ecip-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.ecip-hero::before {
    width: 400px;
    height: 400px;
    background: rgba(63,209,131, 0.1);
    top: -100px;
    left: 10%;
}

.ecip-hero::after {
    width: 300px;
    height: 300px;
    background: rgba(52, 211, 153, 0.1);
    bottom: -50px;
    right: 15%;
}

/* Decorative floating chip icons (from the ECIP chip icon set) */
.ecip-hero-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.ecip-hero-chip {
    position: absolute;
    opacity: 0.16;
    filter: drop-shadow(0 0 1px rgba(63,209,131, 0.35));
}
.ecip-hero-chip.chip-a { width: 200px; top: -26px; left: 3%; transform: rotate(-14deg); }
.ecip-hero-chip.chip-b { width: 180px; bottom: -34px; right: 5%; transform: rotate(11deg); }
.ecip-hero-chip.chip-c { width: 116px; top: 34%; right: 13%; transform: rotate(18deg); opacity: 0.11; }
@media (max-width: 900px) {
    .ecip-hero-chip.chip-c { display: none; }
    .ecip-hero-chip.chip-a { width: 120px; top: -14px; left: -18px; opacity: 0.11; }
    .ecip-hero-chip.chip-b { width: 120px; bottom: -18px; right: -18px; opacity: 0.11; }
}

/* Hero Container */
.ecip-hero-container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

@media (min-width: 640px) {
    .ecip-hero-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .ecip-hero-container {
        padding: 0 32px;
    }
}

/* Hero Title */
.ecip-hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .ecip-hero-title {
        font-size: 60px;
    }
}

.ecip-hero-title-highlight {
    color: #3fd183;
}

/* Hero Subtitle */
.ecip-hero-subtitle {
    font-size: 18px;
    color: #cbe6d7;
    max-width: 768px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .ecip-hero-subtitle {
        font-size: 20px;
    }
}

/* Hero Cards Grid */
.ecip-hero-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 896px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .ecip-hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hero Card - Primary (white glassmorphism) */
.ecip-hero-card-primary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ecip-hero-card-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

/* Hero Card - Secondary (dark glassmorphism) */
.ecip-hero-card-secondary {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ecip-hero-card-secondary:hover {
    background: rgba(15, 23, 42, 0.6);
    transform: scale(1.02);
}

/* Hero Card Icon */
.ecip-hero-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ecip-hero-card-icon-primary {
    background-color: #15a34f;
}

.ecip-hero-card-icon-secondary {
    background-color: #2563eb;
}

.ecip-hero-card-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

/* Hero Card Title */
.ecip-hero-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff !important;
}

/* Hero Card Text */
.ecip-hero-card-text {
    font-size: 16px;
    color: #cbe6d7;
    margin-bottom: 32px;
    min-height: 48px;
}

/* Hero Card Buttons */
.ecip-hero-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ecip-hero-btn-primary:hover {
    background-color: #d97706;
    color: #ffffff;
}

.ecip-hero-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: transparent;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ecip-hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Trust Bar */
.ecip-trust-bar {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .ecip-trust-bar {
        gap: 24px;
    }
}

/* Trust Badge */
.ecip-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffffff;
}

.ecip-trust-badge-tag {
    background-color: rgba(20, 184, 166, 0.2);
    color: #3fd183;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.ecip-trust-badge svg {
    width: 20px;
    height: 20px;
    color: #3fd183;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.ecip-stats {
    background-color: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 48px 0;
}

.ecip-stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.ecip-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .ecip-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.ecip-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ecip-stat-value {
    font-size: 30px;
    font-weight: 700;
    color: #3fd183;
}

@media (min-width: 768px) {
    .ecip-stat-value {
        font-size: 36px;
    }
}

.ecip-stat-value svg {
    width: 32px;
    height: 32px;
    color: #3fd183;
}

.ecip-stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.ecip-stat-sublabel {
    font-size: 14px;
    color: #94a3b8;
}

/* ==========================================================================
   SEO CONTENT SECTION
   ========================================================================== */

.ecip-seo-section {
    background-color: #ffffff;
    padding: 64px 0;
}

.ecip-seo-container {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 16px;
}

.ecip-seo-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b !important;
    text-align: center;
    margin-bottom: 24px;
}

.ecip-seo-text {
    font-size: 18px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 16px;
}

.ecip-seo-text strong {
    color: #1e293b;
}

.ecip-seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
}

@media (min-width: 768px) {
    .ecip-seo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecip-seo-card {
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 12px;
}

.ecip-seo-card-title {
    font-weight: 700;
    color: #10893f;
    margin-bottom: 4px;
}

.ecip-seo-card-text {
    font-size: 14px;
    color: #475569;
}

/* ==========================================================================
   GUARANTEE BANNER
   ========================================================================== */

.ecip-guarantee {
    background-color: #059669;
    padding: 16px 0;
    color: #ffffff;
}

.ecip-guarantee-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ecip-guarantee svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.ecip-guarantee-text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
}
.ecip-guarantee-text, .ecip-guarantee-bold, .ecip-guarantee p, .ecip-guarantee span {
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .ecip-guarantee-text {
        font-size: 16px;
    }
}

.ecip-guarantee-bold {
    font-weight: 700;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.ecip-features {
    background-color: #f8fafc;
    padding: 80px 0;
}

.ecip-features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.ecip-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b !important;
    margin-bottom: 16px;
}

.ecip-section-subtitle {
    font-size: 16px;
    color: #475569;
    max-width: 672px;
    margin: 0 auto;
}

.ecip-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .ecip-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecip-feature-card {
    text-align: center;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: all 0.3s ease;
}

.ecip-feature-card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.ecip-feature-icon {
    width: 64px;
    height: 64px;
    background-color: #cbe6d7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.ecip-feature-icon svg {
    width: 32px;
    height: 32px;
    color: #15a34f;
}

.ecip-feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b !important;
    margin-bottom: 12px;
}

.ecip-feature-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.ecip-how-it-works {
    background-color: #ffffff;
    padding: 80px 0;
}

.ecip-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .ecip-steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ecip-step-number {
    width: 48px;
    height: 48px;
    background-color: #15a34f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    font-weight: 700;
}

.ecip-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b !important;
    margin-bottom: 8px;
}

.ecip-step-text {
    font-size: 14px;
    color: #475569;
}

.ecip-step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 16px;
    font-weight: 600;
    color: #15a34f;
    text-decoration: none;
}

.ecip-step-link:hover {
    color: #10893f;
}

.ecip-step-link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.ecip-pricing {
    background-color: #f8fafc;
    padding: 80px 0;
}

.ecip-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

/* Pricing groups by product type (Čipy / Karty / Nálepky) */
.ecip-pricing-group { margin-bottom: 40px; }
.ecip-pricing-group:last-of-type { margin-bottom: 24px; }
.ecip-pricing-group .ecip-products-grid { margin-bottom: 0; }
.ecip-pricing-group-title {
    font-size: 1.15em;
    font-weight: 700;
    color: #10893f;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cbe6d7;
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 639px) {
    .ecip-pricing-group-title { font-size: 1.05em; margin-bottom: 16px; }
}

@media (min-width: 640px) {
    .ecip-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ecip-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ecip-product-card {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.ecip-product-card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.ecip-product-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: #f1f5f9;
    object-fit: cover;
    margin-bottom: 16px;
}

.ecip-product-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b !important;
    margin-bottom: 8px;
}

.ecip-product-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #10893f;
    background-color: #e8f6ee;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.ecip-product-price {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.ecip-product-price-unit {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
}

.ecip-pricing-cta {
    text-align: center;
}

.ecip-btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #15a34f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ecip-btn-teal:hover {
    background-color: #10893f;
    color: #ffffff;
}

.ecip-btn-teal svg {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   FIX: Astra global link color (#15a34f) leaks into our CTA buttons and the
   header cart button, turning white text/icons teal-on-teal (invisible).
   Force white with !important on the affected white-on-color <a> buttons.
   -------------------------------------------------------------------------- */
.ecip-btn-teal,
.ecip-btn-teal:visited,
.ecip-btn-teal:hover,
.ecip-btn-teal:focus,
.ecip-btn-teal svg,
.ecip-cart-btn,
.ecip-cart-btn:visited,
.ecip-cart-btn:hover,
.ecip-cart-btn:focus,
.ecip-cart-btn svg {
    color: #ffffff !important;
    stroke: currentColor;
}

/* FIX: Astra .entry-content p { margin-bottom: 1.75em } pushes the guarantee
   text ~28px down, so the shield icon centers lower than the text. Reset it. */
.ecip-guarantee-text {
    margin: 0 !important;
}

/* ==========================================================================
   QUICK LINKS SECTION
   ========================================================================== */

.ecip-quick-links {
    background-color: #ffffff;
    padding: 64px 0;
}

.ecip-quick-links-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b !important;
    text-align: center;
    margin-bottom: 32px;
}

.ecip-quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .ecip-quick-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ecip-quick-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ecip-quick-link:hover {
    background-color: #f1f5f9;
}

.ecip-quick-link-icon {
    width: 48px;
    height: 48px;
    background-color: #cbe6d7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ecip-quick-link-icon svg {
    width: 24px;
    height: 24px;
    color: #15a34f;
}

.ecip-quick-link-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.ecip-quick-link-text {
    font-size: 14px;
    color: #475569;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.ecip-cta {
    background-color: #15a34f;
    padding: 64px 0;
    color: #ffffff;
    text-align: center;
}

.ecip-cta-container {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 16px;
}

.ecip-cta-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 16px;
}

.ecip-cta-subtitle {
    font-size: 18px;
    color: #cbe6d7;
    margin-bottom: 32px;
}

.ecip-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #15a34f;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ecip-btn-white:hover {
    background-color: #e8f6ee;
    color: #15a34f;
}

.ecip-btn-white svg {
    width: 20px;
    height: 20px;
}

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

.ecip-footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 48px 0 32px;
}

.ecip-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.ecip-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .ecip-footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ecip-footer-brand {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ecip-footer-brand-teal {
    color: #3fd183;
}

.ecip-footer-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.ecip-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ecip-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ecip-footer-links li {
    margin-bottom: 8px;
}

.ecip-footer-links.ecip-footer-contact li {
    margin-bottom: 12px;
}

.ecip-footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ecip-footer-links a:hover {
    color: #ffffff;
}

.ecip-footer-links svg {
    width: 14px;
    height: 14px;
    color: #3fd183;
}

.ecip-footer-contact svg {
    width: 16px;
    height: 16px;
}

.ecip-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    text-align: center;
}

.ecip-footer-copyright {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.ecip-footer-soi {
    font-size: 12px;
    color: #64748b;
}

.ecip-footer-soi a {
    color: #3fd183;
    text-decoration: none;
}

.ecip-footer-soi a:hover {
    color: #3fd183;
    text-decoration: underline;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Full width sections - block-level, no position hacking needed */
/* When front-page.php renders directly (without Astra wrapper), sections are already full-width.
   The ecip-fw class is kept for backward compat but does NOT use margin/position hacks. */
.ecip-full-width,
.ecip-fw {
    width: 100%;
    box-sizing: border-box;
}

/* Logo - remove focus outline/border */
.ecip-logo,
.ecip-logo:focus,
.ecip-logo:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Container for full-width sections */
.ecip-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

@media (min-width: 640px) {
    .ecip-container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}

@media (min-width: 1024px) {
    .ecip-container {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }
}

/* Text utilities */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }
.text-muted { color: var(--color-text-muted) !important; }
.text-white { color: var(--color-text-light) !important; }
.text-center { text-align: center !important; }

/* Background utilities */
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-dark { background-color: var(--color-bg-dark) !important; }
.bg-light { background-color: var(--color-bg) !important; }
.bg-white { background-color: var(--color-bg-white) !important; }
.bg-hero { background: var(--color-bg-hero) !important; }

/* Spacing utilities */
.p-4 { padding: var(--space-4) !important; }
.p-6 { padding: var(--space-6) !important; }
.p-8 { padding: var(--space-8) !important; }
.py-12 { padding-top: var(--space-12) !important; padding-bottom: var(--space-12) !important; }
.py-16 { padding-top: var(--space-16) !important; padding-bottom: var(--space-16) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

/* Grid utilities */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.gap-4 { gap: var(--space-4) !important; }
.gap-6 { gap: var(--space-6) !important; }
.gap-8 { gap: var(--space-8) !important; }

/* Flex utilities */
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }

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

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:text-6xl { font-size: var(--font-size-6xl) !important; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .lg\:py-16 { padding-top: var(--space-16) !important; padding-bottom: var(--space-16) !important; }
}

/* ==========================================================================
   HOMEPAGE - WORDPRESS/ASTRA CONTAINER RESETS
   ========================================================================== */

/* Homepage - remove content padding for full-width sections */
body.ecip-homepage .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

body.ecip-homepage .ast-container {
    padding: 0 !important;
    max-width: 100% !important;
}

body.ecip-homepage #primary {
    padding: 0 !important;
    margin: 0 !important;
}

body.ecip-homepage .entry-title {
    display: none !important;
}

body.ecip-homepage article {
    padding: 0 !important;
    margin: 0 !important;
}

/* Astra content area reset for homepage */
body.ecip-homepage .ast-separate-container .ast-article-single,
body.ecip-homepage .ast-separate-container .ast-article-post {
    padding: 0 !important;
    background: transparent !important;
}

body.ecip-homepage .site-content {
    padding-top: 0 !important;
}

/* ==========================================================================
   TRUST BAR SEPARATOR DOTS
   ========================================================================== */

.ecip-trust-separator {
    display: none;
    color: rgba(63,209,131, 0.5);
}

@media (min-width: 768px) {
    .ecip-trust-separator {
        display: inline;
    }
}

/* ==========================================================================
   WORDPRESS ADMIN BAR OFFSET FOR STICKY HEADER
   ========================================================================== */

body.admin-bar .ecip-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .ecip-header {
        top: 46px;
    }
}

/* ==========================================================================
   PAGE TITLE STYLING FOR NON-HOMEPAGE PAGES
   ========================================================================== */

body.ecip-theme:not(.ecip-homepage) .entry-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8f6ee;
}

/* ==========================================================================
   VISUAL PARITY FIXES (from screenshot comparison)
   ========================================================================== */

/* Fix: Hero card icon sizing - match original 64x64 circles */
.ecip-hero-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* Fix: Hero cards should have more padding and shadow */
.ecip-hero-card-primary,
.ecip-hero-card-secondary {
    padding: 32px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Fix: Hero card buttons full width */
.ecip-hero-btn-primary,
.ecip-hero-btn-secondary {
    width: 100%;
    box-sizing: border-box;
}

/* Fix: Hero title - ensure proper line break before highlight */
.ecip-hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .ecip-hero-title {
        font-size: 60px;
    }
}

/* Fix: Product images in pricing section - circular like original */
.ecip-products-grid .ecip-product-card img,
.ecip-product-image {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    background-color: #f1f5f9 !important;
    padding: 10px !important;
    margin-top: 12px !important;
    margin-bottom: 16px !important;
}

/* Breathing room above the circular image bubble */
.ecip-products-grid .ecip-product-card {
    padding-top: 32px !important;
}

/* Clickable pricing cards → "add to cart" affordance */
.ecip-product-card-link { cursor: pointer; }
.ecip-product-card-link:hover { border-color: #15a34f !important; transform: translateY(-2px); }
.ecip-product-cta {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #15a34f;
    opacity: .85;
    transition: opacity .2s ease;
}
.ecip-product-card-link:hover .ecip-product-cta { opacity: 1; }

/* Fix: Product card price display */
.ecip-product-card .ecip-product-price .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

/* Fix: Remove extra whitespace from Astra on homepage */
body.ecip-homepage .site-main {
    padding: 0 !important;
    margin: 0 !important;
}

body.ecip-homepage .ast-plain-container {
    max-width: 100% !important;
    padding: 0 !important;
}

body.ecip-homepage #content {
    padding: 0 !important;
}

body.ecip-homepage .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Full-width sections are block-level - no margin hack needed with front-page.php */
.ecip-full-width,
.ecip-fw {
    width: 100% !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

/* Fix: Sections should not have extra margin */
.ecip-hero,
.ecip-stats,
.ecip-seo-section,
.ecip-guarantee,
.ecip-features,
.ecip-how-it-works,
.ecip-pricing,
.ecip-quick-links,
.ecip-cta {
    margin: 0 !important;
}

/* Fix: Feature cards consistent height */
.ecip-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fix: Steps grid items consistent */
.ecip-steps-grid > div {
    text-align: center;
}

/* Fix: Trust bar text color more visible */
.ecip-trust-badge {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

/* Fix: Pricing product card - auto height with flex */
.ecip-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Fix: Guarantee banner - ensure no wrapping on mobile */
@media (max-width: 480px) {
    .ecip-guarantee-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Fix: Homepage rendered via front-page.php - remove all Astra wrapper constraints */
body.ecip-homepage .ast-article-single,
body.ecip-homepage .entry-content,
body.ecip-homepage article {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.ecip-homepage .site-content .ast-container,
body.ecip-homepage .site-main {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Homepage sections are direct children - naturally full-width, no hack needed */
body.ecip-homepage .ecip-hero,
body.ecip-homepage .ecip-stats,
body.ecip-homepage .ecip-seo-section,
body.ecip-homepage .ecip-guarantee,
body.ecip-homepage .ecip-features,
body.ecip-homepage .ecip-how-it-works,
body.ecip-homepage .ecip-pricing,
body.ecip-homepage .ecip-quick-links,
body.ecip-homepage .ecip-cta {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   VISUAL QA FIXES - Hero & Stats (2026-07-07)
   Tailwind-to-CSS parity corrections
   ========================================================================== */

/* Fix 1: Hero title line-height - Tailwind leading-tight = 1.25, was 1.1 */
.ecip-hero-title {
    line-height: 1.25;
}

/* Fix 2: Trust badge text color - Tailwind text-teal-200/80 = rgba(153,246,228,0.8), was #ffffff */
/* Fix 3: Trust badge font-weight - Tailwind font-medium = 500, was missing */
.ecip-trust-badge {
    color: rgba(153, 246, 228, 0.8);
    font-weight: 500;
}

/* ==========================================================================
   MOBILE RESPONSIVE FIXES (375px QA - 2026-07-07)
   Screenshot audit: homepage, shop, my-account
   ========================================================================== */

/* --- HEADER / NAV --- */

/* Fix: Mobile toggle touch target - was 40px, Apple HIG recommends min 44px */
@media (max-width: 639px) {
    .ecip-mobile-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* --- HOMEPAGE --- */

/* Fix: Stats section - reduce padding on mobile for more compact look */
@media (max-width: 639px) {
    .ecip-stats {
        padding: 32px 0;
    }

    .ecip-stats-grid {
        gap: 16px;
    }

    .ecip-stat-value {
        font-size: 24px;
    }

    .ecip-stat-label {
        font-size: 15px;
    }

    .ecip-stat-sublabel {
        font-size: 12px;
    }
}

/* Fix: Hero section mobile spacing */
@media (max-width: 639px) {
    .ecip-hero {
        padding: 32px 0 48px;
    }

    .ecip-hero-title {
        font-size: 28px;
    }

    .ecip-hero-subtitle {
        font-size: 16px;
    }
}

/* Fix: Feature cards - ensure proper stacking and spacing on mobile */
@media (max-width: 639px) {
    .ecip-features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .ecip-feature-card {
        padding: 20px;
    }
}

/* Fix: How it works steps - ensure vertical stacking */
@media (max-width: 639px) {
    .ecip-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

/* Fix: Pricing section - ensure 1 column on small mobile */
@media (max-width: 639px) {
    .ecip-products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .ecip-pricing {
        padding: 48px 0;
    }
}

/* Fix: Quick links - ensure vertical stacking */
@media (max-width: 639px) {
    .ecip-quick-links-grid {
        grid-template-columns: 1fr !important;
    }

    .ecip-quick-links {
        padding: 40px 0;
    }
}

/* Fix: CTA section mobile */
@media (max-width: 639px) {
    .ecip-cta {
        padding: 40px 0;
    }

    .ecip-cta-title {
        font-size: 24px;
    }

    .ecip-cta-subtitle {
        font-size: 16px;
    }

    .ecip-btn-white {
        font-size: 16px;
        padding: 14px 32px;
        width: 100%;
        justify-content: center;
    }
}

/* Fix: Guarantee banner - stack on mobile */
@media (max-width: 639px) {
    .ecip-guarantee-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* --- WOOCOMMERCE SHOP PAGE --- */

/* Fix: Shop page add-to-cart buttons - ensure min 44px touch target */
@media (max-width: 639px) {
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product a.add_to_cart_button,
    .woocommerce ul.products li.product a.product_type_variable {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Fix: Product images on shop - proper sizing on mobile */
@media (max-width: 639px) {
    .woocommerce ul.products li.product a img {
        max-width: 200px;
        margin: 0 auto 16px;
        display: block;
    }
}

/* Fix: Shop page - ensure single column on mobile */
@media (max-width: 639px) {
    .woocommerce ul.products[class*="columns-"] {
        display: flex !important;
        flex-direction: column !important;
    }

    .woocommerce ul.products li.product {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 24px;
    }
}

/* Fix: Shop page title on mobile */
@media (max-width: 639px) {
    .woocommerce-products-header__title {
        font-size: 1.75rem;
    }
}

/* --- MY ACCOUNT PAGE --- */

/* Fix: WooCommerce my-account tabs - stack vertically on mobile */
@media (max-width: 639px) {
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 0;
        list-style: none;
    }

    .woocommerce-MyAccount-navigation ul li a {
        display: block;
        padding: 12px 16px;
        min-height: 44px;
        font-size: 15px;
        border-radius: 8px;
        text-decoration: none;
    }

    .woocommerce-MyAccount-content {
        padding: 0 !important;
    }
}

/* --- GLOBAL MOBILE OVERFLOW PREVENTION --- */

/* Prevent horizontal scrolling on all pages */
html, body {
    overflow-x: hidden;
}

/* Fix: Ensure ecip-full-width sections don't cause horizontal scroll */
@media (max-width: 639px) {
    .ecip-full-width {
        overflow-x: hidden;
    }
}

/* Fix: Footer on mobile - proper stacking */
@media (max-width: 639px) {
    .ecip-footer {
        padding: 32px 0 24px;
    }

    .ecip-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .ecip-footer-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* ==========================================================================
   FINAL PARITY OVERRIDES - must be LAST to win specificity
   Fixes remaining differences vs ecip.sk screenshots
   ========================================================================== */

/* --- HERO: Title must be large, on one line on desktop --- */
body.ecip-homepage .ecip-hero-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
    color: #ffffff !important;
}

@media (min-width: 768px) {
    body.ecip-homepage .ecip-hero-title {
        font-size: 52px !important;
    }
}

@media (min-width: 1024px) {
    body.ecip-homepage .ecip-hero-title {
        font-size: 60px !important;
    }
}

/* --- HERO: Subtitle sizing --- */
body.ecip-homepage .ecip-hero-subtitle {
    font-size: 18px !important;
    color: #cbe6d7 !important;
    max-width: 768px !important;
    margin: 0 auto 48px !important;
    line-height: 1.6 !important;
}

@media (min-width: 768px) {
    body.ecip-homepage .ecip-hero-subtitle {
        font-size: 20px !important;
    }
}

/* --- HERO: Cards must be prominent with proper glassmorphism --- */
body.ecip-homepage .ecip-hero-card-primary,
body.ecip-homepage .ecip-hero-card-secondary {
    padding: 32px !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
}

body.ecip-homepage .ecip-hero-card-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

body.ecip-homepage .ecip-hero-card-text {
    font-size: 16px !important;
    color: #cbe6d7 !important;
    margin-bottom: 32px !important;
    min-height: 48px !important;
}

/* --- HERO: Icon circles 64px --- */
body.ecip-homepage .ecip-hero-card-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    margin: 0 auto 24px !important;
}

/* --- HERO: CTA buttons full width --- */
body.ecip-homepage .ecip-hero-btn-primary,
body.ecip-homepage .ecip-hero-btn-secondary {
    width: 100% !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 12px 32px !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* --- SECTION TITLES: Override global h2 !important --- */
body.ecip-homepage .ecip-section-title {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 16px !important;
}

body.ecip-homepage .ecip-seo-title {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: center !important;
    margin-bottom: 24px !important;
}

body.ecip-homepage .ecip-quick-links-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

body.ecip-homepage .ecip-cta-title {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

/* --- PRICING: Product images must be 96px circles --- */
body.ecip-homepage .ecip-product-card img {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background-color: #f1f5f9 !important;
}

/* --- PRICING: Product price styling --- */
body.ecip-homepage .ecip-product-price .woocommerce-Price-amount,
body.ecip-homepage .ecip-product-price {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* --- FEATURE: Card titles override global h3 --- */
body.ecip-homepage .ecip-feature-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 12px !important;
}

/* --- STEPS: Title override global h3 --- */
body.ecip-homepage .ecip-step-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

/* --- Remove any extra Astra spacing on homepage --- */
body.ecip-homepage .site-main > article {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ecip-homepage #primary,
body.ecip-homepage .site-main,
body.ecip-homepage .site-content,
body.ecip-homepage .ast-container,
body.ecip-homepage .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* --- PRODUCT IMAGES: Force 96px circles everywhere --- */
img.ecip-product-image,
.ecip-product-card img.ecip-product-image,
body.ecip-homepage .ecip-product-card img,
body.ecip-homepage img.ecip-product-image {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    background-color: #f1f5f9 !important;
    margin-bottom: 16px !important;
    display: block !important;
    overflow: hidden !important;
    padding: 8px !important;
}

/* --- SECTION SPACING: Match original compact spacing --- */
body.ecip-homepage .ecip-section-header {
    margin-bottom: 48px !important;
}

body.ecip-homepage .ecip-features,
body.ecip-homepage .ecip-how-it-works,
body.ecip-homepage .ecip-pricing {
    padding: 64px 0 !important;
}

body.ecip-homepage .ecip-quick-links {
    padding: 48px 0 !important;
}

body.ecip-homepage .ecip-cta {
    padding: 48px 0 !important;
}

/* --- Mobile: Tighter spacing to match original page height --- */
@media (max-width: 639px) {
    body.ecip-homepage .ecip-hero {
        padding: 48px 0 56px !important;
    }

    body.ecip-homepage .ecip-hero-title {
        font-size: 28px !important;
    }

    body.ecip-homepage .ecip-hero-subtitle {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }

    body.ecip-homepage .ecip-hero-card-primary,
    body.ecip-homepage .ecip-hero-card-secondary {
        padding: 24px !important;
    }

    body.ecip-homepage .ecip-hero-card-title {
        font-size: 20px !important;
    }

    body.ecip-homepage .ecip-hero-card-text {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        min-height: auto !important;
    }

    body.ecip-homepage .ecip-hero-btn-primary,
    body.ecip-homepage .ecip-hero-btn-secondary {
        font-size: 15px !important;
        padding: 10px 24px !important;
    }

    body.ecip-homepage .ecip-hero-card-icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 16px !important;
    }

    body.ecip-homepage .ecip-hero-card-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    body.ecip-homepage .ecip-trust-bar {
        margin-top: 32px !important;
        padding-top: 20px !important;
        gap: 8px !important;
    }

    body.ecip-homepage .ecip-trust-badge {
        font-size: 12px !important;
    }

    /* Stats tighter */
    body.ecip-homepage .ecip-stats {
        padding: 28px 0 !important;
    }

    /* SEO section tighter */
    body.ecip-homepage .ecip-seo-section {
        padding: 40px 0 !important;
    }

    /* Features tighter */
    body.ecip-homepage .ecip-features,
    body.ecip-homepage .ecip-how-it-works,
    body.ecip-homepage .ecip-pricing {
        padding: 40px 0 !important;
    }

    body.ecip-homepage .ecip-section-header {
        margin-bottom: 28px !important;
    }

    body.ecip-homepage .ecip-section-title {
        font-size: 24px !important;
    }

    body.ecip-homepage .ecip-section-subtitle {
        font-size: 14px !important;
    }

    /* Steps tighter */
    body.ecip-homepage .ecip-step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    body.ecip-homepage .ecip-step-title {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }

    body.ecip-homepage .ecip-step-text {
        font-size: 13px !important;
    }

    body.ecip-homepage .ecip-steps-grid {
        gap: 16px !important;
    }

    /* Quick links tighter */
    body.ecip-homepage .ecip-quick-links {
        padding: 32px 0 !important;
    }

    body.ecip-homepage .ecip-quick-links-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }

    /* CTA tighter */
    body.ecip-homepage .ecip-cta {
        padding: 32px 0 !important;
    }

    body.ecip-homepage .ecip-cta-title {
        font-size: 24px !important;
    }

    body.ecip-homepage .ecip-cta-subtitle {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }

    /* Guarantee tighter */
    body.ecip-homepage .ecip-guarantee {
        padding: 12px 0 !important;
    }

    body.ecip-homepage .ecip-guarantee-text {
        font-size: 13px !important;
    }

    /* Product images smaller on mobile */
    img.ecip-product-image,
    body.ecip-homepage .ecip-product-card img {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
    }

    body.ecip-homepage .ecip-product-title {
        font-size: 16px !important;
    }

    body.ecip-homepage .ecip-product-price,
    body.ecip-homepage .ecip-product-price .woocommerce-Price-amount {
        font-size: 20px !important;
    }
}

/* ==========================================================================
   WooCommerce Shop Page (/obchod/) - ECIP Design
   ========================================================================== */

/* ==========================================================================
   WooCommerce Login/Register - ECIP Design
   ========================================================================== */

/* Hide default page title on my-account */
body.woocommerce-account .entry-title { display: none !important; }
body.woocommerce-account .entry-header { display: none !important; }

/* Login page - center and style */
body.woocommerce-account:not(.logged-in) .entry-content {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 40px 16px !important;
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

body.woocommerce-account .u-column1 h2,
body.woocommerce-account .u-column2 h2 {
    font-size: 1.4em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: center !important;
    margin-bottom: 24px !important;
    border-bottom: 3px solid #15a34f !important;
    padding-bottom: 12px !important;
    display: inline-block !important;
}

body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2 {
    text-align: center !important;
}

body.woocommerce-account .woocommerce-form-login input[type="text"],
body.woocommerce-account .woocommerce-form-login input[type="password"],
body.woocommerce-account .woocommerce-form-login input[type="email"],
body.woocommerce-account .woocommerce-form-register input[type="text"],
body.woocommerce-account .woocommerce-form-register input[type="email"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    transition: border-color 0.2s !important;
}

body.woocommerce-account .woocommerce-form-login input:focus,
body.woocommerce-account .woocommerce-form-register input:focus {
    border-color: #15a34f !important;
    box-shadow: 0 0 0 3px rgba(21,163,79,0.1) !important;
    outline: none !important;
}

body.woocommerce-account .woocommerce-form-login label,
body.woocommerce-account .woocommerce-form-register label {
    text-align: left !important;
    display: block !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
}

body.woocommerce-account .woocommerce-button,
body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit {
    background: #15a34f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    width: auto !important;
}

body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account .woocommerce-form-login__submit:hover {
    background: #10893f !important;
}

body.woocommerce-account .woocommerce-LostPassword a {
    color: #15a34f !important;
    font-size: 14px !important;
}

/* English text fix - hide WooCommerce default privacy text */
body.woocommerce-account .woocommerce-privacy-policy-text {
    font-size: 13px !important;
    color: #94a3b8 !important;
}

/* Footer heading override - prevent global h2 color from breaking footer titles */
.ecip-footer .ecip-footer-title,
footer.ecip-footer h2.ecip-footer-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 16px !important;
}

/* Hide Astra scroll-to-top button */
#ast-scroll-top,
.ast-scroll-top-icon,
a.ast-scroll-top-icon {
    display: none !important;
}

/* Hide Astra default footer (we have custom ECIP footer) */
footer#colophon,
.site-footer .ast-footer-overlay,
footer.site-footer .ast-small-footer {
    display: none !important;
}

/* Hide Astra floating cart/quick-view icon on product images (NOT the summary!) */
.woocommerce ul.products li.product .ast-on-card-button,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .ast-on-card-button {
    display: none !important;
}

/* Hide the teal banner overlay on product images */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap::after,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap::before {
    display: none !important;
}

/* Shop page container */
.woocommerce .products,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .woocommerce .products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce .products,
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Product card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    border-color: #3fd183;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Product image */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px;
    object-fit: contain;
    padding: 20px;
    background: #f8fafc;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 0.95em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    padding: 12px 16px 4px !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}

/* Product category label */
.woocommerce ul.products li.product .ast-woo-product-category {
    font-size: 0.75em !important;
    color: #15a34f !important;
    padding: 0 16px !important;
    margin: 0 !important;
}

/* Product price */
.woocommerce ul.products li.product .price {
    font-size: 1em !important;
    font-weight: 700 !important;
    color: #10893f !important;
    padding: 4px 16px 12px !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount {
    color: #10893f !important;
}

/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button {
    background: #15a34f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 0 16px 16px !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
    font-size: 0.9em !important;
    text-align: center !important;
    width: 100% !important;
    margin: auto 0 0 0 !important;
    transition: background 0.2s !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
    background: #10893f !important;
}

/* Shop page title */
.woocommerce-products-header .woocommerce-products-header__title {
    font-size: 1.8em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

/* Result count + ordering */
.woocommerce .woocommerce-result-count {
    color: #64748b !important;
    font-size: 0.9em !important;
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.9em !important;
    color: #1e293b !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    color: #94a3b8 !important;
    font-size: 0.85em !important;
    margin-bottom: 16px !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #15a34f !important;
}

/* Star rating in shop */
.woocommerce ul.products li.product .star-rating {
    margin: 0 16px 4px !important;
}

/* ==========================================================================
   WooCommerce Product Detail - ECIP Design
   ========================================================================== */

/* Product detail container */
.woocommerce div.product {
    max-width: 1100px;
    margin: 0 auto;
}

/* Product detail image */
.woocommerce div.product div.images {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.woocommerce div.product div.images img {
    border-radius: 12px !important;
}

/* Product detail title */
.woocommerce div.product .product_title {
    font-size: 1.8em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 8px !important;
}

/* Product detail price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.5em !important;
    font-weight: 700 !important;
    color: #10893f !important;
}

/* Product meta (SKU, category) */
.woocommerce div.product .product_meta {
    font-size: 0.85em !important;
    color: #64748b !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 16px !important;
    margin-top: 16px !important;
}

.woocommerce div.product .product_meta a {
    color: #15a34f !important;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 0.95em;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Add to cart button on detail page */
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
    background: #15a34f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 32px !important;
    font-weight: 700 !important;
    font-size: 1em !important;
    transition: all 0.2s !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.woocommerce div.product form.cart .button:hover {
    background: #10893f !important;
    box-shadow: 0 4px 12px rgba(21,163,79,0.3) !important;
}

/* Quantity input */
.woocommerce div.product form.cart .quantity input {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-size: 1em !important;
    width: 70px !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 24px !important;
    list-style: none !important;
    display: flex !important;
    gap: 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    background: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 0.95em !important;
    color: #64748b !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
    transition: all 0.2s !important;
    background: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #15a34f !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #15a34f !important;
    border-bottom-color: #15a34f !important;
    font-weight: 700 !important;
}

/* Tab panels */
.woocommerce div.product .woocommerce-tabs .panel {
    padding: 24px 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.2em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 16px !important;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    font-size: 0.95em;
    color: #475569;
    line-height: 1.7;
}

/* Additional info table */
.woocommerce div.product .woocommerce-tabs table.shop_attributes {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
    padding: 12px 16px !important;
    color: #1e293b !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Reviews */
.woocommerce div.product .woocommerce-tabs #reviews .comment-text {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
}

.woocommerce #review_form #respond .comment-form-comment textarea {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

.woocommerce #review_form #respond .form-submit input {
    background: #15a34f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
}

/* Related products */
.woocommerce div.product .related.products h2 {
    font-size: 1.3em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   Order Wizard - Override Astra heading styles
   ========================================================================== */

/* Kill ALL background/highlight on headings inside order wizard */
.ecip-order-wizard h2,
.ecip-order-wizard h3,
.ecip-order-wizard h4,
.ecip-order-wizard .card-body h3,
.ecip-order-wizard .step-title,
.ecip-order-wizard .step-subtitle,
.ecip-order-wizard .shipping-heading {
    background: none !important;
    background-color: transparent !important;
    -webkit-box-decoration-break: clone !important;
    box-decoration-break: clone !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
    border: none !important;
    text-decoration: none !important;
}

/* Product card h3 - small, no highlight */
.ecip-order-wizard .card-body h3 {
    font-size: 0.95em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

/* "Ako nám pošlete vzorky?" and similar section headings */
.ecip-order-wizard .wizard-step h3 {
    font-size: 1.1em !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    background: none !important;
}

/* Progress bar - less top spacing */
.ecip-order-wizard {
    padding-top: 24px !important;
}

.ecip-order-wizard .wizard-progress {
    margin-bottom: 20px !important;
}

/* --------------------------------------------------------------------------
   Shop product image: fill the card width (override Astra's max-width:200px).
   In theme style.css because plugin CSS gets pruned by LiteSpeed UCSS on shop.
   -------------------------------------------------------------------------- */
body.ecip-theme .woocommerce ul.products li.product a img,
body.ecip-theme .woocommerce ul.products li.product .astra-shop-thumbnail-wrap img,
.woocommerce ul.products li.product a img.attachment-woocommerce_thumbnail {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    /* Slightly more contrast than #f8fafc + a soft drop-shadow so transparent-PNG
       white products (cards/stickers) are visible; harmless on dark keyfobs. */
    background: #eef2f6 !important;
    padding: 16px !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.20));
}

/* --------------------------------------------------------------------------
   Product images are transparent PNGs; white products were near-invisible.
   Soft drop-shadow outlines the product shape everywhere it renders.
   -------------------------------------------------------------------------- */
.ecip-product-card img,
.woocommerce div.product .woocommerce-product-gallery__image img {
    filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.18));
}

/* --------------------------------------------------------------------------
   Related / up-sell products on the single product page were cramped into one
   narrow column (button text wrapped to 3 lines). Force a proper responsive grid.
   -------------------------------------------------------------------------- */
body.ecip-theme .woocommerce .related.products ul.products,
body.ecip-theme .woocommerce .up-sells ul.products,
body.ecip-theme .woocommerce .upsells.products ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
}
body.ecip-theme .woocommerce .related.products ul.products li.product,
body.ecip-theme .woocommerce .up-sells ul.products li.product,
body.ecip-theme .woocommerce .upsells.products ul.products li.product {
    flex: 1 1 220px !important;
    max-width: calc(25% - 15px) !important;
    min-width: 220px !important;
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}
body.ecip-theme .woocommerce .related.products li.product .button,
body.ecip-theme .woocommerce .up-sells li.product .button {
    white-space: normal !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 900px) {
    body.ecip-theme .woocommerce .related.products ul.products,
    body.ecip-theme .woocommerce .up-sells ul.products,
    body.ecip-theme .woocommerce .upsells.products ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
    body.ecip-theme .woocommerce .related.products ul.products,
    body.ecip-theme .woocommerce .up-sells ul.products,
    body.ecip-theme .woocommerce .upsells.products ul.products { grid-template-columns: 1fr !important; }
}

/* --------------------------------------------------------------------------
   Client-zone portal: teal .ec-btn-primary buttons showed invisible text
   (Astra global link colour #15a34f leaked onto the teal background).
   -------------------------------------------------------------------------- */
.ec-btn-primary,
a.ec-btn-primary,
.ec-btn-primary:visited,
.ec-btn-primary:hover,
.ec-btn-primary:focus {
    color: #ffffff !important;
}
.ec-btn-primary svg { stroke: currentColor; }

/* --------------------------------------------------------------------------
   WooCommerce notices (.woocommerce-info / -message / -error): the icon-font
   ::before pseudo rendered as a solid teal box over the first characters
   ("Za" of "Zatiaľ…") because LiteSpeed strips the WC icon font. Hide the
   pseudo-icon and give the notice a clean bordered look.
   -------------------------------------------------------------------------- */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-noreviews::before,
ul.woocommerce-error li::before {
    display: none !important;
    content: none !important;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-noreviews {
    padding: 14px 18px !important;
    border-top: none !important;
    border-left: 4px solid #15a34f !important;
    background: #e8f6ee !important;
    color: #071710 !important;
    border-radius: 8px !important;
    list-style: none !important;
}
.woocommerce-error {
    padding: 14px 18px !important;
    border-top: none !important;
    border-left: 4px solid #dc2626 !important;
    background: #fef2f2 !important;
    color: #7f1d1d !important;
    border-radius: 8px !important;
    list-style: none !important;
}

/* ==========================================================================
   CONTACT PAGE (/kontakt)
   ========================================================================== */

.ecip-contact-page { background: #f8fafc; }

.ecip-contact-hero {
    position: relative;
    background: linear-gradient(to right, #071710, #0b2a1b);
    color: #ffffff;
    padding: 72px 16px 104px;
    text-align: center;
    overflow: hidden;
}
.ecip-contact-hero::before {
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(20,184,166,0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ecip-contact-hero-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.ecip-contact-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #3fd183;
    margin-bottom: 14px;
}
.ecip-contact-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 16px;
    text-wrap: balance;
}
.ecip-contact-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #cbe6d7;
    margin: 0;
}

/* Method cards - lifted so they overlap the hero */
.ecip-contact-methods {
    position: relative;
    margin-top: -56px;
    padding-bottom: 24px;
    z-index: 2;
}
.ecip-contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .ecip-contact-cards { grid-template-columns: repeat(3, 1fr); }
}
.ecip-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px -12px rgba(15,23,42,0.18);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ecip-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -14px rgba(21,163,79,0.35);
    border-color: #cbe6d7;
}
.ecip-contact-card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #cbe6d7;
    color: #15a34f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.ecip-contact-card-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}
.ecip-contact-card-value {
    font-size: 20px;
    font-weight: 700;
    color: #10893f;
    word-break: break-word;
}
.ecip-contact-card-hint {
    font-size: 14px;
    color: #475569;
}

/* How we help */
.ecip-contact-help { padding: 72px 0; background: #f8fafc; }
.ecip-contact-help-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .ecip-contact-help-grid { grid-template-columns: repeat(3, 1fr); }
}
.ecip-contact-help-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}
.ecip-contact-help-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #cbe6d7;
    color: #15a34f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.ecip-contact-help-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.ecip-contact-help-text {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Company details panel */
.ecip-contact-details { padding: 0 16px 72px; background: #f8fafc; }
.ecip-contact-details-inner {
    max-width: 896px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
}
.ecip-contact-details-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px;
    text-align: center;
}
.ecip-contact-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 32px;
    margin: 0;
}
@media (min-width: 600px) {
    .ecip-contact-details-grid { grid-template-columns: 1fr 1fr; }
}
.ecip-contact-detail { border-left: 3px solid #cbe6d7; padding-left: 14px; }
.ecip-contact-detail dt {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 4px;
}
.ecip-contact-detail dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}
.ecip-contact-detail dd a { color: #15a34f; text-decoration: none; }
.ecip-contact-detail dd a:hover { text-decoration: underline; }
.ecip-contact-details-note {
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}
.ecip-contact-details-note a { color: #15a34f; }

@media (max-width: 600px) {
    .ecip-contact-title { font-size: 30px; }
    .ecip-contact-subtitle { font-size: 16px; }
    .ecip-contact-details-inner { padding: 28px 20px; }
}

/* ==========================================================================
   O NÁS (/o-nas)
   ========================================================================== */

.ecip-onas-page { background: #f8fafc; }

.ecip-story-section { background: #ffffff; padding: 72px 16px; }
.ecip-story-inner { max-width: 760px; margin: 0 auto; }
.ecip-story-lead {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    color: #10893f;
    margin: 0 0 24px;
    padding-left: 18px;
    border-left: 4px solid #15a34f;
    text-wrap: balance;
}
.ecip-story-text {
    font-size: 18px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 18px;
}
.ecip-story-text:last-child { margin-bottom: 0; }

/* Trust strip */
.ecip-onas-trust { background: #f1f5f9; padding: 40px 16px; }
.ecip-onas-trust-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}
@media (min-width: 768px) {
    .ecip-onas-trust-inner { grid-template-columns: repeat(4, 1fr); }
}
.ecip-onas-trust-value {
    font-size: 32px;
    font-weight: 800;
    color: #15a34f;
    line-height: 1.1;
}
.ecip-onas-trust-label {
    margin-top: 6px;
    font-size: 14px;
    color: #475569;
}

/* CTA row (button + ghost link) */
.ecip-onas-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}
.ecip-cta .ecip-onas-cta-ghost,
.ecip-onas-cta-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.6);
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ecip-cta .ecip-onas-cta-ghost:hover,
.ecip-onas-cta-ghost:hover {
    background: rgba(255,255,255,0.14);
    border-color: #ffffff;
    color: #ffffff !important;
}
@media (max-width: 600px) {
    .ecip-story-lead { font-size: 20px; }
    .ecip-story-text { font-size: 16px; }
}

/* ==========================================================================
   HOMEPAGE - decorative depth pass (soft shapes, panel overlaps, connectors)
   Subtle, teal-system, no horizontal overflow. All gated to the homepage.
   ========================================================================== */

/* Safety net: a decorative shape must never create a horizontal scrollbar. */
body.ecip-homepage main { position: relative; overflow-x: clip; }

/* Sections that host a soft blob - contain it, keep content above it. */
body.ecip-homepage .ecip-seo-section,
body.ecip-homepage .ecip-features,
body.ecip-homepage .ecip-how-it-works,
body.ecip-homepage .ecip-quick-links,
body.ecip-homepage .ecip-pricing {
    position: relative;
    overflow: hidden;
}
body.ecip-homepage .ecip-seo-container,
body.ecip-homepage .ecip-features-container { position: relative; z-index: 1; }

/* Soft radial "blobs" - gentle overlapping circles, mostly teal + one amber. */
body.ecip-homepage .ecip-seo-section::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    top: -130px; right: -110px; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,166,.10), transparent 70%);
}
body.ecip-homepage .ecip-features::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    bottom: -150px; left: -130px; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.07), transparent 70%);
}
body.ecip-homepage .ecip-how-it-works::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    top: -110px; left: -120px; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(21,163,79,.09), transparent 70%);
}
body.ecip-homepage .ecip-pricing::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    top: 60px; right: -170px; width: 440px; height: 440px; border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,166,.07), transparent 70%);
}
body.ecip-homepage .ecip-quick-links::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    bottom: -130px; right: -90px; width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(21,163,79,.08), transparent 70%);
}

/* Stacked-panel overlaps at the high-contrast top seams (teal → navy → white). */
body.ecip-homepage .ecip-stats {
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}
body.ecip-homepage .ecip-seo-section {
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    z-index: 3;
}

/* How-it-works: a soft dashed connector ties the 4 steps into one sequence. */
@media (min-width: 768px) {
    body.ecip-homepage .ecip-steps-grid { position: relative; }
    body.ecip-homepage .ecip-steps-grid::before {
        content: ""; position: absolute; z-index: 0;
        top: 23px; left: 12.5%; right: 12.5%; height: 2px;
        background-image: linear-gradient(to right, #cbe6d7 0 55%, transparent 0);
        background-size: 14px 2px; background-repeat: repeat-x;
    }
    body.ecip-homepage .ecip-steps-grid > div { position: relative; z-index: 1; }
}

/* Friendlier cards - a gentle lift on hover. */
body.ecip-homepage .ecip-feature-card {
    border: 1px solid #eef2f6;
    border-radius: 16px;
}
body.ecip-homepage .ecip-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px -18px rgba(21,163,79,.28);
}

/* ==========================================================================
   MOBILE HEADER ACTIONS - cart icon to the left of the hamburger (<640px)
   ========================================================================== */
.ecip-mobile-actions { display: none; align-items: center; align-self: center; gap: 4px; height: 44px; }
@media (max-width: 639px) { .ecip-mobile-actions { display: flex; } }
.ecip-header .ecip-mobile-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: 0 0 auto;
    width: 44px; height: 44px;
    margin: 0;          /* override old .ecip-mobile-cart margin-top:16px (menu-bottom variant) */
    padding: 0;         /* override old padding:12px 24px */
    border-radius: 8px;
    background: transparent;
    color: #15a34f;
    text-decoration: none;
    transition: background 0.2s ease;
}
.ecip-header .ecip-mobile-cart:hover { background: #f1f5f9; color: #10893f; }
.ecip-header .ecip-mobile-cart svg { width: 22px !important; height: 22px !important; min-width: 22px; flex: 0 0 auto; stroke: #15a34f; }
.ecip-header .ecip-mobile-cart .ecip-cart-badge { top: -2px; right: -2px; }

/* ==========================================================================
   MICRO-INTERACTION FOUNDATION (state-only - does not change default render)
   Research-backed: calm, brand-teal, accessible. No bounce, no gimmicks.
   ========================================================================== */

/* Accessible keyboard focus ring in brand teal (only shows on keyboard nav). */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
.ecip-btn-teal:focus-visible,
.ecip-btn-white:focus-visible {
    outline: 2px solid #15a34f;
    outline-offset: 2px;
    border-radius: 6px;
}

/* Tactile press feedback on primary calls-to-action. */
.ecip-btn-teal:active,
.ecip-btn-white:active,
.ecip-hero-btn-primary:active,
.ecip-hero-btn-secondary:active,
.ecip-nav-cta:active,
.ecip-onas-cta-ghost:active {
    transform: translateY(1px);
}

/* Respect reduced-motion: snap animations/transitions for users who ask for it. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* /kontakt & /o-nas render inside Astra's boxed container (32px side padding), which
   shifted their full-bleed teal sections right and clipped the right edge. Stretch the
   page wrapper edge-to-edge; inner max-width containers keep content centred. This is a
   no-op when the container is already full-width (calc resolves to 0). */
.ecip-contact-page,
.ecip-onas-page {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow-x: clip;
}

/* Pricing: center partial rows (groups with <4 products) instead of hugging the
   left with empty slots. Flex-wrap keeps full rows 4-up but centers leftovers. */
body.ecip-homepage .ecip-products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
body.ecip-homepage .ecip-products-grid > .ecip-product-card { flex: 0 1 100%; }
@media (min-width: 640px) {
    body.ecip-homepage .ecip-products-grid > .ecip-product-card { flex-basis: calc(50% - 12px); }
}
@media (min-width: 1024px) {
    body.ecip-homepage .ecip-products-grid > .ecip-product-card { flex-basis: calc(25% - 18px); }
}

/* ==========================================================================
   DESIGN POLISH v2 - trust signals, mobile sticky CTA, type, scroll-reveal
   ========================================================================== */

/* Trust signals under the final CTA (calm, light-on-teal, max 3). */
.ecip-cta-trust {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
}
.ecip-cta-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #cbe6d7;
}
.ecip-cta-trust svg { color: #3fd183; flex-shrink: 0; }
@media (max-width: 520px) {
    .ecip-cta-trust { flex-direction: column; align-items: center; gap: 12px; }
}

/* Mobile sticky CTA - homepage only, thumb-zone, iOS safe-area, reveals on scroll. */
.ecip-sticky-cta { display: none; }
@media (max-width: 639px) {
    body.ecip-homepage .ecip-sticky-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        left: 14px; right: 14px;
        /* safe-area lives in the offset, not padding - keeps the button a normal height
           and clear of the iOS home indicator (no big empty gap inside the button). */
        bottom: calc(14px + env(safe-area-inset-bottom));
        z-index: 900;
        padding: 15px 20px;
        background: #15a34f;
        color: #ffffff;
        font-weight: 700;
        font-size: 16px;
        text-decoration: none;
        border-radius: 14px;
        box-shadow: 0 12px 30px -8px rgba(21,163,79,.55);
        /* GPU-composited layer → no repaint jank during iOS momentum scroll. */
        transform: translateY(160%) translateZ(0);
        opacity: 0;
        will-change: transform, opacity;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transition: transform .25s ease, opacity .25s ease;
    }
    body.ecip-homepage .ecip-sticky-cta.visible { transform: translateY(0) translateZ(0); opacity: 1; }
}

/* Typography: tighten major headings for deliberate hierarchy (Inter). */
.ecip-hero-title,
.ecip-section-title,
.ecip-seo-title,
.ecip-cta-title,
.ecip-contact-title,
.ecip-story-lead,
.ecip-quick-links-title { letter-spacing: -0.02em; }
.ecip-hero-title,
.ecip-contact-title { line-height: 1.08; }

/* Scroll-reveal (JS adds .ecip-reveal-ready to body and .ecip-reveal to below-fold
   targets; only those animate. No JS or reduced-motion → everything stays visible). */
body.ecip-reveal-ready .ecip-reveal {
    opacity: 0;
    transform: translateY(14px);
}
body.ecip-reveal-ready .ecip-reveal.in-view {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .5s ease;
}
@media (prefers-reduced-motion: reduce) {
    body.ecip-reveal-ready .ecip-reveal { opacity: 1 !important; transform: none !important; }
}

/* ==== SK/CZ jazykový prepínač (Česko expanzia) ==== */
.ecip-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    min-height: 36px;
    box-sizing: border-box;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}
/* Desktop: separate the language + cart utilities from the account links */
.ecip-nav-desktop > .ecip-lang-switch {
    margin-left: 8px;
}
.ecip-lang-switch .ecip-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #64748b;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.ecip-lang-switch .ecip-lang:hover { color: #10893f; }
.ecip-lang-switch .ecip-lang.active {
    background: #15a34f;
    color: #fff;
    box-shadow: 0 1px 2px rgba(21,163,79,.35);
}
/* Mobile language block */
.ecip-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px 4px;
}
.ecip-mobile-lang .ec-mm-lang-label {
    font-size: 0.82em;
    font-weight: 600;
    color: #94a3b8;
}
.ecip-mobile-lang .ecip-lang-switch .ecip-lang { padding: 7px 14px; font-size: 0.85em; }

/* ==== Cookie notice bar ==== */
.ecip-cookie-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 99999;
    padding: 16px;
    display: flex;
    justify-content: center;
    transform: translateY(120%);
    transition: transform .32s ease;
    pointer-events: none;
}
.ecip-cookie-bar.is-visible { transform: translateY(0); pointer-events: auto; }
.ecip-cookie-inner {
    max-width: 940px; width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #15a34f;
    border-radius: 14px;
    box-shadow: 0 10px 34px rgba(15, 23, 42, .18);
    padding: 16px 20px;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.ecip-cookie-text { flex: 1; min-width: 240px; }
.ecip-cookie-text strong { display: block; font-weight: 700; color: #10893f; font-size: .95em; margin-bottom: 4px; }
.ecip-cookie-text p { margin: 0; font-size: .86em; color: #475569; line-height: 1.55; }
.ecip-cookie-text a { color: #15a34f; font-weight: 600; text-decoration: underline; }
.ecip-cookie-actions { margin-left: auto; }
.ecip-cookie-btn {
    background: #15a34f; color: #fff; border: none;
    border-radius: 10px; padding: 11px 24px;
    font-weight: 700; font-size: .9em; cursor: pointer; white-space: nowrap;
    transition: background .15s, transform .1s;
}
.ecip-cookie-btn:hover { background: #10893f; }
.ecip-cookie-btn:active { transform: translateY(1px); }
@media (max-width: 600px) {
    .ecip-cookie-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
    .ecip-cookie-actions { margin-left: 0; }
    .ecip-cookie-btn { width: 100%; padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ecip-cookie-bar { transition: none; } }

/* 404 search form — Astra renders a redundant DOUBLE submit: an icon <button> (label in a
   <span hidden>) AND a plain <input type="submit" value="Hľadať">. The input clips to "Hľa".
   Keep the clean green icon button, hide the duplicate text input. */
body.error404 .ast-404-search .search-form { position: relative; display: flex; gap: 8px; align-items: stretch; }
body.error404 .ast-404-search .search-form label { flex: 1 1 auto; display: flex; align-items: stretch; gap: 8px; margin: 0; }
body.error404 .ast-404-search .search-field { flex: 1 1 auto; }
body.error404 .ast-404-search input[type="submit"].search-submit { display: none !important; }
body.error404 .ast-404-search button.search-submit,
body.error404 .ast-404-search button.search-submit.ast-search-submit {
    position: static !important;
    width: 48px !important;
    min-width: 48px !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: #15a34f !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
body.error404 .ast-404-search button.search-submit span[hidden] { display: none !important; }
body.error404 .ast-404-search button.search-submit .ast-icon svg { width: 18px; height: 18px; fill: #fff; }

/* A11y: inline links inside legal/static text must be distinguishable by more than colour
   (WCAG link-in-text-block). Underline links that sit inside paragraph/list/box text. */
.esp-text a, .esp-list a, .esp-box a, .esp-content p a, .esp-content li a { text-decoration: underline; }
.esp-content h1 a, .esp-content h2 a, .esp-content h3 a, .esp-toc a, .esp-back { text-decoration: none; }
