@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* Bavarian Engines — 2026 premium design system */
:root {
  --brand: #1B6FD4;
  --brand-dark: #0F4A9E;
  --brand-light: #DFEBFA;
  --brand-mid: #3B82F6;
  --accent: #E5B84A;
  --accent-hover: #D4A73D;
  --accent-soft: #FBF5E8;
  --gold: var(--accent);
  --gold-hover: var(--accent-hover);
  --text: #5C6B7E;
  --text-strong: #2D3A4D;
  --heading: #0B1220;
  --white: #ffffff;
  --surface-pure: #FFFFFF;
  --surface-base: #EDF2F8;
  --surface: #F8FAFD;
  --surface-muted: #E2EAF4;
  --surface-muted-end: #D5DFEC;
  --surface-elevated: #FCFDFF;
  --surface-input: #F5F8FC;
  --surface-glass: 248 251 254;
  --footer-bg: #070B12;
  --footer-bg-alt: #0F172A;
  --footer-text: rgba(226, 232, 240, 0.76);
  --border: #CDD8E6;
  --border-strong: #B0BFD1;
  --dropdown-bg: #0F172A;
  --page-banner: linear-gradient(135deg, #070B12 0%, #0F4A9E 50%, #1B6FD4 100%);
  --whatsapp: #22C55E;
  --sale-badge: var(--accent);
  --ink: 11 18 32;
  --brand-rgb: 27 111 212;
  --accent-rgb: 229 184 74;
  --hero-overlay: linear-gradient(125deg, rgb(var(--ink) / 0.94) 0%, rgb(var(--ink) / 0.72) 42%, rgb(var(--brand-rgb) / 0.45) 100%);
  --card-overlay: linear-gradient(to top, rgb(var(--ink) / 0.92) 0%, rgb(var(--ink) / 0.2) 58%, transparent 100%);
  --gradient-brand: linear-gradient(135deg, #1B6FD4 0%, #3B82F6 100%);
  --gradient-accent: linear-gradient(135deg, #E5B84A 0%, #F0C96E 100%);
  --gradient-mesh:
    radial-gradient(ellipse 85% 55% at 8% 0%, rgb(var(--brand-rgb) / 0.14), transparent 52%),
    radial-gradient(ellipse 65% 45% at 92% 8%, rgb(var(--accent-rgb) / 0.1), transparent 48%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgb(var(--brand-rgb) / 0.06), transparent 55%);
  --container: 1240px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgb(var(--ink) / 0.04);
  --shadow-sm: 0 4px 16px rgb(var(--ink) / 0.06);
  --shadow-md: 0 16px 40px rgb(var(--ink) / 0.09);
  --shadow-lg: 0 28px 56px rgb(var(--ink) / 0.12);
  --shadow-glow: 0 8px 32px rgb(var(--brand-rgb) / 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--surface-base);
  background-image: var(--gradient-mesh);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgb(var(--brand-rgb) / 0.18);
  color: var(--heading);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgb(var(--surface-glass) / 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgb(var(--brand-rgb) / 0.1);
  box-shadow: 0 4px 24px rgb(var(--brand-rgb) / 0.06);
  overflow: visible;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.logo:hover { opacity: 0.92; }
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-emblem {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.logo-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  min-height: 44px;
}
.logo-title,
.logo-subtitle {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--heading);
}
.logo-subtitle {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--text);
  padding-left: 1px;
}
.logo-img,
.logo-svg {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--heading);
  line-height: 1.2;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand) 50%, #fff 50%, #fff 100%);
  border: 2.5px solid var(--brand);
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav .has-dropdown,
.main-nav .menu-item-has-children { position: relative; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.main-nav > ul > li > a:hover {
  color: var(--brand);
  background: var(--brand-light);
  transform: translateY(-1px);
}
.main-nav > ul > li > a.active {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 4px 14px rgb(var(--brand-rgb) / 0.3);
}
.main-nav > ul > li > a.active::after { display: none; }
.main-nav .chevron { width: 8px; height: 8px; opacity: 0.7; }

.main-nav .submenu,
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 12px 8px 8px;
  list-style: none;
  background: var(--dropdown-bg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 1200;
  pointer-events: none;
}
/* Invisible bridge so the menu stays open while moving the mouse down */
.main-nav .submenu::before,
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.main-nav .has-dropdown:hover > .submenu,
.main-nav .has-dropdown:hover > .sub-menu,
.main-nav .has-dropdown:focus-within > .submenu,
.main-nav .has-dropdown:focus-within > .sub-menu,
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu,
.main-nav .has-dropdown.is-open > .submenu,
.main-nav .has-dropdown.is-open > .sub-menu,
.main-nav .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.main-nav .has-dropdown.is-open .chevron,
.main-nav .has-dropdown:hover .chevron,
.main-nav .menu-item-has-children.is-open .chevron,
.main-nav .menu-item-has-children:hover .chevron {
  transform: rotate(180deg);
}
.main-nav .chevron {
  transition: transform 0.2s;
}
.submenu li,
.sub-menu li { margin: 0; padding: 0; }
.submenu a,
.sub-menu a {
  display: block;
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.88) !important;
  border-bottom: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  pointer-events: auto;
}
.submenu a::after,
.sub-menu a::after { display: none !important; }
.submenu li:last-child a,
.sub-menu li:last-child a { border-bottom: none; }
.submenu a:hover,
.sub-menu a:hover {
  color: #fff !important;
  background: rgb(var(--brand-rgb) / 0.38);
}
.mobile-drawer .sub-menu,
.mobile-drawer .submenu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  box-shadow: none;
  background: transparent;
  border: none;
  padding: 0 0 0 12px;
  min-width: 0;
}
.mobile-drawer .sub-menu a,
.mobile-drawer .submenu a {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 10px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 10px;
  color: var(--text-strong);
  position: relative;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover {
  background: var(--surface-muted);
  color: var(--brand);
}
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.cart-count[hidden] {
  display: none !important;
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgb(var(--ink) / 0.55);
  z-index: 1600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--surface-elevated);
  z-index: 1700;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h2 {
  margin: 0;
  font-size: 22px;
}
.cart-close {
  font-size: 28px;
  line-height: 1;
  color: var(--text-strong);
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
}
.cart-empty {
  color: var(--text);
  line-height: 1.6;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cart-line-img img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-line-info h3 {
  font-size: 14px;
  margin: 0 0 6px;
  line-height: 1.35;
}
.cart-line-price {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--heading);
}
.cart-line-info a {
  font-size: 13px;
}
.cart-line-remove {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}
.cart-line-remove:hover {
  color: var(--brand);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 16px;
}
.cart-note {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 16px;
}
.cart-checkout-btn,
.cart-whatsapp-btn {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}
.cart-shipping-line,
.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 0 0 8px;
}
.cart-total-line strong {
  font-size: 16px;
}

/* Checkout (WooCommerce-style) */
.checkout-page {
  padding: 48px 0 80px;
  background: #f0f0f1;
}
.be-checkout-page .checkout-page .container {
  width: 100%;
  max-width: min(1440px, 96vw);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
.checkout-page .page-title {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 28px;
  font-weight: 700;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 1100px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 440px);
  }
}
.woocommerce-checkout .checkout-layout > .checkout-billing {
  min-width: 0;
}
.be-checkout-page .checkout-billing.checkout-fields {
  font-size: 18px;
}
@media (max-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
.checkout-billing,
.checkout-order-review {
  background: var(--surface-elevated);
  border-radius: 12px;
  padding: clamp(32px, 4vw, 56px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  font-size: 18px;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}
.be-checkout-page .checkout-billing.checkout-fields {
  font-size: 19px;
}
.woocommerce-checkout form.checkout {
  width: 100%;
  max-width: 100%;
}
.checkout-billing h3,
.checkout-order-review h3,
.checkout-order-review #order_review_heading {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 28px;
  font-weight: 700;
  color: var(--heading);
}
/* Billing/shipping fields — full-width single column (large, easy to read) */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .checkout-fields .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .checkout-fields .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4px;
  column-gap: 0;
  width: 100%;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-checkout .checkout-fields .form-row,
.woocommerce-checkout .checkout-fields .form-row-wide,
.woocommerce-checkout .checkout-fields .form-row-first,
.woocommerce-checkout .checkout-fields .form-row-last {
  grid-column: 1 / -1;
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 20px;
  padding: 0;
  float: none;
}
.checkout-fields label,
.woocommerce-checkout .checkout-fields label,
.woocommerce-checkout .woocommerce-billing-fields label,
.woocommerce-checkout .woocommerce-shipping-fields label {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
}
.checkout-fields .optional {
  font-weight: 400;
  color: var(--text);
}
.woocommerce-checkout .checkout-fields .woocommerce-input-wrapper,
.checkout-fields .woocommerce-input-wrapper,
.checkout-fields .input-text,
.woocommerce-checkout .checkout-fields .input-text,
.checkout-fields input[type="text"],
.checkout-fields input[type="email"],
.checkout-fields input[type="tel"],
.checkout-fields input[type="number"],
.checkout-fields input[type="password"],
.checkout-fields select,
.checkout-fields textarea,
.woocommerce-checkout .checkout-fields input.input-text,
.woocommerce-checkout .checkout-fields input[type="text"],
.woocommerce-checkout .checkout-fields input[type="email"],
.woocommerce-checkout .checkout-fields input[type="tel"],
.woocommerce-checkout .checkout-fields input[type="number"],
.woocommerce-checkout .checkout-fields select,
.woocommerce-checkout .checkout-fields textarea,
.woocommerce-checkout .woocommerce-billing-fields input.input-text,
.woocommerce-checkout .woocommerce-billing-fields input[type="text"],
.woocommerce-checkout .woocommerce-billing-fields input[type="email"],
.woocommerce-checkout .woocommerce-billing-fields input[type="tel"],
.woocommerce-checkout .woocommerce-billing-fields select,
.woocommerce-checkout .woocommerce-shipping-fields input.input-text,
.woocommerce-checkout .woocommerce-shipping-fields select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 56px;
  box-sizing: border-box;
  padding: 16px 18px !important;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  font-size: 18px !important;
  line-height: 1.45;
  font-family: inherit;
  color: var(--heading);
  background: var(--surface-elevated);
}
.checkout-fields textarea,
.woocommerce-checkout .checkout-fields textarea,
.woocommerce-checkout .woocommerce-billing-fields textarea {
  min-height: 120px;
  resize: vertical;
}
.woocommerce-checkout .checkout-fields .select2-container,
.woocommerce-checkout .woocommerce-billing-fields .select2-container,
.woocommerce-checkout .woocommerce-shipping-fields .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single {
  min-height: 56px;
  height: auto;
  padding: 12px 18px;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  font-size: 18px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px;
  font-size: 18px;
  color: var(--heading);
  padding-left: 0;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 54px;
}
.checkout-fields .checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
}
.checkout-fields .checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
}
.shipping-fields {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}
.shipping-fields[hidden] {
  display: none !important;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 17px;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 14px 0;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
  color: var(--heading);
}
.woocommerce-checkout-review-order-table thead th {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid #e0e0e0;
}
.woocommerce-checkout-review-order-table .product-name {
  font-weight: 500;
  line-height: 1.4;
}
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table td:last-child {
  text-align: right;
}
.woocommerce-checkout-review-order-table .product-quantity {
  font-weight: 600;
}
.woocommerce-checkout-review-order-table tfoot th {
  font-weight: 500;
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  border-bottom: none;
  padding-top: 20px;
  font-size: 1.35em;
  font-weight: 700;
}
.woocommerce-shipping-totals td {
  padding-top: 12px;
}
.ct-shipping-heading {
  font-weight: 500;
  margin-bottom: 8px;
}
.woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-shipping-methods li label {
  font-weight: 400;
}

