/* Car Gadgetz — layout & theme (palette from brand mockup) */
:root {
    --bg: #f9f9f5;
    --hero-sage: #c5d8c1;
    --sage: #8ba888;
    --sage-dark: #6e8c6a;
    --mint: #dce8db;
    --card-media: #e8ebe9;
    --text: #2d3e31;
    --text-muted: #555555;
    --footer-bg: #3b5241;
    --footer-fg: #ffffff;
    --btn-dark: #3b5241;
    --btn-dark-hover: #2d3f32;
    --white: #ffffff;
    --accent: #c07a50;
    --accent-hover: #a56742;
    --tag-bg: #e5e8e6;
    --star-off: #c8ccc9;
    --star-on: #c9a227;
    --pagination-idle: #eef0ee;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 12px 40px rgba(45, 62, 49, 0.08);
    --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
    --container: 1120px;
    --header-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--sage-dark);
}

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--btn-dark);
    color: var(--footer-fg);
    padding: 0.5rem 1rem;
    z-index: 100;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(249, 249, 245, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 82, 65, 0.12);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text);
}

.logo:hover {
    color: var(--sage-dark);
}

.logo__mark {
    color: var(--sage);
    display: flex;
}

.nav-main__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
}

.nav-main a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-main a:hover,
.nav-main a.is-active {
    color: var(--text);
}

/* Main layout */
main {
    flex: 1;
}

.layout-shop {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
    padding-block: 2rem 3.5rem;
}

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

    .sidebar {
        position: static;
    }
}

/* Hero carousel */
.hero-carousel {
    padding-block: 1.5rem 0.5rem;
}

.hero-carousel:focus {
    outline: none;
}

.hero-carousel:focus-visible {
    outline: 2px solid var(--sage-dark);
    outline-offset: 4px;
    border-radius: var(--radius-lg);
}

.hero-carousel__viewport {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    box-shadow: var(--shadow-soft);
}

.hero-carousel__track {
    position: relative;
}

.hero-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 3.5rem;
    min-height: 320px;
    background: linear-gradient(165deg, var(--hero-sage) 0%, var(--bg) 48%, var(--bg) 100%);
    position: relative;
}

.hero-slide[hidden] {
    display: none;
}

.hero-slide__gradient {
    display: none;
}

.hero-slide__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sage-dark);
    font-weight: 600;
}

.hero-slide__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
}

.hero-slide__subtitle {
    margin: 0;
    color: var(--text-muted);
    max-width: 36ch;
}

.hero-slide__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide__visual img {
    max-height: 240px;
    width: auto;
    filter: drop-shadow(0 16px 24px rgba(51, 51, 51, 0.12));
}

@media (max-width: 720px) {
    .hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }

    .hero-slide__subtitle {
        margin-inline: auto;
    }
}

.hero-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-carousel__btn:hover {
    background: var(--hero-sage);
}

.hero-carousel__btn--prev {
    left: 1rem;
}

.hero-carousel__btn--next {
    right: 1rem;
}

.hero-carousel__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.hero-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(51, 51, 51, 0.12);
}

.hero-carousel__dot.is-active {
    background: var(--sage);
    box-shadow: 0 0 0 1px rgba(45, 62, 49, 0.15);
}

/* Section title */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-head__title {
    margin: 0;
    font-size: 1.35rem;
    color: var(--text);
    font-weight: 700;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(51, 51, 51, 0.06);
    display: flex;
    flex-direction: column;
}

.product-card__media {
    background: var(--card-media);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-card__media img {
    object-fit: contain;
    max-height: 85%;
    width: auto;
}

.product-card__body {
    padding: 1rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.product-card__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.product-card__title a {
    text-decoration: none;
}

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

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stars {
    display: inline-flex;
    gap: 0.1rem;
    font-size: 0.95rem;
    line-height: 1;
}

.star {
    color: var(--star-off);
}

.star--on {
    color: var(--star-on);
}

.product-card__price {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    background: var(--sage);
    color: var(--white);
    transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
    background: var(--sage-dark);
    color: var(--white);
}

.btn--block {
    width: 100%;
    margin-top: auto;
}

.btn--square {
    padding: 0.55rem;
    min-width: 44px;
    min-height: 44px;
}

.btn--dark {
    background: var(--btn-dark);
}

.btn--dark:hover {
    background: var(--btn-dark-hover);
    color: var(--white);
}

.btn--accent {
    background: var(--accent);
    color: var(--white);
}

.btn--accent:hover {
    background: var(--accent-hover);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--btn-dark);
    border: 2px solid rgba(45, 62, 49, 0.18);
}

.btn--ghost:hover {
    background: rgba(197, 216, 193, 0.35);
    border-color: rgba(45, 62, 49, 0.22);
}

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

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--pagination-idle);
    border: 1px solid rgba(45, 62, 49, 0.08);
    box-shadow: 0 1px 4px rgba(45, 62, 49, 0.05);
}

