/* ==========================================================================
   MOTOMAN SHOP — STATIC PAGES (About, Privacy, Delivery, Contact, etc.)
   ========================================================================== */

/* ── Page Hero Banner ──────────────────────────────────────────────────── */
.mm-static-hero {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 60%, #1f0000 100%);
  padding: 64px 24px 52px;
  text-align: center;
  border-bottom: 3px solid #DC2626;
  position: relative;
  overflow: hidden;
}

.mm-static-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(220,38,38,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.mm-static-hero__title {
  font-family: var(--mm-font-display, 'Outfit', sans-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 12px;
  line-height: 1.1;
}

.mm-static-hero__bar {
  width: 56px;
  height: 4px;
  background: #DC2626;
  border-radius: 2px;
  margin: 0 auto;
}

/* ── Page body wrapper ─────────────────────────────────────────────────── */
.mm-static-page {
  background: #fff;
}

.mm-static-page .mm-static-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.mm-static-body > p,
.mm-static-body > ul,
.mm-static-body > ol,
.mm-static-body > h1,
.mm-static-body > h2,
.mm-static-body > h3,
.mm-static-body > h4,
.mm-static-body > hr,
.mm-static-body > table,
.mm-static-body > .wp-block-heading,
.mm-static-body > .wp-block-paragraph,
.mm-static-body > .wp-block-list {
  max-width: 850px;
}

/* ── Typography inside static pages ───────────────────────────────────── */
.mm-static-body h1,
.mm-static-body h2,
.mm-static-body h3,
.mm-static-body h4 {
  font-family: var(--mm-font-display, 'Outfit', sans-serif);
  color: #111827;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

/* Remove the FIRST heading inside content if it duplicates the hero */
.mm-static-body > h1:first-child,
.mm-static-body > .wp-block-heading:first-child {
  display: none;
}

.mm-static-body h1 { font-size: 1.9rem; font-weight: 800; }
.mm-static-body h2:not([class*="wc-block"]):not([class*="wp-block"]):not(.wc-block-cart__empty-cart__title) {
  font-size: 1.45rem;
  font-weight: 700;
  border-left: 4px solid #DC2626;
  padding-left: 12px;
}
.mm-static-body h3 { font-size: 1.2rem; font-weight: 600; }


.mm-static-body p,
.mm-static-body li {
  font-family: var(--mm-font, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}

.mm-static-body strong {
  color: #111827;
  font-weight: 600;
}

.mm-static-body a {
  color: #DC2626;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm-static-body a:hover {
  color: #b91c1c;
}

.mm-static-body ul,
.mm-static-body ol {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
}

.mm-static-body li {
  margin-bottom: 0.5rem;
}

.mm-static-body p + p {
  margin-top: 1rem;
}

/* Horizontal rules */
.mm-static-body hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* Tables & Responsive Table Wrapper */
.mm-static-body figure.wp-block-table,
.mm-static-body .wp-block-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}
.mm-static-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.mm-static-body figure.wp-block-table table {
  margin: 0;
}
.mm-static-body th {
  background: #111827;
  color: #fff;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
}
.mm-static-body td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}
.mm-static-body tr:last-child td { border-bottom: none; }
.mm-static-body tr:nth-child(even) td { background: #f9fafb; }

@media (max-width: 640px) {
  .mm-static-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Contact page layout ───────────────────────────────────────────────── */
.mm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 2.5rem;
}

.mm-contact-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mm-contact-card__icon {
  width: 44px;
  height: 44px;
  background: #DC2626;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.mm-contact-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mm-contact-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  margin-bottom: 4px;
}

.mm-contact-card__value {
  font-size: 1rem;
  color: #111827;
  font-weight: 600;
  line-height: 1.5;
}

.mm-contact-card__value a {
  color: #111827;
  text-decoration: none;
}

.mm-contact-card__value a:hover {
  color: #DC2626;
}

/* ── Info boxes / callouts ─────────────────────────────────────────────── */
.mm-static-body .wp-block-group,
.mm-info-box {
  background: #fef2f2;
  border-left: 4px solid #DC2626;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 1.5rem 0;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mm-static-hero {
    padding: 40px 16px 36px;
  }

  .mm-static-hero__title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .mm-static-body {
    padding: 32px 16px 48px;
  }

  .mm-static-body h2 {
    font-size: 1.25rem;
  }

  .mm-contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mm-static-body table {
    font-size: 0.85rem;
  }
  .mm-static-body th,
  .mm-static-body td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .mm-static-hero__title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   CONTACT PAGE (mm-cp-* classes)
   ========================================================================== */

.mm-cp-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ── Alert messages ─────────────────────────────────────────────────────── */
.mm-cp-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.mm-cp-alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.mm-cp-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.mm-cp-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ── Info Cards ─────────────────────────────────────────────────────────── */
.mm-cp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.mm-cp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
  min-height: 140px;
}
.mm-cp-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-color: #DC2626;
}

.mm-cp-card__icon {
  width: 42px;
  height: 42px;
  background: #DC2626;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mm-cp-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.mm-cp-card__body {
  flex: 1;
  min-width: 0;
}

.mm-cp-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9ca3af;
  margin-bottom: 5px;
}