/* Payment */
.woocommerce-checkout-payment {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}
.wc_payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.wc_payment_method {
  margin-bottom: 12px;
}
.wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
}
.wc_payment_method .input-radio {
  display: none;
}
.wc_payment_method > label::before {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: var(--surface-elevated);
}
.wc_payment_method .input-radio:checked + label::before {
  border-color: #f0b429;
  background: radial-gradient(circle, #f0b429 40%, #fff 45%);
}
.wc_payment_method > label {
  font-size: 17px;
}
.payment_method_bacs .payment_box {
  margin: 10px 0 0 28px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
}
.payment_method_bacs .payment_box p {
  margin: 0;
}
.be-checkout-page .wc_payment_methods .wc_payment_method:only-child > label::before {
  display: none;
}
.be-checkout-page .wc_payment_methods .wc_payment_method:only-child > label {
  padding-left: 0;
  cursor: default;
}
.woocommerce-terms-and-conditions-wrapper {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.55;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-info {
  font-size: 16px;
  margin-bottom: 20px;
}
.woocommerce-privacy-policy-text p {
  margin: 0 0 12px;
}
.cr-customer-consent {
  margin: 0;
}
.cr-customer-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}
/* Checkout buttons (WC styles are off — style explicitly) */
.woocommerce-checkout form.checkout .button,
.woocommerce-checkout form.checkout button.button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .checkout_coupon button.button,
.woocommerce-checkout button[name="apply_coupon"] {
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.woocommerce-checkout .place-order {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 2px solid #e8e8e8;
}
.woocommerce-checkout #place_order,
.woocommerce-checkout .place-order .button,
.woocommerce-checkout .place-order .button.alt,
.woocommerce-checkout .checkout-order-review .place-order .button.alt {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  padding: 20px 28px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: none;
  background: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  box-shadow: 0 8px 28px rgb(var(--brand-rgb) / 0.38);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
}
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .place-order .button:hover,
.woocommerce-checkout .checkout-order-review .place-order .button.alt:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
  box-shadow: 0 12px 32px rgb(var(--brand-rgb) / 0.42);
  transform: translateY(-1px);
}
/* Cart page — Proceed to checkout */
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-page.woocommerce-cart .wc-proceed-to-checkout {
  padding-top: 20px;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart a.checkout-button.button.alt.wc-forward {
  display: block !important;
  width: 100% !important;
  max-width: 420px;
  margin-left: auto;
  padding: 20px 28px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center;
  text-decoration: none !important;
  background: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 28px rgb(var(--brand-rgb) / 0.38);
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart a.checkout-button.button.alt.wc-forward:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
}
.cart-checkout-btn {
  padding: 16px 24px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  background: var(--brand) !important;
  color: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 20px rgb(var(--brand-rgb) / 0.32);
}
.woocommerce-checkout .checkout_coupon button.button,
.woocommerce-checkout button[name="apply_coupon"] {
  background: var(--brand) !important;
  color: #fff !important;
}
.woocommerce-checkout .checkout_coupon button.button:hover,
.woocommerce-checkout button[name="apply_coupon"]:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon,
.woocommerce-checkout a.showcoupon {
  font-weight: 600;
}

/* WooCommerce checkout page — full width (page.php no longer uses content-narrow) */
.be-checkout-page .site-main,
.be-checkout-page #primary {
  max-width: none;
  padding: 0;
}
.be-checkout-page .entry-header {
  display: none;
}
.be-checkout-page .section-checkout {
  padding: 0;
}
.be-checkout-page .container-checkout,
.be-checkout-page .content-narrow {
  max-width: none !important;
  width: 100%;
  padding-left: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
}
.be-checkout-page .woocommerce > .checkout-page {
  margin: 0;
}
/* Force every billing/shipping control to span the full column (overrides WooCommerce defaults) */
.be-checkout-page.woocommerce-checkout form.checkout .col2-set,
.be-checkout-page.woocommerce-checkout form.checkout .col2-set .col-1,
.be-checkout-page.woocommerce-checkout form.checkout .col2-set .col-2,
.be-checkout-page.woocommerce-checkout form.checkout #customer_details,
.be-checkout-page.woocommerce-checkout form.checkout .woocommerce-billing-fields,
.be-checkout-page.woocommerce-checkout form.checkout .woocommerce-shipping-fields,
.be-checkout-page.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper,
.be-checkout-page.woocommerce-checkout form.checkout .woocommerce-shipping-fields__field-wrapper,
.be-checkout-page.woocommerce-checkout form.checkout .woocommerce-input-wrapper {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
}
.be-checkout-page.woocommerce-checkout form.checkout .form-row,
.be-checkout-page.woocommerce-checkout form.checkout .form-row-first,
.be-checkout-page.woocommerce-checkout form.checkout .form-row-last,
.be-checkout-page.woocommerce-checkout form.checkout .form-row-wide {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}
.be-checkout-page.woocommerce-checkout form.checkout input.input-text,
.be-checkout-page.woocommerce-checkout form.checkout select,
.be-checkout-page.woocommerce-checkout form.checkout textarea {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 60px;
  font-size: 20px !important;
  padding: 18px 20px !important;
}
.be-checkout-page.woocommerce-checkout form.checkout label {
  font-size: 19px !important;
  margin-bottom: 12px !important;
}
.woocommerce-checkout .checkout-layout .woocommerce-billing-fields > h3,
.woocommerce-checkout .checkout-layout .woocommerce-additional-fields > h3 {
  font-size: 1.5rem;
  margin: 0 0 24px;
  font-weight: 700;
}
.woocommerce-checkout #ship-to-different-address {
  margin: 24px 0 8px;
  padding: 0;
  font-size: 17px;
  font-weight: 500;
  border: none;
  line-height: 1.4;
}
.woocommerce-checkout #ship-to-different-address label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
}
.woocommerce-checkout #ship-to-different-address-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #f0b429;
  cursor: pointer;
}
.woocommerce-checkout .shipping_address {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.checkout-order-review {
  position: sticky;
  top: 96px;
}
.checkout-order-review .place-order .be-checkout-whatsapp {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 18px 24px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  background: #25d366 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.checkout-order-review .place-order .be-checkout-whatsapp:hover {
  background: #1ebe5d !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.order-received-page {
  padding: 64px 0 100px;
  text-align: center;
  background: #f0f0f1;
}
.order-received-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface-elevated);
  padding: 48px 40px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.order-received-box h1 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
