/* ──────────────────────────────────────────────
   UrgrensGrenki — Publii theme for Уральские гренки
   Design system: Skeumorphism (bound tokens)
   ────────────────────────────────────────────── */

/* ─── Tokens ─────────────────────────────────── */
:root {
  --bg: #f7eee6;
  --surface: #fff8f1;
  --surface-warm: #ead6c7;
  --fg: #2b211c;
  --fg-2: #5a4b43;
  --muted: #8a7a70;
  --meta: #b46a46;
  --border: #dac8b9;
  --border-soft: #eaded4;
  --accent: #b46a46;
  --accent-on: #ffffff;
  --accent-hover: color-mix(in oklab, var(--accent), black 8%);
  --accent-active: color-mix(in oklab, var(--accent), black 14%);
  --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);
  --success: #4d8f5a;
  --warn: #c88735;
  --danger: #b84c4c;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-2xl: 36px;
  --text-3xl: 54px;
  --text-4xl: 76px;
  --leading-body: 1.52;
  --leading-tight: 1.06;
  --tracking-display: -0.025em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --section-y-desktop: 96px;
  --section-y-tablet: 68px;
  --section-y-phone: 48px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 9999px;
  --elev-flat: none;
  --elev-ring: 0 0 0 1px var(--border);
  --elev-raised: 8px 10px 24px rgba(128, 92, 70, 0.18), -8px -8px 20px rgba(255, 255, 255, 0.70);
  --focus-ring: 0 0 0 4px rgba(180, 106, 70, 0.24);
  --motion-fast: 150ms;
  --motion-base: 240ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --container-max: 1180px;
  --container-gutter-desktop: 36px;
  --container-gutter-tablet: 24px;
  --container-gutter-phone: 16px;
}

/* ─── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: var(--accent); text-decoration: none; transition: color var(--motion-fast) var(--ease-standard); }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4, h5 { text-wrap: balance; font-weight: 400; }

/* ─── Container ──────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter-desktop);
}
@media (max-width: 768px) {
  .container { padding-inline: var(--container-gutter-tablet); }
}
@media (max-width: 480px) {
  .container { padding-inline: var(--container-gutter-phone); }
}

/* ─── Typography ─────────────────────────────── */
h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  margin: 0 0 var(--space-4);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}
h4, .h4 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-1);
}
.lead {
  font-size: var(--text-lg);
  color: var(--fg-2);
  max-width: 60ch;
  line-height: var(--leading-body);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-4);
}
.meta {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  h1, .h1 { font-size: var(--text-3xl); }
  h2, .h2 { font-size: var(--text-2xl); }
}

/* ─── Header / Navigation ────────────────────── */
.header {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  padding: var(--space-4) 0;
  box-shadow: var(--elev-raised);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.header-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--fg);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header-logo:hover { color: var(--accent); }
.header-logo img { max-height: 48px; width: auto; }
.header-logo-img { height: 48px; width: auto; display: block; }

.nav-menu {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: var(--text-base);
  color: var(--fg-2);
  padding: var(--space-1) 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  color: var(--fg);
  cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: var(--space-4) var(--container-gutter-tablet);
    border-bottom: 2px solid var(--border);
    box-shadow: var(--elev-raised);
  }
  .nav-menu.open { display: flex; }
}

/* ─── Hero Section ───────────────────────────── */
.hero {
  padding: clamp(80px, 12vw, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(43,33,28,0.60) 0%, rgba(43,33,28,0.30) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  font-size: clamp(42px, 8vw, 76px);
  margin-bottom: var(--space-4);
  color: #fff;
}
.hero .lead {
  margin: 0 auto var(--space-8);
  font-size: clamp(17px, 2.2vw, var(--text-lg));
  color: rgba(255,255,255,0.9);
}

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.05s ease, background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.btn:active { transform: translateY(2px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
  box-shadow: var(--elev-raised);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-on);
  box-shadow: 4px 6px 20px rgba(128, 92, 70, 0.3);
}
.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border);
  box-shadow: var(--elev-flat);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--elev-raised);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-inline: 8px;
}
.btn-ghost:hover { color: var(--accent-hover); }

/* ─── Sections ───────────────────────────────── */
.section {
  padding: var(--section-y-desktop) 0;
}
.section + .section {
  border-top: 1px solid var(--border);
}
.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}
.section-title h2 {
  margin-bottom: var(--space-3);
}

