/* ==============================================================
   Modern Minimal — "Nordic / Scandi"
   Off-white pozadie, čistá typografia, jemné akcenty, generous whitespace
   Univerzálne — pre každý typ biznisu
   Design source: Navrh novych sablon/eshop-design-templates.md (Šablóna 1)
   ============================================================== */

.theme-modern-minimal {
    background-color: #FAFAF9;
    color: #292524;
    --mm-bg: #FAFAF9;
    --mm-bg-card: #FFFFFF;
    --mm-text-primary: #292524;
    --mm-text-secondary: #78716C;
    --mm-accent: #2563EB;
    --mm-accent-hover: #1D4ED8;
    --mm-border: #E7E5E4;
    --mm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
    --mm-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.04);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Nav */
.theme-modern-minimal .storefront-nav {
    background: var(--mm-bg);
    border-bottom: 1px solid var(--mm-border);
    box-shadow: none;
}
.theme-modern-minimal .storefront-logo {
    color: var(--mm-text-primary);
    font-weight: 600;
    letter-spacing: -0.5px;
    font-size: 18px;
}
.theme-modern-minimal .storefront-nav-link {
    color: var(--mm-text-secondary);
    font-size: 14px;
}
.theme-modern-minimal .storefront-nav-link:hover { color: var(--mm-text-primary); }

.theme-modern-minimal .storefront-badge {
    background: var(--mm-accent);
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 11px;
}

.theme-modern-minimal .storefront-hamburger span { background: var(--mm-text-primary); }
.theme-modern-minimal .storefront-mobile-menu { background: var(--mm-bg-card); border-bottom: 1px solid var(--mm-border); }
.theme-modern-minimal .storefront-mobile-link { color: var(--mm-text-secondary); border-bottom: 1px solid var(--mm-border); }
.theme-modern-minimal .storefront-mobile-link:hover { color: var(--mm-accent); }

/* Hero */
.theme-modern-minimal .storefront-hero {
    padding: 80px 24px 56px;
    background: var(--mm-bg);
}
.theme-modern-minimal .storefront-hero-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--mm-text-primary);
    margin: 0 0 12px;
}
.theme-modern-minimal .storefront-hero-desc {
    color: var(--mm-text-secondary);
    font-size: 16px;
    line-height: 1.6;
}
.theme-modern-minimal .storefront-hero-cta {
    background: var(--mm-text-primary) !important;
    color: var(--mm-bg-card);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--mm-shadow-sm);
}
.theme-modern-minimal .storefront-hero-cta:hover {
    background: #1C1917 !important;
}

/* Cards */
.theme-modern-minimal .storefront-products-grid {
    gap: 24px;
}
.theme-modern-minimal .storefront-card {
    background: var(--mm-bg-card);
    border: 1px solid var(--mm-border);
    border-radius: 12px;
    box-shadow: var(--mm-shadow-sm);
    overflow: hidden;
    transition: box-shadow 200ms ease, transform 200ms ease;
}
.theme-modern-minimal .storefront-card:hover {
    box-shadow: var(--mm-shadow-md);
    transform: translateY(-2px);
}
.theme-modern-minimal .storefront-card-image {
    height: 240px;
    background: #F5F5F4;
}
.theme-modern-minimal .storefront-card-body {
    padding: 16px;
}
.theme-modern-minimal .storefront-card-title {
    color: var(--mm-text-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.2px;
}
.theme-modern-minimal .storefront-card-price {
    color: var(--mm-text-primary);
    font-size: 14px;
    font-weight: 600;
}
.theme-modern-minimal .storefront-card-price-old {
    color: var(--mm-text-secondary);
}
.theme-modern-minimal .storefront-card-badge {
    background: var(--mm-text-primary);
    color: var(--mm-bg-card);
    border-radius: 4px;
}

/* Section */
.theme-modern-minimal .storefront-section-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--mm-text-primary);
    text-align: center;
}

/* Listing */
.theme-modern-minimal .storefront-listing-title {
    color: var(--mm-text-primary);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}
.theme-modern-minimal .storefront-sidebar-box {
    background: var(--mm-bg-card);
    border: 1px solid var(--mm-border);
    border-radius: 12px;
}
.theme-modern-minimal .storefront-sidebar-title { color: var(--mm-text-primary); }
.theme-modern-minimal .storefront-search-input {
    border: 1px solid var(--mm-border);
    border-radius: 8px;
    background: var(--mm-bg-card);
}
.theme-modern-minimal .storefront-search-input:focus {
    border-color: var(--mm-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.theme-modern-minimal .storefront-category-link.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--mm-accent);
}

/* Pagination */
.theme-modern-minimal .storefront-page-link {
    border: 1px solid var(--mm-border);
    border-radius: 8px;
}
.theme-modern-minimal .storefront-page-link.active {
    background: var(--mm-text-primary);
    color: var(--mm-bg-card);
    border-color: var(--mm-text-primary);
}

/* Detail */
.theme-modern-minimal .storefront-detail-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--mm-text-primary);
}
.theme-modern-minimal .storefront-detail-price {
    color: var(--mm-text-primary);
    font-size: 22px;
}
.theme-modern-minimal .storefront-detail-btn {
    background: var(--mm-text-primary) !important;
    color: var(--mm-bg-card) !important;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: var(--mm-shadow-sm);
}
.theme-modern-minimal .storefront-detail-btn:hover {
    background: #1C1917 !important;
}

/* Page banner */
.theme-modern-minimal .storefront-page-banner {
    padding: 56px 24px;
    background: var(--mm-bg);
}
.theme-modern-minimal .storefront-page-banner-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--mm-text-primary);
}

/* Cookie + Footer */
.theme-modern-minimal .storefront-cookie-banner {
    background: var(--mm-bg-card);
    border: 1px solid var(--mm-border);
}
.theme-modern-minimal .storefront-shop-name {
    color: var(--mm-text-primary);
    letter-spacing: -0.3px;
}

.theme-modern-minimal .storefront-footer {
    background: var(--mm-bg);
    border-top: 1px solid var(--mm-border);
}
.theme-modern-minimal .storefront-footer-link { color: var(--mm-text-secondary); }
.theme-modern-minimal .storefront-footer-link:hover { color: var(--mm-accent); }
.theme-modern-minimal .storefront-footer-text { color: var(--mm-text-secondary); opacity: 0.7; }