.order-received-box .order-number {
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.order-received-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* ===== Image motion ===== */
@keyframes heroKenBurns {
  0% { background-size: 108%; background-position: 44% 52%; }
  100% { background-size: 118%; background-position: 56% 46%; }
}
@keyframes cardBgKenBurns {
  0% { background-size: 108%; background-position: 48% 50%; }
  100% { background-size: 120%; background-position: 52% 44%; }
}
@keyframes imgKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, -1.5%); }
}
@keyframes imgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes trendingThumbPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.img-motion {
  opacity: 0;
  transform: scale(1.06) translateY(22px);
  transition:
    opacity 0.85s var(--ease),
    transform 1.05s var(--ease);
  transition-delay: var(--motion-delay, 0s);
  will-change: transform, opacity;
}
.img-motion.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.img-motion.img-motion-ken.is-visible {
  animation: imgKenBurns 22s ease-in-out 0.6s infinite alternate;
}
.img-motion-sm {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.7s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--motion-delay, 0s);
}
.img-motion-sm.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: imgFloat 5s ease-in-out 0.8s infinite;
}
.category-card.img-motion-card {
  background-size: 110%;
  background-position: center;
}
.category-card.img-motion-card.is-visible {
  animation: cardBgKenBurns 20s ease-in-out infinite alternate;
}
.category-card.img-motion-card:hover {
  animation-play-state: paused;
}

