/*
Theme Name: MODA Shop
Theme URI: https://moda.shop
Author: MODA
Author URI: https://moda.shop
Description: Современная тема каталога одежды в стиле Wildberries. Поддерживает WooCommerce, адаптивный дизайн, фирменные градиенты фуксия/пурпур, типографика Space Grotesk + DM Sans.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moda-shop
Tags: e-commerce, woocommerce, shop, fashion, responsive, custom-logo, custom-menu, featured-images
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --background: #ffffff;
  --foreground: #1a1430;
  --muted: #f7f4fa;
  --muted-foreground: #6b5b7a;
  --border: #ece6f1;
  --card: #ffffff;
  --primary: #a73afd;
  --primary-foreground: #ffffff;
  --primary-deep: #481173;
  --wb-header-search: #f3edf8;
  --wb-header-icon: #2b1d3d;
  --accent: #fbe8f6;
  --sale: #ec4626;
  --sale-foreground: #ffffff;
  --rating: #f2b441;
  --radius: 12px;

  --gradient-brand: linear-gradient(135deg, #a73afd, #481173);
  --gradient-hero: linear-gradient(120deg, #fbe1f3 0%, #f1d7ee 50%, #d9c2e8 100%);
  --shadow-card: 0 1px 3px rgba(72,17,115,.06), 0 4px 20px rgba(72,17,115,.04);
  --shadow-hover: 0 8px 30px rgba(167, 58, 253, .2);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

#page,
.site-main,
.catalog-section {
  overflow: visible;
}

/* ============ HEADER (Wildberries-style) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: none;
  box-shadow: 0 4px 24px rgba(72, 17, 115, .08);
}
.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.site-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--primary);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.site-logo:hover { color: var(--primary-deep); }
.site-logo small {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  opacity: .75;
  margin-left: 1px;
  -webkit-text-fill-color: currentColor;
}
.site-logo img,
.custom-logo-link img {
  max-height: 40px;
  width: auto;
}
.search-box {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 48px;
  background: var(--wb-header-search);
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search-box:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(167, 58, 253, .18);
}
.search-box input {
  flex: 1;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  color: var(--foreground);
  outline: none;
}
.search-box input::placeholder { color: #8b7a9a; }
.search-submit {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  margin: 4px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  transition: background .15s, transform .1s;
}
.search-submit:hover { background: #8f2ee0; }
.search-submit:active { transform: scale(.96); }
.search-submit svg { width: 20px; height: 20px; stroke: #fff; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: 12px;
  transition: background .15s, color .15s;
}
.icon-btn:hover {
  background: var(--wb-header-search);
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  color: var(--wb-header-icon);
  stroke: var(--wb-header-icon);
}
.icon-btn .badge {
  position: absolute;
  top: 0;
  right: 2px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(167, 58, 253, .35);
}
.icon-btn .label {
  font-size: 11px;
  font-weight: 500;
  color: #6b5b7a;
  margin-top: 3px;
}
.header-actions .moda-favorites-badge.is-visible {
  background: var(--primary);
}
.main-nav { display: flex; gap: 4px; padding: 8px 0; overflow-x: auto; }
.main-nav a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: rgba(26,20,48,.7);
  white-space: nowrap; transition: all .15s;
}
.main-nav a:hover { background: var(--muted); color: var(--foreground); }
.main-nav a.sale { background: var(--sale); color: var(--sale-foreground); }
.main-nav a.sale:hover { opacity: .9; background: var(--sale); }

@media (max-width: 768px) {
  .header-top { gap: 10px; padding: 10px 0; }
  .site-logo { font-size: 20px; }
  .site-logo small { font-size: 11px; }
  .search-box { min-height: 42px; border-radius: 12px; }
  .search-box input { font-size: 14px; padding: 0 12px; }
  .search-submit { width: 44px; margin: 3px; border-radius: 9px; }
  .icon-btn .label { display: none; }
  .icon-btn { padding: 8px; }
  .main-nav { display: none; }
}

/* ============ HERO ============ */
.hero {
  margin-top: 24px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--gradient-hero);
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; min-height: 520px;
}
.hero-content { padding: 56px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 500; color: var(--primary-deep);
  margin-bottom: 20px;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05; font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub { color: rgba(26,20,48,.7); font-size: 17px; max-width: 480px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.8); backdrop-filter: blur(8px); color: var(--foreground); }