.mm-cp-card__value {
  font-size: 0.93rem;
  color: #111827;
  font-weight: 600;
  line-height: 1.55;
  word-break: break-word;
}
.mm-cp-card__value a {
  color: #111827;
  text-decoration: none;
}
.mm-cp-card__value a:hover {
  color: #DC2626;
}

/* ── Bottom: Form + Map ─────────────────────────────────────────────────── */
.mm-cp-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.mm-cp-section-title {
  font-family: var(--mm-font-display, 'Outfit', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
  border-left: 4px solid #DC2626;
  padding-left: 12px;
}

/* ── Contact Form ─────────────────────────────────────────────────────── */
.mm-cp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mm-cp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-cp-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mm-cp-form input[type="text"],
.mm-cp-form input[type="email"],
.mm-cp-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--mm-font, 'Inter', sans-serif);
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.mm-cp-form input:focus,
.mm-cp-form textarea:focus {
  outline: none;
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.mm-cp-form textarea {
  resize: vertical;
  min-height: 120px;
}

.mm-cp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #DC2626;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--mm-font-display, 'Outfit', sans-serif);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mm-cp-submit svg {
  width: 18px;
  height: 18px;
}
.mm-cp-submit:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

/* ── Map ────────────────────────────────────────────────────────────────── */
.mm-cp-map {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.mm-cp-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mm-cp-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mm-cp-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mm-cp-map {
    height: 320px;
  }
}

/* ==========================================================================
   CART PAGE — WooCommerce Block Cart Override
   ========================================================================== */

/* На страницата с количка: освободи mm-static-body от text max-width ограниченията */
.woocommerce-cart .mm-static-body,
.woocommerce-checkout .mm-static-body {
  max-width: 100%;
  padding: 0;
  background: #f4f5f7;
}

/* Главен wrapper за cart/checkout блоковете */
.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  box-sizing: border-box;
}

/* Премахни грешен max-width от mm-static-body > директни деца */
.woocommerce-cart .mm-static-body > *,
.woocommerce-checkout .mm-static-body > * {
  max-width: 100%;
}

/* ── WC Blocks — Cart Layout ──────────────────────────────────────────── */

/* Двуколонен layout: продукти вляво, summary вдясно */
.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* Принудително пълна ширина в грид колоните (отменяне на твърди 35% / 65% от core WC blocks) */
.woocommerce-cart .wc-block-cart__main,
.woocommerce-cart .wc-block-cart__sidebar,
.woocommerce-cart .wp-block-woocommerce-cart-items-block,
.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .wc-block-cart__submit-container,
.woocommerce-cart .wc-block-cart__submit-button {
  width: 100% !important;
  display: block !important;
  text-align: center;
}

/* Лява колона — продукти */
.woocommerce-cart .wp-block-woocommerce-cart-items-block {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* Дясна колона — Order Summary */
.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 24px;
  position: sticky;
  top: 100px;
}

