/* El Blog de Marcos — editorial product review theme */

:root {
    --paper: #faf8f4;
    --paper-warm: #f3ede4;
    --paper-white: #ffffff;
    --ink: #141312;
    --ink-soft: #4a4540;
    --muted: #6e6760;
    --line: #e3dcd2;
    --line-dark: #cfc6b8;
    --gold: #c9920a;
    --gold-soft: #fdf6e3;
    --gold-deep: #8a6508;
    --star-rating: #ff6201;
    --star-rating-soft: #fff3eb;
    --teal: #0a6b62;
    --teal-soft: #e6f4f2;
    --teal-deep: #055049;
    --danger: #b42318;
    --success: #2d6a4f;
    --shadow: 0 20px 50px rgba(20, 19, 18, 0.07);
    --shadow-sm: 0 4px 16px rgba(20, 19, 18, 0.05);
    --radius: 12px;
    --radius-lg: 20px;
    --font-serif: "Literata", Georgia, "Times New Roman", serif;
    --font-sans: "Work Sans", system-ui, sans-serif;
    --wrap: min(1140px, calc(100% - 2rem));
    --wrap-wide: min(1280px, calc(100% - 2rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

.wrap { width: var(--wrap); margin: 0 auto; }
.wrap-wide { width: var(--wrap-wide); margin: 0 auto; }

/* —— Top bar —— */
.disclaimer-bar {
    background: var(--ink);
    color: #9c958c;
    font-size: .76rem;
    padding: .45rem 0;
}
.disclaimer-bar p { margin: 0; line-height: 1.45; }
.disclaimer-bar a { color: #d4cfc7; text-decoration: none; }
.disclaimer-bar a:hover { color: #fff; }
.disclaimer-bar strong { color: #c9c4bc; font-weight: 500; }

/* —— Header —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}
.brand-text { display: grid; gap: .1rem; line-height: 1.2; }
.brand-text strong {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -.02em;
}
.brand-text small { color: var(--muted); font-size: .72rem; }

.main-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
}
.main-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    color: var(--ink-soft);
    padding: .5rem .75rem;
    border-radius: 999px;
    transition: color .15s, background .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.main-nav a:hover { color: var(--ink); background: var(--paper-warm); }
.main-nav a.is-active { color: var(--teal-deep); background: var(--teal-soft); font-weight: 600; }

.header-search {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex: 0 0 10.75rem;
    width: 10.75rem;
    padding: .35rem .7rem .35rem .6rem;
    margin-left: .25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-white);
    transition: border-color .15s, box-shadow .15s;
}
.header-search:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-soft);
}
.header-search-icon {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1;
    flex-shrink: 0;
}
.header-search-input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: .88rem;
    color: var(--ink);
    padding: .15rem 0;
}
.header-search-input:focus { outline: none; }
.header-search-input::placeholder { color: var(--muted); }

@media (max-width: 1180px) {
    .brand-text small { display: none; }
    .main-nav a { padding: .5rem .6rem; font-size: .85rem; }
    .header-search {
        flex-basis: 9.25rem;
        width: 9.25rem;
    }
    .header-search-input { font-size: .82rem; }
    .header-search-input::placeholder { font-size: .82rem; }
}

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

.search-page-form {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    max-width: 42rem;
    margin-top: 1.25rem;
}
.search-page-input {
    flex: 1 1 16rem;
    min-width: 0;
    font: inherit;
    font-size: 1rem;
    padding: .75rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-white);
    color: var(--ink);
}
.search-page-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-soft);
}

.search-results-block + .search-results-block {
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--line);
}
.search-results-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-bottom: 1.15rem;
}
.search-results-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--ink);
}
.search-results-count {
    margin: 0;
    font-size: .88rem;
    color: var(--muted);
}
.blog-grid--search {
    margin-bottom: .25rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--paper-white);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.nav-toggle:hover { border-color: var(--ink); background: var(--paper-warm); }
.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.is-nav-open { overflow: hidden; }

/* —— Typography —— */
.eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--teal);
    margin: 0;
}
.lead {
    font-size: 1.12rem;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 54ch;
    margin: .85rem 0 0;
}
h1, h2, h3, .section-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.18;
    color: var(--ink);
}

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .75rem 1.35rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-secondary { background: var(--paper-white); border-color: var(--line-dark); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line-dark); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal-deep); }
.btn-outline:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* —— Home hero —— */
.hero-editorial {
    padding: 3.5rem 0 4rem;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(10, 107, 98, 0.06), transparent),
        var(--paper);
}
.hero-editorial-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1025px) {
    .hero-editorial-inner {
        grid-template-columns: 1fr 1.05fr;
    }
}
.hero-editorial-copy h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    margin: .65rem 0 0;
    max-width: 13ch;
}
.hero-editorial-copy .lead { margin-bottom: 1.75rem; }
.hero-editorial-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    max-width: 28rem;
    margin-top: 1.15rem;
    padding: .4rem .45rem .4rem .85rem;
    background: var(--paper-white);
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, box-shadow .15s;
}
.hero-search:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-soft);
}
.hero-search-icon {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}
.hero-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: .92rem;
    color: var(--ink);
    padding: .25rem 0;
}
.hero-search-input:focus { outline: none; }
.hero-search-input::placeholder { color: var(--muted); }
.hero-search-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: .55rem 1rem;
    font: inherit;
    font-size: .86rem;
    font-weight: 600;
    color: #fff;
    background: var(--teal);
    cursor: pointer;
    transition: background .15s;
}
.hero-search-btn:hover { background: var(--teal-deep); }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.hero-trust-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--ink);
    line-height: 1;
}
.hero-trust-item span { font-size: .8rem; color: var(--muted); }

/* —— Hero visual —— */
.hero-mosaic-wrap { display: flex; flex-direction: column; gap: .65rem; }
.hero-mosaic-label {
    margin: 0;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: .55rem;
    min-height: 0;
}
.hero-mosaic-item {
    position: relative;
    display: block;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .12s;
}
.hero-mosaic-item .product-card-rating {
    top: .55rem;
    left: .55rem;
}
.hero-mosaic-price {
    position: absolute;
    top: .55rem;
    right: .55rem;
    z-index: 1;
    font-size: .68rem;
    font-weight: 600;
    line-height: 1;
    padding: .28rem .45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 1px 6px rgba(28, 36, 48, .08);
}
.hero-mosaic-item:hover {
    border-color: var(--line-dark);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.hero-mosaic-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: .5rem;
    background: var(--paper-white);
}
@media (min-width: 1025px) {
    .hero-mosaic { max-width: 100%; }
    .hero-mosaic-item img { aspect-ratio: 1; height: auto; }
}

