/**
 * Blog Front-End Styles
 * UniqueGifting Blog
 */

:root {
    /* Aligned with main site design system */
    --primary: hsl(349, 51%, 36%);          /* Burgundy */
    --primary-dark: hsl(349, 55%, 27%);     /* Burgundy dark */
    --primary-light: hsl(349, 49%, 43%);    /* Burgundy light */
    --gold: hsl(40, 60%, 55%);              /* Warm gold accent */
    --gold-light: hsl(40, 60%, 70%);        /* Gold light */
    --sage: hsl(143, 40%, 65%);             /* Sage green accent */
    --text-dark: hsl(216, 12%, 13%);        /* Charcoal */
    --text-light: hsl(0, 0%, 48%);          /* Muted gray */
    --border-color: hsl(30, 20%, 85%);      /* Warm border */
    --bg-light: hsl(40, 38%, 93%);          /* Cream background */
    --bg-card: hsl(0, 0%, 100%);            /* White */

    /* Typography */
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* Base typography */
body {
    font-family: var(--font-body);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.blog-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Fix for sticky header overlap - add padding to main content */
main {
    padding-top: 2rem !important;
    min-height: calc(100vh - 200px) !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo:hover .logo-text {
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Blog Hero */
.blog-hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s;
    border: 1px solid hsl(30, 20%, 90%);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: hsl(30, 20%, 85%);
}

.post-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.post-content h2 a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 0.5rem;
}

/* Single Post */
.blog-post {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.post-header {
    margin-bottom: 2.5rem;
}

.post-header .post-meta {
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 500;
}

.post-header h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.post-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    font-style: italic;
    max-width: 680px;
    margin: 0 auto;
}

.post-featured-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.post-body {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-dark);
}

.post-body h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.post-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text-dark);
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body > p:first-of-type {
    font-size: 1.2rem;
    line-height: 1.8;
    color: hsl(216, 12%, 25%);
}

.post-body ul,
.post-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: hsla(349, 51%, 36%, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.post-body a:hover {
    color: var(--primary-dark);
    text-decoration-color: var(--primary-dark);
}

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

.post-body blockquote {
    border-left: 4px solid var(--gold);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: hsl(216, 12%, 25%);
    background: hsla(40, 60%, 55%, 0.06);
    border-radius: 0 8px 8px 0;
}

/* Drop cap for first paragraph after featured image */
.post-body > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    color: var(--primary);
    font-weight: 700;
}