.pagination a:hover {
    color: var(--text);
    background: var(--hero-sage);
    border-color: rgba(45, 62, 49, 0.1);
}

.pagination .is-current {
    background: var(--sage);
    color: var(--white);
    border-color: transparent;
    box-shadow: none;
}

.pagination .is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-block {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(51, 51, 51, 0.05);
}

.sidebar-block__title {
    margin: 0 0 1rem;
    font-size: 1rem;
}

.search-block {
    display: flex;
    gap: 0.5rem;
}

.search-block__input {
    flex: 1;
    border: 1px solid rgba(51, 51, 51, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    font: inherit;
    background: var(--bg);
}

.sidebar-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sidebar-list a {
    text-decoration: none;
    color: var(--text-muted);
}

.sidebar-list a:hover {
    color: var(--text);
}

.select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(51, 51, 51, 0.12);
    font: inherit;
    background: var(--bg);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--tag-bg);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-muted);
}

.tag:hover {
    background: var(--hero-sage);
    color: var(--text);
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-fg);
    padding: 3rem 0 0;
    margin-top: auto;
}

.site-footer a {
    color: var(--footer-fg);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

@media (max-width: 800px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-col__title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form__input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    font: inherit;
    background: var(--white);
    color: var(--text);
}

.newsletter-form__input::placeholder {
    color: #888888;
}

.site-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    flex-wrap: wrap;
}

.logo--footer {
    color: var(--footer-fg);
}

.logo--footer .logo__mark {
    color: var(--footer-fg);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
}

/* Content pages */
.page-hero {
    padding-block: 2rem 1rem;
}

.page-hero--compact {
    padding-block: 1.5rem 0.5rem;
}

.page-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.page-hero__lede {
    margin: 0;
    color: var(--text-muted);
    max-width: 60ch;
}

.prose {
    max-width: 68ch;
}

.prose p {
    margin: 0 0 1rem;
}

.content-panel {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(51, 51, 51, 0.06);
}

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

@media (max-width: 800px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
}

.product-detail__media {
    background: var(--card-media);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* Blog list */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(51, 51, 51, 0.06);
}

.blog-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.blog-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.blog-card__title a {
    text-decoration: none;
}

.blog-card__title a:hover {
    text-decoration: underline;
}

.blog-card__excerpt {
    margin: 0;
    color: var(--text-muted);
}

/* Compare table */
.compare-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(51, 51, 51, 0.06);
    min-width: 560px;
}

.compare-table th,
.compare-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(51, 51, 51, 0.08);
    vertical-align: top;
}