.hero-panel {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
}
.hero-panel .eyebrow { margin-bottom: 1rem; }
.hero-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.35rem;
}
.hero-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .85rem;
    align-items: start;
}
.hero-step-num {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-family: var(--font-serif);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1;
}
.hero-steps strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    margin-bottom: .2rem;
}
.hero-steps p {
    margin: 0;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.55;
}

/* —— Featured review —— */
.review-card--featured {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.review-card--featured .review-card-image {
    aspect-ratio: auto;
    min-height: 320px;
    border-radius: 0;
}
.review-card--featured .review-card-content {
    padding: 2rem 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.review-card--featured .review-card-title { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.review-card--featured .review-card-excerpt { font-size: 1rem; line-height: 1.65; }

/* —— Review cards —— */
.review-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.15rem;
    padding: 1.15rem;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: box-shadow .2s, border-color .2s;
}
.review-card:hover { border-color: var(--line-dark); box-shadow: var(--shadow-sm); }
.review-card-visual {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    align-items: center;
    min-width: 0;
}
.review-card-image {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 1;
    padding: .75rem;
}
.review-card-image img { object-fit: contain; width: 100%; height: 100%; }
.review-card-placeholder { width: 60%; height: 60%; background: var(--line); border-radius: 50%; }
.review-card-score {
    position: absolute;
    bottom: .5rem;
    right: .5rem;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    padding: .25rem .45rem;
    border-radius: 6px;
    line-height: 1;
}
.review-card-score small { font-size: .62rem; opacity: .85; }
.review-card-content { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.review-card-cat {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}
.review-card-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    line-height: 1.3;
}
.review-card-title a { text-decoration: none; color: var(--ink); }
.review-card-title a:hover { color: var(--teal); }
.review-card-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.review-card-user { font-size: .78rem; color: var(--muted); font-weight: 500; }
.review-verdict {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: .15rem .5rem;
    border-radius: 4px;
}
.review-card-excerpt {
    margin: 0;
    font-size: .88rem;
    color: var(--ink-soft);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: .35rem;
}
.review-card-foot time { font-size: .75rem; color: var(--muted); }
.review-card-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
}
.review-card-link:hover { text-decoration: underline; }

.review-card-excerpt.is-open { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.review-card-empty { grid-column: 1 / -1; padding: 2.5rem; }
.review-time { font-size: .82rem; color: var(--muted); }
.sidebar-about p { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
.sidebar-about p + p { margin-top: 1rem; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.reviews-grid .review-card { grid-template-columns: 100px 1fr; }

/* —— Stars & score —— */
.star-rating { display: inline-flex; align-items: center; gap: .08rem; line-height: 1; }
.star { font-size: .95rem; }
.star-rating--lg .star { font-size: 1.25rem; }
.star-rating--sm .star { font-size: .88rem; }
.star-full { color: var(--star-rating); }
.star-empty { color: var(--line-dark); }
.star-half {
    position: relative;
    display: inline-block;
    color: var(--line-dark);
}
.star-half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: var(--star-rating);
}
.star-label { margin-left: .35rem; font-size: .78rem; font-weight: 600; color: var(--muted); }

.review-stats-desc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .45rem;
    max-width: none;
}
.review-stats-desc .star-rating--average {
    transform: translateY(-1px);
}

.score-badge {
    display: inline-flex;
    align-items: baseline;
    gap: .1rem;
    background: var(--gold);
    color: #fff;
    padding: .65rem 1rem;
    border-radius: var(--radius);
    line-height: 1;
}
.score-badge-value { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 700; }
.score-badge-label { font-size: .9rem; opacity: .85; font-weight: 500; }

/* —— Sections —— */
.section { padding: 2.5rem 0; }
@media (min-width: 641px) {
    .section { padding: 3.25rem 0; }
}
.section-alt { background: var(--paper-warm); border-block: 1px solid var(--line); }
.section-white { background: var(--paper-white); border-block: 1px solid var(--line); }
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.section-desc { margin: .4rem 0 0; font-size: .92rem; color: var(--muted); max-width: 48ch; }
.section-link {
    font-size: .88rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }

/* —— Product cards —— */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
}
@media (min-width: 641px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.25rem;
    }
}
.product-grid--home-latest {
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 641px) {
    .product-grid--home-latest {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .product-grid--home-latest {
        grid-template-columns: repeat(6, 1fr);
    }
}
.product-grid.is-compact { gap: 1rem; }
@media (min-width: 641px) {
    .product-grid.is-compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
.product-grid.is-formats {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
}

.product-card {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow: var(--shadow-sm);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--line-dark);
}
.product-card.is-format {
    flex-direction: row;
    align-items: stretch;
    min-height: 148px;
}
.product-card-media {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--paper-white);
}
.product-card:not(.is-format) .product-card-media {
    aspect-ratio: 1;
}
.product-card.is-format .product-card-media {
    width: 132px;
    flex-shrink: 0;
    border-right: 1px solid var(--line);
}
.product-card-frame {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 132px;
    padding: 1rem;
    background: var(--paper-white);
}
.product-card:not(.is-format) .product-card-frame { min-height: 0; aspect-ratio: 1; }
.product-card-frame img { object-fit: contain; width: 100%; height: 100%; max-height: 140px; }
.product-card-placeholder {
    width: 56%;
    height: 56%;
    border-radius: 50%;
    background: var(--line);
    opacity: .45;
}
.product-card-rating {
    position: absolute;
    top: .7rem;
    left: .7rem;
    display: inline-flex;
    align-items: center;
    gap: .18rem;
    background: var(--star-rating-soft);
    color: var(--ink);
    border: 1px solid rgba(255, 98, 1, 0.22);
    box-shadow: 0 2px 10px rgba(255, 98, 1, 0.12);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .28rem .52rem;
    border-radius: 999px;
    line-height: 1;
}
.product-card-rating-value {
    color: var(--ink);
}
.product-card-rating-star {
    color: var(--star-rating);
    font-size: .72rem;
    line-height: 1;
}
.review-card-visual .review-card-product-rating {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    justify-content: center;
    box-shadow: none;
}
.review-card-price {
    display: block;
    width: 100%;
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    text-align: center;
}
.product-card-tag {
    position: absolute;
    top: .7rem;
    right: .7rem;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .25rem .5rem;
    border-radius: 999px;
    color: #fff;
}
.tag-sale { background: var(--danger); }
.tag-new { background: var(--success); }
.tag-discontinued { background: #6b7280; }
.product-card-body {
    padding: 1rem 1.05rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
    min-width: 0;
}
.product-card.is-format .product-card-body {
    justify-content: center;
    padding: 1rem 1.15rem;
}
.product-card-eyebrow {
    margin: 0;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--teal);
}
.product-card-cat {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}
.product-card-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.product-card.is-format .product-card-title { font-size: 1.08rem; }
.product-card-title a { text-decoration: none; color: var(--ink); }
.product-card-title a:hover { color: var(--teal-deep); }
.product-card-subtitle {
    margin: 0;
    font-size: .76rem;
    line-height: 1.45;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-format {
    margin: 0;
    font-size: .8rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.product-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .25rem .65rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
}
.product-card.is-format .product-card-foot {
    margin-top: .65rem;
    padding-top: .65rem;
}
.product-card-price {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}
.product-card-unit {
    font-size: .72rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}

/* —— Categories —— */
.category-nav { margin-bottom: 1.75rem; }
.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.category-chip {
    text-decoration: none;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--paper-white);
    border: 1px solid var(--line);
    transition: border-color .15s, color .15s, background .15s;
}
.category-chip:hover {
    border-color: var(--teal);
    color: var(--teal-deep);
    background: var(--teal-soft);
}