/* Horizontal divider between major sections */
.post-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 3rem 0;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-back {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--primary);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-share span {
    color: var(--text-light);
    font-weight: 600;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.pagination-pages {
    display: flex;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-current {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 700;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

/* Footer */
.blog-footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.blog-footer a {
    color: white;
    text-decoration: underline;
}

.blog-footer a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    /* Base container adjustments */
    .container {
        padding: 0 1rem;
    }

    /* Hero section - larger text for readability */
    .blog-hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .blog-hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Grid adjustments */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Post header - larger for readability without zooming */
    .post-header h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .post-lead {
        font-size: 1.0625rem;
        line-height: 1.6;
    }

    /* Post body - minimum 16px for comfortable reading */
    .post-body {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    .post-body h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }

    .post-body h3 {
        font-size: 1.25rem;
        margin: 1.25rem 0 0.75rem;
    }

    .post-body p {
        margin-bottom: 1.25rem;
    }

    /* Actions */
    .post-actions {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Navigation */
    .main-nav {
        gap: 1rem;
    }

    /* Product cards - better font sizing */
    .post-content h2 {
        font-size: 1.25rem;
    }

    .post-meta {
        font-size: 0.9375rem;
    }
}

/* ========================================
   REUSABLE BLOG POST COMPONENTS
   ======================================== */

/* Product Showcase Container */
.blog-product-container {
    background: linear-gradient(180deg, hsl(40, 38%, 96%) 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid hsla(30, 20%, 85%, 0.5);
}

/* Product Grid Layouts */
.products-grid-1col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.product-showcase-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid hsl(30, 20%, 88%);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 320px;
}

.product-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(162, 40, 59, 0.12);
    border-color: hsl(349, 49%, 80%);
}

.product-showcase-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Product Image */
.product-image-link {
    flex: 0 0 45%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

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

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

/* Product image overlay — disabled for cleaner look */
.product-image-overlay {
    display: none;
}

/* Product Content */
.product-content-area {
    flex: 1;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.product-subtitle {
    display: inline-block;
    color: var(--primary);
    font-style: italic;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding: 0.2rem 0;
    border-bottom: 2px solid hsla(349, 51%, 36%, 0.15);
}

.product-description {
    color: hsl(216, 12%, 30%);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* === MOBILE-SAFE BASELINE (added 2026-04-26 — wishes pipeline mobile audit) === */
/* Belt-and-braces against subpixel overflow from negative-margin product containers */
html, body { overflow-x: hidden; }
/* Baseline img sizing — was missing; some posts had product images overflowing 4px on phones */
.post-content img,
.blog-post img,
.blog-product-container img,
figure.quote-card img,
figure.post-hero img { max-width: 100%; height: auto; }
/* WCAG/Apple HIG tap-target — CTA buttons need ≥44px tall */
.product-cta-button { min-height: 44px; }

/* Modern Shop Button */
.shop-button,
.product-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 14px 32px !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(162, 40, 59, 0.2) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    width: auto !important;
    height: auto !important;
}

.shop-button::after,
.product-cta-button::after {
    content: '\2192' !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.shop-button:hover,
.product-cta-button:hover {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(162, 40, 59, 0.3) !important;
}

.shop-button:hover::after,
.product-cta-button:hover::after {
    transform: translateX(4px) !important;
}

.shop-button:active,
.product-cta-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 3px 10px rgba(162, 40, 59, 0.25) !important;
}

/* Info Boxes */
.info-highlight-box {
    background: linear-gradient(135deg, hsla(349, 51%, 36%, 0.03) 0%, hsla(40, 60%, 55%, 0.04) 100%);
    border-left: 4px solid var(--primary);
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    box-shadow: none;
}

.info-highlight-box h3 {
    font-family: var(--font-display);
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Tips Grid */
.tips-grid-4col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 3px solid hsl(349, 51%, 36%);
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(162, 40, 59, 0.12);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.tip-title {
    font-weight: 700;
    color: hsl(349, 51%, 36%);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-card p {
    color: hsl(216, 12%, 13%);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Section Styling */
.post-body h2.section-heading {
    color: var(--text-dark);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.post-body h2.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
}

/* Author Bio Box for E-E-A-T */
.author-bio-box {
    background: linear-gradient(135deg, hsl(40, 38%, 96%) 0%, hsl(40, 30%, 94%) 100%);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin: 3rem 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid hsl(30, 20%, 88%);
}

.author-bio-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content {
    flex: 1;
}

.author-bio-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-bio-title {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-bio-description {
    font-size: 0.9rem;
    color: hsl(216, 12%, 35%);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Author Bio */
@media (max-width: 768px) {
    .author-bio-box {
        padding: 1.25rem 1rem;
        gap: 0.875rem;
    }
    
    .author-bio-image {
        width: 60px;
        height: 60px;
    }
    
    .author-bio-name {
        font-size: 0.9rem;
    }
    
    .author-bio-title {
        font-size: 0.75rem;
    }
    
    .author-bio-description {
        font-size: 0.8rem;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .blog-product-container {
        padding: 2rem 1.25rem;
    }

    .product-showcase-card {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .product-image-link {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    
    .product-image-link img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }
    
    .product-content-area {
        padding: 1.75rem 1.5rem;
        width: 100%;
    }
    
    .product-cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Product container - remove side padding for full-width images */
    .blog-product-container {
        padding: 1.5rem 0;
        border-radius: 8px;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        max-width: 100vw;            /* clamp to viewport — kills subpixel overflow */
        box-sizing: border-box;
    }

    .blog-product-container .products-grid-1col {
        padding: 0;
    }

    .products-grid-1col {
        gap: 2rem;
    }

    /* Product title - larger for mobile readability */
    .product-title {
        font-size: 1.375rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .product-subtitle {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }

    .product-description {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }

    /* Product card - ensure full-width images */
    .product-showcase-card {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Product image - truly full-width, no padding/margin */
    .product-image-link {
        width: 100%;
        height: auto;
        min-height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .product-image-link img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        display: block;
        border-radius: 0;
    }

    /* Product content - proper padding for readability */
    .product-content-area {
        width: 100%;
        padding: 1.5rem 1.25rem;
    }

    /* Shop button - larger touch target */
    .shop-button,
.product-cta-button {
        padding: 16px 28px !important;
        font-size: 15px !important;
        width: 100%;
        text-align: center;
    }

    .tips-grid-4col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Container adjustments */
    .container {
        padding: 0 0.875rem;
    }

    /* Hero section */
    .blog-hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .blog-hero p {
        font-size: 0.9375rem;
    }

    /* Post header */
    .post-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .post-lead {
        font-size: 1rem;
    }

    /* Post body */
    .post-body {
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.35rem;
    }

    .post-body h3 {
        font-size: 1.15rem;
    }

    /* Product container - full-width images */
    .blog-product-container {
        margin-left: -0.875rem;
        margin-right: -0.875rem;
        width: calc(100% + 1.75rem);
        padding: 1rem 0;
    }

    /* Product cards */
    .product-title {
        font-size: 1.25rem;
    }

    .product-subtitle {
        font-size: 0.9375rem;
    }

    .product-description {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .product-image-link {
        min-height: 280px;
    }

    .product-content-area {
        padding: 1.25rem 1rem;
    }

    .shop-button,
.product-cta-button {
        padding: 14px 24px !important;
        font-size: 14px !important;
    }

    /* Post meta */
    .post-meta {
        font-size: 0.875rem;
        flex-wrap: wrap;
    }

    /* Share buttons */
    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

/* ========================================
   CHRISTMAS THEME STYLES
   ======================================== */

/* Christmas Container */
.blog-product-container.christmas-theme {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

/* Christmas Section Headings */
.post-body h2.section-heading.christmas-heading {
    font-size: 1.875rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.post-body h2.section-heading.christmas-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #333;
    border-radius: 1px;
}

/* Christmas Info Boxes */
.info-highlight-box.christmas-box {
    background: #fafafa;
    border-left: 3px solid #333;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: none;
}

.info-highlight-box.christmas-box h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Christmas Tip Cards */
.tip-card.christmas-tip {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.tip-card.christmas-tip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tip-card.christmas-tip .tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-card.christmas-tip .tip-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Christmas Product Cards */
.product-showcase-card.christmas-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #ffffff;
}

.product-showcase-card.christmas-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.product-showcase-card.christmas-card .product-title {
    color: #1a1a1a;
}

.product-showcase-card.christmas-card .product-subtitle {
    color: #666;
}

/* Christmas Buttons — inherit main shop-button style */
.product-cta-button.christmas-button,
.shop-button.christmas-button {
    background: hsl(349, 51%, 36%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(162, 40, 59, 0.2) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.product-cta-button.christmas-button:hover,
.shop-button.christmas-button:hover {
    background: hsl(349, 55%, 27%) !important;
    border-color: hsl(349, 55%, 27%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(162, 40, 59, 0.3) !important;
}

/* Responsive Christmas Theme */
@media (max-width: 968px) {
    .blog-product-container.christmas-theme {
        padding: 2rem 1.5rem;
    }

    /* Tablet: Optimize product cards */
    .product-showcase-card.christmas-card .product-content-area {
        padding: 2rem;
    }

    .product-showcase-card.christmas-card .product-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Christmas container - remove side padding for full-width images */
    .blog-product-container.christmas-theme {
        padding: 1.5rem 0;
        margin: 1rem -1rem;
        width: calc(100% + 2rem);
        border-radius: 0;
    }

    .blog-product-container.christmas-theme .products-grid-1col {
        padding: 0;
    }

    /* Christmas headings - larger for readability */
    .post-body h2.section-heading.christmas-heading {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .info-highlight-box.christmas-box {
        padding: 1.25rem;
        margin: 1.5rem 1rem;
    }

    .tip-card.christmas-tip {
        padding: 1.25rem;
    }

    /* Mobile: Stack product cards vertically with full-width images */
    .product-showcase-card.christmas-card {
        flex-direction: column !important;
        min-height: auto;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Full-width product images */
    .product-showcase-card.christmas-card .product-image-link {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .product-showcase-card.christmas-card .product-image-link img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        display: block;
        border-radius: 0;
    }

    /* Product content - proper padding and larger text */
    .product-showcase-card.christmas-card .product-content-area {
        width: 100%;
        padding: 1.5rem 1.25rem;
    }

    .product-showcase-card.christmas-card .product-title {
        font-size: 1.375rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .product-showcase-card.christmas-card .product-subtitle {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }

    .product-showcase-card.christmas-card .product-description {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }

    /* Mobile: Larger touch targets for buttons */
    .product-cta-button.christmas-button,
    .shop-button.christmas-button {
        width: 100%;
        text-align: center;
        padding: 16px 24px !important;
        font-size: 15px !important;
    }

    /* Mobile: Optimize grid spacing */
    .products-grid-1col {
        gap: 2rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    /* Small mobile phones - full-width images maintained */
    .blog-product-container.christmas-theme {
        padding: 1rem 0;
        border-radius: 0;
        margin: 1rem -1rem;
        width: calc(100% + 2rem);
    }

    .blog-product-container.christmas-theme .products-grid-1col {
        padding: 0;
    }

    /* Headings - still readable without zoom */
    .post-body h2.section-heading.christmas-heading {
        font-size: 1.35rem;
        margin: 1.5rem 0 1rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .post-body h2.section-heading.christmas-heading::after {
        width: 30px;
    }

    .info-highlight-box.christmas-box {
        padding: 1rem;
        margin: 1.25rem 1rem;
        border-left-width: 2px;
    }

    .info-highlight-box.christmas-box h3 {
        font-size: 1rem;
    }

    .tip-card.christmas-tip {
        padding: 1rem;
    }

    .tip-card.christmas-tip .tip-icon {
        font-size: 2rem;
    }

    /* Small mobile: Full-width images, readable text */
    .product-showcase-card.christmas-card {
        border-radius: 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
        border-left: none;
        border-right: none;
    }

    /* Full-width product image */
    .product-showcase-card.christmas-card .product-image-link {
        width: 100%;
        height: auto;
        min-height: 280px;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .product-showcase-card.christmas-card .product-image-link img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        display: block;
        border-radius: 0;
    }

    /* Content area - proper padding and readable text */
    .product-showcase-card.christmas-card .product-content-area {
        width: 100%;
        padding: 1.25rem 1rem;
    }

    .product-showcase-card.christmas-card .product-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 0.625rem;
    }

    .product-showcase-card.christmas-card .product-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }

    .product-showcase-card.christmas-card .product-description {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    /* Buttons - adequate touch targets */
    .product-cta-button.christmas-button,
    .shop-button.christmas-button {
        padding: 14px 20px !important;
        font-size: 14px !important;
        width: 100%;
    }

    .products-grid-1col {
        gap: 1.5rem;
        margin: 1.25rem 0;
    }
}

