/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

/* ── Design tokens (from Kiosko theme.json) ──────────────────────────────── */
:root {
  --color-base:      #ffffff;
  --color-contrast:  #3b3b3b;
  --color-primary:   #000000;
  --color-tertiary:  #c6c6c6;

  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Roboto', sans-serif;

  --content-size: 586px;
  --wide-size:    1200px;

  --sp-30: 0.5rem;
  --sp-40: 0.875rem;
  --sp-50: 1.75rem;
  --sp-60: 2.625rem;
  --sp-70: 3.5rem;
  --sp-80: 5.25rem;

  --fs-xs:    0.781rem;
  --fs-small: 0.938rem;
  --fs-med:   1rem;
  --fs-large: 1.25rem;
  --fs-xl:    1.75rem;
  --fs-xxl:   2.375rem;
  --fs-xxxl:  3.563rem;
}

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

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-med);
  line-height: 1.555555556;
  background-color: var(--color-base);
  color: var(--color-contrast);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
}

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

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 0.05em;
}
a:hover { color: var(--color-contrast); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.125;
  text-transform: uppercase;
  color: var(--color-primary);
}
h1 { font-size: var(--fs-xxxl); line-height: 0.992; font-weight: 500; }
h2 { font-size: var(--fs-xxl); line-height: 1.08; }
h3 { font-size: var(--fs-xl);  line-height: 1.16; }
h4 { font-size: var(--fs-large); line-height: 1.48; }

p { line-height: calc(1em + 0.625rem); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-base);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  padding: calc(0.667em + 2px) calc(1.334rem + 2px);
  border-radius: 0.25rem;
  border: none;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s;
}
.btn:hover  { background-color: var(--color-contrast); color: var(--color-base); text-decoration: none; }

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background-color: var(--color-contrast); border-color: var(--color-contrast); color: var(--color-base); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  background-color: var(--color-primary);
  color: var(--color-base);
  padding: var(--sp-40) var(--sp-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-50);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-title {
  font-family: var(--font-heading);
  font-size: var(--fs-large);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-base);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-title:hover { color: var(--color-tertiary); text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-50);
  font-size: var(--fs-small);
  flex: 1;
  justify-content: flex-end;
}
.site-nav a { color: var(--color-base); text-decoration: none; }
.site-nav a:hover, .site-nav a.active { color: var(--color-tertiary); text-decoration: underline; }

.lang-switcher {
  display: flex;
  gap: var(--sp-30);
  font-size: var(--fs-xs);
}
.lang-switcher a {
  color: var(--color-base);
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--color-tertiary);
  border-radius: 0.25rem;
  text-decoration: none;
  opacity: 0.7;
}
.lang-switcher a.active, .lang-switcher a:hover {
  opacity: 1;
  border-color: var(--color-base);
}

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

.content-wide {
  max-width: var(--wide-size);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-50);
  padding-right: var(--sp-50);
}

/* ── Hero / intro section ────────────────────────────────────────────────── */
.hero-section {
  border-top: 4px solid var(--color-primary);
  border-bottom: 4px solid var(--color-primary);
  padding-top: var(--sp-70);
  padding-bottom: var(--sp-70);
}

.hero-section h1 {
  margin-bottom: var(--sp-40);
}

.hero-body {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-50);
  margin-top: var(--sp-40);
}

.hero-text { flex: 1; font-size: var(--fs-small); }
.hero-text p { margin-bottom: var(--sp-40); }

.hero-image { flex-shrink: 0; width: 320px; }
.hero-image img { width: 100%; border-radius: 0; }
.hero-image figcaption {
  font-size: var(--fs-xs);
  color: var(--color-tertiary);
  margin-top: var(--sp-30);
  line-height: 1.4;
}

/* ── Workshops grid ──────────────────────────────────────────────────────── */
.workshops-section {
  padding-top: var(--sp-70);
  padding-bottom: var(--sp-70);
}

.workshops-section h2 { margin-bottom: var(--sp-50); }

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-50);
}