/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: rgb(var(--ink)) center/cover no-repeat;
  background-image: url('../assets/hero-home.jpg');
  background-position: center center;
  background-size: 110%;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to top, var(--surface) 0%, transparent 100%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 820px;
}
.hero-brand {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heading);
  background: var(--gradient-accent);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin: 0 0 20px;
  box-shadow: 0 4px 16px rgb(var(--accent-rgb) / 0.35);
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.5vw, 60px);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-shadow: 0 2px 24px rgb(var(--ink) / 0.35);
}
.hero p { color: rgba(255, 255, 255, 0.88); font-size: 17px; max-width: 620px; }
.hero .hero-tagline,
.hero .hero-detail {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.92);
}
.hero .hero-tagline {
  margin-bottom: 16px;
}
.hero .hero-detail {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.85);
}
.hero strong { color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  text-align: center;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-white {
  background: var(--surface-pure);
  color: var(--heading);
  margin-top: 28px;
  box-shadow: 0 8px 32px rgb(var(--ink) / 0.2);
}
.btn-white:hover {
  background: var(--surface-elevated);
  color: var(--brand-dark);
  box-shadow: 0 12px 40px rgb(var(--ink) / 0.25);
}
.btn-black {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-black:hover {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 12px 36px rgb(var(--brand-rgb) / 0.42);
}
.btn-outline {
  background: rgb(var(--surface-glass) / 0.92);
  color: var(--text-strong);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--surface-elevated);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* Page banner (inner pages) */
.page-banner {
  background: var(--page-banner);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgb(var(--accent-rgb) / 0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgb(255 255 255 / 0.06), transparent 35%);
  pointer-events: none;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.page-banner-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.55;
  max-width: 640px;
  margin: 12px 0 0;
}
.page-banner--photo {
  animation: bannerPhotoKenBurns 30s ease-in-out infinite alternate;
  background-image:
    linear-gradient(135deg, rgb(var(--ink) / 0.9) 0%, rgb(var(--brand-rgb) / 0.78) 100%),
    url('https://bavarianengines.com/wp-content/uploads/2025/09/photo_5915952013403868074_y.jpg');
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, center;
  background-size: auto, 110%;
}

/* Sections */
.section { padding: 88px 0; position: relative; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.035em;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  margin: 16px auto 0;
}
.section-title-sm { font-size: clamp(32px, 3.5vw, 42px); margin-top: 0; }
.section-subtitle {
  text-align: center;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 17px;
  line-height: 1.65;
}
.section-tight { padding-top: 0; }

/* Category cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 300px;
  background-color: var(--surface-muted);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid rgb(255 255 255 / 0.1);
}
.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-overlay);
  transition: opacity 0.3s var(--ease);
}
.category-card:hover::after {
  opacity: 0.92;
}
.category-card:not(.img-motion-card):hover {
  background-size: 115%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-size 8s var(--ease);
}
.category-card h3,
.category-card h5 {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 28px 24px;
  margin: 0;
  letter-spacing: -0.01em;
}
.category-card a { color: #fff; }
.category-card a:hover { color: var(--accent); }
.category-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Product grid (shop + categories) */
.products-grid,
ul.products.products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  width: 100%;
  clear: both;
}
.products-grid::before,
.products-grid::after,
ul.products.products-grid::before,
ul.products.products-grid::after {
  display: none !important;
  content: none !important;
}
.products-grid > li.product,
ul.products.products-grid > li.product {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  list-style: none;
  display: flex !important;
}
.product-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--surface-elevated);
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card:hover .product-card-inner {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgb(var(--brand-rgb) / 0.25);
}
.product-card-img {
  background: var(--surface-muted);
  border: none;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  aspect-ratio: 1;
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.55s var(--ease);
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
}
.product-card-img img.img-motion-ken.is-visible {
  animation: imgKenBurns 18s ease-in-out 0.5s infinite alternate;
}
.product-card:hover .product-card-img img.img-motion-ken.is-visible {
  animation-play-state: paused;
}
.product-card-media-link {
  display: block;
  text-decoration: none;
}
.product-card-title {
  padding: 0 14px;
  margin: 14px 0 8px;
}
.product-card-title a {
  color: var(--heading);
  text-decoration: none;
}
.product-card-title a:hover {
  color: var(--brand);
}
.product-card-price {
  padding: 0 14px;
  margin: 0 0 8px;
}
.be-price-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  line-height: 1.4;
}
.be-price-now {
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
}
.be-price-was {
  font-weight: 400;
  font-size: 15px;
  color: #9ca3af !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1px;
}
.product-card-price .be-price-was,
.woocommerce .be-price-was {
  color: #9ca3af !important;
  text-decoration: line-through !important;
}
.product-card-stars {
  padding: 0 14px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1;
}
.product-card-actions {
  margin-top: auto;
  padding: 0 14px 14px;
}
.product-card-actions .button,
.product-card-actions .add_to_cart_button {
  width: 100%;
  margin: 0 !important;
}
.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card-img {
  background: var(--surface-muted);
  border: none;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  aspect-ratio: 1;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--heading);
}
.product-price {
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.product-card-img {
  position: relative;
}
.product-card-img .sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.woocommerce .price,
.product-card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.woocommerce .price ins,
.product-card .price ins,
.product-card-price ins,
.be-price-now {
  text-decoration: none !important;
  font-weight: 600;
  color: var(--heading) !important;
  background: transparent !important;
}
.woocommerce .price del,
.product-card .price del,
.product-card-price del,
.be-price-was,
.be-price-was del {
  color: #9ca3af !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
  background: transparent !important;
}
.woocommerce .price del .woocommerce-Price-amount,
.product-card .price del .woocommerce-Price-amount,
.product-card-price del .woocommerce-Price-amount,
.be-price-was .woocommerce-Price-amount,
.be-price-was .woocommerce-Price-currencySymbol {
  color: #9ca3af !important;
  text-decoration: line-through !important;
}
.woocommerce .price ins .woocommerce-Price-amount,
.product-card .price ins .woocommerce-Price-amount,
.product-card-price ins .woocommerce-Price-amount,
.be-price-now .woocommerce-Price-amount {
  color: var(--heading) !important;
  font-weight: 600;
  text-decoration: none !important;
}
.products-grid .button,
.products-grid a.add_to_cart_button {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--heading);
  color: #fff !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.products-grid .button:hover,
.products-grid a.add_to_cart_button:hover {
  background: var(--brand);
  color: #fff !important;
}
.shop-pagination,
.woocommerce-pagination {
  margin-top: 40px;
  clear: both;
}
.shop-pagination ul.page-numbers,
.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--heading);
  background: var(--surface-elevated);
}
.shop-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.product-card-media-wrap {
  position: relative;
  margin: 0 0 16px;
}
.product-card-gallery {
  position: relative;
  margin: 0;
  background: var(--surface-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.product-card:hover .product-card-gallery {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card-main-link {
  display: block;
  background: var(--surface-elevated);
}
.product-card-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.55s var(--ease);
}
.product-card:hover .product-card-main,
.product-card-gallery:hover .product-card-main {
  transform: scale(1.06);
}
.product-card-main.img-motion-ken.is-visible {
  animation: imgKenBurns 18s ease-in-out 0.5s infinite alternate;
}
.product-card:hover .product-card-main.img-motion-ken.is-visible {
  animation-play-state: paused;
  transform: scale(1.08);
}
.product-card-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  overflow-x: auto;
  background: var(--surface-elevated);
  border-top: 1px solid var(--border);
  scrollbar-width: thin;
}
.product-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-elevated);
}
.product-thumb.is-active {
  border-color: var(--brand);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-stock {
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
  margin: 0 0 10px;
}
.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.product-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.product-card h3 a { color: var(--heading); }
.product-card h3 a:hover { color: var(--brand); }
.price {
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
}
.price del,
.be-price-was {
  color: #9ca3af !important;
  font-weight: 400;
  margin-left: 0;
  text-decoration: line-through !important;
}
.product-meta {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 8px 0 16px;
}
.product-meta a { color: var(--text); }
.product-card .btn-black {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

/* Product detail page */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail-gallery {
  position: relative;
}
.product-detail-gallery .sale-badge {
  z-index: 2;
}
.product-detail-main {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-detail-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.product-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.product-detail-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-elevated);
}
.product-detail-thumb.is-active {
  border-color: var(--brand);
}
.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-title {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
}
.product-detail-price {
  font-size: 22px;
  margin-bottom: 12px;
}
.product-stock-detail {
  font-weight: 600;
  color: #15803d;
  margin: 0 0 20px;
}
.product-specs {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
}
.product-specs ul {
  margin: 0;
  padding-left: 20px;
}
.product-specs li {
  margin-bottom: 8px;
}
.product-add-form {
  margin-bottom: 20px;
}
.qty-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}
.product-qty {
  width: 80px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 16px;
  margin-bottom: 16px;
  display: block;
}
.product-detail-cart {
  width: 100%;
  max-width: 320px;
}
.product-sku-meta {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 12px;
}
.product-live-link {
  font-size: 14px;
}
@media (max-width: 999px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* WooCommerce single product (matches bavarianengines.com layout) */
.be-single-product-section {
  padding-top: 24px;
  padding-bottom: 64px;
}
.be-single-product-container {
  max-width: 1200px;
}
.single-product .woocommerce-breadcrumb {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: var(--accent);
}
.single-product .woocommerce-breadcrumb a {
  color: var(--accent);
}
.single-product .woocommerce-breadcrumb a:hover {
  color: var(--heading);
}
.single-product div.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 56px;
  align-items: start;
}
.single-product div.product > .onsale,
.single-product div.product > .be-gallery-sale-badge {
  display: none;
}
.single-product .woocommerce-product-gallery {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 560px;
  margin: 0;
  float: none !important;
}
.single-product .be-gallery-sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: block !important;
}
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .flex-viewport {
  max-width: 100%;
}
.single-product .woocommerce-product-gallery__image a {
  display: block;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .flex-viewport img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}
