/*
Theme Name: Relaxbuy
Theme URI: https://relaxbuy.com
Author: Relaxbuy
Description: A minimal organic shopping guide theme
Version: 1.0
*/

:root {
    --color-bg: #ffffff;
    --color-bg-light: #f7f6f4;
    --color-bg-card: #f2f0ec;
    --color-text: #1a1a1a;
    --color-text-muted: #888888;
    --color-text-light: #aaaaaa;
    --color-border: #e8e5df;
    --color-border-light: #f0ece3;
    --color-accent: #b8952a;
    --color-accent-hover: #9a7c22;
    --color-badge-new: #4a7c59;
    --color-badge-sale: #c0392b;
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Jost', 'Helvetica Neue', sans-serif;
    --font-ui: 'Jost', 'Helvetica Neue', sans-serif;
    --radius: 0px;
    --transition: 0.2s ease;
    --shadow: 0 2px 12px rgba(0,0,0,0.07);
    --shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
    --container: 1160px;
    --container-pad: 40px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 40px;
}

.site-header__logo {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.site-header__logo img {
    height: 36px;
    width: auto;
}

.site-header__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.site-header__nav a {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.site-header__nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width var(--transition);
}

.site-header__nav a:hover::after,
.site-header__nav a.current-menu-item::after { width: 100%; }

.site-header__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-search {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition);
}

.btn-search:hover { opacity: 0.6; }

.btn-search svg { width: 20px; height: 20px; }

/* ── SEARCH OVERLAY ── */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(255,255,255,0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.search-overlay__inner {
    width: 100%;
    max-width: 600px;
    padding: 0 40px;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.search-overlay.active .search-overlay__inner { transform: translateY(0); }

.search-overlay__form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--color-text);
    padding-bottom: 12px;
    gap: 12px;
}

.search-overlay__input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    background: transparent;
    color: var(--color-text);
}

.search-overlay__input::placeholder { color: var(--color-text-light); }

.search-overlay__submit {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 4px;
}

.search-overlay__submit svg { width: 24px; height: 24px; }

.search-overlay__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--color-text);
    line-height: 1;
    padding: 8px;
    transition: opacity var(--transition);
}

.search-overlay__close:hover { opacity: 0.5; }

.search-overlay__hint {
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ── BREADCRUMB ── */
.breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.breadcrumb__list a { transition: color var(--transition); }
.breadcrumb__list a:hover { color: var(--color-text); }
.breadcrumb__sep { color: var(--color-border); }

/* ── PAGE TITLE ── */
.page-title-bar {
    padding: 32px 0 0;
}

.page-title-bar h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 6px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: #fff;
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

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

/* ── BADGE ── */
.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge-new { background: var(--color-badge-new); color: #fff; }
.badge-sale { background: var(--color-badge-sale); color: #fff; }

/* ── PRODUCT CARD ── */
.product-card {
    position: relative;
    cursor: pointer;
}

.product-card__img-wrap {
    position: relative;
    background: var(--color-bg-card);
    overflow: hidden;
    aspect-ratio: 1 / 1.05;
    margin-bottom: 14px;
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__img-wrap img {
    transform: scale(1.04);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.product-card__quick-view {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.92);
    border: none;
    padding: 6px 12px;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--color-text);
}

.product-card:hover .product-card__quick-view { opacity: 1; }

.product-card__info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text);
    transition: color var(--transition);
    flex: 1;
}

.product-card:hover .product-card__name { color: var(--color-accent); }

.product-card__cat {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.product-card__price {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
}

.product-card__price .orig {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

/* ── PRODUCT GRID ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
}

.product-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ── SHOP WITH SIDEBAR ── */
.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
    padding: 40px 0 80px;
}

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 88px; }

.sidebar-widget { margin-bottom: 36px; }

.sidebar-widget__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-featured__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-featured__item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.sidebar-featured__img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    background: var(--color-bg-card);
    flex-shrink: 0;
}

.sidebar-featured__name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
}

.sidebar-featured__price {
    font-size: 12px;
    color: var(--color-text-muted);
}

.sidebar-featured__price .old {
    text-decoration: line-through;
    margin-right: 4px;
}

.sidebar-cats a {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 5px 0;
    transition: color var(--transition);
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-cats a:last-child { border-bottom: none; }
.sidebar-cats a:hover { color: var(--color-text); }

.sidebar-social {
    display: flex;
    gap: 12px;
}

.sidebar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    font-size: 14px;
}

.sidebar-social a:hover {
    border-color: var(--color-text);
    background: var(--color-text);
    color: #fff;
}

/* ── INDEX / HOME ── */
.home-hero {
    background: var(--color-bg-card);
    padding: 80px 0;
    text-align: center;
}

.home-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    font-style: italic;
}

.home-hero p {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto 28px;
}

.home-section { padding: 64px 0; }

.home-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 36px;
}

.home-section__header h2 {
    font-size: 1.6rem;
}

.home-section__header a {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2px;
    transition: all var(--transition);
}

.home-section__header a:hover {
    color: var(--color-text);
    border-color: var(--color-text);
}

