/* ========================================
   Blog Pages
   ======================================== */

/* Hero */
.blog-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 24px 60px;
    text-align: center;
}
.blog-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.blog-hero-desc {
    font-size: 18px;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
}

/* ========================================
   Blog Header Bar
   ======================================== */
.blog-header-bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1a1a2e 0%, #16162a 30%, #0f0f1a 60%, #0a0a0f 100%);
    color: #fff;
    padding: 100px 24px 80px;
}
.blog-header-bar-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.blog-header-bar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26,26,46,0.92) 0%, rgba(15,15,26,0.88) 50%, rgba(10,10,15,0.95) 100%);
    z-index: 0;
}
.blog-header-bar-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,0,0,1) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,0,0,1) 0%, transparent 70%);
    pointer-events: none;
}
.blog-header-bar-glow {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251,191,36,0.12) 0%, rgba(251,191,36,0.04) 40%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}
.blog-header-bar-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    animation: blogHeaderFadeIn 0.8s ease-out both;
}
@keyframes blogHeaderFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.blog-header-bar-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.blog-header-bar-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.blog-header-bar-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
    margin-bottom: 24px;
}
.blog-header-bar-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 520px;
    font-weight: 400;
}
@media (max-width: 767px) {
    .blog-header-bar {
        padding: 64px 20px 52px;
    }
    .blog-header-bar-title {
        font-size: 36px;
    }
    .blog-header-bar-desc {
        font-size: 15px;
    }
    .blog-header-bar-glow {
        width: 300px;
        height: 300px;
        top: -60px;
        right: -40px;
    }
}

/* ========================================
   Featured Card Slider
   ======================================== */
.blog-slider {
    position: relative;
    overflow: hidden;
    background: #fff;
    height: 412px;
    box-sizing: border-box;
    padding: 16px 0;
}
@media (max-width: 991px) {
    .blog-slider {
        height: 372px;
        padding: 16px 0;
    }
}
@media (max-width: 767px) {
    .blog-slider {
        height: auto;
        padding: 20px 0;
    }
}
.blog-slider-track {
    display: flex;
    align-items: center;
    gap: 24px;
    transition: transform 0.5s ease;
    will-change: transform;
}
.blog-slider-card {
    flex: 0 0 calc(100vw - 200px);
    max-width: 960px;
    height: 260px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: height 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.blog-slider-card.active {
    height: 380px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
@media (max-width: 991px) {
    .blog-slider-card {
        flex: 0 0 calc(100vw - 120px);
        max-width: 700px;
        height: 240px;
    }
    .blog-slider-card.active {
        height: 340px;
    }
}
@media (max-width: 767px) {
    .blog-slider-card {
        flex: 0 0 calc(100vw - 48px);
        height: auto;
        max-height: 520px;
        grid-template-columns: 1fr;
        grid-template-rows: 200px 1fr;
    }
    .blog-slider-card.active {
        height: auto;
        transform: none;
    }
}

/* Image side */
.blog-slider-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}
.blog-slider-image a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}
.blog-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-slider-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #ccc;
}
.blog-slider-image-placeholder svg {
    width: 48px;
    height: 48px;
}

/* Content side */
.blog-slider-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 32px;
    color: #1a1a1a;
    overflow: hidden;
    height: 100%;
    min-height: 0;
}
@media (max-width: 991px) {
    .blog-slider-content {
        padding: 16px 24px;
    }
}
@media (max-width: 767px) {
    .blog-slider-content {
        padding: 16px 16px 28px;
        height: auto;
    }
}
.blog-slider-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #1a1a1a;
}
@media (max-width: 767px) {
    .blog-slider-title {
        font-size: 20px;
    }
}
.blog-slider-summary {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-slider-card:not(.active) .blog-slider-summary {
    -webkit-line-clamp: 1;
}
.blog-slider-card:not(.active) .blog-slider-title {
    -webkit-line-clamp: 2;
}
.blog-slider-card:not(.active) .blog-slider-btn {
    display: none;
}
.blog-slider-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}
.blog-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 24px;
    background: #1a1a1a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}
.blog-slider-btn:hover {
    background: #333;
}