.single-product .woocommerce-product-gallery__image img.img-motion-ken.is-visible,
.single-product .be-catalog-gallery-main img.img-motion-ken.is-visible,
.product-detail-main img.img-motion-ken.is-visible {
  animation: imgKenBurns 22s ease-in-out 0.5s infinite alternate;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 72px));
  gap: 8px;
  margin: 12px 0 0 !important;
  padding: 0;
  list-style: none;
  overflow: visible;
  width: 100%;
  max-width: 400px;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 72px !important;
  height: 72px;
  margin: 0 !important;
  float: none !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100% !important;
  height: 100% !important;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  opacity: 0.65;
  cursor: pointer;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: var(--brand);
}
.single-product .woocommerce-product-gallery.be-product-gallery,
.single-product .be-catalog-gallery {
  opacity: 1 !important;
}
.single-product .be-catalog-gallery {
  position: relative;
  max-width: 560px;
}
.single-product .be-catalog-gallery-main {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.single-product .be-catalog-gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.single-product .be-catalog-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 72px));
  gap: 8px;
  margin-top: 12px;
}
.single-product .be-catalog-gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-elevated);
}
.single-product .be-catalog-gallery-thumb.is-active {
  border-color: var(--brand);
}
.single-product .be-catalog-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-product div.product .summary.entry-summary {
  grid-column: 2;
  grid-row: 1;
  width: 100% !important;
  float: none !important;
  margin: 0;
  padding: 0;
}
.single-product .product_title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.single-product .summary .price {
  font-size: 22px;
  margin-bottom: 16px;
}
.single-product .entry-summary-items .product_title {
  margin-bottom: 12px;
}
.single-product .entry-summary-items > .price {
  font-size: 22px;
  margin: 0 0 20px;
}
.single-product .entry-summary-items .sale-price del,
.single-product .entry-summary-items .sale-price del .amount {
  color: #9ca3af !important;
  font-weight: 400;
  text-decoration: line-through !important;
}
.single-product .entry-summary-items .sale-price ins,
.single-product .entry-summary-items .sale-price ins .amount {
  text-decoration: none !important;
  font-weight: 600;
  color: var(--heading);
}
.single-product .summary .woocommerce-product-details__short-description,
.single-product .summary .product-specs {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
  color: var(--text);
}
.single-product .summary .woocommerce-product-details__short-description h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--heading);
  line-height: 1.5;
}
.single-product .summary .woocommerce-product-details__short-description h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 18px 0 0;
  color: var(--heading);
  line-height: 1.35;
}
.single-product .summary .woocommerce-product-details__short-description ul {
  margin: 0;
  padding-left: 20px;
}
.single-product .summary .woocommerce-product-details__short-description li {
  margin-bottom: 8px;
}
.single-product .summary .woocommerce-product-details__short-description strong,
.single-product .summary .woocommerce-product-details__short-description b,
.single-product .summary .woocommerce-product-details__short-description .font-bold {
  color: var(--heading);
  font-weight: 700;
}
.single-product .be-product-divider {
  display: block;
  height: 1px;
  margin: 20px 0;
  background: var(--border);
  border: 0;
}
.single-product .be-product-add-to-cart .stock {
  font-size: 14px;
  font-weight: 600;
  color: #15803d;
  margin: 0 0 14px;
}
.single-product .be-product-add-to-cart form.cart {
  margin: 0;
}
.single-product .summary form.cart {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.single-product .summary form.cart .quantity {
  margin: 0;
}
.single-product .summary form.cart .qty {
  width: 72px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
}
.single-product .summary form.cart .single_add_to_cart_button {
  flex: 1 1 200px;
  max-width: 320px;
  padding: 14px 24px;
}
.single-product .product_meta {
  font-size: 13px;
  color: var(--text);
  margin-top: 8px;
}
.single-product .product_meta > span {
  display: block;
  margin-bottom: 6px;
}
.single-product .woocommerce-tabs,
.single-product .woocommerce-product-attributes,
.single-product section.related.products {
  grid-column: 1 / -1;
  width: 100%;
}
.single-product .woocommerce-tabs {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border);
}
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
  display: none;
}
.single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}
.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--heading);
  border-bottom-color: var(--accent);
}
.single-product .woocommerce-Tabs-panel {
  font-size: 15px;
  line-height: 1.7;
}
.single-product .woocommerce-Tabs-panel h2,
.single-product .woocommerce-Tabs-panel h5.serp-title {
  font-size: 22px;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--heading);
}
.single-product .woocommerce-Tabs-panel h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--heading);
}
.single-product .woocommerce-Tabs-panel h3 em {
  font-style: italic;
}
.single-product .woocommerce-Tabs-panel ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.single-product .woocommerce-Tabs-panel li {
  margin-bottom: 6px;
}
.single-product .woocommerce-Tabs-panel p {
  margin: 0 0 12px;
}
.single-product .woocommerce-Tabs-panel a {
  color: var(--accent);
  font-weight: 600;
}
.single-product .woocommerce-Tabs-panel mark {
  background: transparent;
  color: inherit;
}
.single-product .be-product-description-tab h2,
.single-product .be-product-description-tab h5.serp-title {
  font-size: 22px;
  margin: 0 0 16px;
  font-weight: 700;
}
.single-product .be-product-description-tab h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
}
.single-product .be-product-description-tab ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.single-product .be-product-description-tab a {
  color: var(--accent);
  font-weight: 600;
}
.single-product section.related.products {
  margin-top: 56px;
  padding-top: 8px;
  clear: both;
}
.single-product section.related.products > h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 28px;
}
.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}
.single-product section.related.products ul.products::before,
.single-product section.related.products ul.products::after {
  display: none !important;
}
.single-product section.related.products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}
.single-product section.related.products .product-card-img {
  aspect-ratio: 1;
  max-height: 220px;
}
.single-product section.related.products .product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 220px;
}
.single-product .woocommerce-product-gallery__trigger {
  top: 12px;
  right: 12px;
}
@media (max-width: 999px) {
  .single-product div.product {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .single-product .woocommerce-product-gallery,
  .single-product div.product .summary.entry-summary {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
  }
  .single-product section.related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 689px) {
  .single-product section.related.products ul.products {
    grid-template-columns: 1fr;
  }
}

/* Shop toolbar */
.shop-section {
  padding-top: 48px;
}
.shop-toolbar,
.shop-toolbar.woocommerce-toolbar,
.woocommerce-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
.shop-toolbar .result-count,
.shop-toolbar .woocommerce-result-count,
.woocommerce .woocommerce-result-count {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 0;
  float: none;
}
.woocommerce .woocommerce-ordering {
  margin: 0;
  float: none;
}
.woocommerce .woocommerce-ordering select,
.shop-toolbar .orderby,
.shop-toolbar .sort-select {
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  background: var(--surface-elevated);
  cursor: pointer;
  min-width: 200px;
}
.sort-select {
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  background: var(--surface-elevated);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sort-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 0.14);
}

.product-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 6px;
}

.shop-pagination {
  margin-top: 48px;
  text-align: center;
}
.shop-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.shop-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--heading);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.shop-pagination a:hover,
.shop-pagination .current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text);
}

/* Two column content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.two-col .highlight { color: var(--brand); font-weight: 700; }

/* Homepage SEO / info block (matches live site dark section) */
.home-info-section {
  background-color: var(--heading);
  background-image:
    linear-gradient(135deg, rgb(var(--ink) / 0.92) 0%, rgb(var(--brand-rgb) / 0.82) 55%, rgb(var(--ink) / 0.88) 100%),
    url('../assets/hero-home.jpg') center/cover no-repeat;
  background-size: auto, 110%;
  animation: homeInfoKenBurns 28s ease-in-out infinite alternate;
  padding: 80px 0;
  position: relative;
  color: #fff;
}
@keyframes homeInfoKenBurns {
  0% { background-size: auto, 108%; background-position: 0 0, 44% 52%; }
  100% { background-size: auto, 118%; background-position: 0 0, 56% 46%; }
}
@keyframes bannerPhotoKenBurns {
  0% { background-size: auto, 108%; background-position: 0 0, 44% 52%; }
  100% { background-size: auto, 118%; background-position: 0 0, 56% 46%; }
}
.home-info-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgb(var(--accent-rgb) / 0.12), transparent 55%);
  pointer-events: none;
}
.home-info-section .container {
  position: relative;
  z-index: 1;
}
.home-info-copy > h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  text-align: center;
  margin: 0 0 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.home-info-copy h3 {
  color: #fff;
  font-size: 20px;
  margin: 24px 0 12px;
}
.home-info-copy p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.home-info-copy ul {
  margin: 0 0 16px 20px;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
}
.home-info-copy li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.home-info-copy a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-info-copy a:hover {
  color: #fff;
}
.home-info-copy strong { color: #fff; }
.home-info-copy em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

/* Homepage long-form SEO block */
.home-seo-prose {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--surface-elevated);
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 689px) {
  .home-seo-prose {
    padding: 32px 24px;
  }
}
.home-seo-prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 20px;
  text-align: center;
}
.home-seo-prose h3 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--heading);
}
.home-seo-prose p {
  margin: 0 0 18px;
  line-height: 1.75;
  color: var(--text);
}
.home-seo-prose ul {
  margin: 0 0 20px 24px;
  padding: 0;
}
.home-seo-prose li {
  margin-bottom: 12px;
  line-height: 1.65;
  color: var(--text);
}
.home-seo-prose a {
  font-weight: 600;
}