.workshop-card {
  border: 1px solid var(--color-tertiary);
  display: flex;
  flex-direction: column;
}
.workshop-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.workshop-card-body { padding: var(--sp-50); flex: 1; display: flex; flex-direction: column; gap: var(--sp-40); }
.workshop-card h3 { font-size: var(--fs-xl); margin-bottom: 0; }
.workshop-card p  { font-size: var(--fs-small); flex: 1; }
.workshop-card .price-range { font-size: var(--fs-small); color: var(--color-contrast); }
.workshop-card .btn { align-self: flex-start; margin-top: auto; }

/* ── Inner page sections ─────────────────────────────────────────────────── */
.page-section {
  border-top: 4px solid var(--color-primary);
  border-bottom: 4px solid var(--color-primary);
  padding-top: var(--sp-70);
  padding-bottom: var(--sp-70);
  margin-bottom: var(--sp-70);
}

.page-section h1 {
  margin-bottom: var(--sp-40);
}

/* ── Workshop detail page ────────────────────────────────────────────────── */
.workshop-detail {
  padding: var(--sp-70) 0;
}

.workshop-detail-header {
  border-top: 4px solid var(--color-primary);
  border-bottom: 4px solid var(--color-primary);
  padding: var(--sp-70) 0;
  margin-bottom: var(--sp-70);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-60);
}
.workshop-detail-header h1 { margin-bottom: var(--sp-40); }
.workshop-detail-header p  { font-size: var(--fs-small); max-width: 520px; }

.workshop-detail-image { flex-shrink: 0; width: 360px; }
.workshop-detail-image img { width: 100%; }

.workshop-meta {
  font-size: var(--fs-small);
  color: var(--color-contrast);
  opacity: 0.75;
  margin-bottom: var(--sp-50);
}

.pricing-block h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-40); }
.pricing-table  { border: 1px solid var(--color-tertiary); margin-bottom: var(--sp-50); }
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: var(--fs-small);
  border-bottom: 1px solid var(--color-tertiary);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: #f9f9f9; }
.pricing-row strong { font-weight: 500; }

.visit-list { padding-left: 1.4rem; font-size: var(--fs-small); }
.visit-list li { margin-bottom: var(--sp-40); line-height: 1.7; }
.visit-list strong { font-family: var(--font-heading); font-size: var(--fs-med); text-transform: uppercase; }

.upgrade-note {
  border: 1px solid var(--color-tertiary);
  padding: var(--sp-50);
  font-size: var(--fs-small);
  margin: var(--sp-50) 0;
}

.page-nav { display: flex; gap: var(--sp-40); flex-wrap: wrap; margin-top: var(--sp-50); }

/* ── Кружок page ─────────────────────────────────────────────────────────── */
.kruzhok-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-40);
  margin: var(--sp-70) 0;
}
.kruzhok-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.kruzhok-intro {
  font-size: var(--fs-large);
  font-style: italic;
  max-width: 640px;
  margin: var(--sp-50) 0;
  line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-base);
  padding: var(--sp-70) var(--sp-50);
}

.footer-inner {
  max-width: var(--wide-size);
  margin: 0 auto;
  display: flex;
  gap: var(--sp-60);
  padding: var(--sp-70) 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-brand { flex: 0 0 40%; }
.footer-brand .site-title { font-size: var(--fs-med); display: block; margin-bottom: var(--sp-40); }
.footer-brand p { font-size: var(--fs-small); opacity: 0.7; }

.footer-nav { flex: 1; }
.footer-nav h3 { color: var(--color-base); font-size: var(--fs-small); margin-bottom: var(--sp-40); }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-30); }
.footer-nav a { color: var(--color-base); font-size: var(--fs-small); opacity: 0.7; }
.footer-nav a:hover { opacity: 1; }

.footer-contacts {
  display: flex;
  gap: var(--sp-24);
  flex-wrap: wrap;
  margin: var(--sp-40) 0 var(--sp-16);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-sm);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-contact-link:hover { opacity: 1; }

.footer-bottom {
  max-width: var(--wide-size);
  margin: var(--sp-40) auto 0;
  font-size: var(--fs-xs);
  opacity: 0.5;
}