/* Arrows */
.blog-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(26,26,26,0.35);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.blog-slider-arrow:hover {
    background: rgba(26,26,26,0.85);
    transform: translateY(-50%) scale(1.05);
}
.blog-slider-arrow svg {
    width: 20px;
    height: 20px;
}
.blog-slider-arrow-prev {
    left: 24px;
}
.blog-slider-arrow-next {
    right: 24px;
}
@media (max-width: 767px) {
    .blog-slider-arrow {
        width: 40px;
        height: 40px;
    }
    .blog-slider-arrow svg {
        width: 18px;
        height: 18px;
    }
    .blog-slider-arrow-prev {
        left: 12px;
    }
    .blog-slider-arrow-next {
        right: 12px;
    }
}

/* Section Header */
.blog-section-header {
    padding: 48px 24px 0;
    max-width: 1280px;
    margin: 0 auto;
}
.blog-section-header-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.blog-section-header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}
.blog-section-header-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.blog-section-header-line {
    flex: 1;
    height: 1px;
    background: #ddd;
    min-width: 40px;
}
.blog-section-header-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    max-width: 720px;
}
@media (max-width: 767px) {
    .blog-section-header {
        padding: 32px 20px 0;
    }
    .blog-section-header-title {
        font-size: 22px;
    }
    .blog-section-header-desc {
        font-size: 14px;
    }
}

/* List Section */
.blog-list-section {
    padding: 32px 24px 64px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Load More Button */
.blog-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #161638;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease;
    line-height: 1;
}
.blog-load-more-btn:hover {
    background: #242450;
}
.blog-load-more-btn:disabled,
.blog-load-more-btn.loading {
    opacity: 0.85;
    cursor: not-allowed;
}
.blog-load-more-btn.loading .blog-load-more-arrow {
    display: none;
}
.blog-load-more-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.blog-load-more-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: blogLoadMoreSpin 0.7s linear infinite;
}
.blog-load-more-btn.loading .blog-load-more-spinner {
    display: inline-block;
}
@keyframes blogLoadMoreSpin {
    to { transform: rotate(360deg); }
}
@media (max-width: 767px) {
    .blog-load-more-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    .blog-load-more-arrow,
    .blog-load-more-spinner {
        width: 16px;
        height: 16px;
    }
}
.blog-list-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 639px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .blog-hero-title {
        font-size: 32px;
    }
}

/* Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
}
.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.blog-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f0f0f0;
    overflow: hidden;
}
.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}
.blog-card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}
.blog-card-image-placeholder svg {
    width: 48px;
    height: 48px;
}
.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}
.blog-card:hover .blog-card-overlay {
    opacity: 1;
}
.blog-card-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}
.blog-card:hover .blog-card-view-btn {
    transform: translateY(0);
}
.blog-card-body {
    padding: 20px 20px 24px;
}
.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
}
.blog-card-date {
    position: relative;
}
.blog-card-author {
    position: relative;
    padding-left: 12px;
}
.blog-card-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ccc;
}

/* Small card variant */
.blog-card--small .blog-card-image {
    padding-top: 60%;
}
.blog-card--small .blog-card-body {
    padding: 14px 16px 18px;
}
.blog-card--small .blog-card-title {
    font-size: 15px;
    margin-bottom: 8px;
}

/* Empty state */
.blog-empty {
    text-align: center;
    padding: 80px 24px;
    color: #999;
}
.blog-empty h3 {
    font-size: 20px;
    color: #444;
    margin-bottom: 8px;
}

/* Pagination spacing */
.blog-list-section .pagination {
    margin-top: 48px;
}

/* ========================================
   Blog Detail
   ======================================== */
.blog-detail {
    background: #fff;
}

/* Top Bar */
.blog-detail-topbar {
    padding: 40px 24px 8px;
}
.blog-detail-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.blog-detail-back-link:hover {
    color: #555;
}
.blog-detail-back-link svg {
    width: 18px;
    height: 18px;
}
.blog-detail-topbar-label {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
}

/* Header: two-column title + summary */
.blog-detail-header {
    padding: 48px 24px 32px;
}
.blog-detail-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 48px;
    align-items: start;
}
.blog-detail-title {
    font-size: 52px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}
.blog-detail-summary {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 8px 0 0;
}
@media (max-width: 991px) {
    .blog-detail-header-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-detail-title {
        font-size: 36px;
    }
}
@media (max-width: 767px) {
    .blog-detail-header {
        padding: 32px 20px 24px;
    }
    .blog-detail-title {
        font-size: 28px;
    }
    .blog-detail-summary {
        font-size: 14px;
    }
}