@media (max-width: 768px) {
  .section { padding: var(--section-y-tablet) 0; }
}
@media (max-width: 480px) {
  .section { padding: var(--section-y-phone) 0; }
}

/* ─── Card (beveled, warm) ───────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--elev-raised);
  transition: box-shadow var(--motion-base) var(--ease-standard);
}
.card:hover {
  box-shadow: 4px 6px 24px rgba(128, 92, 70, 0.25), -4px -4px 16px rgba(255, 255, 255, 0.80);
}

.section-title .lead {
  margin: 0 auto;
}
/* ─── Grids ──────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-8);
}
.grid-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
}

@media (max-width: 920px) {
  .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 {
    grid-template-columns: 1fr;
  }
}

/* ─── Product Grid (catalog) ─────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-8);
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--elev-raised);
  transition: box-shadow var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard);
  text-align: center;
}
.product-card:hover {
  box-shadow: 4px 6px 24px rgba(128, 92, 70, 0.25), -4px -4px 16px rgba(255, 255, 255, 0.80);
  transform: translateY(-2px);
}
.product-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-warm);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-standard);
}
.product-card:hover .product-card-image img {
  transform: scale(1.03);
}
.product-card-body {
  padding: var(--space-5) var(--space-4) var(--space-6);
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.product-card .price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--accent);
  font-weight: 600;
  margin: var(--space-2) 0;
}
.product-card .price-old {
  font-size: var(--text-base);
  color: var(--muted);
  text-decoration: line-through;
  margin-right: var(--space-2);
}
.product-card .btn {
  margin-top: var(--space-3);
}

/* ─── About Section ──────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--elev-raised);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
}
.about-list li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  color: var(--fg-2);
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.about-list li + li {
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ─── CTA Strip ──────────────────────────────── */
.cta-strip {
  text-align: center;
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
}
.cta-strip h2 {
  max-width: 500px;
  margin: 0 auto var(--space-4);
}
.cta-container { max-width: 600px; }
.cta-strip .lead {
  margin: 0 auto var(--space-8);
}

/* ─── Ingredients Section ────────────────────── */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-6);
}
.ingredient-card {
  text-align: center;
  padding: var(--space-5) var(--space-4);
}
.ingredient-card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-4);
  border: 2px solid var(--border);
  box-shadow: var(--elev-raised);
}
.ingredient-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ingredient-card h4 {
  font-family: var(--font-display);
  margin-bottom: var(--space-2);
}
.ingredient-card p {
  font-size: var(--text-sm);
  color: var(--fg-2);
}

/* ─── (removed old emoji usage-grid — uses-grid used instead) */
/* ─── Single Product Page ────────────────────── */
.product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--elev-raised);
}
.product-gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.product-gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.product-gallery-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease-standard);
}
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
  border-color: var(--accent);
}
.product-info h1 {
  margin-bottom: var(--space-3);
}
.product-info .price-block {
  margin: var(--space-4) 0;
}
.product-info .price {
  font-size: var(--text-3xl);
  color: var(--accent);
  font-weight: 700;
}
.product-info .price-old {
  font-size: var(--text-xl);
  color: var(--muted);
  text-decoration: line-through;
  margin-left: var(--space-3);
}
.product-info .product-meta {
  margin: var(--space-4) 0;
}
.product-info .product-meta dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: var(--space-3);
}
.product-info .product-meta dd {
  margin: var(--space-1) 0 0;
  color: var(--fg);
}
.product-info .btn {
  margin-top: var(--space-6);
}

@media (max-width: 768px) {
  .product-single { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ─── Contact Page ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}
.contact-info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--elev-raised);
}
.contact-info-block .contact-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) 0;
}
.contact-info-block .contact-row + .contact-row {
  border-top: 1px solid var(--border-soft);
}
.contact-row .contact-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-row .contact-icon svg {
  width: 22px;
  height: 22px;
}
.contact-row .contact-label {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-1);
}
.contact-row .contact-value {
  font-size: var(--text-base);
  color: var(--fg);
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--elev-raised);
}
.contact-form h3 {
  margin-bottom: var(--space-5);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}
.form-field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-2);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: var(--text-base);
  transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ─── Blog / Post ────────────────────────────── */
