/*
Theme Name: procastaldo
Theme URI: https://procastaldo.ru
Author: ООО «Третья столица»
Author URI: https://procastaldo.ru
Description: Тема магазина материалов Castaldo® для ювелирного дела. Поддержка WooCommerce: каталог, карточки товаров, корзина. Палитра: антрацит, матовое золото, крем.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: procastaldo
Tags: e-commerce, woocommerce, custom-colors
*/

/* ============ База ============ */
:root {
  --ink: #1f1b16;
  --ink-2: #26211b;
  --gold: #b08a3e;
  --gold-light: #c9a860;
  --gold-dark: #8f6f2f;
  --gold-pale: #efe6d2;
  --bone: #faf6ef;
  --ink-55: rgba(31, 27, 22, 0.55);
  --radius: 20px;
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

a { color: var(--gold-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, .font-display { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }

::selection { background: var(--gold); color: #fff; }

/* ============ Шапка ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 27, 22, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--ink-2);
  color: var(--gold-light);
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(176, 138, 62, 0.4), 0 4px 12px rgba(31, 27, 22, 0.25);
}

.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 3px;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-55);
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--gold-dark); }

.header-cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(31, 27, 22, 0.1);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s;
}

.header-cart:hover { border-color: rgba(176, 138, 62, 0.6); }

.header-cart .count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .main-nav { display: none; }
}

/* ============ Кнопки ============ */
.btn,
button.btn,
a.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(176, 138, 62, 0.3);
  transition: background 0.2s, transform 0.15s;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--gold-light) !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--bone) !important;
  border: 1px solid rgba(250, 246, 239, 0.25);
  box-shadow: none;
}

.btn-outline:hover {
  background: transparent !important;
  color: var(--gold-light) !important;
  border-color: rgba(201, 168, 96, 0.6);
}

.btn-dark {
  background: var(--ink-2) !important;
  color: var(--gold-light) !important;
  box-shadow: inset 0 0 0 1px rgba(176, 138, 62, 0.35), 0 6px 16px rgba(31, 27, 22, 0.25);
}

/* ============ Hero главной ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 96px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -90px;
  left: -160px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(176, 138, 62, 0.13);
  filter: blur(70px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(176, 138, 62, 0.08);
  filter: blur(70px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(176, 138, 62, 0.3);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.12;
}

.hero h1 .accent {
  font-style: italic;
  color: var(--gold-light);
}

.hero p.lead {
  max-width: 520px;
  margin: 22px 0 0;
  font-size: 17px;
  color: rgba(250, 246, 239, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 440px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .n {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--gold-light);
}

.hero-stats .t {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(250, 246, 239, 0.5);
}

.hero-photo {
  position: relative;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(176, 138, 62, 0.25);
  border-radius: 44px;
}

.hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-chip {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(176, 138, 62, 0.2);
  background: rgba(31, 27, 22, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  color: var(--bone);
}

.hero-chip small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201, 168, 96, 0.8);
}

.hero-chip.hit { top: 30px; left: -16px; }
.hero-chip.stock {
  bottom: -18px;
  right: 24px;
  background: #fff;
  color: var(--ink);
  border-color: rgba(31, 27, 22, 0.06);
}
.hero-chip.stock small { color: rgba(31, 27, 22, 0.45); }

@media (max-width: 900px) {
  .hero-chip.hit { left: 10px; }
}

/* ============ Полоса преимуществ ============ */
.feat-strip {
  background: #fff;
  border-bottom: 1px solid rgba(31, 27, 22, 0.06);
}

.feat-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  .feat-strip .container { grid-template-columns: 1fr; }
}

.feat-strip .item { display: flex; gap: 16px; align-items: flex-start; }

.feat-strip .ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 20px;
}

.feat-strip .t { font-size: 14px; font-weight: 800; }
.feat-strip .d { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-55); }

/* ============ Секции ============ */
.section { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-head h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); }

.section-head .more {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  white-space: nowrap;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Категории */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(31, 27, 22, 0.06);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 138, 62, 0.4);
  box-shadow: 0 18px 36px rgba(176, 138, 62, 0.12);
}