/* Value content blocks with images */
.value-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.value-card {
  background: var(--surface-elevated);
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgb(var(--brand-rgb) / 0.15);
}
.value-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.55s var(--ease);
}
.value-card:hover img {
  transform: scale(1.06);
}
.value-card img.img-motion-ken.is-visible {
  animation: imgKenBurns 22s ease-in-out 0.5s infinite alternate;
}
.value-card:hover img.img-motion-ken.is-visible {
  animation-play-state: paused;
}
.value-card-body {
  padding: 22px 20px 24px;
}
.value-card-body h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--heading);
}
.value-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.value-card-body h3 a:hover {
  color: var(--brand);
}
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.content-split:last-child {
  margin-bottom: 0;
}
.content-split.reverse {
  direction: rtl;
}
.content-split.reverse > * {
  direction: ltr;
}
.content-split img {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  transform-origin: center center;
  transition: transform 0.55s var(--ease), box-shadow 0.35s var(--ease);
}
.content-split:hover img {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(var(--brand-rgb) / 0.08);
}
.content-split img.img-motion-ken.is-visible {
  animation: imgKenBurns 24s ease-in-out 0.6s infinite alternate;
}
.content-split:hover img.img-motion-ken.is-visible {
  animation-play-state: paused;
}
.content-split h3 {
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--heading);
}
.content-split p {
  margin: 0 0 14px;
  line-height: 1.75;
  color: var(--text);
}
.content-split p:last-child {
  margin-bottom: 0;
}
.shop-intro {
  margin-bottom: 40px;
}
.shop-intro-lead {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
@media (max-width: 999px) {
  .value-showcase {
    grid-template-columns: 1fr;
  }
  .content-split,
  .content-split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    margin-bottom: 40px;
  }
}

/* Layout helpers */
.section-muted {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface-muted-end) 100%);
  border-top: 1px solid rgb(var(--brand-rgb) / 0.12);
  border-bottom: 1px solid rgb(var(--brand-rgb) / 0.12);
  background-image: var(--gradient-mesh), linear-gradient(180deg, var(--surface-muted) 0%, var(--surface-muted-end) 100%);
}
.about-copy h2 { font-size: 28px; margin: 36px 0 16px; }
.about-copy h2:first-of-type { margin-top: 0; }
.content-list { margin: 0 0 20px 24px; padding: 0; }
.content-list li { margin-bottom: 10px; line-height: 1.6; }

/* About page */
.about-team-section { padding-top: 48px; }
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--shadow-lg);
  transform-origin: center center;
}
.about-hero img.img-motion-ken.is-visible {
  animation: imgKenBurns 24s ease-in-out 0.5s infinite alternate;
}
.about-hero h2 { font-size: 36px; margin-bottom: 16px; color: var(--heading); }
.about-hero h3 { font-size: 20px; margin-bottom: 16px; color: var(--heading); }
.text-highlight { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.trust-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  background: var(--surface-elevated);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgb(var(--brand-rgb) / 0.2);
}
.trust-card img {
  max-width: 180px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.trust-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--heading);
}
.trust-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.warranty-intro { text-align: center; }
.warranty-intro .section-title { margin-bottom: 20px; }

.visit-store-section { background: var(--surface-muted); padding: 64px 0; }
.visit-store {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.visit-store h2 {
  font-size: 32px;
  margin: 0 0 16px;
  color: var(--heading);
}
.visit-store > p {
  color: var(--text);
  margin: 0 0 24px;
  line-height: 1.6;
}
.visit-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Services page */
.services-hero .btn-outline {
  border-color: var(--border-strong);
  color: var(--heading);
}
.services-categories .category-card p {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.services-categories {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .services-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.service-row-reverse {
  direction: rtl;
}
.service-row-reverse > * {
  direction: ltr;
}
.service-row-media {
  margin: 0;
}
.service-row-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.service-row-body h3 {
  font-size: 26px;
  margin: 0 0 14px;
  color: var(--heading);
}
.service-row-body p,
.service-row-body .content-list {
  color: var(--text);
  line-height: 1.65;
}
.service-row-body .content-list {
  margin: 12px 0 16px;
}
.services-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}
.services-mini-badges img {
  border-radius: 8px;
  object-fit: contain;
}
.services-process-wrap {
  align-items: start;
  gap: 48px;
}
.service-process-img {
  margin: 0;
}
.service-process-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
.service-process-img figcaption {
  font-size: 13px;
  color: var(--text);
  margin-top: 10px;
  text-align: center;
}
.services-audience-cards .service-audience-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 12px;
}
.services-audience-cards h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.services-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  text-align: center;
}
.services-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  box-shadow: var(--shadow-sm);
}
.services-stat strong {
  display: block;
  font-size: 32px;
  color: var(--brand);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}
.services-stat span {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.services-why-copy {
  margin-top: 0;
}
.services-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  margin-top: 8px;
}
.services-model-col h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--heading);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 8px;
}
.services-model-col .content-list {
  margin: 0;
  font-size: 14px;
}
.services-included .content-list {
  margin: 16px 0;
}
.services-guide-table-wrap {
  overflow-x: auto;
  margin: 24px 0 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.services-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.services-guide-table th,
.services-guide-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.services-guide-table thead th {
  background: var(--surface-muted);
  font-weight: 700;
  color: var(--heading);
}
.services-guide-table tbody tr:last-child td {
  border-bottom: none;
}
.services-payment-grid {
  margin-top: 24px;
}
.services-blog-links {
  margin-top: 16px;
}
@media (max-width: 960px) {
  .services-stats {
    grid-template-columns: repeat(2, fr);
  }
  .services-models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-stats {
    grid-template-columns: 1fr;
  }
  .services-models-grid {
    grid-template-columns: 1fr;
  }
  .services-guide-table {
    font-size: 13px;
  }
  .services-guide-table th,
  .services-guide-table td {
    padding: 10px 12px;
  }
}

/* Contact page */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--surface-elevated);
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgb(var(--brand-rgb) / 0.25);
  box-shadow: var(--shadow-lg);
}
.contact-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--heading);
}
.contact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.contact-card a {
  color: var(--brand);
  font-weight: 600;
}
.contact-card a:hover {
  color: var(--brand-dark);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.contact-form-panel {
  background: var(--surface-elevated);
  border: 1px solid rgb(var(--brand-rgb) / 0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}
.contact-form-panel h2 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--heading);
}
.contact-form-panel .form-lead {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 24px;
  line-height: 1.5;
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--heading);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 16px;
  background: var(--surface-input);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 0.14);
  background: var(--surface-pure);
}
.contact-form .btn {
  width: 100%;
}
.contact-prose h2.policy-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
}
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    position: static;
    order: -1;
  }
}
@media (max-width: 689px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}
.services-process {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: be-step;
}
.services-process li {
  position: relative;
  padding: 0 0 32px 56px;
  border-left: 2px solid var(--border);
  margin-left: 20px;
}
.services-process li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.services-process li::before {
  counter-increment: be-step;
  content: counter(be-step);
  position: absolute;
  left: -21px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-process li strong {
  display: block;
  font-size: 18px;
  color: var(--heading);
  margin-bottom: 8px;
}
.services-process li p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.services-detail-grid h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--heading);
}
.services-detail-grid p {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}
.services-detail-grid a {
  color: var(--brand);
  font-weight: 600;
}
.services-audience {
  gap: 32px 48px;
}
.services-audience h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--heading);
}
.services-audience p {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}
@media (max-width: 768px) {
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
  .services-process li {
    margin-left: 16px;
    padding-left: 48px;
  }
  .service-row,
  .service-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  .services-process-wrap {
    grid-template-columns: 1fr;
  }
}