/* ── Shop ────────────────────────────────────────────────────────────────── */
.shop-header {
  padding: var(--sp-64) 0 var(--sp-40);
  border-bottom: 4px solid var(--color-primary);
  margin-bottom: var(--sp-40);
}

.shop-subtitle {
  font-size: var(--fs-md);
  max-width: 600px;
  margin-top: var(--sp-16);
  opacity: 0.75;
}

.shop-filters {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-bottom: var(--sp-40);
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-32);
  margin-bottom: var(--sp-64);
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }

.product-card__body {
  padding: var(--sp-16) var(--sp-16) var(--sp-24);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

.product-card__desc {
  font-size: var(--fs-sm);
  opacity: 0.7;
  flex: 1;
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
}

.product-card__sold {
  display: inline-block;
  background: #e0e0e0;
  color: #666;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 10px;
}

.product-card__cta {
  display: inline-block;
  margin-top: var(--sp-8);
  padding: 10px 20px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  text-align: center;
}
.product-card__cta:hover { opacity: 0.8; }

.shop-empty {
  text-align: center;
  padding: var(--sp-64) 0;
  font-size: var(--fs-md);
  opacity: 0.6;
}
.shop-empty a { color: var(--color-primary); }
.shop-empty:not(:only-child) { display: none; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-body { flex-direction: column; }
  .hero-image { width: 100%; }
  .workshop-detail-header { flex-direction: column; }
  .workshop-detail-image { width: 100%; }
  .kruzhok-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: var(--sp-50); }
  .footer-brand { flex: none; }
}

@media (max-width: 600px) {
  h1 { font-size: var(--fs-xxl); }
  .site-header { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; justify-content: flex-start; }
  .kruzhok-gallery { grid-template-columns: 1fr; }
  .workshops-grid { grid-template-columns: 1fr; }
  .hero-section, .page-section { padding-top: var(--sp-60); padding-bottom: var(--sp-60); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE  —  Etsy-style layout
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
  font-size: var(--fs-xs);
  color: var(--color-tertiary);
  padding: var(--sp-40) var(--sp-50);
  max-width: var(--wide-size);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  align-items: center;
}
.breadcrumb a { color: var(--color-contrast); text-decoration: none; opacity: 0.6; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { opacity: 0.9; }

/* ── Two-column wrapper ──────────────────────────────────────────────────── */
.product-layout {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 0 var(--sp-50) var(--sp-80);
}

.product-cols {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-70);
  align-items: start;
}

/* ── Image gallery ───────────────────────────────────────────────────────── */
.product-gallery {
  position: sticky;
  top: 64px;                /* clears the sticky header */
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f2ef;
  overflow: hidden;
  border-radius: 4px;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-main:hover img { transform: scale(1.04); }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #f5f2ef;
  transition: border-color 0.15s;
  flex-shrink: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb:hover  { border-color: var(--color-tertiary); }
.gallery-thumb.active { border-color: var(--color-primary); }

/* ── Info panel ──────────────────────────────────────────────────────────── */
.product-panel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-50);
}

.product-shop-name {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-contrast);
  opacity: 0.6;
  text-decoration: none;
}
.product-shop-name:hover { opacity: 1; text-decoration: underline; }

.product-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.08;
  color: var(--color-primary);
  margin: 0;
}

