/* ==============================================================
   Editorial Magazine — "Aesop / NYT magazine"
   Sophisticated minimalism, serif, béžová paleta, lock-down
   Pre módu, beauty, prémium
   Design source: Navrh novych sablon/eshop-design-templates.md (Šablóna 3)
   Lock-down farby pevne nastavené v ThemeRegistry::THEMES['editorial-magazine']
   ============================================================== */

.theme-editorial-magazine {
    background-color: #F5F1EA;
    color: #1A1A1A;
    --em-bg: #F5F1EA;
    --em-bg-card: #FAF6EE;
    --em-text: #1A1A1A;
    --em-text-quiet: #5C5C5C;
    --em-accent: #D4C4A8;
    --em-divider: #1A1A1A;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
}

/* Nav */
.theme-editorial-magazine .storefront-nav {
    background: var(--em-bg);
    border-bottom: 1px solid var(--em-divider);
    box-shadow: none;
}
.theme-editorial-magazine .storefront-nav-inner {
    height: 64px;
}
.theme-editorial-magazine .storefront-logo {
    color: var(--em-text);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.theme-editorial-magazine .storefront-nav-link {
    color: var(--em-text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}
.theme-editorial-magazine .storefront-nav-link:hover { color: var(--em-text-quiet); }

.theme-editorial-magazine .storefront-badge {
    background: var(--em-text);
    color: var(--em-bg-card);
    border-radius: 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-editorial-magazine .storefront-hamburger span { background: var(--em-text); }
.theme-editorial-magazine .storefront-mobile-menu { background: var(--em-bg); border-bottom: 1px solid var(--em-divider); }
.theme-editorial-magazine .storefront-mobile-link {
    color: var(--em-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    border-bottom: 1px solid var(--em-accent);
}

/* Hero — typografický */
.theme-editorial-magazine .storefront-hero {
    padding: 112px 24px 80px;
    background: var(--em-bg);
    text-align: center;
}
.theme-editorial-magazine .storefront-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    color: var(--em-text);
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0 0 20px;
}
.theme-editorial-magazine .storefront-hero-desc {
    font-style: italic;
    color: var(--em-text-quiet);
    font-size: 18px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 32px;
}
.theme-editorial-magazine .storefront-hero-cta {
    background: var(--em-text) !important;
    color: var(--em-bg-card) !important;
    border-radius: 0;
    padding: 14px 36px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    box-shadow: none;
}
.theme-editorial-magazine .storefront-hero-cta:hover {
    background: #2C2C2C !important;
    transform: none;
}

/* Editorial divider — for use in custom partials */
.theme-editorial-magazine .em-divider {
    height: 1px;
    background: var(--em-divider);
    margin: 64px auto;
    max-width: 80rem;
}

/* Cards — žiadny hover transform, len opacity */
.theme-editorial-magazine .storefront-products-grid {
    gap: 32px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
    .theme-editorial-magazine .storefront-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.theme-editorial-magazine .storefront-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}
.theme-editorial-magazine .storefront-card:hover {
    transform: none;
    box-shadow: none;
}
.theme-editorial-magazine .storefront-card:hover .storefront-card-image img {
    opacity: 0.85;
    transform: none;
}
.theme-editorial-magazine .storefront-card-image {
    height: 380px;
    background: var(--em-bg-card);
}
.theme-editorial-magazine .storefront-card-image img {
    transition: opacity 400ms ease;
}
.theme-editorial-magazine .storefront-card-body {
    padding: 16px 0 0;
}
.theme-editorial-magazine .storefront-card-title {
    color: var(--em-text);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.5;
}
.theme-editorial-magazine .storefront-card-price {
    color: var(--em-text-quiet);
    font-size: 13px;
    font-weight: 400;
}

/* Section */
.theme-editorial-magazine .storefront-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--em-text);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.3px;
}

/* Listing */
.theme-editorial-magazine .storefront-listing-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--em-text);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.3px;
}
.theme-editorial-magazine .storefront-sidebar-box {
    background: transparent;
    border: 1px solid var(--em-divider);
    border-radius: 0;
}
.theme-editorial-magazine .storefront-sidebar-title {
    color: var(--em-text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.theme-editorial-magazine .storefront-search-input {
    border: 1px solid var(--em-divider);
    border-radius: 0;
    background: transparent;
    color: var(--em-text);
    font-size: 13px;
}
.theme-editorial-magazine .storefront-category-link {
    color: var(--em-text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.theme-editorial-magazine .storefront-category-link:hover {
    background: var(--em-accent);
    color: var(--em-text);
}
.theme-editorial-magazine .storefront-category-link.active {
    background: var(--em-text);
    color: var(--em-bg);
}

/* Pagination */
.theme-editorial-magazine .storefront-page-link {
    border-radius: 0;
    border: 1px solid var(--em-divider);
    background: transparent;
    color: var(--em-text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.theme-editorial-magazine .storefront-page-link.active {
    background: var(--em-text);
    color: var(--em-bg);
    border-color: var(--em-text);
}

/* Detail */
.theme-editorial-magazine .storefront-detail-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--em-text);
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.theme-editorial-magazine .storefront-detail-price {
    color: var(--em-text);
    font-size: 22px;
    font-weight: 400;
}
.theme-editorial-magazine .storefront-detail-btn {
    background: var(--em-text) !important;
    color: var(--em-bg-card) !important;
    border-radius: 0;
    padding: 16px 32px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    box-shadow: none;
}
.theme-editorial-magazine .storefront-detail-btn:hover {
    background: #2C2C2C !important;
    transform: none;
}
.theme-editorial-magazine .storefront-breadcrumb a {
    color: var(--em-text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Page banner */
.theme-editorial-magazine .storefront-page-banner {
    padding: 80px 24px;
    background: var(--em-bg);
    border-bottom: 1px solid var(--em-divider);
}
.theme-editorial-magazine .storefront-page-banner-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--em-text);
    letter-spacing: -0.3px;
}

.theme-editorial-magazine .storefront-shop-name {
    color: var(--em-text);
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
.theme-editorial-magazine .storefront-footer {
    background: var(--em-bg);
    border-top: 1px solid var(--em-divider);
}
.theme-editorial-magazine .storefront-footer-link {
    color: var(--em-text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.theme-editorial-magazine .storefront-footer-text {
    color: var(--em-text-quiet);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