.m57-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.m57-hero-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: var(--shadow-lg);
  transform-origin: center center;
}
.m57-hero-img img.img-motion-ken.is-visible {
  animation: imgKenBurns 24s ease-in-out 0.5s infinite alternate;
}
.m57-intro a { color: var(--brand); font-weight: 600; }

/* Blog */
.blog-index-page .site-header {
  position: relative;
  z-index: 2;
}
.blog-hero {
  padding: 100px 0 64px;
  background: linear-gradient(135deg, #121A22 0%, #1A556E 45%, #2A7A9B 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgb(var(--accent-rgb) / 0.18), transparent 40%);
  pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.blog-hero p {
  margin: 0;
  font-size: 18px;
  opacity: 0.9;
  max-width: 560px;
  margin-inline: auto;
}
.blog-list-section {
  padding: 64px 0 88px;
  background: var(--surface-muted);
  min-height: 50vh;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--surface-elevated);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-muted);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.55s var(--ease);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}
.blog-card-img img.img-motion-ken.is-visible {
  animation: imgKenBurns 20s ease-in-out 0.5s infinite alternate;
}
.blog-card:hover .blog-card-img img.img-motion-ken.is-visible {
  animation-play-state: paused;
}
.blog-card h3,
.blog-card-excerpt {
  padding-left: 24px;
  padding-right: 24px;
}
.blog-card h3 {
  padding-top: 20px;
}
.blog-card-excerpt {
  padding-bottom: 24px;
  flex: 1;
}
.blog-card h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 14px;
}
.blog-card h3 a {
  color: var(--heading);
}
.blog-card h3 a:hover {
  color: var(--brand);
}
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.blog-post-banner {
  text-align: left;
}
.blog-post-banner h1 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.25;
  max-width: 900px;
}
.blog-back {
  margin: 0 0 16px;
  font-size: 14px;
}
.blog-back a {
  color: var(--brand);
  font-weight: 600;
}
.blog-post-wrap {
  max-width: 900px;
}
.blog-article {
  line-height: 1.7;
}
.blog-heading {
  font-size: 26px;
  margin: 40px 0 16px;
  color: var(--heading);
}
.blog-heading:first-child {
  margin-top: 0;
}
.blog-prose {
  margin-bottom: 20px;
  color: var(--text);
}
.blog-prose p { margin: 0 0 16px; }
.blog-prose ul,
.blog-prose ol { margin: 0 0 16px 24px; }
.blog-prose li { margin-bottom: 8px; }
.blog-prose a { color: var(--brand); font-weight: 600; }
.blog-prose strong { color: var(--heading); }
.blog-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin: 32px 0;
}
.blog-split-reverse {
  direction: ltr;
}
.blog-media img,
.blog-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
.blog-figure {
  margin: 28px 0;
}
.blog-gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.blog-gallery-2 img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-cta {
  text-align: center;
  margin: 24px 0;
}
.blog-cta .btn-black {
  display: inline-block;
  min-width: 200px;
}
.blog-faq {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.blog-faq summary {
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.blog-faq summary::-webkit-details-marker { display: none; }
.blog-faq[open] summary { color: var(--heading); }
.blog-faq .blog-prose {
  padding-bottom: 18px;
}

/* Internal / external link blocks */
.related-links-section {
  padding-top: 48px;
  padding-bottom: 56px;
}
.related-links-section .section-title {
  text-align: center;
  margin-bottom: 36px;
}
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}
.related-links-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.related-links-col {
  min-width: 0;
}
.related-links-col h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgb(var(--brand-rgb) / 0.2);
  color: var(--heading);
}
.related-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.related-links-list li {
  margin-bottom: 11px;
  padding-left: 0;
  line-height: 1.55;
}
.related-links-list a {
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
}
.related-links-list a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.related-links-list a[target="_blank"]::after {
  content: ' ↗';
  font-size: 12px;
  opacity: 0.65;
}
.blog-prose .related-links-grid {
  margin-top: 8px;
}
@media (max-width: 999px) {
  .related-links-grid,
  .related-links-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 689px) {
  .related-links-grid,
  .related-links-grid--3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Blog internal linking blocks */
.blog-post-related {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgb(var(--brand-rgb) / 0.12);
}
.blog-related-posts {
  margin-bottom: 48px;
}
.blog-related-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.blog-related-list a {
  font-weight: 600;
  color: var(--brand);
  line-height: 1.45;
  display: block;
}
.blog-related-list a:hover {
  color: var(--brand-dark);
}
.blog-related-more {
  margin: 0;
  font-weight: 600;
}
.blog-related-more a {
  color: var(--heading);
}
.blog-site-links {
  padding: 32px 0 0;
}
.blog-site-links .related-links-grid {
  text-align: left;
}
.blog-prose a,
.blog-faq a,
.be-linkify a {
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgb(var(--brand-rgb) / 0.35);
  text-underline-offset: 2px;
}
.blog-prose a:hover,
.blog-faq a:hover,
.be-linkify a:hover {
  color: var(--brand-dark);
}

@media (max-width: 999px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-split { grid-template-columns: 1fr; }
}
@media (max-width: 689px) {
  .blog-grid,
  .blog-gallery-2 { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 32px; }
}

/* FAQ Accordion */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: var(--surface-elevated);
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  padding: 0 24px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.faq-item[open] {
  border-color: rgb(var(--brand-rgb) / 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  color: var(--heading);
  list-style: none;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 600;
  color: var(--brand);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 0 20px; color: var(--text); }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface-elevated);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgb(var(--brand-rgb) / 0.1);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgb(var(--brand-rgb) / 0.12);
}
.stars,
.review-stars,
.review-card .review-stars,
.review-body .review-stars,
.be-review-import .review-stars,
.reviews-summary .stars,
.reviews-score .stars,
.review-item .stars {
  color: #f0b429;
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.review-card-header .review-stars {
  margin-bottom: 0;
  flex-shrink: 0;
}
.review-card .review-body .review-stars {
  display: none;
}
.testimonial-card p { font-size: 15px; margin-bottom: 16px; }
.testimonial-card h6 { font-size: 14px; margin: 0; color: var(--heading); }

/* Reviews page */
.reviews-summary {
  max-width: 900px;
  margin: 0 auto 40px;
}
.reviews-summary-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.reviews-score { text-align: center; min-width: 140px; }
.reviews-average {
  font-size: 48px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}
.reviews-score p {
  font-size: 13px;
  color: var(--text);
  margin: 8px 0 0;
}
.reviews-histogram {
  flex: 1;
  min-width: 260px;
  border-collapse: collapse;
  font-size: 13px;
}
.reviews-histogram td { padding: 4px 8px; vertical-align: middle; }
.reviews-histogram td:first-child { white-space: nowrap; width: 60px; }
.reviews-histogram td:last-child { text-align: right; width: 40px; color: var(--text); }
.review-meter {
  height: 8px;
  background: var(--surface-muted);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.review-meter-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-mid));
  border-radius: var(--radius-pill);
}
.reviews-count-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 16px 0 0;
}
.reviews-loading {
  text-align: center;
  color: var(--text);
  padding: 40px;
}
.review-list { max-width: 900px; margin: 0 auto; }
.review-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
  position: relative;
}
.avatar .verified {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--whatsapp);
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.review-header strong { color: var(--heading); }
.review-date { font-size: 14px; color: #999; }
.review-product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.review-product img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.review-product a { font-size: 14px; font-weight: 600; color: var(--brand); }

/* M57 page content */
.content-narrow { max-width: 800px; margin: 0 auto; }
.content-narrow h2 { font-size: 32px; margin: 32px 0 16px; }

.policy-prose { max-width: 800px; margin: 0 auto; line-height: 1.7; }
.policy-prose h2.policy-section-title {
  font-size: 32px;
  margin: 48px 0 20px;
  padding-top: 16px;
  color: var(--heading);
}
.policy-prose h2.policy-section-title:first-child { margin-top: 0; padding-top: 0; }
.policy-prose h2:not(.policy-section-title) {
  font-size: 22px;
  margin: 28px 0 12px;
  color: var(--heading);
}
.policy-prose p { margin: 0 0 16px; color: var(--text); }
.policy-prose ul,
.policy-prose ol { margin: 0 0 20px 24px; padding: 0; }
.policy-prose li { margin-bottom: 12px; }
.policy-prose li p { margin: 0; }
.policy-prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.policy-prose a { color: var(--brand); font-weight: 600; }
.policy-prose a:hover { color: var(--brand-dark); }
.policy-prose strong { color: var(--heading); }
.gold-links a { color: var(--brand); font-weight: 600; display: block; margin: 8px 0; }
.gold-links a:hover { color: var(--brand-dark); }

/* Footer */
.site-footer {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgb(var(--brand-rgb) / 0.12), transparent 55%),
    linear-gradient(180deg, var(--footer-bg-alt) 0%, var(--footer-bg) 100%);
  color: var(--footer-text);
  margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--brand-rgb) / 0.4), transparent);
}
.footer-middle {
  padding: 72px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-grid h3 {
  color: #F8FAFC;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.footer-grid a { color: rgba(226, 232, 240, 0.82); font-size: 15px; display: block; margin-bottom: 10px; transition: color 0.2s var(--ease); }
.footer-grid a:hover { color: var(--accent); }
.footer-grid h6 { font-size: 14px; margin: 0 0 8px; }
.footer-grid h6 a { display: inline; }
.contact-block li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}
.contact-block .label { font-weight: 600; color: #E2E8F0; min-width: 70px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(148, 163, 184, 0.9);
}

/* Trending bar */
.trending-bar {
  background: linear-gradient(90deg, var(--footer-bg) 0%, var(--brand-dark) 55%, var(--brand) 100%);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  position: relative;
}
.trending-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.04), transparent);
  pointer-events: none;
}
.trending-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.trending-bar h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  padding: 6px 14px;
  background: rgb(255 255 255 / 0.1);
  border-radius: var(--radius-pill);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.trending-items {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  flex: 1;
  padding: 8px 0;
}
.trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.trending-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid rgb(255 255 255 / 0.15);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease);
}
.trending-item:hover img {
  transform: scale(1.08);
  animation: trendingThumbPulse 1.2s ease-in-out infinite;
}
.trending-item a { color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color 0.2s var(--ease); }
.trending-item a:hover { color: var(--accent); }