.compare-table th {
    background: var(--hero-sage);
    color: var(--text);
    font-weight: 600;
    width: 140px;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table img {
    max-height: 100px;
    margin: 0 auto;
}

.compare-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

/* Contact form */
.form-grid {
    display: grid;
    gap: 1rem;
    max-width: 480px;
}

.form-grid label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(51, 51, 51, 0.15);
    font: inherit;
    background: var(--bg);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Utilities */
.mt-0 {
    margin-top: 0;
}

.mb-2 {
    margin-bottom: 2rem;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* -------------------------------------------------------------------------
   Product detail page (mockup: white page, sage wells #E2EAE2, serif title)
   ------------------------------------------------------------------------- */
.page-product-detail {
    --pdp-well: #e2eae2;
    --pdp-accent: #98b091;
    --pdp-accent-hover: #7e9578;
    --pdp-page-bg: #ffffff;
    --pdp-related-bg: #f7f7f4;
    --pdp-surface: #ffffff;
    --pdp-related-text: #3d5c52;
    --pdp-star: #e6b422;
}

.page-product-detail main {
    background: var(--pdp-page-bg);
}

.page-product-detail .star--on {
    color: var(--pdp-star);
}

.product-detail-page {
    padding-bottom: 3rem;
}

.pdp-flash {
    margin: 0 auto 1rem;
    max-width: var(--container);
    width: min(100% - 2.5rem, var(--container));
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(152, 176, 145, 0.2);
    color: var(--text);
    font-size: 0.95rem;
}

.pdp-breadcrumb {
    padding: 1rem 0 0.35rem;
    font-size: 0.82rem;
    color: #7a8078;
}

.pdp-breadcrumb a {
    text-decoration: none;
    color: #7a8078;
}

.pdp-breadcrumb a:hover {
    color: var(--text);
    text-decoration: underline;
}

.pdp-breadcrumb__sep {
    margin: 0 0.35rem;
    opacity: 0.55;
}

.pdp-breadcrumb__current {
    color: #5a5f5c;
    font-weight: 500;
}

.pdp-hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
    align-items: start;
    padding: 0.5rem 0 2.75rem;
}

@media (max-width: 960px) {
    .pdp-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Gallery — main well + thumb row with side arrows */
.pdp-gallery__main {
    background: var(--pdp-well);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    box-shadow: 0 1px 0 rgba(45, 62, 49, 0.04);
}

.pdp-gallery__main img {
    max-height: 380px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.pdp-gallery__thumbs-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.pdp-gallery__thumbs {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.15rem 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.pdp-gallery__arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #c5cbc4;
    border-radius: 50%;
    background: var(--pdp-surface);
    color: #4a5248;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.pdp-gallery__arrow:hover {
    background: #f2f4f1;
    border-color: #98b091;
}

.pdp-gallery__thumb {
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid #b8c0b8;
    border-radius: 12px;
    background: var(--pdp-well);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdp-gallery__thumb.is-active {
    border-color: #6d8a68;
    box-shadow: 0 0 0 1px rgba(109, 138, 104, 0.35);
}

.pdp-gallery__thumb img {
    display: block;
    width: 84px;
    height: 70px;
    object-fit: contain;
    padding: 0.35rem;
}

/* Buy box */
.pdp-buybox__title {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    line-height: 1.18;
    color: #2a2824;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pdp-buybox__short-heading {
    margin: 0 0 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-sans);
}

.pdp-features {
    margin: 0 0 1.35rem;
    padding-left: 1.15rem;
    color: #5c635e;
    line-height: 1.65;
    font-size: 0.95rem;
}

.pdp-buybox__price {
    margin: 0 0 0.65rem;
    font-size: 1.65rem;
    font-weight: 500;
    color: #2d3e31;
    font-family: var(--font-sans);
}

.pdp-buybox__rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    margin-bottom: 1.1rem;
}

.pdp-buybox__review-count {
    font-size: 0.88rem;
    color: #6b726d;
}

.pdp-buybox__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.75rem;
    margin-top: 0.25rem;
}

.pdp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3e31;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
    font-family: var(--font-sans);
}

button.pdp-text-link {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.pdp-text-link:hover {
    color: var(--pdp-related-text);
}

.pdp-text-link--accent {
    color: var(--accent);
}

.pdp-text-link--accent:hover {
    color: var(--accent-hover);
}

.pdp-text-link__icon {
    flex-shrink: 0;
    opacity: 0.88;
}

.pdp-compare-note {
    margin: 0.55rem 0 0;
    min-height: 1.2em;
    font-size: 0.88rem;
    color: #4a5d44;
}

/* Tabs — bordered pills */
.pdp-tabs-wrap {
    padding-bottom: 2.5rem;
}

.pdp-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin-bottom: 1.5rem;
}

.pdp-tabs__tab {
    padding: 0.55rem 1.15rem;
    border: 1px solid #cfd4cf;
    border-radius: 10px;
    background: var(--pdp-surface);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: #5a5f5c;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pdp-tabs__tab:hover {
    border-color: #b5bdb5;
    color: var(--text);
}

.pdp-tabs__tab.is-active {
    color: #2d3e31;
    border-color: var(--pdp-accent);
    background: #f3f6f2;
}

.pdp-tabs__panel {
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

.pdp-tabs__panel[hidden] {
    display: none !important;
}

.pdp-desc-copy {
    color: #5c635e;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    font-size: 0.97rem;
}

.pdp-desc-copy p {
    margin: 0 0 1rem;
}

.pdp-desc-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

@media (max-width: 720px) {
    .pdp-desc-media {
        grid-template-columns: 1fr;
    }
}

.pdp-desc-media__figure {
    margin: 0;
    background: var(--pdp-well);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 1px 0 rgba(45, 62, 49, 0.05);
}

.pdp-desc-media__figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.pdp-video-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    background: var(--pdp-well);
    box-shadow: 0 1px 0 rgba(45, 62, 49, 0.05);
}

.pdp-video-wrap iframe,
.pdp-video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
}