.btn-ghost:hover { background: #fff; }
.btn-outline {
  border: 2px solid var(--primary); color: var(--primary);
  padding: 12px 32px; background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }
.hero-stats { display: flex; gap: 32px; }
.stat-val { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--primary-deep); }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-foreground); }
.hero-image { position: relative; height: 100%; min-height: 400px; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 32px 24px; }
  .hero-image { min-height: 280px; }
  .hero-stats { gap: 20px; }
}

/* ============ PROMO ============ */
.promo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 24px 0;
}
.promo-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border);
}
.promo-card.featured { background: var(--gradient-brand); color: #fff; border: none; }
.promo-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.promo-card.featured .promo-icon { background: rgba(255,255,255,.2); color: #fff; }
.promo-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.promo-sub { font-size: 12px; color: var(--muted-foreground); }
.promo-card.featured .promo-sub { color: rgba(255,255,255,.8); }
@media (max-width: 768px) { .promo-grid { grid-template-columns: 1fr; } }

/* ============ CATEGORIES ============ */
.section { padding: 40px 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-head h2 { font-size: 30px; font-weight: 700; }
.section-head a { font-size: 14px; color: var(--primary); }
.section-head a:hover { text-decoration: underline; }
.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border);
  text-align: center; transition: all .2s;
}
.cat-tile:hover { border-color: var(--primary); box-shadow: var(--shadow-card); }
.cat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-deep);
  transition: transform .2s;
}
.cat-tile:hover .cat-icon { transform: scale(1.1); }
.cat-name { font-size: 13px; font-weight: 600; }
.cat-count { font-size: 11px; color: var(--muted-foreground); }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ FILTERS ============ */
.catalog-section {
  padding-top: 40px;
  overflow: visible;
}
.catalog-products-wrap { margin-top: 8px; }