/* Empty cart block */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  max-width: 600px;
  margin: 40px auto;
  padding: 48px 32px;
  text-align: center;
  background: #ffffff;
  border-radius: var(--mm-radius-md, 16px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2 {
  font-family: var(--mm-font-display, 'Roboto', sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--mm-black, #111111);
  margin-bottom: 12px;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block p {
  font-size: 1rem;
  color: var(--mm-gray, #6B7280);
  margin-bottom: 24px;
  line-height: 1.5;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link {
  background-color: var(--mm-red, #DC2626) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 14px 32px !important;
  border-radius: var(--mm-radius-sm, 6px) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover {
  background-color: var(--mm-red-dark, #991B1B) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45) !important;
}

/* ── WC Block Components — Styling ───────────────────────────────────── */

/* Таблица с продукти в количката */
.wc-block-cart-items table,
.wc-block-cart-items__table {
  border-collapse: collapse;
  width: 100%;
}

.wc-block-cart-items__header {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.wc-block-cart-items__header th {
  font-family: var(--mm-font-display, 'Outfit', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  padding: 14px 16px;
}

.wc-block-cart-item__image img {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.wc-block-cart-item__product-name a {
  font-family: var(--mm-font-display, 'Outfit', sans-serif);
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.wc-block-cart-item__product-name a:hover {
  color: #DC2626;
}

/* Quantity stepper */
.wc-block-components-quantity-selector {
  border: 1.5px solid #d1d5db !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.wc-block-components-quantity-selector__button {
  background: #f9fafb !important;
  color: #374151 !important;
  border: none !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  transition: background 0.15s !important;
}

.wc-block-components-quantity-selector__button:hover {
  background: #DC2626 !important;
  color: #fff !important;
}

.wc-block-components-quantity-selector__value {
  font-weight: 700 !important;
  color: #111827 !important;
}

/* Цена */
.wc-block-components-product-price__value,
.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
  font-family: var(--mm-font-display, 'Outfit', sans-serif) !important;
  font-weight: 700 !important;
  color: #DC2626 !important;
  font-size: 1rem !important;
}

/* Order summary заглавие */
.wc-block-components-order-summary__toggle,
.wp-block-woocommerce-cart-order-summary-heading-block {
  font-family: var(--mm-font-display, 'Outfit', sans-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* Ред Subtotal / Shipping / Total */
.wc-block-components-totals-item {
  padding: 10px 0 !important;
  border-bottom: 1px solid #f3f4f6 !important;
}

.wc-block-components-totals-item__label {
  font-size: 0.9rem !important;
  color: #4b5563 !important;
  font-weight: 500 !important;
}

.wc-block-components-totals-item__value {
  font-family: var(--mm-font-display, 'Outfit', sans-serif) !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

/* TOTAL row — по-голям */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1.1rem !important;
  color: #111827 !important;
  font-weight: 800 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: #DC2626 !important;
}

/* "Продължи към плащане" бутон */
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
.wc-block-cart__submit-container button {
  width: 100% !important;
  padding: 16px 24px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: #DC2626 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  margin-top: 16px !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.15s !important;
  font-family: var(--mm-font-display, 'Outfit', sans-serif) !important;
}

.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container button:hover {
  background: #b91c1c !important;
  transform: translateY(-1px) !important;
}

/* Купонен код */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  color: #DC2626 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  font-size: 0.9rem !important;
}

/* Платежни методи (Accepted Payments) */
.wc-block-cart__payment-method-icons {
  margin-top: 16px !important;
  justify-content: center !important;
  opacity: 0.7;
}

/* Notice / Alerts */
.wc-block-components-notice-banner {
  border-radius: 8px !important;
  border-left: 4px solid #DC2626 !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
  margin-bottom: 16px !important;
}

/* Remove link */
.wc-block-cart-item__remove-link {
  color: #9ca3af !important;
  font-size: 0.8rem !important;
  text-decoration: underline !important;
}

.wc-block-cart-item__remove-link:hover {
  color: #DC2626 !important;
}

/* ── Hero за Cart/Checkout страница ──────────────────────────────────── */
.woocommerce-cart .mm-static-hero,
.woocommerce-checkout .mm-static-hero {
  padding: 40px 24px 36px;
}

/* ── Responsive Cart ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .woocommerce-cart .wp-block-woocommerce-filled-cart-block {
    grid-template-columns: 1fr;
  }

  .woocommerce-cart .wp-block-woocommerce-cart-totals-block {
    position: static;
  }

  .woocommerce-cart .wp-block-woocommerce-cart,
  .woocommerce-checkout .wp-block-woocommerce-checkout {
    padding: 24px 16px 48px;
  }
}

@media (max-width: 480px) {
  .woocommerce-cart .wp-block-woocommerce-cart-totals-block {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   BLOG ARCHIVE & SINGLE POST STYLING
   ========================================================================== */

/* BLOG ARCHIVE */
.mm-blog-hero {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 50px 0 35px;
    text-align: center;
    border-bottom: 3px solid var(--mm-red, #dc2626);
}
.mm-blog-hero__badge {
    display: inline-block;
    background: var(--mm-red, #dc2626);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.mm-blog-hero__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin: 0 0 10px;
    color: #ffffff;
}
.mm-blog-hero__subtitle {
    font-size: 16px;
    color: #a3a3a3;
    max-width: 680px;
    margin: 0 auto 25px;
    line-height: 1.5;
}
.mm-blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.mm-cat-pill {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e5e5;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.mm-cat-pill:hover,
.mm-cat-pill.is-active {
    background: var(--mm-red, #dc2626);
    color: #ffffff;
    border-color: var(--mm-red, #dc2626);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}
.mm-blog-grid-section {
    padding: 50px 0;
    background: #f8f9fa;
}
.mm-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.mm-blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mm-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.mm-blog-card__thumb-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #1e1e1e;
    overflow: hidden;
}
.mm-blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.mm-blog-card:hover .mm-blog-card__thumb img {
    transform: scale(1.05);
}
.mm-blog-card__thumb--placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #9ca3af;
}
.mm-blog-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--mm-red, #dc2626);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.mm-blog-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.mm-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}
.mm-blog-card__date {
    display: flex;
    align-items: center;
    gap: 4px;
}
.mm-blog-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
}
.mm-blog-card__title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}
.mm-blog-card__title a:hover {
    color: var(--mm-red, #dc2626);
}
.mm-blog-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}
.mm-blog-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mm-red, #dc2626);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.mm-blog-card__btn:hover {
    gap: 10px;
}
.mm-blog-pagination {
    margin-top: 40px;
    text-align: center;
}
.mm-blog-pagination .nav-links {
    display: inline-flex;
    gap: 6px;
}
.mm-blog-pagination .page-numbers {
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
}
.mm-blog-pagination .page-numbers.current {
    background: var(--mm-red, #dc2626);
    color: #ffffff;
    border-color: var(--mm-red, #dc2626);
}
.mm-blog-cta-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 5px solid var(--mm-red, #dc2626);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.mm-blog-cta-text h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
}
.mm-blog-cta-text p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}
.mm-blog-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.mm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.mm-btn--call {
    background: #111827;
    color: #ffffff;
}
.mm-btn--call:hover {
    background: #000000;
}
.mm-btn--shop {
    background: var(--mm-red, #dc2626);
    color: #ffffff;
}
.mm-btn--shop:hover {
    background: var(--mm-red-dark, #991b1b);
}

/* SINGLE BLOG POST */
.mm-post-hero {
    background: linear-gradient(135deg, #111111 0%, #1c1c1c 100%);
    color: #ffffff;
    padding: 40px 0 35px;
    border-bottom: 3px solid var(--mm-red, #dc2626);
}
.mm-post-breadcrumbs {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 20px;
}
.mm-post-breadcrumbs a {
    color: #d1d5db;
    text-decoration: none;
}
.mm-post-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.mm-breadcrumb-sep {
    margin: 0 8px;
    color: #6b7280;
}
.mm-breadcrumb-current {
    color: #9ca3af;
}
.mm-post-cat-badge {
    display: inline-block;
    background: var(--mm-red, #dc2626);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-decoration: none;
}
.mm-post-title {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 20px;
    color: #ffffff;
}
.mm-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #d1d5db;
}
.mm-post-meta__item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.mm-post-container {
    padding: 40px 15px 60px;
    max-width: 900px;
}
.mm-single-article {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.mm-single-thumb {
    margin: -35px -35px 30px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    max-height: 480px;
}
.mm-single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mm-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
}
.mm-article-body p.lead {
    font-size: 18px;
    line-height: 1.7;
    color: #1a202c;
    margin-bottom: 25px;
}
.mm-article-body h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
}
.mm-article-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1f2937;
    margin: 25px 0 12px;
}
.mm-article-body ul, .mm-article-body ol {
    margin: 15px 0 25px 20px;
    padding-left: 10px;
}
.mm-article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.mm-article-body blockquote {
    margin: 25px 0;
    padding: 18px 24px;
    background: #fef2f2;
    border-left: 4px solid var(--mm-red, #dc2626);
    border-radius: 4px;
    font-style: italic;
    color: #7f1d1d;
}
.mm-article-body hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 35px 0;
}
.mm-author-box {
    margin-top: 40px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.mm-author-box__icon {
    flex-shrink: 0;
    background: #fee2e2;
    padding: 12px;
    border-radius: 50%;
}
.mm-author-box__content h4 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
}
.mm-author-box__content p {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}
.mm-author-box__links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
}
.mm-link-phone {
    color: #111827;
    text-decoration: none;
}
.mm-link-shop {
    color: var(--mm-red, #dc2626);
    text-decoration: none;
}
.mm-link-shop:hover {
    text-decoration: underline;
}
.mm-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
    font-weight: 700;
    font-size: 14px;
}
.mm-post-nav a {
    color: var(--mm-red, #dc2626);
    text-decoration: none;
}
.mm-post-nav a:hover {
    text-decoration: underline;
}
.mm-related-section {
    margin-top: 50px;
}
.mm-related-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111827;
}
.mm-blog-grid--related {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (max-width: 768px) {
    .mm-blog-grid {
        grid-template-columns: 1fr;
    }
    .mm-blog-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .mm-blog-cta-actions {
        justify-content: center;
    }
    .mm-single-article {
        padding: 20px;
    }
    .mm-single-thumb {
        margin: -20px -20px 20px;
    }
    .mm-author-box {
        flex-direction: column;
    }
    .mm-post-nav {
        flex-direction: column;
    }
}

/* ==========================================================================
   WOOCOMMERCE CART & BLOCKS "НОВИ ПРОДУКТИ" STYLING
   ========================================================================== */

/* Grid container */
.wc-block-grid__products,
.wp-block-woocommerce-product-new ul.wc-block-grid__products,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 40px !important;
}

@media (min-width: 768px) {
  .wc-block-grid__products,
  .wp-block-woocommerce-product-new ul.wc-block-grid__products,
  .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
}

/* Card */
.wc-block-grid__product,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
  background-color: #ffffff !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: center !important;
  position: relative !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

.wc-block-grid__product:hover,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(220, 38, 38, 0.4) !important;
}

/* Sale Badge */
.wc-block-grid__product-onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background-color: #dc2626 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  z-index: 2 !important;
}

/* Image */
.wc-block-grid__product-image {
  margin-bottom: 12px !important;
  aspect-ratio: 1/1 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.wc-block-grid__product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  transition: transform 0.4s ease !important;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.05) !important;
}

/* Title */
.wc-block-grid__product-title {
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  line-height: 1.35 !important;
  margin: 10px 0 8px !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 38px !important;
}

.wc-block-grid__product-link {
  text-decoration: none !important;
  color: inherit !important;
}

/* Price */
.wc-block-grid__product-price,
.wc-block-grid__product-price.price {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #dc2626 !important;
  margin-bottom: 14px !important;
}

.wc-block-grid__product-price del {
  color: #9ca3af !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-right: 6px !important;
}

.wc-block-grid__product-price ins {
  text-decoration: none !important;
  color: #dc2626 !important;
}

/* 🎯 BUTTON "ОПЦИИ" / "КУПИ" - BRAND RED */
.wc-block-grid__product-add-to-cart,
.wp-block-button.wc-block-grid__product-add-to-cart {
  margin-top: auto !important;
  width: 100% !important;
  display: block !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart a,
.wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button,
.wp-block-button__link.add_to_cart_button,
.wc-block-components-product-button .wc-block-components-product-button__button {
  background-color: var(--mm-red, #DC2626) !important;
  color: #ffffff !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 12px 20px !important;
  text-decoration: none !important;
  border-radius: var(--mm-radius-sm, 6px) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart a:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:hover,
.wp-block-button__link.add_to_cart_button:hover,
.wc-block-components-product-button .wc-block-components-product-button__button:hover {
  background-color: var(--mm-red-dark, #991B1B) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