.pdp-video-placeholder {
    min-height: 200px;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    background: var(--pdp-well);
    box-shadow: 0 1px 0 rgba(45, 62, 49, 0.05);
}

.pdp-video-placeholder__play {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 0;
    border-radius: 50%;
    filter: drop-shadow(0 2px 6px rgba(45, 62, 49, 0.15));
    transition: transform 0.15s ease;
}

.pdp-video-placeholder__play:hover {
    transform: scale(1.06);
}

.pdp-video-placeholder__play:focus-visible {
    outline: 2px solid var(--pdp-accent);
    outline-offset: 3px;
}

.pdp-seo-links {
    font-size: 0.88rem;
    color: #7a8078;
}

.pdp-seo-links a {
    color: #5d7a6e;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* Specifications */
.pdp-specs {
    margin: 0;
    max-width: 640px;
}

.pdp-specs__row {
    display: grid;
    grid-template-columns: minmax(140px, 0.4fr) 1fr;
    gap: 0.75rem 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(45, 62, 49, 0.08);
}

@media (max-width: 520px) {
    .pdp-specs__row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

.pdp-specs__row dt {
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

.pdp-specs__row dd {
    margin: 0;
    color: var(--text-muted);
}

/* Reviews summary + list */
.pdp-review-summary {
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e4e0;
    border-radius: 12px;
    background: #fafbf9;
    max-width: 360px;
}

.pdp-review-summary__label {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b726d;
}

.pdp-review-summary__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.pdp-review-summary__avg {
    font-weight: 600;
    color: var(--text);
}

.pdp-review-summary__meta {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: #6b726d;
}

.pdp-review-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pdp-review-card {
    background: var(--pdp-surface);
    border: 1px solid #e8ebe8;
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.pdp-review-card__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.pdp-review-card__name {
    font-weight: 600;
    color: var(--text);
}

.pdp-review-card__date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pdp-review-card__text {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 0.95rem;
}

.pdp-review-form__title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--text);
}

.pdp-review-form__error {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(192, 122, 80, 0.15);
    color: var(--text);
    font-size: 0.92rem;
}

.pdp-review-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 560px;
}

.pdp-review-form__full {
    grid-column: 1 / -1;
}

@media (max-width: 560px) {
    .pdp-review-form__grid {
        grid-template-columns: 1fr;
    }
}

.pdp-review-form label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.pdp-review-form input,
.pdp-review-form select,
.pdp-review-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    border: 1px solid #cfd4cf;
    font: inherit;
    background: var(--pdp-surface);
}

.pdp-review-form textarea {
    resize: vertical;
    min-height: 100px;
}

.pdp-review-form__submit {
    margin-top: 1rem;
    padding: 0.6rem 1.35rem;
    border-radius: 10px;
    border: 1px solid #cfd4cf;
    background: var(--pdp-surface);
    font: inherit;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.pdp-review-form__submit:hover {
    border-color: var(--pdp-accent);
    background: #f3f6f2;
}

/* Related — horizontal slider, cream band, teal underlined titles */
.pdp-related {
    margin-top: 2rem;
    padding: 2rem 0 2.5rem;
    background: var(--pdp-related-bg);
}

.pdp-related__title {
    margin: 0 0 1.1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f1f1f;
}

.pdp-related__carousel {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
}

.pdp-related__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0;
    scroll-snap-type: x mandatory;
}

.pdp-related__track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
    width: max-content;
}

.pdp-related-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 clamp(210px, 24vw, 280px);
    width: clamp(210px, 24vw, 280px);
    text-decoration: none;
    color: inherit;
    background: transparent;
    scroll-snap-align: start;
}