/* —— Category explorer (home) —— */
.category-explorer { padding-bottom: 3.5rem; }
.section-header--stack {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 2rem;
}
.category-explorer-toolbar {
    display: grid;
    gap: .65rem;
    margin-bottom: 1.5rem;
}
.category-search {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem 1rem;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, box-shadow .15s;
}
.category-search:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-soft);
}
.category-search-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--muted);
    flex-shrink: 0;
}
.category-search-input {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    outline: none;
}
.category-search-input::placeholder { color: var(--muted); }
.category-search-hint {
    margin: 0;
    font-size: .88rem;
    color: var(--muted);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
}
.category-card {
    display: flex;
    flex-direction: column;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, box-shadow .15s, transform .12s;
}
.category-card:hover {
    border-color: var(--line-dark);
    box-shadow: var(--shadow);
}
.category-card.is-hidden { display: none; }
.category-card-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .85rem;
    align-items: center;
    padding: 1.15rem 1.15rem .85rem;
    text-decoration: none;
    color: inherit;
}
.category-card-main:hover { color: inherit; }
.category-card-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--teal-deep);
    background: var(--teal-soft);
    flex-shrink: 0;
}
.category-card:nth-child(6n+2) .category-card-mark { color: var(--gold-deep); background: var(--gold-soft); }
.category-card:nth-child(6n+3) .category-card-mark { color: #6b4c9a; background: #f3eef9; }
.category-card:nth-child(6n+4) .category-card-mark { color: #9a4c4c; background: #f9eeee; }
.category-card:nth-child(6n+5) .category-card-mark { color: #4c6b9a; background: #eef3f9; }
.category-card:nth-child(6n+6) .category-card-mark { color: #4c7a56; background: #eef6f0; }
.category-card-body { min-width: 0; }
.category-card-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.25;
    color: var(--ink);
}
.category-card-meta {
    margin: .25rem 0 0;
    font-size: .78rem;
    color: var(--muted);
}
.category-card-arrow {
    font-size: 1.1rem;
    color: var(--muted);
    transition: transform .15s, color .15s;
}
.category-card-main:hover .category-card-arrow {
    color: var(--teal);
    transform: translateX(3px);
}
.category-card-subs {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding: 1rem 1.15rem 1.15rem;
    border-top: 1px solid var(--line);
    margin-top: 0;
}
.category-sub-chip {
    display: inline-block;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: border-color .15s, color .15s, background .15s;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-sub-chip:hover {
    border-color: var(--teal);
    color: var(--teal-deep);
    background: var(--teal-soft);
}

/* —— Page headers —— */
.page-header {
    padding: 2.25rem 0 2.5rem;
    background: var(--paper-white);
    border-bottom: 1px solid var(--line);
}
.page-header--compact {
    padding: .75rem 0 .85rem;
}
.page-header--compact .breadcrumb {
    margin-bottom: 0;
}
.page-header--compact + .product-sheet {
    padding-top: 1.75rem;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.85rem); margin: .45rem 0 0; }
.page-header-lead {
    margin: .85rem 0 0;
    max-width: 42rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.65;
}
.page-header--article-has-cover .article-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(24rem, 42%);
    gap: 1.75rem 2.25rem;
    align-items: start;
}
.page-header--article-has-cover .article-header-main {
    min-width: 0;
}
.page-header--article-has-cover .article-cover {
    margin: 0;
    justify-self: end;
    width: min(24rem, 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    background: var(--paper-warm);
}
.page-header--article-has-cover .article-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
@media (max-width: 767px) {
    .page-header--article-has-cover .article-header-grid {
        grid-template-columns: 1fr;
    }
    .page-header--article-has-cover .article-cover {
        justify-self: stretch;
        width: 100%;
    }
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .35rem;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* —— Catalog —— */
.catalog {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: start;
}
.catalog-nav {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
}
.catalog-nav-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin: 0 0 .85rem;
}
.catalog-nav a {
    display: block;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: .88rem;
    font-weight: 500;
    padding: .45rem .55rem;
    border-radius: 8px;
    margin-bottom: .1rem;
}
.catalog-nav a:hover { background: var(--paper-warm); color: var(--ink); }

/* —— Product page —— */
.product-review-hero {
    background: var(--gold-soft);
    border-bottom: 1px solid #ecd9a8;
    padding: 2rem 0;
}
.product-review-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem 2rem;
    align-items: center;
}
.product-review-hero.has-image {
    grid-template-columns: 140px auto 1fr;
}
.product-review-hero-thumb {
    width: 140px;
    aspect-ratio: 1;
    background: var(--paper-white);
    border-radius: var(--radius);
    padding: .75rem;
    border: 1px solid #ecd9a8;
    display: grid;
    place-items: center;
}
.product-review-hero-thumb img { object-fit: contain; width: 100%; height: 100%; }
.product-review-hero-meta { display: flex; flex-direction: column; gap: .5rem; }
.product-review-hero-meta h1 {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    margin: 0;
}
.product-review-hero-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}
.product-review-hero-excerpt {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 65ch;
}

.product-sheet {
    padding: 2.5rem 0 3rem;
}
.product-sheet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 1025px) {
    .product-sheet-grid {
        grid-template-columns: 340px 1fr 300px;
    }
}
.product-visual-frame {
    position: relative;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.product-visual-frame img { object-fit: contain; max-width: 100%; max-height: 100%; }
.product-visual-frame img.is-discontinued { opacity: .72; }
.product-visual-badges {
    position: absolute;
    top: .85rem;
    left: .85rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    max-width: calc(100% - 1.7rem);
}
.product-visual-badges .badge {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.product-visual-badges--right {
    left: auto;
    right: .85rem;
    align-items: flex-end;
}
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .85rem;
}
.adsense-unit.adsense-product-visual {
    margin-top: 1rem;
    min-height: 280px;
}
.adsense-product-visual .ad-placeholder,
.ad-slot-reserved {
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius);
    min-height: 90px;
    background: var(--paper-white);
}
.adsense-unit.adsense-product-visual .ad-slot-reserved {
    min-height: 280px;
}
.adsense-unit .ad-slot-reserved,
.adsense-footer .ad-slot-reserved {
    min-height: 250px;
}
.ad-placeholder {
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius);
    min-height: 90px;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    font-size: .82rem;
    background: var(--paper-white);
}
.product-grid-ad {
    grid-column: 1 / -1;
}
.ad-slot--section {
    padding: 1.25rem 0;
}
.adsense-unit .adsbygoogle,
.adsense-footer .adsbygoogle {
    display: block;
    width: 100%;
}
.badge {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .25rem .55rem;
    border-radius: 4px;
    color: #fff;
}
.badge-sale { background: var(--danger); }
.badge-new { background: var(--success); }
.badge-age { background: var(--ink); }
.badge-discontinued { background: #6b7280; }

.buy-box--discontinued { border-color: #d1d5db; }
.buy-box-status {
    margin: 0 0 .75rem;
    padding: .65rem .75rem;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.35;
}

.product-main h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: .25rem 0 .5rem;
}
.product-brand { margin: 0; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); }
.product-format-tag {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: .35rem .75rem;
    background: var(--paper-warm);
    border-radius: 6px;
    font-size: .85rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.product-legal-name { margin: -.25rem 0 .75rem; font-size: .88rem; color: var(--muted); }

.buy-box {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.buy-box-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 0;
}
.buy-box-approx {
    font-size: .82rem;
    color: var(--ink-soft);
    margin: .75rem 0 0;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
    line-height: 1.45;
}
.buy-box-price-block {
    margin-bottom: .65rem;
}
.buy-box-price-block .buy-box-status {
    margin-bottom: .35rem;
}
.buy-box-price {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 700;
    color: #0000EE;
    line-height: 1;
    margin: .1rem 0 .5rem;
}
.buy-box-trend {
    margin: .65rem 0 .85rem;
    padding: .55rem .75rem;
    border-radius: var(--radius);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.45;
}
.buy-box-trend--down {
    background: #eef6f0;
    color: var(--success);
    border: 1px solid rgba(45, 106, 79, 0.2);
}
.buy-box-trend--up {
    background: #fdf0ef;
    color: var(--danger);
    border: 1px solid rgba(180, 35, 24, 0.15);
}
.buy-box-unit, .buy-box-old, .buy-box-tax {
    display: block;
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .2rem;
}
.buy-box-old { text-decoration: line-through; }
.buy-box-updated { font-size: .75rem; color: var(--muted); margin: .75rem 0 1.25rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.buy-box-history-link { margin: .85rem 0 1.15rem; font-size: .82rem; }
.buy-box-actions { display: grid; gap: .65rem; justify-items: stretch; }
.buy-box-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    width: 100%;
    padding: .9rem 1rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    transition: transform .12s, background .15s, border-color .15s, box-shadow .15s;
}
.buy-box-btn:active { transform: scale(.985); }
.buy-box-btn--amazon {
    background: linear-gradient(180deg, #3a3632 0%, #252220 100%);
    color: #fff;
    border-color: #252220;
    box-shadow: 0 3px 12px rgba(37, 34, 32, 0.18);
}
.buy-box-btn--amazon:hover {
    background: linear-gradient(180deg, #45413c 0%, #2f2b28 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 34, 32, 0.22);
}
.buy-box-btn-main {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .01em;
}
.buy-box-btn-meta {
    font-size: .78rem;
    font-weight: 600;
    color: #ffb84d;
    letter-spacing: .02em;
}
.buy-box-store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .65rem 1rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: center;
    text-decoration: none;
    background: var(--paper-white);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    transition: color .15s, background .15s, border-color .15s;
}
.buy-box-store-link:hover {
    color: var(--teal-deep);
    background: var(--paper-warm);
    border-color: var(--teal);
}
.buy-box-note { font-size: .72rem; color: var(--muted); margin: .85rem 0 0; line-height: 1.5; }

.buy-box-formats {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.buy-box-formats-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin: 0 0 .6rem;
}
.buy-box-format-list {
    display: grid;
    gap: .45rem;
}
.buy-box-format {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    background: var(--paper-white);
    transition: border-color .15s, background .15s;
}
.buy-box-format:hover {
    border-color: var(--teal);
    background: var(--teal-soft);
}
.buy-box-format.is-current {
    border-color: var(--teal);
    background: var(--teal-soft);
    box-shadow: inset 0 0 0 1px rgba(13, 115, 119, 0.12);
}
.buy-box-format-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}
.buy-box-format-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.buy-box-format-info {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    min-width: 0;
}
.buy-box-format-label {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
}
.buy-box-format-price {
    font-size: .78rem;
    color: var(--muted);
}

/* —— Price history —— */
.price-history-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.price-history-inner { max-width: 720px; }
.price-history-section .section-desc { max-width: none; }
.price-history-single {
    margin: 0;
    padding: 1rem 1.15rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    font-size: .92rem;
    color: var(--ink-soft);
}
.price-chart-wrap { display: grid; gap: .85rem; }
.price-chart-summary {
    margin: 0;
    font-size: .88rem;
    color: var(--ink-soft);
}
.price-trend-up { color: var(--danger); }
.price-trend-down { color: var(--success); }
.price-chart {
    width: 100%;
    height: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: .5rem;
}
.price-chart-axis { stroke: var(--line-dark); stroke-width: 1; }
.price-chart-line {
    fill: none;
    stroke: var(--teal);
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.price-chart-dot {
    fill: var(--paper-white);
    stroke: var(--teal-deep);
    stroke-width: 2;
}
.price-chart-label {
    font-family: var(--font-sans);
    font-size: 11px;
    fill: var(--muted);
}
.price-history-log {
    margin-top: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    overflow: hidden;
}
.price-history-log summary {
    cursor: pointer;
    padding: .85rem 1.15rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-soft);
    list-style: none;
}
.price-history-log summary::-webkit-details-marker { display: none; }
.price-history-log summary:hover { background: var(--paper-warm); }
.price-history-list {
    margin: 0;
    padding: 0 1.15rem 1rem;
    list-style: none;
    display: grid;
    gap: .55rem;
    border-top: 1px solid var(--line);
}
.price-history-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem .75rem;
    padding-top: .55rem;
    font-size: .88rem;
}
.price-history-list time { color: var(--muted); min-width: 5.5rem; }
.price-history-value { font-weight: 600; color: var(--ink); }
.price-history-delta { font-size: .78rem; font-weight: 600; }
.price-history-delta.is-up { color: var(--danger); }
.price-history-delta.is-down { color: var(--success); }
.price-history-delta.is-neutral { color: var(--muted); font-weight: 500; }
.price-history-older {
    margin: 1rem 0 0;
    font-size: .82rem;
    color: var(--muted);
}

