/* Blog listing, article, shop — extends public-site.css */

/* —— Blog listing —— */
.page-hero--blog { padding-bottom: 2.5rem; }
.page-hero--blog .hero-search { margin: 1.25rem auto 0; }
.page-hero--blog .categories { margin-top: 1.25rem; }

.blog-featured { margin-bottom: 2.5rem; }
.blog-featured__card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-featured__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}
.blog-featured__media {
    position: relative;
    min-height: 280px;
    background: var(--bg-secondary);
    overflow: hidden;
}
.blog-featured__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 0.45s;
}
.blog-featured__card:hover .blog-featured__media img { transform: scale(1.04); }
.blog-featured__placeholder {
    width: 100%;
    min-height: 280px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: rgba(255, 255, 255, 0.35);
    font-size: 3rem;
    font-weight: 800;
}
.blog-featured__body {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured__badge {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}
.blog-featured__title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}
.blog-featured__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.blog-featured__excerpt {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-featured__link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-grid .blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-grid .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.blog-grid .blog-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}
.blog-grid .blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.blog-grid .blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__placeholder,
.blog-grid .blog-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f, #0a1628);
    color: rgba(255, 255, 255, 0.25);
    font-size: 2rem;
    font-weight: 800;
}
.blog-grid .blog-card__content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-grid .blog-card__category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
    width: fit-content;
}
.blog-grid .blog-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.4rem;
}
.blog-grid .blog-card__title a:hover { color: var(--primary); }
.blog-grid .blog-card__excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-grid .blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
}
.blog-grid .blog-card__link { color: var(--primary); font-weight: 700; white-space: nowrap; }

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.pagination a {
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}
.empty-state svg { width: 64px; height: 64px; color: var(--text-muted); margin: 0 auto 1rem; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-secondary); }

/* —— Blog article —— */
.breadcrumb {
    padding: 1rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.breadcrumb__list a { color: var(--primary); font-weight: 500; }
.breadcrumb__list a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--text-muted); margin: 0 0.15rem; }
.breadcrumb__list li { display: inline-flex; align-items: center; flex-wrap: wrap; }
.breadcrumb__item { color: var(--text-secondary); }

.article-hero {
    padding: 2rem 0 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.article-hero__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}
.article-hero__title {
    font-size: clamp(1.5rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-break: break-word;
}
.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.article-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.article-hero__meta svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary); }

.article-cover {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.article-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-top: -0.5rem;
    box-shadow: var(--shadow-lg);
}

/* Article layout: sidebar menu + main column */
.article-layout {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
    padding-bottom: 2rem;
}
.article-layout:not(.article-layout--with-menu) {
    grid-template-columns: minmax(0, 1fr);
}
.article-main {
    min-width: 0;
}
.article-menu {
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + 1rem);
    z-index: 2;
}
.article-menu__inner {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.15rem;
    box-shadow: var(--shadow);
}
.article-menu__title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}
.article-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.article-menu__item a {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
}
.article-menu__item a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}
.article-menu__item--h3 a {
    padding-left: 1.15rem;
    font-size: 0.82rem;
}

.article-wrap {
    padding: 2.5rem 0 4rem;
}
.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 1.75rem 0 0.75rem;
    line-height: 1.3;
    font-weight: 700;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content img,
.article-content video,
.article-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}
.article-content ul,
.article-content ol {
    margin: 0 0 1.25rem 1.25rem;
    padding-left: 1.25rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
    margin-bottom: 0.35rem;
    color: var(--text);
}
.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-content a:hover {
    color: var(--primary-dark);
}
/* Hide duplicate CMS “table of contents” / step menus — headings already structure the article */
.article-content nav.wp-block-table-of-contents,
.article-content .wp-block-table-of-contents,
.article-content .table-of-contents,
.article-content aside[class*="toc"],
.article-content div[class*="table-of-contents"] {
    display: none !important;
}
.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--primary);
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-secondary);
}