.pdp-related-card__media {
    background: var(--pdp-well);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.pdp-related-card__media img {
    max-height: 120px;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
}

.pdp-related-card__line {
    display: block;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--pdp-related-text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    line-height: 1.4;
    font-family: var(--font-sans);
}

.pdp-related-card:hover .pdp-related-card__line {
    color: #2d4a42;
}

.pdp-related__arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #c5cbc4;
    border-radius: 50%;
    background: #fff;
    color: #4a5248;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.pdp-related__arrow:hover {
    border-color: var(--pdp-accent);
    background: #f3f6f2;
}

@media (max-width: 760px) {
    .pdp-related {
        padding: 1.5rem 0 2rem;
    }

    .pdp-related__carousel {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 0.45rem;
    }

    .pdp-related__arrow {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .pdp-related-card {
        flex-basis: min(74vw, 245px);
        width: min(74vw, 245px);
    }
}

@media (max-width: 480px) {
    .pdp-related__carousel {
        grid-template-columns: 30px minmax(0, 1fr) 30px;
        gap: 0.35rem;
    }

    .pdp-related__arrow {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .pdp-related-card {
        flex-basis: min(82vw, 220px);
        width: min(82vw, 220px);
    }
}

@media (max-width: 480px) {
    .pdp-gallery__arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .pdp-gallery__thumb img {
        width: 72px;
        height: 60px;
    }
}

/* -------------------------------------------------------------------------
   Blog home (mockup: grid + sidebar, sage art strip, blue titles)
   ------------------------------------------------------------------------- */
.page-blog .blog-home-main {
    background: #f9f9f5;
    padding-bottom: 3rem;
}

.blog-breadcrumb {
    padding: 1rem 0 0.5rem;
    font-size: 0.86rem;
    color: #6b726d;
}

.blog-breadcrumb a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.blog-breadcrumb a:hover {
    color: #1d4ed8;
}

.blog-breadcrumb__sep {
    margin: 0 0.35rem;
    color: #9ca3a0;
}

.blog-breadcrumb__current {
    color: #4b5563;
    font-weight: 500;
}

.blog-home-title {
    margin: 0 0 1.75rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.02em;
}

.blog-home-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.25rem;
    align-items: start;
}

@media (max-width: 960px) {
    .blog-home-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-home-layout .blog-sidebar {
        order: 2;
    }
}

.blog-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .blog-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .blog-post-grid {
        grid-template-columns: 1fr;
    }
}

.blog-post-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45, 62, 49, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-card__media {
    background: #c5d8c1;
    aspect-ratio: 16 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.blog-post-card__art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
}

.blog-post-card__art img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    opacity: 0.92;
    transition: transform 0.2s ease;
}

.blog-post-card__body {
    padding: 1.15rem 1.2rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
}

.blog-post-card__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
}

.blog-post-card__title a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.blog-post-card__title a:hover {
    color: #1d4ed8;
}

.blog-post-card__excerpt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-post-card__more {
    align-self: flex-start;
    margin-top: 0.25rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 2px solid #8ba888;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2d3e31;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.blog-post-card__more:hover {
    background: rgba(139, 168, 136, 0.15);
    color: #1f2937;
}

.blog-home-empty {
    color: #6b726d;
    padding: 2rem 0;
}

.blog-home-empty a {
    color: #2563eb;
}

/* Blog pagination — square active */
.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.65rem;
    margin-top: 2.25rem;
}

.blog-pagination__item,
.blog-pagination__prev,
.blog-pagination__next {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.65rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.blog-pagination__item:hover,
.blog-pagination__prev:hover,
.blog-pagination__next:hover {
    border-color: #c5d8c1;
    background: #f4f7f3;
}

.blog-pagination__item--current {
    background: #8ba888;
    color: #fff;
    border-color: #8ba888;
    box-shadow: none;
}

.blog-pagination__prev.is-disabled,
.blog-pagination__next.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Sidebar */
.blog-sidebar__inner {
    background: #fff;
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 4px 24px rgba(45, 62, 49, 0.08);
    border: 1px solid rgba(45, 62, 49, 0.06);
}

@media (min-width: 961px) {
    .blog-sidebar__inner {
        position: sticky;
        top: calc(var(--header-h) + 1rem);
    }
}

.blog-sidebar__block {
    margin-bottom: 1.5rem;
}

.blog-sidebar__block:last-child {
    margin-bottom: 0;
}

.blog-sidebar__title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}

