/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a1a1a;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-home {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-home h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.nav-subtitle {
    font-size: 0.9rem;
    color: #666;
    display: block;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Nav CTA */
.nav-cta {
    padding: 10px 18px;
    border: 2px solid #1a1a1a;
    border-radius: 999px;
}
.nav-cta:hover {
    background: #1a1a1a;
    color: #fff;
}
/* Remove underline bar for CTA */
.nav-cta::after {
    display: none;
}

/* Hamburger Menu */
.nav-hamburger {
    display: none;
    background: none;
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 10px;
    z-index: 1001;
    position: relative;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.nav-hamburger i {
    font-size: 24px;
    color: #1a1a1a;
    position: absolute;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-hamburger .ri-menu-line {
    opacity: 1;
}

.nav-hamburger .ri-close-line {
    opacity: 0;
}

.nav-hamburger.active .ri-menu-line {
    opacity: 0;
}

.nav-hamburger.active .ri-close-line {
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.hero-content {
    flex: 1;
    padding: 120px 0 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 10;
    position: relative;
}

.hero-text {
    max-width: 600px;
    z-index: 2;
    position: relative;
    padding-right: 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.btn-primary:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fafafa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon i {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f5f5f5;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Shop */
.cards-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.card,
.product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.product-card .thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: .75rem;
    background: #f3f3f3;
}

.product-card .thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h2 {
    font-size: 1.25rem;
    margin: .25rem 0 .5rem;
}

.price {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .75rem;
}

/* Inline row for price and status badge */
.price-row {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: .75rem;
}
.price-row .price {
    margin: 0;            /* avoid double spacing inside the row */
    line-height: 1;       /* align numerals with badge text */
}
.price-row .badge {
    line-height: 1;       /* precise vertical centering */
    padding: 4px 10px;    /* slightly tighter height for better alignment */
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .85rem;
    background: #eee;
    color: #555;
}

/* Back link under product */
.back-link {
    color: #666;
    text-decoration: none;
}
.back-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.product-card.is-sold {
    opacity: .75;
}

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1rem;
}

.product-media img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Product gallery */
.product-primary {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    max-height: 50vh;
    object-fit: contain;
    background: #f7f7f7;
}

.product-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.product-thumbs .thumb-btn {
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    width: 64px;
    height: 64px;
}

.product-thumbs .thumb-btn.is-active,
.product-thumbs .thumb-btn:hover {
    border-color: #1a1a1a;
}

.product-thumbs .thumb-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .product-primary {
        max-height: 45vh;
    }
    .product-thumbs .thumb-btn {
        width: 56px;
        height: 56px;
    }
    /* Mobile order: media first, then info */
    .product-detail {
        grid-template-columns: 1fr;
    }
    .product-media {
        order: -1;
        margin-bottom: 1rem;
    }
    .product-info {
        order: 0;
    }
}

.product-specs {
    list-style: none;
    margin: 1rem 0 1.25rem;
    padding: 0;
}

.product-specs li {
    margin-bottom: .4rem;
}

/* Shop page spacing (fixed header offset) */
.page.shop .container,
.page.category .container,
.page.product .container {
    padding-top: 96px;
    padding-bottom: 48px;
}

/* Card & product link styles */
.card a:link,
.card a:visited,
.product-card a:link,
.product-card a:visited {
    color: inherit;
    text-decoration: none;
}

.card a:hover,
.product-card a:hover {
    text-decoration: underline;
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: #f5f5f5;
}

.experience-cards {
    list-style: none;
    padding-left: 0;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.experience-cards li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    padding: 2rem;
    background: #fafafa;
    border-radius: 15px;
    border: 1px solid #e8e8e8;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-cards li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-cards li strong {
    display: block;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    order: -1;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-info p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: #fafafa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e8e8e8;
}

.contact-cta {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8e8e8;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #c3e6cb;
    margin-bottom: 1rem;
}

.form-success p {
    margin: 0;
    color: #155724;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #f5c6cb;
    margin-bottom: 1rem;
}

.form-error p {
    margin: 0;
    color: #721c24;
}

.hp-field,
.uniform__potty {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #e8e8e8;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        display: inline-block;
        margin-top: 0.5rem;
        padding: 12px 24px;
    }
    
    .hero {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 100px 20px 40px;
        width: 100%;
    }
    
    .hero-text {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        right: auto;
        top: auto;
        order: -1;
    }
    
    .hero-image .hero-img {
        object-position: center 35%;
    }
    
    .hero-cta {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-form {
        text-align: center;
    }
    
    .contact-form form {
        text-align: left;
    }
    
    .contact-form form button {
        display: block;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links a {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Ensure exactly 3 columns on wider screens */
@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(3, 280px) !important;
        justify-content: center;
    }
}
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 280px) !important;
        justify-content: center;
    }
}

/* Legal pages (Impressum / Datenschutz) */
.page.legal .container {
    padding-top: 120px; /* offset fixed header */
    padding-bottom: 48px;
}

.page.legal .legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.page.legal h1 {
    font-size: 2.2rem;
    margin-top: 0; /* prevent overlap with fixed header */
    margin-bottom: 1.25rem;
}

.page.legal .legal-text {
    max-width: 800px;
}

.page.legal .legal-text p,
.page.legal .legal-text li {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.page.legal .legal-text a {
    color: #1a1a1a;
    text-decoration: underline;
}

.page.legal .legal-text ul,
.page.legal .legal-text ol {
    margin: 0 0 1rem 1.25rem;
}

/* Reduce heading sizes inside the legal content body */
.page.legal .legal-text h1,
.page.legal .legal-text h2,
.page.legal .legal-text h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 1.25rem;
    margin-bottom: .5rem;
}

.page.legal .legal-text h1 { font-size: 1.4rem; }
.page.legal .legal-text h2 { font-size: 1.25rem; }
.page.legal .legal-text h3 { font-size: 1.1rem; }

/* Page main spacing to avoid header overlap */
.page-main {
    padding-top: 100px;
}

/* Blog overview */
.blog {
    padding: 80px 0;
    background: #fff;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0.5rem 0 1rem;
}

.blog-card-title {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    position: relative;
}

.blog-card-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1a1a1a;
    margin-top: 0.5rem;
}

.blog-card-meta {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.pagination-status {
    color: #666;
}

/* Article page */
.blog-article {
    padding: 80px 0;
    background: #fff;
}

.article-header {
    margin-bottom: 3rem;
    position: relative;
}

.article-header-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-title {
    font-size: 2.8rem;
    line-height: 1.2;
    position: relative;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.article-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #1a1a1a;
    margin: 1rem auto 0;
}

.article-meta {
    color: #999;
    font-size: 1rem;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

/* Legacy article figure (for backwards compatibility) */
.article-figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

/* Prose content (blocks rendering) */
.prose {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2c2c2c;
    max-width: 800px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.25rem;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 0.5rem;
}

.prose h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a 0%, transparent 100%);
}

.prose h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

.prose p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
    line-height: 1.9;
}