.attachments {
    max-width: 720px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
}
.attachments__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.attachments__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.attachment-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
}
.attachment-card img,
.attachment-card video {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.attachment-card__doc {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--bg-secondary);
}
.attachment-card__info {
    padding: 0.65rem 0.75rem;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.attachment-card__info a { color: var(--primary); font-weight: 600; }

.article-tags {
    max-width: 720px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.article-tag {
    padding: 0.35rem 0.85rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.article-tag:hover { border-color: var(--primary); color: var(--primary); }

.article-share {
    max-width: 720px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.article-share__label { font-weight: 600; font-size: 0.9rem; }
.article-share a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: all 0.2s;
}
.article-share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.article-share a svg { width: 18px; height: 18px; }

.related-section {
    padding: 3rem 0 4rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}
.related-section__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.related-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: block;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.related-card__media {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}
.related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f, #0a1628);
    color: rgba(255,255,255,0.2);
    font-size: 1.5rem;
    font-weight: 800;
}
.related-card__body { padding: 1rem; }
.related-card__cat {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.related-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card__date { font-size: 0.75rem; color: var(--text-muted); }

/* —— Shop —— */
.shop-toolbar {
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.filter-pill {
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    padding: 2rem 0 3rem;
}
.shop-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.shop-card__media {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    overflow: hidden;
    flex-shrink: 0;
}
.shop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.shop-card:hover .shop-card__media img { transform: scale(1.05); }
.shop-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
}
.shop-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}
.shop-card__badge--sale { background: var(--error); }
.shop-card__badge--featured { background: var(--primary); left: auto; right: 10px; }
.shop-card__badge--out { background: var(--text-muted); left: auto; right: 10px; }
.shop-card__body {
    padding: 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.shop-card__cat {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
.shop-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.shop-card__desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}
.shop-card__price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}
.shop-card__price del {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.35rem;
}
.shop-card__cta {
    padding: 0.45rem 0.85rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.shop-card:hover .shop-card__cta { background: var(--primary-dark); }

.shop-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    max-width: 420px;
    margin: 0 auto;
}
.shop-empty h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.shop-empty p { color: var(--text-secondary); margin-bottom: 1.25rem; }

/* Shop product detail */
.shop-product-breadcrumb {
    padding: 0.75rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.shop-product-breadcrumb .breadcrumb__list li {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}
.shop-product.section { padding: 2rem 0 3rem; }
.shop-product .layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: start;
}
.shop-product .gallery,
.shop-product .panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.shop-product .gallery__image {
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.shop-product .gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-product .gallery__fallback { font-size: 3rem; }
.shop-product .panel { padding: 2rem; }
.shop-product .badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.shop-product .badge {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}
.shop-product .badge--category { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.shop-product .badge--sale { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }
.shop-product .badge--stock { background: rgba(16, 185, 129, 0.1); color: #047857; }
.shop-product .badge--out { background: rgba(100, 116, 139, 0.12); color: #334155; }
.shop-product .title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.shop-product .desc {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.shop-product .price-row {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.shop-product .price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.shop-product .price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.shop-product .meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.shop-product .meta__item {
    padding: 0.85rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}
.shop-product .meta__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.shop-product .meta__value { font-weight: 600; font-size: 0.9rem; }
.shop-product .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.shop-product-detail {
    padding: 0 0 4rem;
}
.shop-product-detail .section__card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}
.shop-product-detail .section__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.shop-product-detail .section__body {
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-wrap: break-word;
}
.shop-product-detail .section__body img,
.shop-product-detail .section__body video,
.shop-product-detail .section__body iframe {
    max-width: 100%;
    height: auto;
}
.shop-product-detail .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}
.shop-product-detail .related-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.shop-product-detail .related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.shop-product-detail .related-card__image {
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    overflow: hidden;
}
.shop-product-detail .related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-product-detail .related-card__body { padding: 1rem; }
.shop-product-detail .related-card__cat {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.shop-product-detail .related-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}
.shop-product-detail .related-card__price {
    font-weight: 800;
    color: var(--primary-dark);
}

@media (max-width: 900px) {
    .shop-product .layout { grid-template-columns: 1fr; }
    .shop-product .meta { grid-template-columns: 1fr; }
    .shop-product .panel { padding: 1.5rem; }
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-featured__card { grid-template-columns: 1fr; }
    .blog-featured__media { min-height: 220px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured__body { padding: 1.5rem; }
    .article-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .article-menu {
        position: static;
        margin-bottom: 0.5rem;
    }
    .article-menu__inner {
        margin: 0 1rem;
    }
    .article-cover { padding: 0 1rem; }
    .article-cover img { border-radius: var(--radius); max-height: 280px; }
    .article-content,
    .attachments,
    .article-tags,
    .article-share { padding-left: 1rem; padding-right: 1rem; }
    .attachments__grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.5rem 0 2.5rem; }
    .shop-card__media { aspect-ratio: 1/1; }
}

@media (max-width: 480px) {
    .shop-grid { grid-template-columns: 1fr; }
    .attachments__grid { grid-template-columns: 1fr; }
}