.notice-inline {
    padding: .85rem 1rem;
    background: var(--teal-soft);
    border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .84rem;
    color: var(--ink-soft);
    margin: 1.25rem 0;
    line-height: 1.55;
}
.notice-inline strong { color: var(--ink); }

.meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.25rem;
}
.meta-chip {
    padding: .45rem .75rem;
    background: var(--paper-warm);
    border-radius: 8px;
    font-size: .78rem;
}
.meta-chip strong {
    display: block;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .1rem;
}

/* —— Editorial blocks —— */
.editorial-section {
    background: var(--paper-white);
    border-block: 1px solid var(--line);
    padding: 3rem 0;
}
.editorial-section.is-highlight { background: var(--gold-soft); border-color: #ecd9a8; }
.editorial-inner { max-width: 720px; }
.editorial-section.is-highlight .editorial-inner { max-width: min(960px, 100%); }
.editorial-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink-soft);
}
.editorial-content p {
    margin: 0 0 1.15rem;
    font-weight: 400;
}
.editorial-content p:last-child { margin-bottom: 0; }
.editorial-content strong,
.editorial-content b {
    font-weight: 700;
    color: var(--ink);
}
.editorial-content h2 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .75rem;
}
.editorial-content h2:first-child { margin-top: 0; }
.editorial-content h3 {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 600;
    margin: 1.75rem 0 .85rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .75rem;
}
.editorial-content h3:first-child { margin-top: 0; }
.editorial-content h4 {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 600;
    margin: 1.4rem 0 .65rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .75rem;
}
.editorial-content h4:first-child { margin-top: 0; }
.editorial-content :is(h2, h3, h4)::before {
    content: "";
    width: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}