/* ============ PRODUCT GRID ============ */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; row-gap: 16px;
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
.product {
  display: flex; flex-direction: column;
  position: relative;
}
.product-media {
  position: relative; aspect-ratio: 3/4;
  overflow: hidden; border-radius: 12px; background: var(--muted);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s, opacity .2s;
}
.product:hover .product-media img { transform: scale(1.05); }
.product-gallery { cursor: pointer; }
.product-gallery:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.gallery-more-badge {
  position: absolute; right: 8px; bottom: 44px; z-index: 2;
  font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 8px;
  background: rgba(26, 20, 48, .75); color: #fff;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.gallery-counter {
  position: absolute; left: 8px; bottom: 44px; z-index: 2;
  font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .88); color: rgba(26, 20, 48, .85);
  pointer-events: none;
}
.gallery-nav {
  position: absolute; top: 50%; z-index: 2;
  width: 32px; height: 32px; margin-top: -16px;
  border: none; border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--primary-deep);
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s, transform .15s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.product-gallery:hover .gallery-nav,
.product-gallery:focus-within .gallery-nav { opacity: 1; }
.gallery-nav:hover { transform: scale(1.08); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.badge-tag {
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 6px;
}
.badge-tag.new { background: var(--primary-deep); color: #fff; }
.badge-tag.hit { background: var(--rating); color: var(--primary-deep); }
.badge-tag.sale { background: var(--sale); color: var(--sale-foreground); }
.fav-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn svg { width: 16px; height: 16px; color: rgba(26,20,48,.6); transition: fill .2s, stroke .2s; }
.fav-btn.is-active svg { fill: var(--primary); stroke: var(--primary); color: var(--primary); }
.favorites-page .section-head.favorites-head { margin-bottom: 24px; }
.favorites-page .favorites-count-label { font-size: 14px; color: var(--muted-foreground); }
.favorites-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted-foreground);
}
.favorites-empty .btn { margin-top: 16px; }
.header-actions .moda-favorites-badge {
  min-width: 18px;
  z-index: 2;
}
.header-actions .moda-favorites-badge.is-visible {
  display: flex !important;
}
.header-actions .moda-favorites-badge[hidden] {
  display: none !important;
}
.cart-btn {
  position: absolute; bottom: 8px; left: 8px; right: 8px;
  z-index: 5;
  height: 32px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 600;
  opacity: 1; visibility: visible; transform: none;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  pointer-events: auto;
}
.product-media .cart-btn { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.cart-btn:hover { background: var(--primary-deep); color: #fff; }
.product-info { padding-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.product-info .product-field {
  font-size: 14px; line-height: 1.35;
}
.product-field {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px;
  margin: 0; font-size: 11px; line-height: 1.15;
}
.product-field--preview {
  font-weight: 400; color: var(--foreground);
}
.product-field--preview .product-field-label {
  font-weight: 700; color: var(--foreground);
  text-transform: none; letter-spacing: 0; font-size: inherit;
}
.product-field--preview .product-field-value {
  font-weight: 400; color: var(--foreground);
}
.product-field--stacked {
  flex-direction: column; align-items: flex-start; gap: 4px;
}
.product-field-label {
  color: var(--muted-foreground); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.product-field-value { color: var(--foreground); line-height: 1.4; font-weight: 700; }
.product-field-value--size { font-weight: 700; }
.product-field--price .product-price-value {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--foreground);
}
.product-info .product-field--preview.product-field--price {
  font-size: 14px; font-weight: 400;
}
.product-info .product-field--preview.product-field--price .product-field-label {
  font-weight: 700;
}
.product-info .product-field--preview.product-field--price .product-field-value {
  font-family: inherit; font-size: inherit; font-weight: 400;
}
.product-info .product-card-title-link { font-weight: 700; color: var(--foreground); text-decoration: none; }
.product-info .product-card-title-link:hover { color: var(--primary); }
.product-price-old { font-size: 12px; color: var(--muted-foreground); text-decoration: line-through; }
.product-info .product-price-old { font-size: 13px; font-weight: 400; margin-left: 4px; }
.product-card-cart-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 42px; margin-top: 4px;
  border-radius: 12px; background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.product-card-cart-btn:hover { background: var(--primary-deep); color: #fff; }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-price .product-field-label { font-size: 13px; font-weight: 500; color: var(--muted-foreground); }
.product-price .now { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.product-price .old { font-size: 12px; color: var(--muted-foreground); text-decoration: line-through; }
.product-info .product-title {
  font-size: 14px; line-height: 1.35;
}
.product-title { font-size: 12px; line-height: 1.15; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--foreground); }
.product-title b { font-weight: 700; }
.product-title span { color: var(--muted-foreground); }
.product-info .product-card-title-link { color: inherit; text-decoration: none; font-weight: 700; }
.product-info .product-card-title-link:hover { color: var(--primary); }
.product-meta { font-size: 12px; color: var(--muted-foreground); margin-top: 4px; line-height: 1.35; }
.product--has-link .product-media { cursor: pointer; }
.product-card-link {
  position: absolute; top: 0; left: 0; right: 0; bottom: 44px;
  z-index: 1;
  border-radius: inherit;
}
.product-card-title-link {
  color: inherit; text-decoration: none;
}
.product-card-title-link:hover b { color: var(--primary); }
.product-badges, .fav-btn, .gallery-nav { z-index: 3; }

/* ============ PRODUCT SINGLE PAGE ============ */
.product-single-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.product-single-breadcrumb { margin-bottom: 20px; }
.product-single-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted-foreground);
  text-decoration: none; transition: color .15s;
}
.product-single-back:hover { color: var(--primary); }
.product-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .product-single-layout { grid-template-columns: 1fr; gap: 24px; }
}
.product-single-main {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--muted);
}
.product-single-main img,
.product-single-main video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  background: #000;
}
.product-single-thumb.is-video {
  position: relative;
}
.product-single-thumb-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  background: rgba(26, 20, 48, .35);
  pointer-events: none;
}
.product-single-badges { z-index: 2; }
.product-single-nav {
  opacity: 1;
  z-index: 2;
}
.product-single-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.product-single-thumb {
  flex: 0 0 72px;
  width: 72px; height: 96px;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: var(--muted);
  cursor: pointer;
  transition: border-color .15s;
}
.product-single-thumb.is-active { border-color: var(--primary); }
.product-single-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-single-brand {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}
.product-single-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.product-single-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-single-meta li span { color: var(--muted-foreground); }
.product-single-meta-price .product-single-price-value {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
}
.product-single-meta-price .old {
  font-size: 16px; color: var(--muted-foreground); text-decoration: line-through; font-weight: 400;
}
.product-single-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.product-single-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 32px;
}
.product-single-order {
  flex: 1;
  min-height: 52px;
  font-size: 16px;
}
.product-single-fav {
  position: static;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.product-single-description h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.product-single-description-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.product-single-description-body p { margin-bottom: 12px; }

.load-more-wrap { display: flex; justify-content: center; margin: 48px 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border); background: rgba(247,244,250,.4); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding: 48px 0 24px; }
.footer-brand p { color: var(--muted-foreground); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-col h3 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted-foreground); transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted-foreground);
}
.footer-bottom a:hover { color: var(--foreground); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* WP core helpers */
.alignwide { max-width: 1280px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; }
.wp-caption { max-width: 100%; }