/* Stars + craft note */
.product-craft {
  display: flex;
  align-items: center;
  gap: var(--sp-40);
  font-size: var(--fs-xs);
  color: var(--color-contrast);
  opacity: 0.7;
}
.product-stars { color: #f5a623; letter-spacing: 1px; }

/* Price row */
.product-price-row {
  display: flex;
  align-items: center;
  gap: var(--sp-40);
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--font-heading);
  font-size: var(--fs-xxxl);
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
}
.product-price .currency { font-size: var(--fs-xl); vertical-align: super; }

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 2px;
}
.badge::before { content: "●"; font-size: 8px; }
.badge.available { background: #eaf7f0; color: #1a7a4a; }
.badge.available::before { color: #1a7a4a; }
.badge.sold       { background: #f5f5f5; color: #888; }
.badge.sold::before { color: #aaa; }

/* Action buttons */
.product-actions { display: flex; flex-direction: column; gap: 10px; }

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--fs-med);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.btn-primary:hover { background: var(--color-contrast); color: #fff; text-decoration: none; }
.btn-primary:disabled,
.btn-primary.disabled {
  background: #c6c6c6;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 13px 24px;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--fs-med);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-secondary:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* Highlights (handmade / ships / materials) */
.product-highlights {
  border-top: 1px solid #e8e4e0;
  border-bottom: 1px solid #e8e4e0;
  padding: var(--sp-40) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-40);
}

.highlight-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-40);
  font-size: var(--fs-small);
}
.highlight-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; width: 28px; text-align: center; }
.highlight-row strong { display: block; font-weight: 500; margin-bottom: 2px; }
.highlight-row p { margin: 0; opacity: 0.7; font-size: var(--fs-xs); }

/* Description accordion */
.product-section {
  border-top: 1px solid #e8e4e0;
  padding-top: var(--sp-40);
}

.product-section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-med);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: var(--sp-30);
}

.product-description {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-contrast);
  opacity: 0.85;
}

/* Tags */
.product-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-30);
}
.product-tag {
  font-size: var(--fs-xs);
  padding: 4px 12px;
  border: 1px solid #d0ccc8;
  border-radius: 20px;
  color: var(--color-contrast);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s, border-color 0.15s;
}
.product-tag:hover { opacity: 1; border-color: var(--color-primary); text-decoration: none; }

/* ── Product catalog grid ────────────────────────────────────────────────── */
.catalog-header {
  padding: var(--sp-70) 0 var(--sp-50);
  border-bottom: 4px solid var(--color-primary);
  margin-bottom: var(--sp-60);
}
.catalog-header h1 { font-size: var(--fs-xxl); }
.catalog-count { font-size: var(--fs-small); opacity: 0.5; margin-top: var(--sp-30); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-50);
  margin-bottom: var(--sp-80);
}
.product-grid .product-card { border: none; }
.product-grid .product-card a { text-decoration: none; color: inherit; }

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f5f2ef;
  display: block;
  transition: opacity 0.2s;
}
.product-card:hover img { opacity: 0.9; }
.product-card h2 {
  font-size: var(--fs-med);
  font-weight: 500;
  margin-top: var(--sp-30);
}
.product-card .price {
  font-size: var(--fs-small);
  opacity: 0.7;
  margin-top: 4px;
}
.product-card.sold img { filter: grayscale(0.3); }
.product-card.sold h2::after {
  content: " · Sold";
  font-size: var(--fs-xs);
  opacity: 0.5;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
}

/* ── Product page — mobile ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .product-cols {
    grid-template-columns: 1fr;
    gap: var(--sp-50);
  }
  .product-gallery { position: static; }
  .product-layout { padding-left: var(--sp-40); padding-right: var(--sp-40); }
}

@media (max-width: 600px) {
  .product-title { font-size: var(--fs-xl); }
  .product-price { font-size: var(--fs-xxl); }
  .gallery-thumb { width: 56px; height: 56px; }
  .breadcrumb { padding-left: var(--sp-40); padding-right: var(--sp-40); }
}

/* ── Catalog / Shop Page ────────────────────────────────────────────────── */