.blog-sidebar__search {
    display: flex;
    gap: 0.35rem;
    align-items: stretch;
}

.blog-sidebar__search-input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
    font-size: 0.9rem;
    background: #fafafa;
}

.blog-sidebar__search-btn {
    flex-shrink: 0;
    width: 44px;
    border: none;
    border-radius: 10px;
    background: #8ba888;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.blog-sidebar__search-btn:hover {
    background: #6d8871;
}

.blog-sidebar__categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-sidebar__categories li {
    border-bottom: 1px solid #e8ebe8;
}

.blog-sidebar__categories li:last-child {
    border-bottom: none;
}

.blog-sidebar__categories a {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.92rem;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.blog-sidebar__categories a:hover {
    color: #1d4ed8;
}

.blog-sidebar__social-note {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

.blog-sidebar__social-note code {
    font-size: 0.85em;
}

.blog-sidebar__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-sidebar__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #8ba888;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.blog-sidebar__social-link:hover {
    background: #6d8871;
    color: #fff;
    transform: translateY(-1px);
}

.blog-sidebar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.blog-sidebar__tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e8ebe9;
    font-size: 0.82rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

.blog-sidebar__tag:hover {
    background: #dde7dc;
    color: #1f2937;
}

/* ——— Blog post detail (single article) ——— */
.page-blog-detail {
    --blog-detail-cream: #fdfbf0;
    --blog-detail-sage: #8da382;
    --blog-detail-sage-soft: #c5d8c1;
    --blog-detail-heading: #4a5d44;
    --blog-detail-ink: #2d3e31;
    background: var(--blog-detail-cream);
}

.page-blog-detail__main {
    padding-bottom: 3rem;
}

.page-blog-detail__container {
    padding-bottom: 2rem;
}

.blog-breadcrumb--detail {
    padding-top: 0.5rem;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2.25rem;
    align-items: start;
}

@media (max-width: 960px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-detail-layout .blog-post-sidebar {
        order: 2;
    }
}

.blog-detail-main {
    min-width: 0;
}

.blog-detail-hero {
    border-radius: 18px;
    overflow: hidden;
    background: var(--blog-detail-sage-soft);
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 32px rgba(45, 62, 49, 0.08);
}

.blog-detail-hero__img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .blog-detail-hero__img {
        height: 320px;
    }
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-detail-meta__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blog-detail-sage);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-detail-meta__text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.92rem;
    color: #4b5563;
}

.blog-detail-meta__author {
    font-weight: 600;
    color: var(--blog-detail-heading);
}

.blog-detail-meta__sep {
    color: #9ca3a0;
}

.blog-detail-meta__read,
.blog-detail-meta__category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-detail-meta__icon {
    flex-shrink: 0;
    color: var(--blog-detail-sage);
}

.blog-detail-title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    font-weight: 800;
    color: var(--blog-detail-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.blog-detail-buy-now {
    margin: 0.75rem 0 1rem;
}

.blog-detail-buy-now--bottom {
    margin: 1.25rem 0 0.5rem;
}

.blog-detail-buy-now__btn {
    display: inline-block;
    padding: 0.85rem 1.55rem;
    border-radius: 999px;
    border: 2px solid var(--blog-detail-sage);
    background: var(--blog-detail-sage-soft);
    color: #f3b27f;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-detail-buy-now__btn:hover {
    background: var(--blog-detail-sage);
    color: #ffd3ad;
}

.page-blog-detail .blog-prose {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #374151;
}

.page-blog-detail .blog-prose p {
    margin: 0 0 1rem;
}

.page-blog-detail .blog-prose ul {
    margin: 0 0 1.15rem 1.15rem;
    padding: 0;
}

.page-blog-detail .blog-prose li {
    margin-bottom: 0.45rem;
}

.blog-prose-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 560px) {
    .blog-prose-gallery {
        grid-template-columns: 1fr;
    }
}