/* Meta bar */
.blog-detail-meta-bar {
    padding: 0 24px 40px;
}
.blog-detail-meta-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.blog-detail-meta-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.blog-detail-meta-item {
    font-size: 14px;
    color: #555;
}
.blog-detail-meta-item strong {
    font-weight: 600;
    color: #1a1a1a;
}
.blog-detail-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 7px 18px;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
}
@media (max-width: 767px) {
    .blog-detail-meta-bar {
        padding: 0 20px 28px;
    }
    .blog-detail-meta-left {
        gap: 14px;
    }
}

/* Hero Image */
.blog-detail-hero {
    max-width: 1200px;
    margin: 0 auto;
    max-height: 600px;
    overflow: hidden;
    background: #f0f0f0;
}
.blog-detail-hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}
@media (max-width: 767px) {
    .blog-detail-hero img {
        height: 280px;
    }
}

/* Body / Content wrapper */
.blog-detail-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}
@media (max-width: 767px) {
    .blog-detail-body {
        padding: 40px 20px 48px;
    }
}

/* Content */
.blog-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.blog-detail-content p {
    margin-bottom: 20px;
}
.blog-detail-content h2,
.blog-detail-content h3 {
    color: #1a1a1a;
    margin-top: 32px;
    margin-bottom: 14px;
    font-weight: 600;
}
.blog-detail-content h2 {
    font-size: 24px;
}
.blog-detail-content h3 {
    font-size: 20px;
}
.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}
.blog-detail-content ul,
.blog-detail-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.blog-detail-content li {
    margin-bottom: 8px;
}
.blog-detail-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 20px;
    margin: 24px 0;
    color: #555;
    font-style: italic;
}
.blog-detail-content a {
    color: #2563eb;
    text-decoration: underline;
}
.blog-detail-content a:hover {
    color: #1d4ed8;
}

/* Related products inside article */
.blog-related-products {
    margin-top: 48px;
    padding-top: 40px;
}
.blog-related-products-header {
    margin-bottom: 48px;
}
.blog-related-products-header-title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 16px;
}
.blog-related-products-header-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: #111;
    border-radius: 2px;
}
.blog-related-products .blog-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-related-products .blog-product-image {
    padding-top: 100%;
}
@media (max-width: 991px) {
    .blog-related-products .blog-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 639px) {
    .blog-related-products .blog-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Related products section (below related articles) */
.blog-related-products-section {
    background: #f8f9fa;
    padding: 56px 24px 72px;
}
.blog-related-products-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.blog-related-products-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 28px;
    text-align: center;
}

/* Carousel */
.blog-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.blog-carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s, opacity 0.2s;
    border-radius: 50%;
    opacity: 0.55;
}
.blog-carousel-btn:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
    background: #fafafa;
    opacity: 1;
}
.blog-carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    border-color: #eee;
}
.blog-carousel-btn svg {
    width: 20px;
    height: 20px;
}
.blog-carousel-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.blog-carousel-track {
    display: flex;
    gap: 20px;
    padding: 4px 0 12px;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}
/* Carousel 中卡片固定宽度 */
.blog-carousel-track .blog-product-card {
    flex: 0 0 auto;
    width: calc(25% - 15px);
}
@media (max-width: 991px) {
    .blog-carousel-track .blog-product-card {
        width: calc(33.333% - 14px);
    }
}
@media (max-width: 767px) {
    .blog-carousel-track .blog-product-card {
        width: calc(100% - 0px);
    }
    .blog-carousel-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
    .blog-carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}
.blog-product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.blog-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.blog-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f5f5f5;
    overflow: hidden;
}
.blog-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-product-card:hover .blog-product-image img {
    transform: scale(1.04);
}

/* Product card video */
.blog-product-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.blog-product-image:hover .blog-product-video.loaded {
    opacity: 1;
}

/* SKU swatches */
.blog-card-swatches {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: auto;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
    z-index: 3;
    pointer-events: auto;
}
.blog-product-image:hover .blog-card-swatches {
    display: flex;
}
.blog-sku-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-sku-dot:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.blog-sku-dot.active {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
}
.blog-sku-dot--plain {
    background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
}

.blog-product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}
.blog-product-image-placeholder svg {
    width: 40px;
    height: 40px;
}
.blog-product-body {
    padding: 14px 14px 18px;
}
.blog-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.blog-product-price {
    font-size: 14px;
    font-weight: 600;
    color: #c0392b;
}
.blog-product-tag {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Related articles */
.blog-related {
    background: #f8f9fa;
    padding: 56px 24px 72px;
}
.blog-related-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.blog-related-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 28px;
    text-align: center;
}
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .blog-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 639px) {
    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}