.cat-card .num {
  position: absolute;
  top: -14px;
  right: -6px;
  font-family: var(--display);
  font-size: 96px;
  font-weight: 600;
  line-height: 1;
  color: rgba(176, 138, 62, 0.09);
}

.cat-card .ico { color: var(--gold); font-size: 22px; }
.cat-card .name { position: relative; margin-top: 14px; font-family: var(--display); font-size: 20px; font-weight: 600; }
.cat-card .cnt { position: relative; margin-top: 5px; font-size: 13px; color: var(--ink-55); }
.cat-card .go {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-dark);
}

/* О компании */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

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

.about-dark {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--bone);
}

.about-dark::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(176, 138, 62, 0.15);
  filter: blur(50px);
}

.about-dark .eyebrow { color: var(--gold-light); }
.about-dark h2 { position: relative; margin: 12px 0 14px; font-size: 22px; line-height: 1.3; }
.about-dark p { position: relative; margin: 0; font-size: 14px; color: rgba(250, 246, 239, 0.6); }

.feat-card {
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(31, 27, 22, 0.06);
  background: #fff;
}

.feat-card .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 22px;
}

.feat-card h3 { margin: 18px 0 8px; font-size: 17px; }
.feat-card p { margin: 0; font-size: 14px; color: var(--ink-55); }

/* Контакты и реквизиты */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.contact-card {
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(31, 27, 22, 0.06);
  background: #fff;
}

.contact-card h2 { margin: 10px 0 10px; font-size: 24px; }
.contact-card > p { margin: 0; font-size: 14px; color: var(--ink-55); }

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 27, 22, 0.07);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s;
}

.contact-row:hover { border-color: rgba(176, 138, 62, 0.5); }

.contact-row .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 18px;
}

.contact-row small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 27, 22, 0.4);
}

.contact-row strong { font-size: 14px; }

.requisites {
  padding: 34px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--bone);
}

.requisites .eyebrow { color: var(--gold-light); }
.requisites h2 { margin: 10px 0 0; font-size: 24px; }

.requisites dl {
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.requisites .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.requisites .row:last-child { border-bottom: none; }
.requisites dt { color: rgba(250, 246, 239, 0.5); }
.requisites dd { margin: 0; font-weight: 700; text-align: right; }

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 60px 32px;
  border-radius: 40px;
  border: 1px solid rgba(176, 138, 62, 0.3);
  background: linear-gradient(135deg, #26211b, #1f1b16 60%, #17140f);
  color: var(--bone);
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(176, 138, 62, 0.15);
  filter: blur(50px);
}

.cta .gem { position: relative; color: var(--gold-light); font-size: 28px; }

.cta h2 { position: relative; max-width: 620px; margin: 14px auto 0; font-size: clamp(20px, 3vw, 28px); }
.cta p { position: relative; max-width: 540px; margin: 12px auto 0; font-size: 15px; color: rgba(250, 246, 239, 0.65); }

.cta .btn { position: relative; margin-top: 30px; }

/* ============ WooCommerce: сетка товаров ============ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(31, 27, 22, 0.07);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 138, 62, 0.4);
  box-shadow: 0 20px 40px rgba(176, 138, 62, 0.12);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: var(--ink);
}

.woocommerce ul.products li.product img {
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #efe6d2, #faf6ef);
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 14px 16px 0 !important;
  font-family: var(--display) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  color: var(--ink);
}

.woocommerce ul.products li.product .price {
  padding: 8px 16px 0;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
}

.woocommerce ul.products li.product .price del {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(31, 27, 22, 0.35);
}

.woocommerce ul.products li.product .price ins { text-decoration: none; }

/* Наличие в каталоге */
.pc-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 16px 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
}