/* Floating widgets */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  max-width: 400px;
  background: rgb(var(--surface-glass) / 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
  border: 1px solid rgb(var(--brand-rgb) / 0.12);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 14px; margin-bottom: 16px; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-buttons .btn { flex: 1; padding: 10px 16px; font-size: 14px; }

.lang-switcher {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9997;
  background: rgb(var(--surface-glass) / 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
  border: 1px solid rgb(var(--brand-rgb) / 0.12);
  padding: 8px 12px;
  min-width: 120px;
}
body.cookie-visible .lang-switcher { bottom: 140px; }

/* GTranslate dropdown inside language switcher */
.lang-switcher .gtranslate_wrapper {
  font-family: var(--font);
  position: relative;
}
.lang-switcher .gt_switcher {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--heading) !important;
  cursor: pointer;
  border: none !important;
  background: transparent !important;
  padding: 4px 6px !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.lang-switcher .gt_switcher img {
  width: 24px !important;
  height: auto !important;
  border-radius: 4px;
}
.lang-switcher .gt_options {
  position: absolute !important;
  bottom: calc(100% + 8px) !important;
  left: 0 !important;
  top: auto !important;
  background: var(--surface-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  min-width: 180px !important;
  padding: 6px 0 !important;
}
.lang-switcher .gt_options a {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: var(--heading) !important;
  text-decoration: none !important;
}
.lang-switcher .gt_options a:hover {
  background: var(--brand-light) !important;
  color: var(--brand) !important;
}
.lang-switcher .gt_options img {
  width: 22px !important;
}

/* Hide Google top banner bar; keep in-page translation */
.goog-te-banner-frame,
.skiptranslate iframe.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0 !important;
}
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

/* Recent purchase social proof toast */
.purchase-toast {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 9996;
  max-width: min(380px, calc(100vw - 40px));
  background: rgb(var(--surface-glass) / 0.94);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgb(var(--brand-rgb) / 0.12);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
  pointer-events: none;
}
.purchase-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.purchase-toast.is-leaving {
  opacity: 0;
  transform: translateX(24px);
}
.purchase-toast-close {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
}
.purchase-toast-close:hover {
  background: var(--surface-muted);
  color: var(--heading);
}
.purchase-toast-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 36px 14px 14px;
  text-decoration: none;
  color: var(--text-strong);
}
.purchase-toast-link:hover {
  color: var(--heading);
}
.purchase-toast-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(var(--brand-rgb) / 0.12);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.purchase-toast-body {
  font-size: 13px;
  line-height: 1.55;
}
.purchase-toast-body strong {
  color: var(--heading);
  font-weight: 600;
}
.purchase-toast-time {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 689px) {
  .purchase-toast {
    bottom: 84px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.45);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* Search modal */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgb(var(--ink) / 0.96);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-modal.open { display: flex; }
.search-modal form {
  width: 100%;
  max-width: 600px;
  display: flex;
  gap: 12px;
  padding: 0 24px;
}
.search-modal input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 24px;
  padding: 12px 0;
  outline: none;
}
.search-modal input:focus { border-color: var(--brand); }
.search-modal button {
  background: var(--brand);
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-pill);
  color: #fff;
  transition: background 0.2s var(--ease);
}
.search-modal button:hover { background: var(--brand-dark); }
.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(420px, 90vw);
  height: 100%;
  background: rgb(var(--ink) / 0.98);
  backdrop-filter: blur(12px);
  z-index: 1500;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  padding: 28px 24px;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-engines-group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-engines-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  padding: 14px 0;
  cursor: pointer;
  text-align: left;
}
.mobile-engines-toggle .toggle-arrow {
  font-size: 14px;
  transition: transform 0.2s;
}
.mobile-engines-toggle.is-open .toggle-arrow { transform: rotate(180deg); }
.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-bottom: 8px;
}
.mobile-submenu.is-open { display: flex; }
.mobile-drawer .sub {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0 10px 16px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: none;
}
.mobile-drawer .sub:hover { color: var(--accent); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1400;
  display: none;
}
.drawer-overlay.open { display: block; }

@media (max-width: 999px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .categories-grid,
  .products-grid,
  ul.products.products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .about-hero, .m57-layout { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
}

@media (max-width: 689px) {
  .categories-grid,
  .products-grid,
  ul.products.products-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 440px; }
  .logo-emblem {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }
  .logo-type {
    padding-left: 10px;
    min-height: 38px;
    gap: 3px;
  }
  .logo-img,
  .logo-svg { height: 52px; width: auto; }
  .logo-title { font-size: 11px; letter-spacing: 0.12em; }
  .logo-subtitle { font-size: 7px; letter-spacing: 0.3em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero,
  .home-info-section,
  .page-banner--photo,
  .category-card.img-motion-card.is-visible {
    animation: none !important;
    background-size: cover !important;
  }
  .img-motion,
  .img-motion-sm {
    opacity: 1;
    transform: none;
  }
  .hero::after,
  .page-banner::after {
    animation: none;
  }
}