.blog-prose-gallery__item {
    margin: 0;
    background: var(--blog-detail-sage-soft);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-prose-gallery__item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.blog-prose-quote {
    margin: 1.5rem 0;
    padding: 0.85rem 0 0.85rem 1.25rem;
    border-left: 4px solid var(--blog-detail-sage);
    background: rgba(141, 163, 130, 0.12);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--blog-detail-heading);
}

.blog-prose-quote p {
    margin: 0;
}

.blog-detail-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(45, 62, 49, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.blog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-detail-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #e8ebe9;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blog-detail-heading);
}

.blog-detail-share__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #6b726d;
    margin-right: 0.5rem;
}

.blog-detail-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.blog-detail-share__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-detail-share__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.blog-detail-share__link:hover {
    color: #1d4ed8;
}

.blog-detail-cta {
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #6d8871 0%, #8da382 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 6px 24px rgba(74, 93, 68, 0.25);
}

.blog-detail-cta__text {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    max-width: 36ch;
}

.blog-detail-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    background: #fff;
    color: var(--blog-detail-heading);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-detail-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.blog-comments {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 62, 49, 0.1);
}

.blog-comments__heading {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: var(--blog-detail-heading);
}

.blog-comments__note {
    margin: 0 0 1.25rem;
    font-size: 0.82rem;
    color: #6b726d;
}

.blog-comments__flash {
    margin: 0 0 1rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: rgba(141, 163, 130, 0.2);
    color: var(--blog-detail-heading);
    font-weight: 600;
    font-size: 0.92rem;
}

.blog-comments__errors {
    margin: 0 0 1rem;
    padding: 0.65rem 1rem 0.65rem 1.25rem;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.9rem;
}

.blog-comment-form {
    background: #fff;
    padding: 1.35rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(45, 62, 49, 0.08);
    border: 1px solid rgba(45, 62, 49, 0.06);
    margin-bottom: 2rem;
}

.blog-comment-form__replying {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: #4b5563;
}

.blog-comment-form__replying a {
    color: #2563eb;
    font-weight: 600;
}

.blog-comment-form__row {
    margin-bottom: 1rem;
}

.blog-comment-form__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blog-detail-heading);
    margin-bottom: 0.35rem;
}

.blog-comment-form__input,
.blog-comment-form__textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    background: #fafafa;
}

.blog-comment-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.blog-comment-form__submit {
    margin-top: 0.25rem;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 999px;
    background: var(--blog-detail-sage);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.blog-comment-form__submit:hover {
    background: #6d8871;
}

.blog-comments__empty {
    margin: 0;
    color: #6b726d;
    font-size: 0.95rem;
}

.blog-comments__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-comments__list .blog-comments__list {
    margin-top: 0.75rem;
}

.blog-comments__item {
    margin-bottom: 1rem;
}

.blog-comment {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #fff;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(45, 62, 49, 0.06);
    border: 1px solid rgba(45, 62, 49, 0.05);
}

.blog-comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blog-detail-sage-soft);
    color: var(--blog-detail-heading);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-comment__body {
    min-width: 0;
    flex: 1;
}

.blog-comment__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
}

.blog-comment__name {
    font-weight: 700;
    color: var(--blog-detail-heading);
}

.blog-comment__time {
    font-size: 0.82rem;
    color: #6b7280;
}

.blog-comment__text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #374151;
}

.blog-comment__actions {
    margin: 0.65rem 0 0;
}

.blog-comment__reply {
    font-size: 0.86rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.blog-comment--reply-wrap {
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--blog-detail-sage-soft);
    margin-top: 0.5rem;
}

.page-blog-detail__notfound {
    padding: 3rem 0 4rem;
}

.page-blog-detail__notfound .page-blog-detail__title {
    margin: 0 0 1rem;
    color: var(--blog-detail-heading);
}

/* Post detail sidebar — recent rows */
.blog-post-sidebar__recent {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-post-sidebar__recent-item {
    border-bottom: 1px solid #e8ebe8;
}

.blog-post-sidebar__recent-item:last-child {
    border-bottom: none;
}

.blog-post-sidebar__recent-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    text-decoration: none;
    color: inherit;
}

.blog-post-sidebar__recent-link:hover .blog-post-sidebar__recent-title {
    color: #1d4ed8;
}

.blog-post-sidebar__recent-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--blog-detail-sage-soft);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post-sidebar__recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.blog-post-sidebar__recent-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