.editorial-content h2::before {
    height: 1.4em;
    background: var(--gold);
}
.editorial-content h3::before {
    height: 1.25em;
    background: var(--teal);
}
.editorial-content h4::before {
    height: 1.15em;
    background: var(--line-dark);
}
.editorial-content ul,
.editorial-content ol {
    margin: 0 0 1.15rem;
    padding-left: 1.35rem;
}
.editorial-content li { margin-bottom: .45rem; }
.editorial-content li:last-child { margin-bottom: 0; }

/* Título fijo fuera del HTML editorial (p. ej. descripción API) */
.editorial-inner > h2 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .75rem;
}
.editorial-inner > h2::before {
    content: "";
    width: 4px;
    height: 1.4em;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
}

/* —— Product details —— */
.details-section { padding: 2.5rem 0; }
.details-section h2,
.user-reviews-section .section-title {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.35;
    text-wrap: balance;
    margin: 0 0 1.25rem;
}
.user-reviews-section .section-title { margin: 0; }
.details-accordion { display: grid; gap: .65rem; }
.detail-panel {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1.35rem;
}
.detail-panel-title {
    margin: 0 0 .55rem;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}
.detail-panel p {
    margin: 0 0 .55rem;
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.65;
}
.detail-panel p:last-child { margin-bottom: 0; }

/* —— Blog —— */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}
.sidebar-box {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
}
.sidebar-box h2 {
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin: 0 0 1rem;
}
.mini-post {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
}
.mini-post:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-post time { font-size: .72rem; color: var(--muted); }
.mini-post h3 {
    margin: .25rem 0;
    font-family: var(--font-serif);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
}
.mini-post h3 a { text-decoration: none; color: var(--ink); }
.mini-post h3 a:hover { color: var(--teal); }
.mini-post p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }

.blog-grid--home {
    margin-bottom: .25rem;
}

/* —— Home author promo —— */
.home-author-section {
    padding-block: 2.75rem;
}
.home-author-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 0;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.home-author-card__main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem 1.5rem;
    align-items: start;
    padding: 1.65rem 1.85rem;
}
.home-author-card__avatar {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.55rem;
}
.home-author-card__eyebrow {
    margin: 0 0 .35rem;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
}
.home-author-card__name {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 600;
    line-height: 1.2;
}
.home-author-card__name a {
    color: var(--ink);
    text-decoration: none;
}
.home-author-card__name a:hover {
    color: var(--teal);
}
.home-author-card__role {
    margin: .45rem 0 0;
    font-size: .92rem;
    font-weight: 500;
    color: var(--muted);
}
.home-author-card__bio {
    margin: .85rem 0 0;
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.65;
}
.home-author-card__link {
    display: inline-block;
    margin-top: 1rem;
    font-size: .9rem;
    font-weight: 600;
}
.home-author-card__aside {
    padding: 1.65rem 1.85rem;
    background: var(--paper-warm);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.home-author-card__aside-title {
    margin: 0;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}
.home-author-trust {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .65rem;
}
.home-author-trust li {
    position: relative;
    padding-left: 1.35rem;
    font-size: .88rem;
    color: var(--ink-soft);
    line-height: 1.55;
}
.home-author-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45rem;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-soft);
}
.home-author-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin: auto 0 0;
    padding: .85rem 0 0;
    list-style: none;
    border-top: 1px solid var(--line);
}
.home-author-stats li {
    text-align: center;
}
.home-author-stats strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}
.home-author-stats span {
    display: block;
    margin-top: .2rem;
    font-size: .72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* —— About page (E-E-A-T) —— */
.page-header--about {
    padding-bottom: 2rem;
}
.about-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.35rem 1.75rem;
    align-items: start;
    margin-top: .75rem;
}
.about-hero__avatar-mark {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 2rem;
    border-radius: 50%;
}
.about-hero__eyebrow {
    margin: 0 0 .35rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
}
.about-hero__role {
    margin: .55rem 0 0;
    font-size: 1.05rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.about-hero__lead {
    margin: 1rem 0 0;
    max-width: 42rem;
    color: var(--ink-soft);
    line-height: 1.7;
}
.about-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.about-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    min-height: 100%;
}
.about-stat + .about-stat {
    border-left: 1px solid var(--line);
}
.about-stat__icon {
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-soft);
    color: var(--teal);
}
.about-stat__icon::before {
    display: block;
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 700;
    font-family: var(--font-sans);
}
.about-stat__icon--products::before { content: "P"; }
.about-stat__icon--articles::before { content: "B"; }
.about-stat__icon--reviews {
    background: var(--star-rating-soft);
    color: var(--star-rating);
}
.about-stat__icon--reviews::before { content: "★"; font-size: 1.05rem; }
.about-stat__text {
    display: grid;
    gap: .2rem;
    min-width: 0;
}
.about-stat__value {
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}
.about-stat__label {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.4;
}
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 2rem 2.5rem;
    align-items: start;
}
.about-main.prose h2:first-child {
    margin-top: 0;
}
.about-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 5.5rem;
}
.about-card h2 {
    margin: 0 0 .85rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
}
.about-trust-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--ink-soft);
    font-size: .9rem;
    line-height: 1.55;
}
.about-trust-list li + li {
    margin-top: .55rem;
}
.about-links {
    display: grid;
    gap: .55rem;
}
.about-links a {
    font-size: .92rem;
    font-weight: 500;
}
.about-card--contact p {
    margin: 0;
    font-size: .88rem;
    color: var(--ink-soft);
    line-height: 1.55;
}
.about-card--contact p + p {
    margin-top: .65rem;
}
.article-byline {
    margin: .35rem 0 0;
    font-size: .88rem;
    color: var(--muted);
}
.article-byline a {
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
}
.article-byline a:hover {
    text-decoration: underline;
    color: var(--teal-deep);
}