.pc-stock.in { background: rgba(16, 185, 129, 0.15); color: #047857; }
.pc-stock.low { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.pc-stock.out { background: rgba(31, 27, 22, 0.06); color: rgba(31, 27, 22, 0.5); }

.pc-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Скидка */
.woocommerce span.onsale {
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  min-height: 0 !important;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink) !important;
  color: var(--gold-light) !important;
  font-size: 11px !important;
  font-weight: 800;
  line-height: 1.4 !important;
}

/* Кнопка «в корзину» в сетке */
.woocommerce ul.products li.product .button {
  margin: 14px 16px 0 !important;
  align-self: flex-start;
  padding: 11px 20px !important;
  font-size: 13px !important;
  background: var(--ink-2) !important;
  color: var(--gold-light) !important;
  box-shadow: inset 0 0 0 1px rgba(176, 138, 62, 0.35);
}

/* ============ Карточка товара ============ */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: auto !important;
}

.woocommerce div.product div.images img {
  border-radius: 30px;
  border: 1px solid rgba(31, 27, 22, 0.05);
}

.woocommerce div.product .product_title {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--display);
  font-size: 30px !important;
  font-weight: 600;
  color: var(--ink) !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-family: var(--font);
  font-size: 15px;
  color: rgba(31, 27, 22, 0.35);
}

.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce div.product form.cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(31, 27, 22, 0.05);
  background: #fff;
}

.woocommerce .quantity .qty {
  width: 70px;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 27, 22, 0.15);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.woocommerce div.product .product_meta {
  padding-top: 16px;
  border-top: 1px solid rgba(31, 27, 22, 0.08);
  font-size: 13px;
  color: var(--ink-55);
}

.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  border-bottom: 1px solid rgba(31, 27, 22, 0.1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 24px 0 0 !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 12px 2px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-55);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--gold-dark);
  border-bottom: 3px solid var(--gold);
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding: 24px 0;
  border-radius: 0;
  box-shadow: none;
}

.woocommerce table.shop_attributes { border: none !important; }

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  padding: 12px 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(31, 27, 22, 0.06) !important;
  font-size: 14px;
  font-style: normal;
}

.woocommerce table.shop_attributes th {
  font-weight: 400 !important;
  color: var(--ink-55);
}

.woocommerce table.shop_attributes td p { font-weight: 700; }

.woocommerce .related.products { grid-column: 1 / -1; }
.woocommerce .related.products > h2 { font-family: var(--display); font-size: 24px; }

/* ============ Корзина и оформление ============ */
.woocommerce table.shop_table {
  border: 1px solid rgba(31, 27, 22, 0.08) !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: #fff;
}

.woocommerce table.shop_table th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(31, 27, 22, 0.45);
}

.cart-collaterals .cart_totals {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(31, 27, 22, 0.06);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(31, 27, 22, 0.15);
  background: #fff;
  font-family: var(--font);
  font-size: 14px;
}

.woocommerce form .form-row input.input-text:focus {
  border-color: var(--gold);
  outline: none;
}

/* Хлебные крошки и заголовки */
.woocommerce .woocommerce-breadcrumb {
  font-size: 12px !important;
  font-weight: 600;
  color: rgba(31, 27, 22, 0.45) !important;
}

.woocommerce .woocommerce-breadcrumb a { color: var(--gold-dark); }

.woocommerce-products-header__title,
.woocommerce .page-title {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 36px);
}

.pc-shop-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(176, 138, 62, 0.3);
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
}

/* Уведомления */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--gold) !important;
  border-radius: 14px;
}

.woocommerce-message::before,
.woocommerce-info::before { color: var(--gold); }

/* ============ Страницы и записи ============ */
.page-content { padding: 48px 0; }
.page-content h1 { font-size: clamp(26px, 4vw, 36px); }

/* ============ Подвал ============ */
.site-footer {
  margin-top: 90px;
  background: var(--ink);
  color: var(--bone);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

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

.site-footer h4 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201, 168, 96, 0.8);
}

.site-footer p,
.site-footer li { font-size: 14px; color: rgba(250, 246, 239, 0.7); }

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }

.site-footer a { color: rgba(250, 246, 239, 0.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
}

.footer-legal .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}

.footer-legal h5 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.4);
}

.footer-legal p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(250, 246, 239, 0.6);
}

.footer-copy {
  font-size: 12px;
  color: rgba(250, 246, 239, 0.4);
  align-self: end;
}
