/* ==============================================================
   Artisan — "Handmade / Crafts / Gourmet"
   Cream background, sienna accent, story-driven, paper-like textures
   Pre handmade tvorcov, gourmet, ručne robené šperky
   Custom design — bez detailného source spec, navrhnuté pre 037
   ============================================================== */

.theme-artisan {
    background-color: #FFFBF5;
    color: #2C2418;
    --ar-bg: #FFFBF5;
    --ar-bg-card: #FFFFFF;
    --ar-bg-secondary: #F5EDDC;
    --ar-text: #2C2418;
    --ar-text-quiet: #8B7355;
    --ar-accent: #A0522D;
    --ar-accent-hover: #8B4513;
    --ar-secondary: #8B7355;
    --ar-border: #E8DCC4;
    --ar-shadow: 0 2px 8px rgba(160, 82, 45, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Nav */
.theme-artisan .storefront-nav {
    background: var(--ar-bg);
    border-bottom: 1px solid var(--ar-border);
    box-shadow: none;
}
.theme-artisan .storefront-logo {
    color: var(--ar-text);
    font-weight: 600;
    letter-spacing: -0.2px;
    font-size: 20px;
}
.theme-artisan .storefront-nav-link {
    color: var(--ar-text-quiet);
    font-size: 14px;
}
.theme-artisan .storefront-nav-link:hover { color: var(--ar-accent); }

.theme-artisan .storefront-badge {
    background: var(--ar-accent);
    color: #FFFFFF;
    border-radius: 12px;
}

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

/* Hero */
.theme-artisan .storefront-hero {
    padding: 80px 24px 64px;
    background: linear-gradient(180deg, var(--ar-bg) 0%, var(--ar-bg-secondary) 100%);
    border-bottom: 1px solid var(--ar-border);
}
.theme-artisan .storefront-hero-title {
    font-size: 36px;
    font-weight: 500;
    color: var(--ar-text);
    letter-spacing: -0.3px;
    margin: 0 0 16px;
}
.theme-artisan .storefront-hero-desc {
    color: var(--ar-text-quiet);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    max-width: 560px;
    margin: 0 auto 24px;
}
.theme-artisan .storefront-hero-cta {
    background: var(--ar-accent) !important;
    color: #FFFFFF !important;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--ar-shadow);
}
.theme-artisan .storefront-hero-cta:hover {
    background: var(--ar-accent-hover) !important;
}

/* Cards */
.theme-artisan .storefront-products-grid {
    gap: 20px;
}
.theme-artisan .storefront-card {
    background: var(--ar-bg-card);
    border: 1px solid var(--ar-border);
    border-radius: 8px;
    box-shadow: var(--ar-shadow);
    overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease;
}
.theme-artisan .storefront-card:hover {
    box-shadow: 0 6px 20px rgba(160, 82, 45, 0.15);
    transform: translateY(-3px);
}
.theme-artisan .storefront-card-image {
    height: 240px;
    background: var(--ar-bg-secondary);
}
.theme-artisan .storefront-card-body {
    padding: 16px;
}
.theme-artisan .storefront-card-title {
    color: var(--ar-text);
    font-weight: 500;
    font-size: 15px;
}
.theme-artisan .storefront-card-price {
    color: var(--ar-accent);
    font-size: 15px;
    font-weight: 600;
}
.theme-artisan .storefront-card-price-old {
    color: var(--ar-text-quiet);
}
.theme-artisan .storefront-card-badge {
    background: var(--ar-accent);
    color: #FFFFFF;
}

/* Section */
.theme-artisan .storefront-section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ar-text);
    text-align: center;
    letter-spacing: -0.3px;
}

/* Story field — Artisan-specific (renderuje sa z theme_data.story v product detail) */
.theme-artisan .ar-story {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--ar-bg-secondary);
    border-left: 3px solid var(--ar-accent);
    font-style: italic;
    color: var(--ar-text);
    line-height: 1.7;
    font-size: 15px;
    border-radius: 0 8px 8px 0;
}
.theme-artisan .ar-story::before {
    content: '"';
    color: var(--ar-accent);
    font-size: 32px;
    line-height: 1;
    margin-right: 4px;
    font-family: Georgia, serif;
}

/* Listing */
.theme-artisan .storefront-listing-title {
    color: var(--ar-text);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
}
.theme-artisan .storefront-sidebar-box {
    background: var(--ar-bg-card);
    border: 1px solid var(--ar-border);
    border-radius: 8px;
    box-shadow: var(--ar-shadow);
}
.theme-artisan .storefront-sidebar-title { color: var(--ar-text); font-weight: 600; }
.theme-artisan .storefront-search-input {
    border: 1px solid var(--ar-border);
    border-radius: 8px;
    background: var(--ar-bg-card);
}
.theme-artisan .storefront-search-input:focus {
    border-color: var(--ar-accent);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}
.theme-artisan .storefront-category-link.active {
    background: rgba(160, 82, 45, 0.1);
    color: var(--ar-accent);
}

/* Pagination */
.theme-artisan .storefront-page-link {
    border: 1px solid var(--ar-border);
    border-radius: 6px;
    background: var(--ar-bg-card);
    color: var(--ar-text-quiet);
}
.theme-artisan .storefront-page-link.active {
    background: var(--ar-accent);
    color: #FFFFFF;
    border-color: var(--ar-accent);
}

/* Detail */
.theme-artisan .storefront-detail-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--ar-text);
    letter-spacing: -0.3px;
}
.theme-artisan .storefront-detail-price {
    color: var(--ar-accent);
    font-size: 24px;
    font-weight: 700;
}
.theme-artisan .storefront-detail-btn {
    background: var(--ar-accent) !important;
    color: #FFFFFF !important;
    border-radius: 24px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    box-shadow: var(--ar-shadow);
}
.theme-artisan .storefront-detail-btn:hover {
    background: var(--ar-accent-hover) !important;
}

/* Page banner */
.theme-artisan .storefront-page-banner {
    padding: 64px 24px;
    background: linear-gradient(180deg, var(--ar-bg) 0%, var(--ar-bg-secondary) 100%);
    border-bottom: 1px solid var(--ar-border);
}
.theme-artisan .storefront-page-banner-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--ar-text);
    letter-spacing: -0.3px;
}

.theme-artisan .storefront-shop-name {
    color: var(--ar-text);
}

/* Footer */
.theme-artisan .storefront-footer {
    background: var(--ar-bg-secondary);
    border-top: 1px solid var(--ar-border);
}
.theme-artisan .storefront-footer-link { color: var(--ar-text-quiet); }
.theme-artisan .storefront-footer-link:hover { color: var(--ar-accent); }
.theme-artisan .storefront-footer-text { color: var(--ar-text-quiet); opacity: 0.8; }