/* —— Author box (product + blog) —— */
.author-section {
    padding-block: 2.5rem;
}
.author-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem 1.5rem;
    align-items: start;
    padding: 1.5rem 1.65rem;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.author-box__avatar {
    width: 4rem;
    height: 4rem;
    font-size: 1.45rem;
}
.author-box__eyebrow {
    margin: 0 0 .35rem;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
}
.author-box__name {
    margin: 0 0 .65rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}
.author-box__name a {
    color: var(--ink);
    text-decoration: none;
}
.author-box__name a:hover {
    color: var(--teal);
}
.author-box__role {
    display: block;
    margin-top: .25rem;
    font-family: var(--font-sans);
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
}
.author-box__bio {
    margin: 0 0 .85rem;
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 42rem;
}
.author-box__link {
    font-size: .9rem;
    font-weight: 600;
}

@media (max-width: 860px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
    .about-sidebar {
        position: static;
    }
    .about-stats-bar {
        grid-template-columns: 1fr;
    }
    .about-stat + .about-stat {
        border-left: none;
        border-top: 1px solid var(--line);
    }
    .about-hero {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .author-box {
        grid-template-columns: 1fr;
    }
    .home-author-card {
        grid-template-columns: 1fr;
    }
    .home-author-card__aside {
        border-left: none;
        border-top: 1px solid var(--line);
    }
    .home-author-card__main {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 520px) {
    .about-stat {
        padding: 1rem 1.15rem;
    }
    .about-stat__value {
        font-size: 1.35rem;
    }
}

.article-list { display: grid; gap: 1rem; }
.article-card {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.65rem 1.85rem;
    transition: box-shadow .2s;
}
.article-card:hover { box-shadow: var(--shadow-sm); }
.article-card time { font-size: .75rem; color: var(--muted); }
.article-card-title { margin: .45rem 0 .75rem; font-size: 1.45rem; font-family: var(--font-serif); font-weight: 600; line-height: 1.25; }
.article-card-title a { text-decoration: none; color: var(--ink); }
.article-card-title a:hover { color: var(--teal); }
.article-card p { margin: 0 0 1rem; color: var(--ink-soft); line-height: 1.65; }

/* —— Blog grid —— */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
}
.blog-card {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .12s;
}
.blog-card:hover {
    border-color: var(--line-dark);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.blog-card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem 1.4rem 1.45rem;
    text-decoration: none;
    color: inherit;
}
.blog-card--has-cover .blog-card-link {
    padding: 0;
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.4rem 1.45rem;
}
.blog-card-media {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--paper-warm);
}
.blog-card-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .25s ease;
}
.blog-card--has-cover:hover .blog-card-media img {
    transform: scale(1.03);
}
.blog-card--has-cover .blog-card-head {
    justify-content: flex-end;
}
.blog-card-link:hover { color: inherit; }
.blog-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}
.blog-card-mark {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 12px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--teal-deep);
    background: var(--teal-soft);
    flex-shrink: 0;
}
.blog-card:nth-child(6n+2) .blog-card-mark { color: var(--gold-deep); background: var(--gold-soft); }
.blog-card:nth-child(6n+3) .blog-card-mark { color: #6b4c9a; background: #f3eef9; }
.blog-card:nth-child(6n+4) .blog-card-mark { color: #9a4c4c; background: #f9eeee; }
.blog-card:nth-child(6n+5) .blog-card-mark { color: #4c6b9a; background: #eef3f9; }
.blog-card:nth-child(6n+6) .blog-card-mark { color: #4c7a56; background: #eef6f0; }
.blog-card-head time {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--muted);
    text-transform: uppercase;
}
.blog-card h2 {
    margin: 0 0 .75rem;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.3;
    color: var(--ink);
    transition: color .15s;
}
.blog-card:hover h2 { color: var(--teal-deep); }
.blog-card-excerpt {
    flex: 1;
    margin: 0 0 1.15rem;
    font-size: .92rem;
    line-height: 1.65;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}
.blog-card-cta {
    margin-top: auto;
    font-size: .86rem;
    font-weight: 600;
    color: var(--teal);
}
.blog-card-cta span { transition: transform .15s; display: inline-block; }
.blog-card:hover .blog-card-cta span { transform: translateX(4px); }

/* —— Artículo del blog —— */

.text-link { font-weight: 600; font-size: .88rem; color: var(--teal); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.prose { max-width: min(900px, 100%); }
.prose p, .prose li {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink-soft);
}
.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong, .prose b {
    font-weight: 700;
    color: var(--ink);
}
.prose h2, .prose h3, .prose h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--ink);
}
.prose h2 { font-size: 1.65rem; margin: 2rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.28rem; margin: 1.75rem 0 .85rem; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { font-size: 1.12rem; margin: 1.4rem 0 .65rem; }
.prose ul, .prose ol {
    margin: 0 0 1.15rem;
    padding-left: 1.35rem;
}
.prose li { margin-bottom: .45rem; }
.prose li:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-family: var(--font-sans); font-size: .9rem; }
.prose th, .prose td { padding: .55rem .75rem; border: 1px solid var(--line); vertical-align: top; }

/* —— Misc —— */
.ad-slot { padding: 2rem 0; }
.adsense-footer .adsbygoogle {
    min-height: 250px;
}
.ad-placeholder {
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius);
    min-height: 90px;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    font-size: .82rem;
    background: var(--paper-white);
}
.empty-state, .empty-page {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--ink-soft);
}
.empty-page h1 { font-size: 5rem; color: var(--line-dark); margin: 0; opacity: .5; }
.product-count { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.catalog-toolbar .product-count { margin-bottom: 0; }
.catalog-sort {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-left: auto;
}
.catalog-sort label {
    font-size: .88rem;
    color: var(--muted);
    white-space: nowrap;
}
.catalog-sort select {
    font: inherit;
    font-size: .88rem;
    padding: .45rem 2rem .45rem .75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4.4 6 5l4.6-4.6L12 2l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right .75rem center;
    color: var(--ink);
    cursor: pointer;
    appearance: none;
    min-width: 11rem;
}
.catalog-sort select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-soft);
}

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .65rem 1rem;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.catalog-page-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}
.catalog-page-btn,
.catalog-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: .45rem .75rem;
    border-radius: 8px;
    font-size: .88rem;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--paper-white);
}
.catalog-page-btn:hover,
.catalog-page-num:hover {
    border-color: var(--line-dark);
    color: var(--teal);
}
.catalog-page-btn.is-disabled {
    color: var(--ink-soft);
    border-color: var(--line);
    background: var(--paper-warm);
    pointer-events: none;
    cursor: default;
}
.catalog-page-num.is-current {
    background: var(--teal-soft);
    border-color: var(--teal);
    color: var(--teal);
    font-weight: 600;
}
.catalog-page-gap {
    padding: 0 .25rem;
    color: var(--muted);
    user-select: none;
}