/* ── SINGLE PRODUCT ── */
.single-product {
    padding: 0 0 80px;
}

.single-product__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.single-product__gallery {
    display: flex;
    gap: 12px;
}

.single-product__thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 72px;
    flex-shrink: 0;
}

.single-product__thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    background: var(--color-bg-card);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}

.single-product__thumb.active,
.single-product__thumb:hover { border-color: var(--color-text); }

.single-product__main-wrap {
    flex: 1;
    position: relative;
    background: var(--color-bg-card);
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
}

.single-product__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.single-product__main-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}

.single-product__info { padding-top: 8px; }

.single-product__cats {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.single-product__title {
    font-size: 2.2rem;
    font-style: italic;
    margin-bottom: 16px;
}

.single-product__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.single-product__price .current {
    font-size: 1.6rem;
    font-weight: 500;
}

.single-product__price .original {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.single-product__stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.stars { color: var(--color-accent); font-size: 14px; letter-spacing: 2px; }

.single-product__stars span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.single-product__desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border);
}

.single-product__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.single-product__buy-btn {
    flex: 1;
    min-width: 160px;
}

.single-product__meta {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 2;
}

.single-product__meta strong {
    color: var(--color-text);
    font-weight: 600;
    display: inline-block;
    width: 80px;
}

/* Agent Links */
.agent-links {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.agent-links__title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.agent-links__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agent-links__item {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: all var(--transition);
}

.agent-links__item:hover {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

/* Size / SKU */
.sku-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.sku-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 16px;
}

.sku-tab {
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: var(--font-ui);
    transition: all var(--transition);
}

.sku-tab.active { color: var(--color-text); border-bottom-color: var(--color-text); }

.sku-panel { display: none; }
.sku-panel.active { display: flex; flex-wrap: wrap; gap: 6px; }

.sz-btn {
    padding: 7px 10px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: default;
    font-family: var(--font-ui);
    min-width: 44px;
    text-align: center;
    color: var(--color-text);
}

.sz-btn.unavail {
    color: var(--color-text-light);
    border-color: var(--color-border-light);
    background: #fafafa;
    text-decoration: line-through;
}

/* ── PRODUCT TABS ── */
.product-tabs { margin-top: 56px; }

.product-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 32px;
}

.product-tab-btn {
    padding: 12px 20px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}

.product-tab-btn.active { color: var(--color-text); border-bottom-color: var(--color-text); }

.product-tab-panel { display: none; }
.product-tab-panel.active { display: block; }

.product-tab-panel__content {
    font-size: 14px;
    line-height: 1.85;
    color: var(--color-text-muted);
    max-width: 720px;
}

.product-tab-panel__content p { margin-bottom: 1.2em; }

/* ── RELATED PRODUCTS ── */
.related-products {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.related-products h2 { font-size: 1.4rem; margin-bottom: 28px; }

/* ── BLOG GRID ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.blog-card { cursor: pointer; }

.blog-card__img-wrap {
    background: var(--color-bg-card);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
}

.blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img-wrap img { transform: scale(1.04); }

.blog-card__cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.blog-card__cat {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1px;
}

.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.blog-card:hover .blog-card__title { color: var(--color-accent); }

.blog-card__excerpt {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-card__meta {
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
}

/* ── SINGLE BLOG ── */
.single-blog {
    padding: 0 0 80px;
}

.single-blog__layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.single-blog__main { min-width: 0; }

.single-blog__hero {
    background: var(--color-bg-card);
    padding: 40px 48px;
    margin-bottom: 36px;
    position: relative;
}

.single-blog__hero::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--color-border);
    line-height: 1;
}

.single-blog__hero-cats {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.single-blog__hero-cats span {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.single-blog__hero blockquote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--color-text);
}

.single-blog__content {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.single-blog__content p { margin-bottom: 1.4em; }
.single-blog__content h2, .single-blog__content h3 {
    color: var(--color-text);
    margin: 2em 0 0.7em;
    font-style: italic;
}

.single-blog__author {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: var(--color-bg-light);
    margin: 40px 0;
}

.single-blog__author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.single-blog__author-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 4px;
}

.single-blog__author-bio {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.single-blog__author-social {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.single-blog__author-social a {
    font-size: 13px;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.single-blog__author-social a:hover { color: var(--color-text); }

/* Related Posts */
.related-posts { margin-top: 48px; }
.related-posts h2 { font-size: 1.3rem; margin-bottom: 24px; }

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-post-card {
    background: var(--color-bg-light);
    padding: 20px;
    position: relative;
}

.related-post-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--color-border);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.related-post-card p {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Comments */
.comments-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.comments-section h2 { font-size: 1.3rem; margin-bottom: 28px; }

.comment-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.comment-item:last-child { border-bottom: none; }

.comment-item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.comment-author { font-weight: 600; font-size: 13px; }
.comment-date { font-size: 11px; color: var(--color-text-muted); }

.comment-reply {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition);
}

.comment-reply:hover { color: var(--color-text); }

.comment-body {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Comment form */
.comment-form { margin-top: 40px; }
.comment-form h3 { font-size: 1.2rem; margin-bottom: 20px; }

.comment-form p {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text);
    background: #fff;
    outline: none;
    transition: border-color var(--transition);
}

.form-field input:focus,
.form-field textarea:focus { border-color: var(--color-text); }

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

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input { margin-top: 2px; flex-shrink: 0; }
.form-check label { font-size: 12px; color: var(--color-text-muted); }

/* Blog sidebar */
.blog-sidebar { position: sticky; top: 88px; }

.blog-sidebar .author-card {
    text-align: center;
    margin-bottom: 36px;
}

.blog-sidebar .author-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
}

.blog-sidebar .author-card h4 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.blog-sidebar .author-card p {
    font-size: 12px;
    color: var(--color-text-muted);
}

.sidebar-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    margin-bottom: 8px;
}

