.archive-header h1,
.content-card h1,
.empty-state h1,
.section-heading h2 {
    color: var(--mq-ink);
    font-size: 21px;
    line-height: 1.2;
    margin: 0;
}

.archive-header p,
.empty-state p,
.summary-card p {
    color: var(--mq-muted);
    font-size: 14px;
}

.summary-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-card {
    border: 1px solid var(--mq-line);
    border-radius: 8px;
    overflow: hidden;
}

.summary-card__body {
    padding: 18px;
}

.summary-card h2 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.maqves-blog-index,
.maqves-single-post {
    align-items: start;
    column-gap: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    margin-inline: auto;
    padding: calc(var(--mq-header-height) + var(--mq-content-top-gap)) 0 68px;
    width: var(--mq-page);
}

.maqves-blog-index {
    display: grid;
    grid-template-columns: 1fr;
    margin-inline: auto;
    padding: calc(var(--mq-header-height) + var(--mq-content-top-gap)) 0 68px;
    width: var(--mq-page);
}

.maqves-blog-hero {
    border-bottom: 1px solid var(--mq-line);
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    width: 100%;
}

.maqves-blog-hero span,
.maqves-article__breadcrumb,
.maqves-article__meta {
    color: #6e6e73;
    font-size: 12px;
    font-weight: 600;
}

.maqves-blog-hero h1,
.maqves-article__header h1 {
    color: #1d1d1f;
    font-size: 21px;
    line-height: 1.2;
    margin: 0;
}

.maqves-blog-hero p {
    color: #424245;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    max-width: 620px;
}