/* —— Footer —— */
.site-footer {
    background: var(--ink);
    color: #a8a29a;
    padding: 3.5rem 0 2.5rem;
    margin-top: 0;
}
.site-footer a { color: #c9c4bc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: .75rem;
    display: block;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}
.footer-grid p { margin: 0 0 .4rem; font-size: .88rem; line-height: 1.65; }
.footer-nav { display: grid; gap: .35rem; }
.footer-legal { color: #a8a29a; font-size: .8rem; }

/* —— Cookies —— */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink);
    color: #c9c4bc;
    border-top: 1px solid #2a2826;
    box-shadow: 0 -12px 40px rgba(0,0,0,.2);
    padding: 1rem 0;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: .86rem; line-height: 1.55; max-width: 58ch; }
.cookie-banner a { color: #fff; }
.cookie-banner-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .6rem 1rem; font-size: .84rem; }
.cookie-banner .btn-primary { background: var(--teal); border-color: var(--teal); }
.cookie-banner .btn-ghost {
    color: #e8e4dc;
    border-color: #4a4540;
}
.cookie-banner .btn-ghost:hover {
    color: #fff;
    border-color: #8c847a;
}
.cookie-settings-panel[hidden] { display: none; }
.cookie-settings-panel { display: grid; gap: 1rem; margin-top: .75rem; }
.cookie-settings-head h2 { font-family: var(--font-serif); font-size: 1.1rem; color: #fff; margin: 0 0 .35rem; }
.cookie-settings-head p { margin: 0; font-size: .84rem; color: #8c847a; }
.cookie-options { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cookie-option {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .85rem 1rem;
    background: #1e1d1b;
    border: 1px solid #2a2826;
    border-radius: var(--radius);
}
.cookie-option strong { display: block; color: #fff; font-size: .86rem; margin-bottom: .15rem; }
.cookie-option span { font-size: .78rem; color: #8c847a; line-height: 1.45; }
.cookie-tag { font-size: .72rem; color: #6b6560; white-space: nowrap; }

/* —— Responsive —— */
@media (max-width: 1024px) {
    .review-card--featured { grid-template-columns: 1fr; }
    .product-review-hero.has-image { grid-template-columns: 100px 1fr; }
    .product-review-hero-thumb { width: 100px; }
    .catalog, .layout-split, .footer-grid { grid-template-columns: 1fr; }
}

/* —— User reviews —— */
.user-reviews-section { padding: 3rem 0; background: var(--paper-warm); border-block: 1px solid var(--line); scroll-margin-top: 5.5rem; }
.reviews-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.reviews-list-col { display: grid; gap: .85rem; }
.reviews-list { display: grid; gap: .85rem; }
.reviews-list-footer { display: grid; gap: .45rem; }
.reviews-list-footer[hidden] { display: none !important; }
.reviews-shown-meta {
    margin: 0;
    font-size: .8rem;
    color: var(--muted);
    text-align: center;
}
.reviews-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: -0.75rem 0 1.5rem;
}
.reviews-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-white);
    color: var(--ink-soft);
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.reviews-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-deep);
    background: var(--gold-soft);
}
.reviews-filter-btn.is-active {
    border-color: var(--gold);
    color: var(--gold-deep);
    background: var(--gold-soft);
    box-shadow: inset 0 0 0 1px rgba(201, 146, 10, 0.18);
}
.reviews-filter-count {
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted);
}
.reviews-filter-btn.is-active .reviews-filter-count { color: var(--gold-deep); }
.reviews-filter-empty {
    margin: 0;
    padding: 1rem 1.15rem;
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius-lg);
    font-size: .9rem;
    color: var(--muted);
    background: var(--paper-white);
}
.reviews-empty { color: var(--muted); font-size: .92rem; margin: 0; }
.user-review {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
}
.user-review-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .65rem; flex-wrap: wrap; }
.user-review-meta { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.review-author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -.02em;
}
.review-author-avatar--tone-0 { background: var(--teal-soft); color: var(--teal); }
.review-author-avatar--tone-1 { background: var(--gold-soft); color: var(--gold-deep); }
.review-author-avatar--tone-2 { background: #e8f3ec; color: var(--success); }
.review-author-avatar--tone-3 { background: var(--star-rating-soft); color: #c24d00; }
.review-author-avatar--tone-4 { background: #e8eef8; color: #355a9b; }
.review-author-avatar--tone-5 { background: #f0e8f5; color: #6b458f; }
.review-author-avatar--tone-6 { background: #fdecef; color: #a63d52; }
.review-author-avatar--tone-7 { background: #f1ebe3; color: #7a5c3e; }
.user-review-author { font-size: .95rem; color: var(--ink); }
.user-review-head time { display: block; font-size: .75rem; color: var(--muted); margin-top: .15rem; }
.user-review-comment { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.65; }

.review-form-box {
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}
.user-review--own { border-color: rgba(10, 107, 98, 0.35); box-shadow: inset 0 0 0 1px rgba(10, 107, 98, 0.08); }
.user-review-you { font-size: .78rem; font-weight: 600; color: var(--teal); }
.review-own-summary { display: grid; gap: .85rem; }
.review-own-summary[hidden],
#review-form-panel[hidden] {
    display: none !important;
}
.review-own-preview {
    display: grid;
    gap: .65rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}
.review-own-comment {
    margin: 0;
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.6;
    white-space: pre-wrap;
}
.review-form-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.review-form-actions .btn-primary { flex: 1 1 auto; }
.review-form-box .review-form-heading { margin: 0 0 .35rem; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.review-form-note { margin: 0 0 1rem; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.review-form { display: grid; gap: .85rem; }
.field-hint { margin: 0; font-size: .75rem; color: var(--muted); line-height: 1.45; }
.field-counter {
    margin: 0;
    font-size: .72rem;
    color: var(--muted);
    text-align: right;
    line-height: 1.3;
}
.field-counter.is-near-limit { color: var(--gold-deep); }
.field-counter.is-at-limit { color: var(--danger); font-weight: 600; }
.form-field { display: grid; gap: .35rem; }
.form-field label, .field-label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field textarea {
    width: 100%;
    max-width: 100%;
    padding: .65rem .75rem;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    font: inherit;
    background: var(--paper);
}
.form-field textarea {
    resize: vertical;
    min-height: 7.5rem;
}
.form-field input:focus, .form-field textarea:focus {
    outline: 2px solid var(--teal-soft);
    border-color: var(--teal);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.star-input { display: flex; gap: .15rem; }
.star-input-btn {
    background: none;
    border: none;
    font-size: 1.65rem;
    color: var(--line-dark);
    cursor: pointer;
    padding: .1rem;
    line-height: 1;
    transition: color .12s, transform .12s;
}
.star-input-btn.is-active,
.star-input-btn.is-preview {
    color: var(--star-rating);
    transform: scale(1.08);
}
.btn-block { width: 100%; }
.form-error { margin: 0; font-size: .82rem; color: var(--danger); }
.form-success { margin: 0; font-size: .82rem; color: var(--success); font-weight: 600; }

.product-user-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.product-user-rating-text { font-size: .88rem; color: var(--ink-soft); }
.product-no-reviews { margin: 0 0 1rem; font-size: .88rem; }

.review-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.review-modal[hidden] { display: none; }
.review-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 19, 18, 0.55); }
.review-modal-dialog {
    position: relative;
    width: min(420px, 100%);
    background: var(--paper-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.review-modal-title { margin: 0 0 .35rem; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.review-modal-desc { margin: 0 0 1rem; font-size: .88rem; color: var(--muted); }
.review-modal-question {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 .75rem;
    text-align: center;
    color: var(--ink);
}
.review-modal-dialog label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.review-modal-dialog input[type="number"] {
    width: 100%;
    margin: .35rem 0 1rem;
    padding: .65rem .75rem;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    font: inherit;
    font-size: 1.1rem;
    text-align: center;
}
.review-modal-actions { display: flex; gap: .55rem; justify-content: flex-end; }

.adsense-gate-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.adsense-gate-modal[hidden] { display: none; }
body.is-adsense-gate-open { overflow: hidden; }
.adsense-gate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 19, 18, 0.62);
}
.adsense-gate-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: var(--paper-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.35rem 1.35rem 1.5rem;
}
.adsense-gate-title {
    margin: 0 0 .35rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
}
.adsense-gate-desc {
    margin: 0 0 1rem;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.55;
}
.adsense-gate-ad {
    min-height: 280px;
    margin-bottom: 1rem;
}
.adsense-gate-ad .adsbygoogle {
    display: block;
    min-height: 280px;
    width: 100%;
}
.adsense-gate-timer {
    margin: 0 0 1rem;
    text-align: center;
    font-size: .92rem;
    color: var(--ink-soft);
}
.adsense-gate-timer strong {
    color: var(--teal-deep);
    font-size: 1.1rem;
}
.adsense-gate-actions {
    display: flex;
    justify-content: center;
}
.adsense-gate-actions .btn {
    min-width: 220px;
}
.adsense-gate-actions .btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

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

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; row-gap: 0; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
        gap: .25rem;
        width: 100%;
        order: 3;
        padding: .75rem 0 1rem;
        border-top: 1px solid var(--line);
        margin-top: .75rem;
    }
    .header-search {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        margin: .35rem 0 0;
    }
    .main-nav a {
        border-radius: var(--radius);
        padding: .75rem 1rem;
        font-size: 1rem;
    }
    .site-header.is-nav-open .main-nav { display: flex; }
}

@media (max-width: 640px) {
    .brand-text small { display: none; }
    .category-explorer .section-header--stack {
        margin-bottom: .25rem;
        gap: .75rem 1rem;
    }
    .category-explorer-toolbar {
        margin-bottom: 1.75rem;
    }
    .category-card-main { grid-template-columns: auto 1fr auto; padding: 1rem 1rem .65rem; }
    .category-card-title { font-size: 1rem; line-height: 1.35; }
    .category-card-meta { margin-top: .35rem; }
    .category-card-subs {
        padding: .85rem 1rem 1.1rem;
        gap: .5rem;
    }
    .section-header--stack { align-items: flex-start; }
    .hero-editorial { padding: 2.5rem 0 3rem; }
    .review-card { grid-template-columns: 88px 1fr; gap: .85rem; padding: .85rem; }
    .review-card--featured .review-card-content { padding: 1.25rem; }
    .reviews-grid { grid-template-columns: 1fr; }
    .product-review-hero-inner { grid-template-columns: 1fr; }
    .product-review-hero.has-image .product-review-hero-thumb { width: 100%; max-width: 200px; }
    .product-grid.is-formats { grid-template-columns: 1fr; }
    .product-card.is-format { flex-direction: row; min-height: 0; }
    .product-card.is-format .product-card-media { width: 112px; }
    .product-card-title { font-size: .92rem; }
    .product-card-price { font-size: 1.05rem; }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions .btn { flex: 1; }
}