.sidebar-search input {
    flex: 1;
    padding: 9px 12px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 13px;
    background: transparent;
}

.sidebar-search button {
    padding: 9px 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    transition: color var(--transition);
}

.sidebar-search button:hover { color: var(--color-text); }

.recent-posts__item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border-light);
}

.recent-posts__item:last-child { border-bottom: none; }

.recent-posts__date {
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 3px;
}

.recent-posts__title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    transition: color var(--transition);
}

.recent-posts__title:hover { color: var(--color-accent); }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.tag-link {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--color-border);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.tag-link:hover {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

/* ── PAGE ── */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 0 80px;
}

.page-content h1 {
    font-size: 2.4rem;
    font-style: italic;
    margin-bottom: 32px;
}

.page-content__body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text-muted);
}

.page-content__body p { margin-bottom: 1.4em; }
.page-content__body h2,
.page-content__body h3 {
    color: var(--color-text);
    margin: 2em 0 0.7em;
}

/* ── PAGINATION ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    color: var(--color-text);
}

.pagination a:hover,
.pagination .current {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

/* ── FOOTER ── */
.site-footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 56px 0 32px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
    transition: color var(--transition);
    display: block;
}

.footer-col a:hover { color: var(--color-text); }

.footer-col__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-payment-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.payment-icon {
    height: 24px;
    width: auto;
    border: 1px solid var(--color-border);
    padding: 2px 6px;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: var(--color-bg-light);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-text-muted);
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    font-size: 13px;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.footer-social a:hover { color: var(--color-text); }

/* ── NO RESULTS ── */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-muted);
}

.no-results h2 { font-size: 1.4rem; margin-bottom: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    :root { --container-pad: 24px; }

    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .shop-layout { grid-template-columns: 200px 1fr; gap: 32px; }
    .single-product__layout { gap: 36px; }
    .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .site-header__nav { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
    .shop-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; display: none; }
    .single-product__layout { grid-template-columns: 1fr; }
    .single-product__gallery { flex-direction: column-reverse; }
    .single-product__thumbs { flex-direction: row; width: 100%; }
    .single-blog__layout { grid-template-columns: 1fr; }
    .blog-sidebar { display: none; }
    .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .home-hero h1 { font-size: 2.4rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
    .blog-grid { grid-template-columns: 1fr; }
    .related-posts__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .single-product__actions { flex-direction: column; }
}

/* ── HOME PRODUCT GRID — 4列竖版大图 ── */
.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 20px;
}

.home-product-card { position: relative; }

.home-product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-product-card__img-wrap {
    position: relative;
    background: var(--color-bg-card);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin-bottom: 12px;
}

.home-product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.home-product-card__link:hover .home-product-card__img-wrap img {
    transform: scale(1.05);
}

.home-product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.home-product-card__info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.home-product-card__title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-text);
    transition: color 0.2s ease;
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-product-card__link:hover .home-product-card__title { color: var(--color-accent); }

.home-product-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 1px;
}

.home-product-card__price-orig {
    font-size: 11px;
    color: var(--color-text-light);
    text-decoration: line-through;
    line-height: 1;
}

.home-product-card__price-current {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ── HOME BLOG LIST ── */
.home-blog-section {
    background: var(--color-bg-light);
    padding: 56px 0;
    margin-top: 8px;
}

.home-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 48px;
}

.home-blog-list__item {
    break-inside: avoid;
    border-bottom: 1px solid var(--color-border);
}

.home-blog-list__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.home-blog-list__link:hover { color: var(--color-accent); }

.home-blog-list__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    flex: 1;
    color: inherit;
}

.home-blog-list__date {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 0.07em;
    color: var(--color-text-light);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* ── PAGINATION (category pages) ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 40px 0 16px;
    list-style: none;
}

.pagination .page-numbers,
.pagination a.page-numbers,
.pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--color-border);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-text);
    text-decoration: none;
    background: var(--color-bg);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pagination a.page-numbers:hover {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #fff;
}

.pagination span.current {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #fff;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
}

.pagination .dots {
    border: none;
    background: transparent;
    color: var(--color-text-light);
    pointer-events: none;
}

/* ── RESPONSIVE HOME GRID ── */
@media (max-width: 1024px) {
    .home-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .home-product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
    .home-blog-list { columns: 1; }
}

@media (max-width: 480px) {
    .home-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 8px; }
}