.maqves-post-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.summary-card {
    background: #fff;
    display: grid;
    min-width: 0;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.summary-card:hover {
    border-color: rgba(24, 58, 90, 0.3);
    transform: translateY(-2px);
}

.summary-card__image {
    aspect-ratio: 16 / 10;
    background: #f5f5f7;
    display: block;
    overflow: hidden;
}

.summary-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.summary-card h2 a {
    color: #1d1d1f;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.summary-card p {
    overflow-wrap: anywhere;
}

.summary-card h2 a:hover,
.summary-card .text-link:hover {
    color: var(--mq-brand);
}

.summary-card .text-link {
    color: #0066cc;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.maqves-article {
    display: grid;
    gap: 24px;
    min-width: 0;
    width: 100%;
}

.maqves-article__header {
    border-bottom: 1px solid var(--mq-line);
    display: grid;
    gap: 12px;
    padding-bottom: 22px;
    width: 100%;
}

.maqves-article__breadcrumb {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.35;
}

.maqves-article__breadcrumb a {
    color: #0066cc;
}

.maqves-article__breadcrumb span:last-child {
    color: #6e6e73;
    max-width: 720px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.maqves-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.maqves-article__byline {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.maqves-article__author {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.maqves-article__avatar {
    border-radius: 999px;
    height: 44px;
    object-fit: cover;
    width: 44px;
}

.maqves-article__author div {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.maqves-article__author span,
.maqves-article__stats span {
    color: #6e6e73;
    font-size: 11px;
    font-weight: 600;
}

.maqves-article__author strong {
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.maqves-article__stats {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: flex-end;
}

.maqves-article__stats span {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.maqves-article__stats span::before {
    background: #d2d2d7;
    border-radius: 999px;
    content: "";
    height: 6px;
    width: 6px;
}

.maqves-article__tools {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: flex-end;
}

.maqves-share-menu {
    position: relative;
}

.maqves-share-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 999px;
    color: #1d1d1f;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    height: 34px;
    justify-content: center;
    padding: 0 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.maqves-share-toggle::-webkit-details-marker {
    display: none;
}

.maqves-share-toggle svg {
    fill: currentColor;
    height: 15px;
    width: 15px;
}

.maqves-share-toggle:hover,
.maqves-share-menu[open] .maqves-share-toggle {
    background: var(--mq-brand);
    border-color: var(--mq-brand);
    color: #fff;
}

.maqves-article-share {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(24, 58, 90, 0.16);
    display: grid;
    gap: 2px;
    min-width: 196px;
    padding: 6px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
}

.maqves-article-share a,
.maqves-article-share button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #1d1d1f;
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    justify-content: flex-start;
    min-height: 34px;
    padding: 0 10px;
    text-align: left;
    width: 100%;
}

.maqves-article-share a:hover,
.maqves-article-share button:hover {
    background: #f5f5f7;
    color: var(--mq-brand);
}

.maqves-article__image {
    margin: 0;
    width: min(920px, 100%);
}

.maqves-article__image img {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    object-fit: cover;
    width: 100%;
}

.maqves-article__content {
    color: #1d1d1f;
    font-size: 15px;
    line-height: 1.75;
    max-width: 920px;
    min-width: 0;
    overflow-wrap: anywhere;
    width: 100%;
    word-break: normal;
}

.maqves-article__content > * {
    margin: 0 0 18px;
    max-width: 100%;
    min-width: 0;
}

.maqves-article__content h2,
.maqves-article__content h3 {
    font-size: 19px;
    line-height: 1.25;
    margin-top: 28px;
    overflow-wrap: anywhere;
}

.maqves-article__content a {
    color: #0066cc;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.maqves-article__content table,
.maqves-article__content pre {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.maqves-related-posts {
    border-top: 1px solid var(--mq-line);
    display: grid;
    gap: 18px;
    margin-top: 14px;
    padding-top: 28px;
}

.maqves-related-posts__header {
    display: grid;
    gap: 5px;
}

.maqves-related-posts__header span {
    color: #0066cc;
    font-size: 12px;
    font-weight: 700;
}

.maqves-related-posts__header h2 {
    color: #1d1d1f;
    font-size: 19px;
    line-height: 1.25;
    margin: 0;
}

.maqves-related-posts__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.maqves-related-card {
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    color: #1d1d1f;
    display: grid;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.maqves-related-card:hover {
    border-color: rgba(24, 58, 90, 0.32);
    transform: translateY(-2px);
}

.maqves-related-card__image {
    background: #f5f5f7;
    display: block;
    aspect-ratio: 4 / 3;
}

.maqves-related-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.maqves-related-card__body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.maqves-related-card__meta,
.maqves-related-card__excerpt {
    color: #6e6e73;
    font-size: 11px;
    line-height: 1.4;
}

.maqves-related-card strong {
    color: #1d1d1f;
    display: -webkit-box;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.maqves-article-sidebar {
    border-left: 1px solid #e8e8ed;
    display: grid;
    gap: 22px;
    padding-left: 24px;
    position: sticky;
    top: calc(var(--mq-header-height) + 24px);
}

.admin-bar .maqves-article-sidebar {
    top: calc(32px + var(--mq-header-height) + 24px);
}

.maqves-article-sidebar__block {
    display: grid;
    gap: 10px;
}

.maqves-article-sidebar__block span,
.maqves-article-sidebar__block h2 {
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.maqves-article-sidebar__block p {
    color: #6e6e73;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.maqves-article-sidebar__block ul {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.maqves-article-sidebar__block li,
.maqves-article-sidebar__block a {
    color: #424245;
    font-size: 12px;
    line-height: 1.35;
}

.maqves-article-sidebar__block a:hover {
    color: #0066cc;
}

.maqves-article-sidebar__cta {
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    padding: 14px;
}

.maqves-article-sidebar__cta a {
    align-items: center;
    background: var(--mq-brand);
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 650;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    text-transform: uppercase;
}

.search-form,
.woocommerce-product-search {
    border: 1px solid var(--mq-line);
    border-radius: 8px;
    display: flex;
    max-width: 420px;
    overflow: hidden;
}

.search-form input,
.woocommerce-product-search input {
    border: 0;
    font-size: 14px;
    min-height: 40px;
    min-width: 0;
    padding: 0 12px;
    width: 100%;
}

.search-form button,
.woocommerce-product-search button {
    background: var(--mq-brand);
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    padding: 0 16px;
}

.lineup {
    background: #f5f5f7;
    overflow: hidden;
    padding: 44px max(20px, calc((100vw - 1180px) / 2)) 70px;
}

.lineup__header {
    align-items: center;
    background: #fff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: -44px max(-20px, calc((1180px - 100vw) / 2)) 30px;
    padding: 44px max(20px, calc((100vw - 1180px) / 2)) 30px;
}

.lineup__header h1 {
    color: #1d1d1f;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.18;
    margin: 0;
}

.lineup__header a,
.lineup-category__heading a,
.lineup-card__secondary {
    color: #0066cc;
    font-size: 13px;
    font-weight: 500;
}

.lineup__header a::after,
.lineup-category__heading a::after,
.lineup-card__secondary::after {
    content: "›";
    padding-left: 4px;
}

.lineup-category {
    margin-top: 62px;
}

.lineup-category:first-of-type {
    margin-top: 0;
}

.lineup-category__heading {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.lineup-category__heading h2 {
    color: #1d1d1f;
    font-size: 21px;
    line-height: 1.2;
    margin: 0;
}

.lineup-heading-actions {
    align-items: center;
    display: flex;
    gap: 16px;
}

.lineup-products {
    display: flex;
    gap: 8px;
    overscroll-behavior-inline: contain;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lineup-products::-webkit-scrollbar {
    display: none;
}

.lineup-card {
    display: grid;
    flex: 0 0 min(420px, calc((100% - 16px) / 3));
    grid-template-rows: auto 62px minmax(56px, auto) 36px 20px auto;
    min-width: 0;
    position: relative;
    scroll-snap-align: start;
    text-align: center;
}

.lineup-card__image {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    display: flex;
    justify-content: center;
    aspect-ratio: 4 / 5;
    min-height: 470px;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.lineup-card__image img {
    bottom: 0;
    height: 100%;
    left: 0;
    max-height: none;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.lineup-card__image span {
    color: #86868b;
    font-size: 12px;
}

.favorite-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    color: #1d1d1f;
    cursor: pointer;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 12px;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    width: 32px;
    z-index: 2;
    backdrop-filter: saturate(180%) blur(12px);
}

.favorite-toggle svg {
    display: block;
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
    width: 17px;
}

.favorite-toggle:hover {
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-1px);
}

.favorite-toggle.is-active {
    color: #b64400;
}

.favorite-toggle.is-active svg {
    fill: currentColor;
}

.lineup-card__swatches {
    align-items: center;
    display: flex;
    gap: 7px;
    justify-content: center;
    min-height: 14px;
    margin: 20px 0 28px;
}

.lineup-card__swatches.is-empty {
    visibility: hidden;
}

.lineup-card__swatches span {
    background: var(--swatch-color, #d2d2d7);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    height: 11px;
    width: 11px;
}

.lineup-card h3 {
    color: #1d1d1f;
    display: -webkit-box;
    font-size: 16px;
    font-weight: 600;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.15;
    margin: 0 auto 10px;
    max-width: 360px;
    overflow: hidden;
}

.lineup-card__swatches + h3 {
    margin-top: 0;
}

.lineup-card p,
.lineup-card__excerpt {
    color: #333336;
    display: -webkit-box;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.35;
    margin: 0 auto 10px;
    max-width: 240px;
    min-height: 32px;
    overflow: hidden;
}

.lineup-card__excerpt.is-empty {
    visibility: hidden;
}

.lineup-card strong,
.lineup-card .woocommerce-Price-amount {
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 600;
}

.lineup-card > strong {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 20px;
}

.lineup-card strong del,
.lineup-card strong del .woocommerce-Price-amount {
    color: #86868b;
    font-weight: 500;
}

.lineup-card strong ins,
.lineup-card strong ins .woocommerce-Price-amount {
    color: #b64400;
    font-weight: 700;
    text-decoration: none;
}

.lineup-card__actions {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 18px;
}

.lineup-card__primary {
    align-items: center;
    background: #0071e3;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    min-height: 38px;
    padding: 0 20px;
}

.lineup-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 0;
}

.lineup-control {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.lineup-control span {
    border-left: 2px solid #6e6e73;
    border-top: 2px solid #6e6e73;
    display: block;
    height: 9px;
    width: 9px;
}

.lineup-control--prev span {
    transform: translateX(2px) rotate(-45deg);
}

.lineup-control--next span {
    transform: translateX(-2px) rotate(135deg);
}

.lineup-control:hover {
    background: #e8e8ed;
}