/* Shop banner */
.shop-banner {
  background: #faf7f4;
  border-bottom: 1px solid #e8e1d9;
  padding: var(--sp-50) 0;
}
.shop-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-50);
}
.shop-banner__avatar {
  font-size: 3.5rem;
  background: #fff;
  border: 2px solid #e8e1d9;
  border-radius: 50%;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.shop-banner__name {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.shop-banner__tagline {
  color: #6b6560;
  margin: 0 0 0.5rem;
  font-size: var(--fs-small);
}
.shop-banner__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  margin-bottom: 0.75rem;
  color: #6b6560;
}
.shop-banner__stars { color: #f1641e; letter-spacing: 0.05em; }
.shop-banner__sep { opacity: 0.5; }
.shop-banner__etsy {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 2px solid #f1641e;
  border-radius: 2rem;
  color: #f1641e;
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.shop-banner__etsy:hover { background: #f1641e; color: #fff; }

/* Catalog main */
.catalog-main { padding: var(--sp-50) 0 var(--sp-70); }

/* Filter tabs */
.catalog-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--sp-50);
  flex-wrap: wrap;
}
.catalog-filter {
  padding: 0.4rem 1rem;
  border: 1px solid #d6cfc7;
  border-radius: 2rem;
  background: #fff;
  cursor: pointer;
  font-size: var(--fs-small);
  font-family: var(--font-body);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.catalog-filter:hover { border-color: #333; }
.catalog-filter.active { background: #333; color: #fff; border-color: #333; }

/* Catalog grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-50);
}

/* Catalog card */
.catalog-card { border-radius: 4px; overflow: hidden; background: #fff; }
.catalog-card__link { text-decoration: none; color: inherit; display: block; }
.catalog-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f2ef;
}
.catalog-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.catalog-card__link:hover .catalog-card__img-wrap img { transform: scale(1.04); }
.catalog-card__no-image { width: 100%; height: 100%; background: #e8e1d9; }
.catalog-card__sold-ribbon {
  position: absolute;
  top: 0; left: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.catalog-card__body { padding: 0.75rem 0.5rem; }
.catalog-card__title {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  margin: 0 0 0.3rem;
  line-height: 1.4;
}
.catalog-card__price {
  font-weight: 600;
  font-size: var(--fs-med);
  color: #222;
  margin: 0;
}

@media (max-width: 768px) {
  .shop-banner__inner { flex-direction: column; align-items: flex-start; }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-40); }
}

/* ── Clay Philosophy Block ──────────────────────────────────────────────── */

.clay-philosophy {
  background: #faf7f4;
  border-left: 4px solid #c8a97e;
  border-radius: 0 6px 6px 0;
  padding: var(--sp-50) var(--sp-60);
  margin: var(--sp-60) 0;
  max-width: 760px;
}
.clay-philosophy p {
  margin: 0 0 1rem;
  font-size: var(--fs-large);
  line-height: 1.7;
  color: #3b3b3b;
}
.clay-philosophy p:last-child { margin-bottom: 0; }
.clay-philosophy__opener {
  font-family: var(--font-heading);
  font-size: var(--fs-xl) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #222 !important;
  margin-bottom: 1.25rem !important;
}
.clay-philosophy__closing {
  font-style: italic;
  font-weight: 500;
  color: #5a4a3a !important;
  margin-top: 0.5rem !important;
}

@media (max-width: 600px) {
  .clay-philosophy { padding: var(--sp-40); margin: var(--sp-50) 0; }
  .clay-philosophy p { font-size: var(--fs-med); }
  .clay-philosophy__opener { font-size: var(--fs-large) !important; }
}

/* ── Kruzhok Promo Banner ───────────────────────────────────────────────── */

.kruzhok-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-60);
  align-items: center;
  background: #f5f2ef;
  border-radius: 8px;
  padding: var(--sp-60);
  margin: var(--sp-70) 0;
}
.kruzhok-promo__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8a97e;
  margin-bottom: 0.6rem;
}
.kruzhok-promo h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  margin: 0 0 var(--sp-40);
}
.kruzhok-promo p {
  color: #5a5248;
  line-height: 1.7;
  margin: 0 0 var(--sp-50);
}
.kruzhok-promo__image {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.kruzhok-promo__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Latest Works Section ───────────────────────────────────────────────── */

.latest-works {
  margin: var(--sp-70) 0 var(--sp-60);
}
.latest-works__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-50);
}
.latest-works__head h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xxl);
  margin: 0;
}
.latest-works__all {
  font-size: var(--fs-small);
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.latest-works__all:hover { color: #c8a97e; border-color: #c8a97e; }

@media (max-width: 768px) {
  .kruzhok-promo {
    grid-template-columns: 1fr;
    padding: var(--sp-50);
    gap: var(--sp-50);
  }
  .kruzhok-promo__image { order: -1; aspect-ratio: 16 / 9; }
}