.post-header {
  max-width: 720px;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.post-header h1 {
  font-size: clamp(32px, 5vw, var(--text-3xl));
}
.post-meta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
}
.post-content {
  max-width: 720px;
  margin: 0 auto;
}
.post-content p {
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: 1.2em;
}
.post-content img {
  border-radius: var(--radius-md);
  margin: var(--space-6) auto;
  box-shadow: var(--elev-raised);
}
.post-footer {
  max-width: 720px;
  margin: var(--space-12) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

/* ─── Blog List (log style) ──────────────────── */
.blog-list {
  max-width: 720px;
  margin: 0 auto;
}
.blog-entry {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
}
.blog-entry:first-child { padding-top: 0; }
.blog-entry h3 {
  margin-bottom: var(--space-2);
}
.blog-entry h3 a { color: var(--fg); }
.blog-entry h3 a:hover { color: var(--accent); }
.blog-entry-img-link { display: block; }
.blog-entry-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  box-shadow: var(--elev-raised);
}
.blog-read-more {
  font-size: var(--text-sm);
  font-weight: 600;
}
.blog-entry .blog-excerpt {
  color: var(--fg-2);
  font-size: var(--text-base);
}
.blog-entry .blog-date {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-2);
}

/* ─── Page Content ───────────────────────────── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
}
.page-content p {
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: 1.2em;
}
.page-content img {
  border-radius: var(--radius-md);
  margin: var(--space-6) auto;
  box-shadow: var(--elev-raised);
}

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 2px solid var(--border);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-12);
  box-shadow: var(--elev-raised);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
}
.footer h4 {
  font-family: var(--font-display);
  margin-bottom: var(--space-4);
  color: var(--fg);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  margin-bottom: var(--space-2);
}
.footer ul a {
  color: var(--fg-2);
  font-size: var(--text-sm);
}
.footer ul a:hover { color: var(--accent); }
.footer p {
  color: var(--fg-2);
  font-size: var(--text-sm);
}
.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--muted);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── Pagination ─────────────────────────────── */
.pagination {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  padding: var(--space-8) 0;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg);
  font-size: var(--text-sm);
  text-decoration: none;
}
.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination .current {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
}

/* ─── 404 Page ───────────────────────────────── */
.page-404 {
  text-align: center;
  padding: clamp(80px, 15vw, 160px) 0;
}
.page-404 h1 {
  font-size: clamp(80px, 20vw, 180px);
  color: var(--accent-soft);
  margin-bottom: var(--space-4);
}
.page-404 p {
  font-size: var(--text-xl);
  color: var(--fg-2);
  max-width: 400px;
  margin: 0 auto var(--space-8);
}

/* ─── Product Card refinements ──────────────── */
.product-card-img {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-warm);
}
.product-card-img img,
.product-card-img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-standard);
}
.product-card:hover .product-card-img img,
.product-card:hover .product-card-img-src {
  transform: scale(1.03);
}
.product-card-footer {
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.product-card-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  white-space: nowrap;
}
.product-card-price .product-old-price {
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: line-through;
  margin-right: var(--space-2);
  font-weight: 400;
}
.product-card-desc {
  font-size: var(--text-sm);
  color: var(--fg-2);
  margin: var(--space-2) 0;
}

/* ─── Price Badge ────────────────────────────── */
.price-badge {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  margin-left: var(--space-2);
}

/* ─── Uses Grid ──────────────────────────────── */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.use-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  box-shadow: var(--elev-raised);
  transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.use-card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 6px 24px rgba(128, 92, 70, 0.25);
}
.use-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.use-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.use-card-label {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--fg);
}

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

/* ─── Section Alt (alternate background) ────── */
.section-alt {
  background: var(--surface-warm);
}

/* ─── Product gallery thumbs fix ────────────── */
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}
.product-gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease-standard);
}
.product-gallery-thumb:hover {
  border-color: var(--accent);
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Page content lists ─────────────────────── */
.page-content ul,
.page-content ol {
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}
.page-content li {
  margin-bottom: 0.4em;
}
.page-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* ─── Product description section ────────────── */
.product-description {
  background: var(--surface);
}
.product-description .section-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--space-6);
}

/* ─── Contacts info block ─────────────────────── */
.contacts-info p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

/* ─── Utility ────────────────────────────────── */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.ta-center { text-align: center; }
.mt-3 { margin-top: var(--space-3); }