.prose a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.prose a:hover {
    color: #666;
}

.prose ul,
.prose ol {
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.prose ul li,
.prose ol li {
    margin-bottom: 0.75rem;
    color: #4a4a4a;
    line-height: 1.8;
}

.prose ul li::marker {
    color: #1a1a1a;
}

.prose ol li::marker {
    color: #1a1a1a;
    font-weight: 600;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Blockquote styling */
.prose blockquote,
.prose .block-type-quote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-left: 4px solid #1a1a1a;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.prose blockquote p,
.prose .block-type-quote p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.prose blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(26, 26, 26, 0.15);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.prose blockquote cite,
.prose .block-type-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #666;
    font-style: normal;
}

.prose blockquote cite::before,
.prose .block-type-quote cite::before {
    content: '— ';
}

/* Code blocks */
.prose pre,
.prose code {
    font-family: 'Courier New', monospace;
    background: #f5f5f5;
    border-radius: 6px;
}

.prose pre {
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid #e8e8e8;
}

.prose code {
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
    color: #d63384;
}

.prose pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

/* Gallery blocks */
.prose figure[data-ratio] {
    margin: 2.5rem 0;
}

.prose figure[data-ratio] ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0;
    list-style: none;
    margin: 0;
}

.prose figure[data-ratio] li {
    margin: 0;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.prose figure[data-ratio] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.prose figure[data-ratio] li:hover img {
    transform: scale(1.05);
}

.prose figure[data-ratio] figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Horizontal rule */
.prose hr {
    margin: 3rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e8e8e8 50%, transparent 100%);
}

/* Article products section */
.article-products,
.article-related {
    margin: 4rem 0;
    padding: 3rem 0;
    background: #fafafa;
    border-radius: 16px;
}

.article-products .section-title,
.article-related .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card-link:hover .product-card {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.product-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-link:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-content {
    padding: 1.5rem;
}

.product-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.product-card-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.products-cta {
    text-align: center;
    margin-top: 2rem;
}

.article-related {
    background: white;
}

.article-related .blog-preview-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* Article footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px solid #e8e8e8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Article tags */
.article-tags {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-tags-label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.article-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4a4a4a;
    transition: all 0.2s ease;
}

.article-tag:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Article back button */
.article-back {
    text-align: center;
    margin-top: 2rem;
}

.article-back .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Latest posts on home */
.latest-posts {
    padding: 80px 0;
    background: white;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-preview-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-preview-card {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-preview-card-link:hover .blog-preview-card {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.blog-preview-image {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-preview-card-link:hover .blog-preview-image img {
    transform: scale(1.08);
}

.blog-preview-content {
    padding: 1.5rem;
}

.blog-preview-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-preview-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.blog-preview-card-link:hover .blog-preview-title {
    color: #666;
}

.blog-preview-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.blog-preview-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Legacy blog cards (keep for compatibility) */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card img {
    display: block;
}

@media (max-width: 768px) {
    .blog,
    .blog-article,
    .latest-posts {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-header-image {
        height: 250px;
        border-radius: 12px;
    }

    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-preview-image {
        height: 200px;
    }

    .prose {
        font-size: 1rem;
        padding: 0 20px;
    }

    .article-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .prose h2 {
        font-size: 1.75rem;
        margin: 2rem 0 1rem;
    }

    .prose h3 {
        font-size: 1.35rem;
        margin: 1.5rem 0 0.75rem;
    }

    .prose blockquote,
    .prose .block-type-quote {
        padding: 1rem 1.5rem;
        margin: 2rem 0;
    }

    .prose blockquote p,
    .prose .block-type-quote p {
        font-size: 1.1rem;
    }

    .prose blockquote::before {
        font-size: 3rem;
        top: -5px;
        left: 10px;
    }

    .prose figure[data-ratio] ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .prose figure[data-ratio] li {
        height: 250px;
    }

    .article-back {
        margin-bottom: 3rem;
    }

    .article-products .section-title,
    .article-related .section-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .products-grid,
    .article-related .blog-preview-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .product-card-image {
        height: 220px;
    }
}
