@font-face {
  font-family: "IRANYekanWeb";
  src: url("/demo/valee/fonts/IRANYekanWeb-Bold.woff2") format("woff2"),
       url("/demo/valee/fonts/IRANYekanWeb-Bold.woff") format("woff"),
       url("/demo/valee/fonts/IRANYekanWeb-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1420px;
  --font-ui: Tahoma, "Segoe UI", Arial, sans-serif;
  --font-ui-bold: "IRANYekanWeb", Tahoma, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
button,
.footer-link-title {
  font-family: var(--font-ui-bold);
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

main {
  min-height: 100vh;
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
}

.primary-button,
.secondary-button,
.text-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  transition: transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.primary-button {
  color: white;
  font-weight: 800;
}

.primary-button:hover {
  transform: translateY(-2px);
}

.text-link,
.text-button {
  color: var(--ink);
  background: none;
  padding: 0;
  min-height: auto;
  font-weight: 800;
}

.text-link:hover,
.text-button:hover {
  color: var(--accent);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
  position: relative;
}

.icon-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: white;
}

/* Header */

.header-shell {
  margin: auto;
  grid-template-columns: 1fr auto 1fr;
}

.brand {
  grid-column: 3;
  justify-self: end;
  gap: 11px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.desktop-nav {
  grid-column: 2;
}

.desktop-nav a {
  position: relative;
  transition: 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.desktop-nav a.active::after {
  width: 18px;
}

.header-actions {
  grid-column: 1;
  justify-self: start;
}

.login-link {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.login-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -6px;
  left: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: white;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Home hero */

@keyframes heroImageFloat {
  0%,

  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(0.6deg);
  }
}

/* Sections */

.featured-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* General page hero */

.page-hero {
  padding-top: 95px;
  padding-bottom: 72px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.page-hero.compact {
  min-height: 350px;
}

.page-hero h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.page-hero p {
  color: var(--muted);
  max-width: 700px;
  margin: 18px 0 0;
  font-size: 15px;
}

/* Product visual and cards */

.product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
  animation: cardIn 0.55s ease both;
  animation-delay: var(--delay);
  display: flex;
  flex-direction: column;
  height: 100%;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card-visual-wrap {
  position: relative;
  cursor: pointer;
  padding: 8px 8px 0;
  flex: 0 0 auto;
}

.product-visual {
  height: 350px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
}

.product-visual.is-compact {
  height: 245px;
  border-radius: 12px;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
  padding: 12px;
}

.product-placeholder::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.1) 70%
  );
  filter: blur(2px);
}

.placeholder-copy {
  position: absolute;
  bottom: 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.is-compact .placeholder-copy {
  bottom: 16px;
}

.placeholder-copy strong {
  font-size: 11px;
  color: #5f5a55;
}

.placeholder-copy small {
  color: #9a938d;
  font-size: 9px;
  margin-top: 2px;
}

.card-heart {
  position: absolute;
  top: 21px;
  left: 21px;
  width: 38px;
  height: 38px;
  border: 1px solid #d4d0ca;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #6f6963;
  transition: 0.25s;
  z-index: 2;
}

.card-heart:hover,
.card-heart.active {
  color: var(--accent);
  border-color: #d7ad98;
  background: #fff;
  transform: scale(1.04);
}

.product-code-badge {
  position: absolute;
  right: 21px;
  top: 21px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  z-index: 2;
}

.product-card-body {
  padding: 18px 18px 19px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-card-meta {
  font-size: 9px;
  font-weight: 800;
  min-height: 18px;
}

.product-name-button {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  text-align: right;
  width: 100%;
}

.product-name-button h3 {
  margin: 5px 0 6px;
  font-size: 16px;
  line-height: 1.5;
  min-height: 48px;
  max-height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-body p {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
  line-height: 1.8;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  color: var(--ink);
  font-weight: 900;
  font-size: 14px;
  margin: 15px 0 14px;
  margin-top: auto;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
  direction: rtl;
}

.product-card-actions .primary-button {
  min-height: 46px;
  font-size: 11px;
  border-radius: 10px;
}

/* Catalog */

.catalog-section {
  padding-bottom: 100px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  direction: rtl;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 102px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(12px);
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.sidebar-title-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.sidebar-title-row h2 {
  margin: 0;
  font-size: 21px;
}

.all-products-button {
  width: 100%;
  border: 1px solid var(--line);
  background: #f6f4f1;
  padding: 11px 12px;
  border-radius: 10px;
  text-align: right;
  cursor: pointer;
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 8px;
}

.all-products-button.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.category-group {
  border-bottom: 1px solid #e8e5e1;
}

.category-group-head {
  width: 100%;
  min-height: 49px;
  padding: 0 3px;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 11px;
}

.category-group-head .rotate {
  transform: rotate(180deg);
  color: var(--accent);
}

.category-group-head span:last-child {
  transition: transform 0.25s;
  display: flex;
}

.subcategory-list {
  padding: 0 9px 10px;
  display: grid;
  gap: 2px;
}

.subcategory-list button {
  border: 0;
  background: none;
  color: #77706a;
  text-align: right;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
}

.subcategory-list button:hover {
  background: #f1efeb;
  color: var(--ink);
}

.subcategory-list button.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 10px;
  margin-bottom: 16px;
}

.catalog-search {
  height: 52px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
}

.catalog-search:focus-within {
  background: white;
}

.catalog-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.sort-control {
  position: relative;
  height: 52px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 13px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
}

.sort-control > span {
  color: #8d857e;
  font-size: 9px;
}

.sort-control select {
  border: 0;
  outline: 0;
  background: transparent;
  appearance: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.sort-control svg {
  pointer-events: none;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 2px 17px;
  min-height: 28px;
}

.catalog-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.catalog-summary strong {
  color: var(--ink);
}

.catalog-summary button {
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.pagination {
  display: flex;
  gap: 7px;
  margin-top: 36px;
}

.pagination button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  cursor: pointer;
  font-size: 11px;
}

.empty-state {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
}

.empty-state > span {
  color: var(--accent);
  font-weight: 800;
}

.empty-state h3 {
  margin: 8px 0 22px;
  font-size: 18px;
}

.catalog-loading {
  min-height: 400px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

/* Product modal */

.product-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 30px;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(33, 29, 26, 0.52);
  backdrop-filter: blur(10px);
  cursor: default;
}

.glass-panel {
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(28px) saturate(115%);
  border: 1px solid rgba(41, 36, 32, 0.34);
  box-shadow: 0 45px 120px rgba(24, 20, 17, 0.3);
}

.product-modal {
  position: relative;
  width: min(1060px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  direction: ltr;
  animation: modalIn 0.28s ease both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(70, 62, 55, 0.22);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.modal-visual-side {
  direction: rtl;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.modal-visual-side .product-visual {
  border: 1px solid rgba(171, 164, 156, 0.35);
}

.modal-stock-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #6d675f;
  padding-top: 13px;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5d8961;
  box-shadow: 0 0 0 5px rgba(93, 137, 97, 0.1);
}

.modal-content-side {
  direction: rtl;
  padding: 48px 38px 34px 34px;
  display: flex;
  flex-direction: column;
}

.modal-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.modal-category-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b9b2aa;
}

.modal-content-side h2 {
  letter-spacing: -0.035em;
  margin: 12px 0 10px;
}

.modal-short-description {
  color: var(--muted);
  margin: 0 0 24px;
}

.product-spec-strip {
  display: grid;
  border-top: 1px solid rgba(93, 84, 76, 0.18);
  border-bottom: 1px solid rgba(93, 84, 76, 0.18);
  margin-bottom: 22px;
}

.product-spec-strip > div {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-spec-strip > div:first-child {
  border-left: 1px solid rgba(93, 84, 76, 0.18);
  padding-left: 20px;
}

.product-spec-strip > div:last-child {
  padding-right: 20px;
}

.product-spec-strip span {
  color: #8c857e;
  font-size: 9px;
}

.product-spec-strip strong {
  font-size: 14px;
}

.modal-actions-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 10px;
  direction: rtl;
}

.quantity-control {
  height: 49px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.quantity-control button {
  border: 0;
  background: transparent;
  cursor: pointer;
  height: 100%;
  display: grid;
  place-items: center;
}

.quantity-control button:hover {
  color: var(--accent);
  background: rgba(59, 80, 108, 0.06);
}

.quantity-control span {
  text-align: center;
  font-weight: 900;
  font-size: 12px;
}

.add-cart-button {
  min-height: 49px;
}

.add-cart-button.is-added {
  background: #55795b;
}

.favorite-action {
  margin-top: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.favorite-action:hover,
.favorite-action.active {
  border-color: #d6a18a;
  color: var(--accent);
  background: #fff9f6;
}

/* Search overlay */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 110px;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(37, 33, 29, 0.4);
  backdrop-filter: blur(10px);
}

.search-panel {
  width: min(760px, calc(100% - 32px));
  position: relative;
  z-index: 1;
  background: rgba(250, 249, 246, 0.96);
  border: 1px solid rgba(61, 55, 49, 0.2);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 34px 100px rgba(34, 28, 24, 0.26);
  animation: modalIn 0.25s ease both;
}

.search-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.search-panel-head h2 {
  margin: 0;
  font-size: 26px;
}

.search-form-large {
  margin-top: 22px;
  height: 58px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  background: white;
}

.search-form-large input {
  flex: 1;
  border: 0;
  outline: 0;
  background: none;
  min-width: 0;
}

.search-form-large .text-button {
  white-space: nowrap;
  color: var(--accent);
}

.search-results {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  max-height: 320px;
  overflow: auto;
}

.search-result-item {
  width: 100%;
  min-height: 55px;
  border: 0;
  background: transparent;
  border-radius: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  text-align: right;
}

.search-result-item:hover {
  background: #f0ede8;
}

.search-result-item span {
  font-weight: 800;
  font-size: 12px;
}

.search-result-item small {
  color: var(--muted);
}

.search-results .muted {
  padding: 12px;
  margin: 0;
  font-size: 11px;
}

/* Shop categories */

/* About */

/* Blog */

/* Contact and forms */

.contact-info-panel,
.contact-form,
.auth-form {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label,
.auth-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span,
.auth-form label > span {
  font-size: 10px;
  font-weight: 800;
  color: #5e5852;
}

.contact-form input,
.contact-form textarea,
.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfaf8;
  outline: 0;
  padding: 12px 13px;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus {
  border-color: #9eafbf;
  box-shadow: 0 0 0 4px rgba(59, 80, 108, 0.05);
  background: white;
}

.contact-form textarea {
  resize: vertical;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.form-note {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}

.form-note.success {
  color: #4f7958;
}

/* Auth */

/* Cart */

.cart-section {
  padding-bottom: 100px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

.cart-items-panel,
.cart-summary-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: 22px;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.cart-head h2 {
  margin: 0;
  font-size: 20px;
}

.cart-head span {
  color: var(--muted);
  font-size: 10px;
}

.cart-items {
  display: grid;
}

.cart-item {
  min-height: 140px;
  display: grid;
  grid-template-columns: 125px 1fr 124px 36px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item .product-visual.is-compact {
  min-height: 104px;
  height: 104px;
  border-radius: 12px;
}

.cart-item .placeholder-copy {
  display: none;
}

.cart-item-copy {
  display: flex;
  flex-direction: column;
}

.cart-item-copy > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
}

.cart-item-copy h3 {
  margin: 3px 0 7px;
  font-size: 14px;
}

.cart-item-copy strong {
  font-size: 11px;
}

.quantity-control.compact {
  height: 42px;
  grid-template-columns: 34px 1fr 34px;
}

.remove-cart-item {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.remove-cart-item:hover {
  color: var(--accent);
  border-color: #d4a38b;
}

.cart-summary-panel {
  position: sticky;
  top: 104px;
}

.cart-summary-panel h2 {
  margin: 0 0 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.summary-line strong {
  font-size: 10px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}

.summary-total span {
  font-weight: 800;
  font-size: 11px;
}

.summary-total strong {
  color: var(--accent);
  font-size: 14px;
}

.checkout-demo {
  width: 100%;
}

.cart-summary-panel > p {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
  margin: 10px 0 0;
}

.cart-empty {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.cart-empty-mark {
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: #ece8e3;
  place-items: center;
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 20px;
  transform: rotate(-5deg);
}

.cart-empty h2 {
  font-size: 28px;
  margin: 0;
}

.cart-empty p {
  color: var(--muted);
  max-width: 500px;
  font-size: 11px;
  margin: 9px 0 22px;
}

/* Mobile menu */

.mobile-menu-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(35, 31, 28, 0.38);
  backdrop-filter: blur(8px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: #f8f7f4;
  border-left: 1px solid var(--line);
  padding: 20px;
  animation: drawerIn 0.25s ease both;
}

@keyframes drawerIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: none;
  }
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-panel nav {
  display: grid;
  margin-top: 14px;
}

.mobile-menu-panel nav a {
  padding: 13px 7px;
  border-bottom: 1px solid #e9e6e2;
  font-weight: 800;
  font-size: 13px;
}

.mobile-menu-panel nav a.active {
  color: var(--accent);
}

/* 404 */

.not-found {
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.not-found > strong {
  color: var(--accent);
  font-size: 90px;
  line-height: 1;
}

.not-found h1 {
  font-size: 38px;
  margin: 18px 0 4px;
}

.not-found p {
  color: var(--muted);
  margin: 0 0 20px;
}

@media (max-width: 1180px) {
  .login-link span {
    display: none;
  }

  .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .featured-grid,

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .section-shell,

  .header-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-shell {
    grid-template-columns: 1fr 1fr;
  }

  .brand {
    grid-column: 2;
  }

  .header-actions {
    grid-column: 1;
  }

  .login-link {
    display: none;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .section-shell,

  .header-shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .site-header {
    padding: 9px 0;
  }

  .header-shell {
    min-height: 50px;
  }

  .brand {
    font-size: 17px;
    gap: 8px;
  }

  .header-actions {
    gap: 5px;
  }

  .icon-button,

  .mobile-menu-button {
    width: 38px;
    height: 38px;
  }

  .home-category-grid,

  .featured-grid,

  .product-grid,

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,

  .page-hero.compact {
    min-height: 300px;
    padding-top: 65px;
    padding-bottom: 45px;
  }

  .page-hero h1 {
    font-size: 39px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    padding: 14px;
  }

  .product-visual.is-compact {
    height: 280px;
    min-height: 280px;
  }

  .product-modal-layer {
    padding: 10px;
    align-items: end;
  }

  .product-modal {
    width: 100%;
    max-height: 94vh;
    grid-template-columns: 1fr;
    border-radius: 24px 24px 0 0;
  }

  .modal-visual-side {
    padding: 12px;
  }

  .modal-visual-side .product-visual {
    min-height: 280px;
  }

  .modal-content-side {
    padding: 22px 18px 26px;
  }

  .modal-close {
    top: 16px;
    left: 16px;
  }

  .modal-actions-row {
    grid-template-columns: 1fr;
  }

  .quantity-control {
    width: 100%;
  }

  .product-spec-strip strong {
    font-size: 12px;
  }

  .search-overlay {
    padding-top: 72px;
  }

  .search-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .search-panel-head h2 {
    font-size: 20px;
  }

  .search-form-large .text-button {
    font-size: 0;
  }

  .search-form-large .text-button svg {
    width: 20px;
    height: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,

  .contact-form,

  .auth-form {
    padding: 20px;
  }

  .cart-item {
    grid-template-columns: 82px 1fr 34px;
    gap: 10px;
  }

  .cart-item .product-visual.is-compact {
    min-height: 78px;
    height: 78px;
  }

  .cart-item > .quantity-control {
    grid-column: 2 / 3;
    width: 120px;
  }

  .remove-cart-item {
    grid-column: 3;
    grid-row: 1;
  }

  .cart-item-copy {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Contact hero retained from the supplied homepage reference */

/* ========================================================================== */

/* ========================================================================== */

/* Header: nav and account controls share the exact same optical center line. */

.site-header {
  border-bottom-color: #ebe6e0;
}

.brand,
.desktop-nav,
.header-actions {
  height: 44px;
  align-items: center;
}

.home5-eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.home5-primary,
.home5-secondary,
.home5-light-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  transition: transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.home5-primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}

.home5-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.home5-light-button {
  background: #fff;
  color: var(--navy);
  border: 1px solid #fff;
}

.home5-light-button:hover {
  transform: translateY(-2px);
  background: var(--warm-beige-soft);
}

/* Home */

.home5-section {
  padding-bottom: 96px;
}

.home5-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.home5-heading.centered {
  justify-content: center;
  text-align: center;
}

.home5-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.32;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.home5-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}

/* About — adapted from the supplied homepage/about visual language */

.about5-hero {
  min-height: 490px;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
  display: flex;
  margin-bottom: 85px;
}

.about5-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.about5-hero-inner {
  color: #fff;
}

.about5-hero-inner > span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
}

.about5-hero-inner h1 {
  max-width: 800px;
  margin: 7px 0 12px;
}

.about5-hero-inner p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 2;
}

.about5-intro-media > span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.about5-value {
  justify-content: flex-end;
}

.about5-value:nth-child(2) {
  background: var(--warm-beige-soft);
}

.about5-value > span {
  margin-bottom: auto;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 900;
}

.about5-band {
  min-height: 390px;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  margin-bottom: 75px;
}

.about5-band-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(23, 30, 39, 0.84),
    rgba(23, 30, 39, 0.38)
  );
}

.about5-band-inner {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.about5-band-inner span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
}

.about5-band-inner h2 {
  max-width: 760px;
  margin: 7px 0 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.4;
}

/* Blog */

.blog5-hero {
  display: grid;
}

.blog5-feature-media {
  background-size: cover;
  background-position: center;
}

.blog5-feature-copy {
  border-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog5-feature-copy h1 {
  margin: 7px 0 16px;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.42;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.blog5-feature-copy p {
  margin: 0;
  font-size: 11px;
  line-height: 2.05;
}

.blog5-feature-copy .home5-primary {
  align-self: flex-start;
  margin-top: 22px;
}

.blog5-section {
  padding-bottom: 110px;
}

.blog5-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 315px;
  transition: transform 0.28s ease;
}

.blog5-card:hover {
  transform: translateY(-5px);
}

.blog5-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 410px;
}

.blog5-card-media {
  background-size: cover;
  background-position: center;
  border-radius: 0 19px 19px 0;
}

.blog5-card-copy {
  border: 1px solid #e1d8cf;
  border-right: 0;
  border-radius: 19px 0 0 19px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog5-card:nth-child(even) .blog5-card-copy {
  background: var(--warm-beige-soft);
}

.blog5-card-copy > span {
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 800;
}

.blog5-card-copy h2 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.65;
}

.blog5-card.featured h2 {
  font-size: clamp(24px, 2.5vw, 36px);
}

.blog5-card-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.95;
}

.blog5-card-copy button {
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

/* Product/catalog keeps the approved structure, only receives the calmer palette. */

.primary-button {
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(34, 42, 53, 0.13);
}

.primary-button:hover {
  background: var(--accent-dark);
  box-shadow: 0 16px 34px rgba(127, 69, 45, 0.16);
}

.product-card {
  border-color: #e3ddd7;
}

.product-code-badge,
.pagination button.active {
  background: var(--accent);
}

/* Footer — compact, darker and calmer. */

.footer-socials a {
  background: #f2e9df;
}

@media (max-width: 920px) {
  .home5-hero,

  .home5-about,

  .about5-intro,

  .blog5-hero {
    grid-template-columns: 1fr;
  }

  .home5-about-media,

  .about5-intro-media,

  .blog5-feature-media {
    min-height: 430px;
    border-radius: 24px 24px 0 0;
  }

  .home5-about-copy,

  .about5-intro-copy,

  .blog5-feature-copy {
    border: 1px solid #e1d8cf;
    border-top: 0;
    border-radius: 0 0 24px 24px;
  }

  .blog5-grid {
    grid-template-columns: 1fr;
  }

  .blog5-card.featured {
    grid-column: auto;
  }

  .blog5-card,

  .blog5-card.featured {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .about5-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .home5-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home5-blog-card,

  .blog5-card,

  .blog5-card.featured {
    grid-template-columns: 1fr;
  }

  .home5-blog-image,

  .blog5-card-media {
    min-height: 240px;
    border-radius: 19px 19px 0 0;
  }

  .home5-blog-copy,

  .blog5-card-copy {
    border: 1px solid #e1d8cf;
    border-top: 0;
    border-radius: 0 0 19px 19px;
  }

  .about5-intro-media,

  .home5-about-media,

  .blog5-feature-media {
    min-height: 340px;
  }

  .home5-cta,

  .about5-band {
    min-height: 350px;
  }
}

/* ========================================================================== */

/* ========================================================================== */

:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #2f4561;
  --muted: #6e7c8d;
  --line: #dce3ea;
  --line-strong: #bcc8d4;
  --navy: #344f6e;
  --navy-deep: #263d57;
  --warm-beige: #eef2f6;
  --warm-beige-soft: #f5f7fa;
  --warm-cream: #ffffff;
  --shadow: 0 22px 60px rgba(36, 58, 82, 0.1);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f4f7fa 100%);
  color: var(--ink);
}

/* Header — center menu is locked to the real viewport center. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e4eaf0;
}

.header-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  min-height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}

.brand {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  direction: rtl;
}

.brand-logo-slot {
  width: 118px;
  height: 38px;
  border: 1px dashed #aebbc7;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7b8b9c;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 800;
}

.desktop-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  direction: rtl;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 27px;
  white-space: nowrap;
}

.desktop-nav a {
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 13px;
  color: #526276;
  font-weight: 700;
}

.desktop-nav a::after {
  background: var(--accent);
  bottom: 3px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--navy);
}

.header-actions {
  order: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  gap: 8px;
}

.login-link,
.icon-button,
.mobile-menu-button {
  height: 44px;
  min-height: 44px;
}

.login-link {
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  background: #fff;
  border-color: var(--line);
}

.login-link svg,
.login-link span,
.icon-button svg {
  display: block;
  align-self: center;
}

.login-link:hover,
.icon-button:hover {
  border-color: #aab9c8;
  color: var(--navy);
  background: #f7f9fb;
}

.cart-count {
  background: var(--accent);
}

.primary-button,
.home5-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(52, 79, 110, 0.14);
}

.primary-button:hover,
.home5-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: 0 16px 34px rgba(52, 79, 110, 0.18);
}

.site-eyebrow,
.home5-eyebrow,
.eyebrow {
  display: inline-block;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.site-eyebrow.light {
  color: rgba(255, 255, 255, 0.76);
}

.home8-hero h1,
.home8-heading h2,
.home8-about-panel h2,
.home8-cta-inner h2,
.page-hero h1,
.about5-hero-inner h1,
.about5-band-inner h2,
.blog5-feature-copy h1,
.home5-heading h2,
.template-page-banner-inner h1,
.contact-info-panel h2 {
  font-size: var(--site-title-size) !important;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

/* Home hero — editorial split layout based on the approved reference. */

.home8-hero {
  display: grid;
  margin-top: 34px;
  margin-bottom: 84px;
  padding: 18px 0 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  direction: ltr;
}

.home8-hero-copy {
  direction: rtl;
  text-align: right;
  padding: 0 4px 0 0;
  position: relative;
}

.home8-hero-eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 14px;
}

.home8-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.045em;
}

.home8-hero-accent {
  display: block;
  width: 30px;
  height: 3px;
  margin: 22px 0 16px auto;
  border-radius: 999px;
  background: var(--accent);
}

.home8-hero-copy p {
  margin: 0;
  color: #7c8793;
  font-size: 11px;
  line-height: 2.05;
}

.home8-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home8-button {
  min-height: 46px;
  padding: 0 19px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.home8-button:hover {
  transform: translateY(-2px);
}

.home8-button.primary {
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 0 12px 26px rgba(34, 42, 53, 0.14);
}

.home8-button.primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: 0 16px 34px rgba(34, 42, 53, 0.18);
}

.home8-button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid #bac5d0;
}

.home8-button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.home8-button.light {
  background: #fff;
  color: var(--navy);
  border: 1px solid #fff;
}

.home8-button.light:hover {
  background: #f4f7fa;
}

.home8-hero-media {
  min-width: 0;
  direction: ltr;
}

.home8-hero-media img {
  filter: drop-shadow(0 20px 34px rgba(20, 34, 51, 0.1));
}

.home8-section {
  padding-bottom: 92px;
}

.home8-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.home8-heading h2 {
  margin: 4px 0 0;
  color: var(--navy);
}

.home8-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 2;
}

.home8-heading.centered {
  justify-content: center;
  text-align: center;
}

.home8-heading.centered > div {
  max-width: 680px;
}

.home8-heading.centered p {
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 2;
}

/* Six vehicle cards — one consistent navy family, no cream alternation. */

.home8-vehicle-card {
  position: relative;
  background: linear-gradient(145deg, #3b5c80 0%, #344f6e 52%, #2b4562 100%);
  border: 1px solid #2c4561;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 12px 30px rgba(31, 47, 65, 0.09);
  transition: transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.home8-vehicle-card:hover {
  transform: translateY(-6px);
  border-color: #6f879e;
  box-shadow: 0 20px 42px rgba(31, 47, 65, 0.15);
}


.home8-vehicle-media {
  margin: 10px;
  border: 1px solid #d9e1e8;
  border-radius: 14px;
  background: #f7f9fb;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home8-vehicle-card:hover .home8-vehicle-media {
  transform: scale(1.012);
  border-color: #b9c7d4;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.home8-vehicle-media.has-image {
  box-sizing: border-box;
  padding: 18px 24px;
  background-size: contain;
  background-origin: content-box;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f7f9fb;
}

.home8-vehicle-copy {
  padding: 16px 20px 20px;
}

.home8-vehicle-copy h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
}

.home8-vehicle-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9.5px;
  line-height: 1.95;
  min-height: 38px;
}

.home8-vehicle-copy > span {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 900;
}

.home8-vehicle-copy svg {
  transition: transform 0.25s ease;
}

.home8-vehicle-card:hover .home8-vehicle-copy > span svg {
  transform: translateX(-3px);
}

/* Home about — navy panel reaches the right edge; image overlaps deeper. */

.home8-about {
  margin-right: 0;
  margin-left: auto;
  display: grid;
}

.home8-about-panel {
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.home8-about-panel h2 {
  color: #fff;
  max-width: 600px;
}

.home8-about-panel p {
  color: rgba(255, 255, 255, 0.77);
  max-width: 570px;
}

.home8-about-panel .home8-button {
  align-self: flex-start;
}

.home8-about-image {
  background-size: cover;
  background-position: center;
  border: 2px solid #d2dbe4;
  box-shadow: 0 25px 62px rgba(38, 61, 87, 0.17);
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    filter 0.35s ease;
}

.home8-about-image::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  pointer-events: none;
}

.home8-about-image:hover {
  border-color: #9eb0c0;
  box-shadow: 0 36px 86px rgba(38, 61, 87, 0.24);
  filter: saturate(1.03);
}

.home8-benefits {
  padding-top: 6px;
}

.home8-benefit {
  text-align: center;
  padding-inline: 10px;
}

.home8-benefit-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 15px 32px rgba(38, 61, 87, 0.14);
  transition: 0.28s ease;
}

.home8-benefit:hover .home8-benefit-icon {
  transform: translateY(-5px);
  background: var(--navy-deep);
  box-shadow: 0 20px 38px rgba(38, 61, 87, 0.2);
}

.home8-benefit h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 15px;
}

.home8-benefit p {
  margin: 0 auto;
  max-width: 250px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.95;
}

.home8-cta {
  min-height: 390px;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  margin-bottom: 72px;
}

.home8-cta-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    270deg,
    rgba(38, 61, 87, 0.9),
    rgba(38, 61, 87, 0.34)
  );
}

.home8-cta-inner {
  color: #fff;
}

.home8-cta-inner h2 {
  margin: 7px 0 19px;
  max-width: 720px;
  color: #fff;
}

/* About page — new composition instead of the previous paired boxes and 3 cards. */

.about5-intro {
  display: grid;
  align-items: center;
  gap: 0;
  min-height: 520px;
  direction: rtl;
}

.about5-intro-copy {
  min-height: 470px;
  background: var(--navy);
  color: #fff;
  border: 1px solid #2c4561;
  padding: clamp(38px, 5vw, 68px);
  box-shadow: 0 24px 62px rgba(38, 61, 87, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about5-intro-copy .home5-eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.about5-intro-copy h2 {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px) !important;
  line-height: 1.48;
  margin: 6px 0 15px;
}

.about5-intro-copy p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10.5px;
  line-height: 2.05;
}

.about5-intro-copy .home5-primary {
  align-self: flex-start;
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  margin-top: 10px;
}

.about5-intro-copy .home5-primary:hover {
  background: #f2f5f8;
  color: var(--navy-deep);
}

.about5-intro-media {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border: 2px solid #d2dbe4;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(38, 61, 87, 0.14);
  transform: translateX(58px);
  z-index: 2;
  transition: transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.about5-intro-media:hover {
  transform: translateX(58px) translateY(-7px);
}

.about5-intro-media > span {
  display: none;
}

.about5-value {
  min-height: 252px;
  padding: 25px 24px 24px;
  border: 1px solid rgba(208, 217, 226, 0.92);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 12px 30px rgba(38, 61, 87, 0.045);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about5-value:hover {
  transform: translateY(-6px);
  border-color: rgba(182, 75, 85, 0.45);
  box-shadow: 0 20px 42px rgba(38, 61, 87, 0.085);
}

.about5-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid #dce3ea;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(38, 61, 87, 0.05);
}

.about5-value h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.about5-value-line {
  width: 44px;
  height: 2px;
  margin: 13px auto 14px;
  background: var(--accent);
  border-radius: 999px;
}

.about5-value p {
  margin: 0;
  color: var(--muted);
  font-size: 9.8px;
  line-height: 2;
  max-width: 290px;
}

/* Products — approved layout, updated colors and behavior only. */

.catalog-sidebar,
.catalog-search,
.sort-control,
.product-card,
.product-modal,
.modal-section,
.product-spec-strip {
  border-color: #dce3ea;
}

.catalog-sidebar {
  background: #fff;
}

.sidebar-title-row {
  align-items: flex-start;
}

.category-group.active {
  border-color: #c8d4df;
}

.subcategory-list button.active,
.all-products-button.active {
  color: var(--navy);
  background: #eef3f7;
}

.catalog-search:focus-within {
  border-color: #9eb0c0;
  box-shadow: 0 0 0 4px rgba(52, 79, 110, 0.06);
}

.product-card {
  background: #fff;
}

.product-card:hover {
  border-color: #b8c6d3;
  box-shadow: 0 24px 55px rgba(38, 61, 87, 0.11);
}

.product-card-meta {
  color: var(--navy);
}

.product-code-badge {
  border: 1px solid #d7e0e8;
}

.square-cart-button {
  width: 48px;
  height: 46px;
  border: 1px solid #bfcbd6;
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s;
}

.square-cart-button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.pagination {
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-wrap: wrap;
}

.pagination button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.pagination button:hover {
  border-color: #aebdca;
  color: var(--navy);
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Contact map — optional embed configured in assets/data/contact.js. */

.contact-map {
  margin-top: 42px;
  margin-bottom: 76px;
  min-height: 360px;
  border: 1px solid #d9e2ea;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(38, 61, 87, 0.08);
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.contact-map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, #edf3f8);
  color: #708397;
  font-size: 12px;
  font-weight: 800;
}

/* Footer — original compact structure with corrected icon treatment and larger body text. */

.site-footer {
  margin-top: 24px;
  background: var(--navy);
  color: #fff;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.footer-top {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-logo {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-socials {
  display: flex;
  gap: 7px;
  direction: ltr;
}

.footer-socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: #fff;
}

.footer-socials svg {
  width: 15px;
  height: 15px;
}

.footer-socials .social-instagram {
  background: #c84c78;
}

.footer-socials .social-instagram:hover {
  color: #c84c78;
}

.footer-socials .social-telegram {
  background: #2a93c9;
}

.footer-socials .social-telegram:hover {
  color: #2a93c9;
}

.footer-socials .social-whatsapp {
  background: #3a9d69;
}

.footer-socials .social-whatsapp:hover {
  color: #3a9d69;
}

.footer-socials .social-linkedin {
  background: #2b73a8;
}

.footer-socials .social-linkedin:hover {
  color: #2b73a8;
}

.footer-socials .social-youtube {
  background: #c94f54;
}

.footer-socials .social-youtube svg {
  width: 16px;
  height: 16px;
  display: block;
  transform: translateY(-0.2px);
}

.footer-socials .social-youtube:hover {
  color: #fff;
  background: #c94f54;
}

.footer-links-grid {
  display: grid;
  gap: 28px;
}

.footer-link-box {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-title {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  font-size: 11px;
  font-weight: 900;
  padding-bottom: 5px;
  position: relative;
}

.footer-link-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.74);
}

.footer-link-box li {
  list-style: none;
}

.footer-link-box a {
  color: rgba(255, 255, 255, 0.76);
  transition: 0.2s;
}

.footer-newsletter {
  display: grid;
  gap: 6px;
}

.footer-newsletter input,
.footer-newsletter button {
  height: 33px;
  border-radius: 6px;
}

.footer-newsletter input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
  padding: 0 10px;
  color: #fff;
  font-size: 10.5px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.footer-newsletter button {
  border: 0;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.footer-bottom {
  background: var(--navy-deep);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10.5px;
}

.footer-credit {
  direction: ltr;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .home8-vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home8-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 46px;
  }
}

@media (max-width: 920px) {
  .header-shell {
    min-height: 52px;
  }

  .brand {
    width: 118px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .home8-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 26px;
    margin-bottom: 68px;
  }

  .home8-hero-copy {
    max-width: 650px;
    margin-inline: auto;
    width: 100%;
  }

  .home8-hero-copy h1,

  .home8-hero-copy p {
    max-width: 620px;
  }

  .home8-hero-media {
    width: 100%;
  }

  .home8-about {
    width: min(calc(100% - 28px), var(--max));
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .home8-about-panel {
    min-height: 430px;
    border: 1px solid #2c4561;
    border-radius: 24px;
    padding: 42px 38px 86px;
  }

  .home8-about-image {
    min-height: 360px;
    width: calc(100% - 56px);
    justify-self: center;
    transform: translateY(-56px);
    margin-bottom: -28px;
    border-radius: 20px;
  }

  .home8-about-image:hover {
    transform: translateY(-62px) scale(1.01);
  }

  .about5-intro-copy {
    min-height: 430px;
    padding-bottom: 90px;
  }

  .about5-intro-media {
    min-height: 360px;
    width: calc(100% - 58px);
    justify-self: center;
    transform: translateY(-58px);
    margin-bottom: -26px;
  }

  .about5-intro-media:hover {
    transform: translateY(-64px);
  }

  .about5-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-links-grid {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .section-shell,

  .header-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding: 7px 0;
  }

  .brand {
    width: 94px;
  }

  .brand-logo-image {
    width: 90px;
  }

  .brand-logo-slot {
    width: 84px;
    font-size: 9px;
  }

  .login-link span {
    display: none;
  }

  .login-link {
    width: 40px;
    padding: 0;
  }

  .home8-hero-copy {
    padding: 0;
  }

  .home8-actions {
    flex-direction: row;
    align-items: center;
  }

  .home8-button {
    flex: 1 1 150px;
  }

  .home8-hero-media img {
    filter: drop-shadow(0 14px 24px rgba(20, 34, 51, 0.08));
  }

  .about5-values-panel {
    border-radius: 19px;
  }

  .about5-values {
    grid-template-columns: 1fr;
  }

  .home8-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home8-benefit-grid {
    grid-template-columns: 1fr;
  }

  .home8-cta {
    min-height: 340px;
    margin-bottom: 52px;
  }

  .about5-intro-copy {
    min-height: 390px;
    padding: 30px 24px 80px;
  }

  .about5-intro-media {
    min-height: 300px;
    width: calc(100% - 30px);
    transform: translateY(-52px);
  }

  .about5-intro-media:hover {
    transform: translateY(-57px);
  }

  .footer-links-grid {
    gap: 18px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-block: 8px;
  }

  .footer-link-box a {
    font-size: 10.5px;
  }

  .contact-map,

  .contact-map-placeholder {
    min-height: 260px;
  }

  .contact-map iframe {
    height: 300px;
  }
}

:root {
  --accent: #b64b55;
  --accent-dark: #9f3f49;
  --accent-soft: #f8ecee;
}

/* Product placeholders stay neutral and editable. */

.product-placeholder {
  background: #f8fafc !important;
}

.product-placeholder .placeholder-copy {
  text-align: center;
}

.product-placeholder .placeholder-copy strong {
  color: #718196;
  font-size: 11px;
  font-weight: 800;
}

.product-placeholder .placeholder-orbit,
.product-placeholder .placeholder-copy small {
  display: none !important;
}

.product-code-badge {
  background: #f7f8fa;
  color: #5d6e82;
  border-color: #dce3ea;
}

/* Favorites: visible destination in the header and a dedicated page. */

.favorite-header-button {
  position: relative;
}

.favorite-header-button svg {
  width: 18px;
  height: 18px;
}

.favorite-count {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  border: 2px solid #fff;
}

.favorites-page {
  padding-top: 58px;
  padding-bottom: 96px;
}

.favorites-page-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.favorites-page-head h1 {
  margin: 6px 0 10px;
  color: var(--navy);
  font-size: var(--site-title-size);
}

.favorites-page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}

.favorites-empty {
  margin-top: 24px;
}

.favorites-empty .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Contact and blog: remove cream, keep red as an accent only. */

.blog5-feature-copy {
  background: #fff !important;
  border-color: #dce3ea !important;
}

.blog5-feature-copy p {
  color: var(--muted) !important;
}

.blog5-card-copy,
.blog5-card:nth-child(even) .blog5-card-copy {
  background: #fff !important;
  border-color: #dce3ea !important;
}

.blog5-card:hover .blog5-card-copy {
  border-color: rgba(182, 75, 85, 0.35) !important;
}

/* FAQ/customer-service page. */

.faq-hero {
  padding-top: 72px;
  padding-bottom: 38px;
  max-width: var(--max);
}

.faq-hero h1 {
  margin: 6px 0 12px;
  color: var(--navy);
}

.faq-hero p {
  margin: 0;
  max-width: 690px;
  color: var(--muted);
}

.faq-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 62px;
}

.faq-service-card {
  scroll-margin-top: 100px;
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(38, 61, 87, 0.06);
  transition: 0.28s ease;
}

.faq-service-card > span {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 24px;
}

.faq-service-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
}

.faq-service-card p {
  margin: 0;
  color: var(--muted);
}

.faq-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(182, 75, 85, 0.38);
  box-shadow: 0 22px 48px rgba(38, 61, 87, 0.1);
}

.faq-list-section {
  padding-bottom: 100px;
}

.faq-heading {
  margin-bottom: 24px;
}

.faq-heading h2 {
  margin: 5px 0 0;
  color: var(--navy);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 14px;
  padding: 0 20px;
  transition: 0.22s ease;
}

.faq-list details[open] {
  border-color: rgba(182, 75, 85, 0.42);
  box-shadow: 0 14px 34px rgba(38, 61, 87, 0.06);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  color: var(--navy);
  font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0;
  padding: 0 0 18px;
  border-top: 1px solid #edf1f5;
  color: var(--muted);
  padding-top: 14px;
}

/* Footer: real links, no duplicate Vali/privacy column. */

.footer-links-grid {
  grid-template-columns: 1fr 1fr 1.2fr;
}

.footer-link-box a:hover {
  color: #fff;
  transform: translateX(-2px);
}

@media (max-width: 920px) {
  .faq-service-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .favorites-page {
    padding-top: 36px;
  }

  .faq-hero {
    padding-top: 46px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================================= PRODUCT DETAIL PAGE — /products/[id] Uses the existing white / navy / soft-red design system. ========================================================= */

.modal-more-link {
  margin-top: 16px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #dce3ea;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  background: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  transition: 0.25s ease;
}

.modal-more-link:hover {
  border-color: rgba(182, 75, 85, 0.45);
  color: var(--accent);
  transform: translateY(-1px);
}

.modal-more-link svg {
  transform: rotate(90deg);
}

.product-detail-page {
  padding-top: 42px;
  padding-bottom: 110px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 9px;
}

.detail-breadcrumb a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-detail-visual,
.product-detail-summary,
.detail-about-box,
.detail-info-box,
.detail-review-section {
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(38, 61, 87, 0.07);
}

.product-detail-visual {
  overflow: hidden;
}

.product-detail-visual .product-visual {
  overflow: hidden;
}

.product-detail-summary {
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.detail-category-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
}

.detail-category-line i {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.product-detail-summary h1 {
  margin: 12px 0 10px;
  color: var(--navy);
}

.product-detail-summary > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.detail-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.detail-price-row > div {
  border: 1px solid #e2e8ee;
  border-radius: 14px;
  padding: 14px 16px;
}

.detail-price-row span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  margin-bottom: 5px;
}

.detail-price-row strong {
  color: var(--navy);
  font-size: 15px;
}

.detail-stock {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #62778d;
  font-size: 9px;
}

.detail-stock span {
  width: 7px;
  height: 7px;
  background: #57a56b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(87, 165, 107, 0.12);
}

.detail-buy-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.detail-buy-row .primary-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.detail-favorite {
  width: 48px;
  height: 48px;
  border: 1px solid #dce3ea;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.22s ease;
}

.detail-favorite:hover,
.detail-favorite.active {
  color: var(--accent);
  border-color: rgba(182, 75, 85, 0.42);
  background: #fff8f8;
}

.detail-about-box {
  margin-top: 22px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.detail-about-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.detail-section-kicker {
  color: var(--accent);
  font-weight: 950;
  letter-spacing: 0.02em;
}

.detail-about-box h2,
.detail-section-head h2 {
  margin: 6px 0 0;
  color: var(--navy);
}

.detail-about-box p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 2.1;
  max-width: 930px;
}

.detail-info-box,
.detail-review-section {
  margin-top: 22px;
  padding: 28px 30px;
}

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

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #e4eaf0;
  padding-bottom: 10px;
}

.detail-tabs button {
  border: 1px solid #dce3ea;
  background: #fff;
  color: #6f7f90;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.detail-tabs button:hover,
.detail-tabs button.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.detail-tab-panel {
  padding-top: 22px;
  min-height: 110px;
}

.detail-tab-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 2.1;
}

.detail-spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #e4eaf0;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  overflow: hidden;
}

.detail-spec-table > div {
  background: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.detail-spec-table span {
  color: var(--muted);
}

.detail-spec-table strong {
  color: var(--navy);
  text-align: left;
}

.detail-product-section,
.detail-articles-section {
  margin-top: 48px;
}

.detail-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.detail-mini-product {
  border-radius: 18px;
  overflow: hidden;
  transition: 0.25s ease;
  cursor: pointer;
}

.detail-mini-product:hover {
  transform: translateY(-5px);
}

.detail-mini-media {
  display: block;
  height: 190px;
  text-decoration: none;
}

.detail-mini-media .product-visual {
  height: 100%;
}

.detail-mini-copy {
  padding: 32px 16px 16px;
}

.detail-mini-copy > span {
  color: var(--accent);
  font-size: 8px;
  font-weight: 900;
}

.detail-mini-copy a {
  text-decoration: none;
}

.detail-mini-copy h3 {
  margin: 6px 0 7px;
  color: var(--navy);
}

.detail-mini-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
}

.detail-mini-description {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #edf1f5;
}

.detail-mini-description small {
  display: block;
  margin-bottom: 5px;
  font-weight: 900;
}

.detail-mini-description p {
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.detail-mini-more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.detail-mini-more:hover {
  text-decoration: underline;
}

.detail-mini-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.detail-mini-bottom strong {
  color: var(--navy);
  font-size: 11px;
}

.detail-mini-bottom strong span {
  color: #75879a;
  font-size: 9px;
  font-weight: 800;
}

.detail-mini-bottom button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.detail-mini-bottom button:hover {
  background: var(--navy);
  color: #fff;
  transform: rotate(90deg);
}

.compact-tabs {
  max-width: 360px;
}

.detail-review-form {
  display: grid;
  gap: 12px;
}

.review-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-review-form input,
.detail-review-form textarea {
  width: 100%;
  border: 1px solid #dce3ea;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-size: 10px;
  outline: none;
  transition: 0.2s ease;
}

.detail-review-form input:focus,
.detail-review-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(182, 75, 85, 0.08);
}

.detail-review-form .primary-button {
  justify-self: start;
  min-width: 140px;
  min-height: 44px;
}

.review-success {
  margin: 0;
  color: #4d8560;
  font-size: 9px;
}

.detail-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-article-card {
  display: block;
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

.detail-article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(182, 75, 85, 0.38);
  box-shadow: 0 18px 40px rgba(38, 61, 87, 0.08);
}

.detail-article-media {
  height: 190px;
  background: #eef2f6 center/cover no-repeat;
}

.detail-article-copy {
  padding: 17px;
}

.detail-article-copy > span {
  color: var(--accent);
  font-size: 8px;
  font-weight: 900;
}

.detail-article-copy h3 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.65;
}

.detail-article-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
}

.detail-article-copy > div {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #718397;
}

.detail-article-copy small {
  font-size: 8px;
}

.detail-article-copy svg {
  margin-right: auto;
  color: var(--accent);
}

/* Individual blog article reached from related articles. */

.blog-detail-page {
  padding-top: 42px;
  padding-bottom: 100px;
}

.blog-detail-breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 9px;
}

.blog-detail-breadcrumb a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
}

.blog-detail-hero {
  height: min(52vw, 560px);
  min-height: 320px;
  border-radius: 22px;
  background: #eef2f6 center/cover no-repeat;
  border: 1px solid #dce3ea;
}

.blog-detail-article {
  max-width: 920px;
  margin: -70px auto 0;
  position: relative;
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(38, 61, 87, 0.1);
}

.blog-detail-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--accent);
  font-size: 8px;
  font-weight: 900;
}

.blog-detail-article h1 {
  color: var(--navy);
  font-size: var(--site-title-size);
  line-height: 1.5;
  margin: 12px 0;
}

.blog-detail-lead,
.blog-detail-body {
  color: var(--muted);
  font-size: 11px;
  line-height: 2.15;
}

.blog-detail-body {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e7ecf1;
}

.blog5-card-copy a {
  align-self: flex-start;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.blog5-card-copy a:hover {
  color: var(--accent);
}

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

  .detail-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-article-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .product-detail-page {
    padding-top: 24px;
  }

  .product-detail-summary,

  .detail-about-box,

  .detail-info-box,

  .detail-review-section {
    padding: 20px;
  }

  .product-detail-visual {
    padding: 10px;
  }

  .detail-price-row,

  .detail-spec-table,

  .review-fields {
    grid-template-columns: 1fr;
  }

  .detail-buy-row {
    grid-template-columns: 1fr auto;
  }

  .detail-buy-row .primary-button {
    grid-column: 1/-1;
    grid-row: 2;
  }

  .detail-product-grid,

  .detail-article-grid {
    grid-template-columns: 1fr;
  }

  .detail-mini-media {
    height: 220px;
  }

  .blog-detail-article {
    margin: -35px 12px 0;
    padding: 22px;
  }
}

/* Stock-aware quantity controls */

.quantity-control button:disabled,
.detail-mini-bottom button:disabled,
.primary-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-stock-note {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #6f7b8a;
}

/* درباره ما: عنوان اصلی روی قسمت خالی/تصویر قرار بگیرد و بردر هاور قرمز شود */

.about5-intro-media {
  position: relative;
  overflow: hidden;
}

.about5-intro-media:hover {
  box-shadow: 0 34px 82px rgba(38, 61, 87, 0.18);
}

/* حذف عنوان/توضیح بالای سه کارت و ساده‌سازی کارت‌ها */

.about5-value-number,
.about5-value-top,
.about5-value-icon {
  display: none !important;
}

/* بنر تماس پایین صفحه درباره ما */

.about5-band-copy {
  max-width: 760px;
}

.about5-band-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 2;
}

/* حذف باکس‌های عددی پایین صفحه درباره ما */

/* بلاگ: فاصله بیشتر تا کارت‌ها و حذف متن‌های اضافی سمت چپ */

.blog5-heading-minimal {
  margin-bottom: 30px;
}

.blog5-heading-minimal h2,
.blog5-heading-minimal > p {
  display: none !important;
}

.blog5-grid {
  margin-top: 18px;
}

.home8-hero-copy h1,
.home8-hero-copy p {
  max-width: 454px;
}

.home8-hero-media {
  display: flex;
  justify-content: flex-end;
}

.footer-links-grid-3col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

@media (max-width: 680px) {
  .home8-hero-copy h1,

  .home8-hero-copy p {
    max-width: 100%;
  }

  .home8-hero-media img {
    border-radius: 24px;
  }

  .footer-links-grid-3col {
    grid-template-columns: 1fr;
  }
}

/* Home hero: smaller copy, larger image, reliable rounded corners */

.home8-hero-copy h1 {
  max-width: 430px;
}

.home8-hero-copy p {
  max-width: 430px;
}

.home8-hero-media {
  width: 100%;
  overflow: hidden;
  border-radius: 34px;
}

.home8-hero-media img {
  border-radius: 34px;
  overflow: hidden;
  display: block;
}

/* About hero: move white copy into the empty left side of the banner */

.about5-hero {
  align-items: center;
}

.about5-hero-overlay {
  background: linear-gradient(90deg, rgba(20, 26, 35, 0.78) 0%, rgba(20, 26, 35, 0.6) 34%, rgba(20, 26, 35, 0.12) 66%, rgba(20, 26, 35, 0.02) 100%);
}

.about5-hero-inner {
  padding-bottom: 0;
}

.about5-hero-inner > span,
.about5-hero-inner h1,
.about5-hero-inner p {
  width: min(46%, 620px);
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

.about5-hero-inner h1 {
  margin-top: 7px;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 43px) !important;
  line-height: 1.55;
}

/* About intro: restore the original placement; keep only the red hover border */

.about5-intro {
  margin-bottom: 44px;
}

.about5-intro-copy h2 {
  display: block !important;
}

.about5-intro-media:hover {
  border-color: rgba(182, 75, 85, 0.78) !important;
}

/* About cards: restore the cleaner earlier composition, without numbers */

.about5-values-section {
  padding-top: 0 !important;
  margin-top: -10px;
}

.about5-values-panel {
  padding: 24px;
  border: 1px solid #e5eaf0;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfcfd 0%, #f7f9fb 100%);
  box-shadow: 0 18px 48px rgba(38, 61, 87, 0.055);
}

.about5-value.about5-value-refined {
  min-height: 230px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(208, 217, 226, 0.92);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 12px 30px rgba(38, 61, 87, 0.045);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about5-value.about5-value-refined:hover {
  transform: translateY(-5px);
  border-color: rgba(182, 75, 85, 0.42);
  box-shadow: 0 19px 40px rgba(38, 61, 87, 0.08);
}

.about5-value.about5-value-refined .about5-value-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid #dce3ea;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(38, 61, 87, 0.05);
  margin-bottom: 16px;
}

.about5-value.about5-value-refined h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.about5-value.about5-value-refined .about5-value-line {
  width: 40px;
  height: 2px;
  margin: 12px auto 13px;
  background: var(--accent);
}

.about5-value.about5-value-refined p {
  margin: 0;
  max-width: 290px;
  color: var(--muted);
  font-size: 9.8px;
  line-height: 2;
}

/* Contact hero: only one neat glass contact card; no large copy or CTA buttons */

@media (max-width: 920px) {
  .about5-hero-inner > span,

  .about5-hero-inner h1,

  .about5-hero-inner p {
    width: min(58%, 560px);
  }
}

@media (max-width: 680px) {
  .home8-hero-media,

  .home8-hero-media img {
    border-radius: 24px;
  }

  .about5-hero {
    min-height: 390px;
    background-position: center;
  }

  .about5-hero-inner > span,

  .about5-hero-inner h1,

  .about5-hero-inner p {
    width: 78%;
    margin-right: auto;
    margin-left: 0;
  }

  .about5-hero-inner h1 {
    font-size: 26px !important;
  }

  .about5-values-panel {
    padding: 14px;
  }
}

/* Home hero: keep the approved look, but crop out the glass box from the image */

/* Contact hero: no info overlay on the banner */

/* FAQ: one size larger for better readability */

@media (max-width: 680px) {
  .home8-hero-media img {
    object-position: 74% center;
  }
}

/* Home hero: the source is reframed so the baked-in glass product box is no longer visible. */

.home8-hero-media {
  height: clamp(340px, 34vw, 470px);
  background: #101d2b;
}

.home8-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

/* FAQ: one more size up for comfortable reading. */

.faq-hero h1 {
  font-size: clamp(32px, 3.55vw, 48px) !important;
}

.faq-hero p {
  font-size: 13px !important;
  line-height: 2.05;
}

.faq-service-card h2 {
  font-size: 18px !important;
}

.faq-service-card p {
  font-size: 12px !important;
  line-height: 2.1;
}

.faq-heading h2 {
  font-size: clamp(24px, 2.7vw, 34px) !important;
}

.faq-list summary {
  font-size: 15px !important;
  line-height: 1.9;
}

.faq-list details p {
  font-size: 12px !important;
  line-height: 2.15;
}

/* Product modal: normalize every image, especially tall portrait assets such as code 2630200901. */

.modal-visual-side .product-visual {
  min-height: 420px;
  height: 420px;
  background: #fff;
}

.modal-visual-side .product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 28px;
}

.modal-content-side {
  justify-content: flex-start;
  padding-top: 54px;
}

/* Full product page: same visual proportions for all products. */

.product-detail-visual {
  min-height: 470px;
}

.product-detail-visual .product-visual {
  min-height: 438px;
  height: 438px;
}

.product-detail-visual .product-visual img {
  width: 100%;
  height: 100%;
}

@media (max-width: 980px) {
  .modal-visual-side .product-visual {
    min-height: 360px;
    height: 360px;
  }

  .product-detail-visual {
    min-height: 390px;
  }

  .product-detail-visual .product-visual {
    min-height: 360px;
    height: 360px;
  }
}

@media (max-width: 680px) {
  .home8-hero-media {
    height: 270px;
  }

  .faq-service-card h2 {
    font-size: 17px !important;
  }

  .faq-service-card p,

  .faq-list details p {
    font-size: 11.5px !important;
  }

  .faq-list summary {
    font-size: 14px !important;
  }

  .modal-visual-side .product-visual {
    min-height: 300px;
    height: 300px;
  }

  .modal-visual-side .product-visual img,

  .product-detail-visual .product-visual img {
    padding: 18px;
  }

  .modal-content-side {
    padding-top: 42px;
  }

  .product-detail-visual {
    min-height: 320px;
  }

  .product-detail-visual .product-visual {
    min-height: 298px;
    height: 298px;
  }
}

/* Shared cutouts used to recreate the rounded editorial image shape. */

/* Home hero: keep the approved image completely clean, only change its silhouette. */

.home8-shaped-media {
  height: clamp(350px, 35vw, 486px);
  isolation: isolate;
}

/* Vehicle heading: smaller, cleaner title with no secondary lorem text. */

.home8-vehicles-heading {
  margin-bottom: 22px;
}

.home8-vehicles-heading h2 {
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.45;
}

.home8-vehicles-heading > p {
  display: none !important;
}

/* About hero: breadcrumb removed in markup. */

.about5-hero-inner > span {
  display: none !important;
}

/* About intro: the navy panel reaches the right edge while the image remains on the left. */

.about5-intro {
  width: calc(100% - max(0px, (100vw - var(--max)) / 2));
  max-width: none;
  margin-right: 0;
  margin-left: auto;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.about5-intro-copy {
  border-right: 0;
  border-radius: 24px 0 0 24px;
}

/* Products banner: same image, but with the architectural shape from the reference. */

/* Product count removed; keep clear-filter action compact when needed. */

.catalog-summary-clear-only {
  justify-content: flex-end;
  min-height: 0;
  margin-top: 8px;
  margin-bottom: 12px;
}

@media (max-width: 920px) {
  .about5-intro {
    width: min(calc(100% - 28px), var(--max));
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .about5-intro-copy {
    border: 1px solid #2c4561;
    border-radius: 24px;
  }
}

@media (max-width: 680px) {
  .home8-shaped-media {
    height: 270px;
  }
}

/* ========================================================================== */

/* ========================================================================== */

:root {
  --site-title-size: clamp(25px, 2.3vw, 34px);
  --section-title-size: clamp(20px, 1.85vw, 28px);
}

/* Header logo supplied by client */

.brand {
  width: 142px;
  height: 52px;
}

.brand-logo-image {
  width: 136px;
  height: 50px;
  object-fit: contain;
  object-position: right center;
}

/* Unified title hierarchy across pages */

.home8-heading h2,
.home8-about-panel h2,
.home8-cta-inner h2,
.home5-heading h2,
.about5-band-inner h2,
.contact-info-panel h2,
.faq-heading h2 {
  font-size: var(--section-title-size) !important;
  line-height: 1.5;
}

.about5-hero-inner h1,
.blog5-feature-copy h1,
.page-hero h1,
.template-page-banner-inner h1,
.faq-hero h1 {
  font-size: var(--site-title-size) !important;
  line-height: 1.48;
}

/* Home reference shape — softer, cleaner cutouts with no visible top/border line */

/* Products reference banner — full image, natural red/navy treatment, no border lines */

/* Product modal: smaller title, larger intro copy */

.modal-content-side h2 {
  margin-top: 10px;
}

.add-cart-button,
.detail-buy-row .primary-button {
  font-size: 10px !important;
  font-weight: 800;
}

/* Full product page: restrained title hierarchy */

.detail-section-kicker {
  font-size: 8px;
}

/* Related / complementary products: warmer navy tint and clearer product copy */

.detail-mini-name-label {
  font-weight: 900;
}

/* Contact — Designflow-inspired split, custom visual side, no testimonial */

.contact-flow {
  margin-bottom: 58px;
  display: grid;
}

.contact-flow-form-panel {
  border: 1px solid #dfe6ed;
  background: #fff;
  box-shadow: 0 20px 50px rgba(38, 61, 87, 0.07);
}

.contact-flow-form-panel h1 {
  color: var(--navy);
}

.contact-flow-form-panel > p {
  margin: 0 0 26px;
  color: var(--muted);
}

.contact-flow-form-panel .contact-form {
  padding: 0;
  border: 0;
  background: transparent !important;
}

.contact-flow-info-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-flow-info-item strong {
  margin-top: 5px;
}

@media (max-width: 680px) {
  .brand {
    width: 112px;
    height: 44px;
  }

  .brand-logo-image {
    width: 108px;
    height: 42px;
  }

  .contact-flow {
    margin-top: 28px;
  }

  .contact-flow-form-panel {
    padding: 26px 22px;
  }
}

:root {
  --page-backdrop: #f5f4f1;
}

/* Home hero: remove extra shapes, reduce zoom, match page background */

/* Products banner: keep old image, no white stage, cleaner shape */

/* Contact: custom banner image instead of logo visual; smaller, cleaner heading */

.contact-flow {
  margin-top: 42px;
}

.contact-flow-form-panel {
  border-radius: 28px;
}

.contact-flow-form-panel > p {
  max-width: 520px;
}

/* Product hierarchy tweaks */

.detail-section-kicker,
.detail-category-line,
.detail-mini-copy > span,
.detail-mini-name-label {
  font-size: 8px !important;
}

/* Related and complementary products: softer navy gradient, livelier text */

.detail-mini-copy h3 {
  font-size: 12.5px !important;
  line-height: 1.7;
}

@media (max-width: 680px) {
  .home8-shaped-media img {
    transform: scale(0.98);
    object-position: 50% 46%;
  }

  .contact-flow-visual {
    border-radius: 22px;
  }

  .contact-flow-form-panel {
    border-radius: 22px;
  }
}

/* ========================================================================== */

/* ========================================================================== */

/* Shape cutouts must blend with the real site background, not white blocks */

/* Home hero — cleaner reference-like silhouette, no extra white background, less zoom */

/* Products hero — keep the approved image, only refine the shape and remove visible lines */

/* Product modal / detail — titles slightly smaller, summary copy slightly larger */

.modal-short-description {
  font-size: 14px !important;
  line-height: 2.05;
}

.product-detail-summary > p {
  font-size: 13px !important;
  line-height: 2.08;
}

/* Related / complementary products — softer navy gradient instead of dull tint */

.detail-mini-product {
  border-color: #d6e0eb !important;
}

.detail-mini-name-label {
  font-size: 10px;
  color: #6a7f96;
}

.detail-mini-description small {
  font-size: 10.5px !important;
  color: #52677e;
}

.detail-mini-description p {
  font-size: 11.5px !important;
  line-height: 2.02;
  color: #30455d;
}

/* Contact — custom banner visual, no logo block, smaller typography, cleaner info cards */

.contact-flow-visual {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, #15263a 0%, #20354d 45%, #102030 100%);
  box-shadow: 0 26px 60px rgba(23, 37, 54, 0.14);
}

.contact-flow-info-item {
  position: relative;
  overflow: hidden;
  border-color: #dce4ed;
}

.contact-flow-info-item::before {
  inset: 0;
  pointer-events: none;
}

.contact-flow-info-item span,
.contact-flow-info-item strong,
.contact-flow-info-item a {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .contact-flow-visual,

  .contact-flow-form-panel {
    min-height: auto;
  }

  .contact-flow-visual {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .home8-shaped-media img {
    padding: 16px 12px 10px;
  }

  .contact-flow-visual {
    min-height: 320px;
  }
}

/* ========================================================================== */

/* ========================================================================== */

/* HOME: remove the artificial multi-notch treatment and the added white cuts. Keep only one restrained cut using the site's own background tone. */

.home8-shaped-media {
  position: relative;
}

.home8-shaped-media img {
  transform: none !important;
}

.home8-shape-cut {
  position: absolute;
  top: -1px;
  left: 38%;
  width: 54px;
  height: 25px;
  border-radius: 0 0 16px 16px;
  background: var(--bg);
  pointer-events: none;
  z-index: 3;
}

/* PRODUCTS: restore the previous artwork; shape is now quiet and minimal. */

/* PRODUCT DETAILS: one step smaller title; related cards get a cleaner navy-blue tint. */

.modal-content-side h2 {
  font-size: clamp(19px, 1.95vw, 27px) !important;
  line-height: 1.48;
}

.product-detail-summary h1 {
  font-size: clamp(18px, 1.8vw, 26px) !important;
  line-height: 1.52;
}

.detail-mini-product:hover {
  box-shadow: 0 18px 38px rgba(31, 52, 76, 0.11);
}

/* CONTACT: no logo graphic, no 'در ارتباط باشیم', no four floating cards. */

.contact-flow-banner {
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(23, 37, 54, 0.14);
}

.contact-flow-banner-overlay {
  position: absolute;
  inset: 0;
}

.contact-flow-banner-line {
  position: absolute;
  left: 30px;
  bottom: 30px;
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-flow-form-panel {
  min-height: 590px;
  padding: clamp(30px, 3.6vw, 50px);
}

.contact-flow-form-panel h1 {
  margin: 6px 0 9px;
}

.contact-flow-form-panel > p {
  margin-bottom: 22px;
}

.contact-flow-info {
  align-items: stretch;
  margin-bottom: 48px;
}

.contact-flow-info-item {
  flex: 1;
  min-height: 74px;
  padding: 10px 18px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-flow-info-item + .contact-flow-info-item {
  border-right: 1px solid #e2e8ee !important;
}

@media (max-width: 980px) {
  .contact-flow-form-panel {
    min-height: auto;
  }

  .contact-flow-info {
    display: grid;
    gap: 0;
  }

  .contact-flow-info-item:nth-child(odd) {
    border-right: 0 !important;
  }

  .contact-flow-info-item:nth-child(even) {
    border-right: 1px solid #e2e8ee !important;
  }
}

@media (max-width: 680px) {
  .home8-shaped-media {
    border-radius: 22px;
  }

  .home8-shaped-media img {
    max-height: none;
    border-radius: 22px;
  }

  .home8-shape-cut {
    width: 44px;
    height: 21px;
    border-radius: 0 0 13px 13px;
  }

  .contact-flow-info {
    padding: 12px 16px;
  }

  .contact-flow-info-item,

  .contact-flow-info-item + .contact-flow-info-item,

  .contact-flow-info-item:nth-child(even) {
    border-right: 0 !important;
    border-top: 1px solid #e2e8ee !important;
  }

  .contact-flow-info-item:first-child {
    border-top: 0 !important;
  }
}

/* ========================================================================== */

/* ========================================================================== */

/* HOME hero */

.home8-hero-copy h1 {
  font-size: clamp(34px, 3.9vw, 50px) !important;
  line-height: 1.4;
}

.home8-shaped-media {
  background: transparent !important;
  border: 1px solid #d8e2eb !important;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(29, 45, 63, 0.08);
}

.home8-shaped-media img {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 430px) !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 28px !important;
  background: transparent !important;
  padding: 0 !important;
}

/* PRODUCTS banner — simple image only */

.products-simple-banner {
  position: relative;
  height: clamp(260px, 30vw, 390px);
  margin-top: 40px;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #d8e2eb;
  background: transparent;
  box-shadow: 0 22px 52px rgba(25, 39, 56, 0.1);
}

.products-simple-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* CONTACT visual and copy */

.contact-flow-banner-image {
  background-repeat: no-repeat;
}

.contact-flow-banner-line {
  display: none !important;
}

.contact-flow-form-panel h1 {
  font-size: clamp(18px, 1.85vw, 22px) !important;
  line-height: 1.55;
}

.contact-flow-form-panel > p {
  font-size: 13.5px !important;
  line-height: 2.05;
}

.contact-flow-form-panel .primary-button {
  font-size: 12px;
  padding: 12px 22px;
}

/* Related/complementary cards: clearer navy gradient */

.detail-mini-product {
  background: linear-gradient(145deg, #f4f8fd 0%, #e4edf8 44%, #d5e1f0 100%) !important;
  border: 1px solid #c6d4e3 !important;
  box-shadow: 0 14px 30px rgba(31, 52, 76, 0.07);
}

.detail-mini-product:hover {
  background: linear-gradient(145deg, #f8fbff 0%, #e7f0fa 42%, #d7e3f1 100%) !important;
  border-color: #b5c8da !important;
}

.detail-mini-media {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(242,247,252,0.96)) !important;
}

@media (max-width: 980px) {
  .contact-flow-banner-image {
    background-size: cover !important;
    background-position: center center !important;
  }
}

@media (max-width: 680px) {
  .home8-shaped-media,

  .home8-shaped-media img,

  .products-simple-banner,

  .contact-flow-banner {
    border-radius: 22px !important;
  }

  .home8-shaped-media img {
    height: 250px !important;
  }

  .products-simple-banner {
    height: 210px;
  }
}

/* ========================================================= PRODUCT DETAIL SEO CONTENT ========================================================= */

.detail-rich-text {
  margin-top: 14px;
  max-width: 1000px;
}

.detail-rich-text p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 2.15;
}

.detail-rich-text p:last-child {
  margin-bottom: 0;
}

.detail-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -8px 0 20px;
}

.detail-hero-tags span,
.detail-tag-section span {
  border: 1px solid #e0e6ec;
  background: #f8fafc;
  color: #687b8f;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 8px;
  font-weight: 850;
}

.detail-stock.is-out span {
  background: #a9b2bc;
  box-shadow: 0 0 0 4px rgba(169, 178, 188, 0.12);
}

.detail-bullet-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-bullet-list li {
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}

.detail-bullet-list li::before {
  content: "";
  right: 0;
  top: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(182, 75, 85, 0.08);
}

.detail-tab-copy {
  display: grid;
  gap: 18px;
}

.detail-tab-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 2.1;
}

.detail-faq-list {
  display: grid;
  gap: 10px;
}

.detail-faq-list details {
  border: 1px solid #e1e7ed;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.detail-faq-list summary {
  cursor: pointer;
  padding: 15px 17px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.8;
}

.detail-faq-list details[open] summary {
  border-bottom: 1px solid #edf1f5;
}

.detail-faq-list p {
  margin: 0;
  padding: 14px 17px 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 2;
}

.detail-tag-section {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #e1e7ed;
  border-radius: 16px;
  background: #fff;
}

.detail-tag-section > strong {
  flex: 0 0 auto;
  padding-top: 6px;
  color: var(--navy);
  font-size: 9px;
}

.detail-tag-section > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

@media (max-width: 680px) {
  .detail-tag-section {
    flex-direction: column;
  }
}

/* Product detail: related/complementary cards — compact navy treatment. */

.detail-product-section .detail-mini-product {
  border: 1px solid rgba(115, 151, 184, 0.32) !important;
}

.detail-product-section .detail-mini-copy > span {
  color: #a9c4dc !important;
}

.detail-product-section .detail-mini-name-label,
.detail-product-section .detail-mini-description small,
.detail-product-section .detail-mini-bottom strong span {
  color: #9fb5c9 !important;
}

.detail-product-section .detail-mini-description p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

.detail-product-section .detail-mini-more {
  opacity: 0.9;
}

/* ========================================================================== */

/* ========================================================================== */

/* HOME / HERO — clean rectangular banner, no white frame or decorative cut. */

.home8-hero {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr) !important;
  gap: clamp(24px, 3.6vw, 54px) !important;
  align-items: center !important;
  overflow: visible !important;
}

.home8-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.home8-hero-copy h1,
.home8-hero-copy p {
  width: 100%;
}

.home8-actions {
  width: 100%;
  align-items: center;
  margin-top: 22px !important;
}

.home8-hero-media,
.home8-shaped-media {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  min-width: 0;
}

.home8-shaped-media img,
.home8-hero-media img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 7;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 20px !important;
  transform: none !important;
  padding: 0 !important;
  background: transparent !important;
  filter: none !important;
}

.home8-shape-cut {
  display: none !important;
}

/* HOME / VEHICLES — 3 columns × 2 rows on desktop/tablet; swipeable 2-row rail on phones. */

.home8-vehicle-card {
  min-height: 300px !important;
}

.home8-vehicle-media {
  min-height: 182px !important;
}

/* HOME / ABOUT — less bulky, with the image pulled closer to the copy. */

.home8-about-panel {
  border-right: 1px solid #2c4561 !important;
}

/* HOME / SERVICES — one flex row; on narrow devices the row is horizontally swipeable. */

.home8-benefit-grid {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.home8-benefit {
  scroll-snap-align: start;
}

/* CART — compact, calmer page heading and no red/diamond empty-cart marker. */

.cart-page-hero {
  min-height: 210px !important;
  margin-top: 34px;
  margin-bottom: 28px;
  padding: 34px 40px !important;
  border: 1px solid #dfe6ed;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
  box-shadow: 0 14px 34px rgba(38, 61, 87, .06);
  justify-content: center;
}

.cart-page-hero h1 {
  max-width: 760px;
  font-size: clamp(24px, 3.1vw, 38px) !important;
}

.cart-page-hero p {
  max-width: 720px;
  font-size: 11px;
  line-height: 2;
}

.cart-empty-mark {
  display: none !important;
}

.cart-empty {
  min-height: 360px !important;
}

/* CATALOG / SORT — the native select covers the full control, including the arrow. */

.sort-control {
  cursor: pointer;
  isolation: isolate;
}

.sort-control > span,
.sort-control-value,
.sort-control svg {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.sort-control-value {
  min-width: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sort-control select {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

.sort-control:focus-within {
  border-color: #9eafbf;
  box-shadow: 0 0 0 4px rgba(59, 80, 108, .05);
  background: #fff;
}

/* CATALOG / PAGINATION — centered as before, but page 1 starts from the right. */

/* PRODUCT DETAIL / related + complementary — softer navy, taller image, tighter copy. */

.detail-product-section .detail-mini-product {
  background: linear-gradient(145deg, #f5f8fb 0%, #e8eef5 54%, #dde7f0 100%) !important;
  border-color: #c9d6e2 !important;
  box-shadow: 0 12px 28px rgba(31, 52, 76, .08) !important;
}

.detail-product-section .detail-mini-product:hover {
  background: linear-gradient(145deg, #f9fbfd 0%, #ebf1f6 52%, #dfe9f2 100%) !important;
  border-color: #afc2d3 !important;
  box-shadow: 0 18px 36px rgba(31, 52, 76, .12) !important;
}

.detail-product-section .detail-mini-media {
  height: 245px !important;
}

.detail-product-section .detail-mini-media .product-visual {
  height: 100% !important;
}

.detail-product-section .detail-mini-copy {
  padding: 14px 14px 13px !important;
}

.detail-product-section .detail-mini-copy > span,
.detail-product-section .detail-mini-name-label,
.detail-product-section .detail-mini-description small,
.detail-product-section .detail-mini-bottom strong span {
  color: #6d8296 !important;
}

.detail-product-section .detail-mini-copy h3,
.detail-product-section .detail-mini-bottom strong {
  color: #1e3449 !important;
}

.detail-product-section .detail-mini-copy h3 {
  margin: 4px 0 5px !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
}

.detail-product-section .detail-mini-description {
  margin-top: 8px !important;
  padding-top: 8px !important;
  border-top-color: #d7e1ea !important;
}

.detail-product-section .detail-mini-description p {
  color: #5f7080 !important;
  font-size: 9.5px !important;
  line-height: 1.85 !important;
}

.detail-product-section .detail-mini-more {
  color: #365c7d !important;
  font-size: 8.5px !important;
}

.detail-product-section .detail-mini-bottom {
  margin-top: 9px !important;
  padding-top: 9px !important;
  border-top-color: #d7e1ea !important;
}

.detail-product-section .detail-mini-bottom button {
  border-color: #7f99b0 !important;
  background: rgba(255,255,255,.72) !important;
  color: #284963 !important;
}

.detail-product-section .detail-mini-bottom button:hover {
  background: #294a65 !important;
  color: #fff !important;
}

/* CONTACT — portrait visual with the whole reception image visible over a soft filled backdrop. */

.contact-flow-banner-image {
  position: absolute;
  inset: 0;
  place-items: center;
  overflow: hidden;
  background-image: url("/demo/valee/images/contact/contact-reception.webp");
  background-size: cover !important;
  background-position: 76% center !important;
  transform: none !important;
  filter: none !important;
}

.contact-flow-banner-image::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: inherit;
  background-size: cover !important;
  background-position: 76% center !important;
  filter: blur(18px) saturate(.82) brightness(.96);
  transform: scale(1.08);
  opacity: .48;
}

.contact-flow-banner-image img {
  position: relative;
  z-index: 1;
  display: block;
}

.contact-flow-banner-overlay {
  background: linear-gradient(180deg, rgba(17,31,48,.02), rgba(17,31,48,.10)) !important;
}

@media (max-width: 980px) {
  .home8-hero {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    direction: rtl !important;
  }

  .home8-hero-copy {
    order: 1;
    max-width: 760px !important;
    margin-inline: auto !important;
  }

  .home8-hero-media {
    order: 2;
    width: 100% !important;
  }

  .home8-shaped-media img,

  .home8-hero-media img {
    aspect-ratio: 16 / 8;
  }

  .home8-vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .home8-vehicle-card {
    min-height: 270px !important;
  }

  .home8-vehicle-media {
    min-height: 150px !important;
  }

  .home8-benefit {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 180px;
  }

  .contact-flow {
    grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr) !important;
    gap: 20px !important;
  }

  .contact-flow-banner {
    min-height: 570px !important;
  }
}

@media (max-width: 760px) {
  .contact-flow {
    grid-template-columns: 1fr !important;
  }

  .contact-flow-banner {
    width: min(100%, 470px);
    min-height: 560px !important;
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .home8-hero {
    width: min(calc(100% - 24px), var(--max)) !important;
    margin-top: 12px !important;
    margin-bottom: 44px !important;
    padding-top: 10px !important;
    gap: 18px !important;
  }

  .home8-hero-copy {
    align-items: stretch;
  }

  .home8-hero-copy h1 {
    font-size: clamp(27px, 8.4vw, 38px) !important;
    line-height: 1.48 !important;
  }

  .home8-hero-copy p {
    font-size: 10.5px !important;
    line-height: 1.95 !important;
  }

  .home8-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  .home8-button {
    width: 100% !important;
    min-width: 0;
    padding-inline: 11px !important;
    font-size: 9.5px !important;
  }

  .home8-shaped-media,

  .home8-shaped-media img,

  .home8-hero-media,

  .home8-hero-media img {
    border-radius: 16px !important;
  }

  .home8-shaped-media img,

  .home8-hero-media img {
    aspect-ratio: 16 / 9;
  }

  .home8-vehicle-grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(2, auto) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(225px, 76vw) !important;
    gap: 12px !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 14px;
    scrollbar-width: thin;
  }

  .home8-vehicle-card {
    min-height: 250px !important;
    scroll-snap-align: start;
  }

  .home8-vehicle-media {
    min-height: 138px !important;
  }

  .home8-benefit-grid {
    gap: 12px !important;
  }

  .home8-benefit {
    flex: 0 0 190px !important;
    min-width: 190px !important;
    padding-inline: 4px !important;
  }

  .home8-benefit-icon {
    width: 72px !important;
    height: 72px !important;
  }

  .cart-page-hero {
    min-height: 170px !important;
    margin-top: 20px;
    padding: 24px 22px !important;
    border-radius: 19px;
  }

  .cart-page-hero h1 {
    font-size: clamp(22px, 7vw, 31px) !important;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr !important;
  }

  .product-grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(2, auto) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(230px, 78vw) !important;
    gap: 12px !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 14px;
    scrollbar-width: thin;
  }

  .product-grid .product-card {
    scroll-snap-align: start;
  }

  .product-grid .product-visual.is-compact {
    height: 205px !important;
  }

  .product-grid .product-card-body {
    padding: 14px !important;
  }

  .product-grid .product-name-button h3 {
    font-size: 14px !important;
  }

  .pagination {
    gap: 6px !important;
  }

  .pagination button {
    width: 36px;
    height: 36px;
  }

  .detail-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .detail-product-section .detail-mini-media {
    height: 210px !important;
  }

  .detail-product-section .detail-mini-copy {
    padding: 11px !important;
  }

  .contact-flow-banner {
    width: 100%;
    min-height: 520px !important;
    aspect-ratio: 4 / 5;
    border-radius: 20px !important;
  }

  .contact-flow-banner-image img {
    object-fit: contain !important;
    object-position: center bottom !important;
  }
}

@media (max-width: 430px) {
  .home8-vehicle-grid {
    grid-auto-columns: minmax(215px, 82vw) !important;
  }

  .product-grid {
    grid-auto-columns: minmax(220px, 82vw) !important;
  }

  .detail-product-grid {
    grid-template-columns: 1fr !important;
  }

  .detail-product-section .detail-mini-media {
    height: 245px !important;
  }
}

/* ========================================================================== */

/* ========================================================================== */

/* HOME / VEHICLE ROWS — each row owns its own scroll position. */

.home8-vehicle-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  background: transparent !important;
  padding: 0 !important;
  overflow: visible !important;
}

.home8-vehicle-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  min-width: 0;
}

/* HOME / ABOUT — compact panel anchored to the right; image stays alongside it. */

.home8-about-panel h2 {
  margin-bottom: 10px !important;
}

.home8-about-panel p {
  margin-bottom: 16px !important;
}

.home8-about-panel .home8-button {
  min-height: 38px !important;
  padding: 8px 15px !important;
}

/* HOME / SERVICES — always visible as a 2×2 grid, no hidden horizontal items. */

.home8-benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* ABOUT / VALUE CARDS — consistent heights and responsive grid. */

.about5-values {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch;
}

.about5-value-refined {
  height: 100%;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about5-value-refined p {
  margin-top: 0 !important;
}

/* CATALOG / PRODUCT ROWS — two independent scroll rails on mobile only. */

.product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  background: transparent !important;
  padding: 0 !important;
  overflow: visible !important;
}

.product-grid-row {
  display: contents;
}

/* CATALOG / RTL pagination: previous points right, next points left. */

.pagination {
  direction: rtl !important;
}

.pagination .pagination-nav {
  direction: ltr !important;
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}

/* FOOTER — compact description + two-column information grid. */

.footer-content {
  padding-top: 12px !important;
  padding-bottom: 14px !important;
}

.footer-top {
  margin-bottom: 12px !important;
}

.footer-description-box {
  position: relative;
}

.footer-description-box p.is-open {
  display: block;
  overflow: visible;
}

.footer-description-box > button {
  margin-top: 4px;
}

.footer-link-title {
  margin-bottom: 5px !important;
}

.footer-link-box li {
  margin: 2px 0 !important;
}

.footer-link-box a {
  line-height: 1.65 !important;
  font-size: 10.5px !important;
}

.footer-newsletter {
  align-content: start;
}

.footer-bottom-inner {
  min-height: 42px !important;
  padding-block: 8px !important;
}

/* CONTACT — keep the original image file, show it as a horizontal banner. */

.contact-flow {
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.contact-flow-banner {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: 22px !important;
  background: #eef2f5 !important;
}

.contact-flow-banner-image {
  background: none !important;
  display: block !important;
}

.contact-flow-banner-image::before {
  display: none !important;
}

.contact-flow-banner-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
}

.contact-flow-form-panel {
  width: min(100%, 900px);
  justify-self: center;
}

.contact-flow-info-item,
.contact-flow-info-item + .contact-flow-info-item,
.contact-flow-info-item:nth-child(odd),
.contact-flow-info-item:nth-child(even) {
  min-height: 62px !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-flow-info-item:nth-child(odd) {
  border-left: 1px solid #edf1f4 !important;
}

.contact-flow-info-item:nth-child(n/**/+3) {
  border-top: 1px solid #edf1f4 !important;
}

@media (max-width: 980px) {
  .home8-about-panel,

  .home8-about-image {
    min-height: 300px !important;
  }

  .about5-values {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .home8-vehicle-row {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(225px, 74vw) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 2px 2px 12px !important;
    background: transparent !important;
  }

  .home8-vehicle-row .home8-vehicle-card {
    scroll-snap-align: start;
  }

  .home8-about {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    direction: rtl !important;
  }

  .home8-about-panel {
    order: 1;
    width: min(100%, 520px);
    justify-self: end;
    min-height: auto !important;
    padding: 24px 22px !important;
  }

  .home8-about-image {
    order: 2;
    min-height: 250px !important;
  }

  .about5-values {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .about5-value-refined {
    min-height: auto !important;
  }

  .product-grid {
    display: grid !important;
    gap: 12px !important;
  }

  .product-grid-row {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(230px, 76vw) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 2px 2px 12px !important;
    background: transparent !important;
  }

  .product-grid-row .product-card {
    scroll-snap-align: start;
  }

  .contact-flow-banner {
    border-radius: 18px !important;
  }

  .contact-flow-info {
    grid-template-columns: 1fr !important;
    padding: 6px 14px !important;
  }

  .contact-flow-info-item,

  .contact-flow-info-item + .contact-flow-info-item,

  .contact-flow-info-item:nth-child(odd),

  .contact-flow-info-item:nth-child(even),

  .contact-flow-info-item:nth-child(n/**/+3) {
    border-left: 0 !important;
    border-top: 1px solid #edf1f4 !important;
  }

  .contact-flow-info-item:first-child {
    border-top: 0 !important;
  }
}

@media (max-width: 520px) {
  .home8-vehicle-row {
    grid-auto-columns: minmax(215px, 82vw) !important;
  }

  .home8-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home8-benefit {
    padding-inline: 2px !important;
  }

  .home8-benefit-icon {
    width: 64px !important;
    height: 64px !important;
  }

  .home8-benefit h3 {
    font-size: 12px !important;
  }

  .home8-benefit p {
    font-size: 8.8px !important;
  }

  .product-grid-row {
    grid-auto-columns: minmax(220px, 82vw) !important;
  }

  .footer-link-box a {
    font-size: 9.5px !important;
  }
}

.footer-description-box p.is-open {
  max-height: none;
}

@media (max-width: 980px) {
  .contact-flow-banner {
    aspect-ratio: 16 / 7 !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .contact-flow-banner {
    aspect-ratio: 16 / 7 !important;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .contact-flow-banner {
    aspect-ratio: 16 / 7 !important;
  }
}

.contact-flow-banner {
  aspect-ratio: 16 / 7 !important;
}

/* ========================================================================== */

/* ========================================================================== */

/* HOME / ABOUT — restore the previously approved composition. */

.home8-about {
  width: min(calc(100% - 36px), var(--max)) !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr) !important;
  gap: 0 !important;
  min-height: 430px !important;
  margin-bottom: 72px !important;
  direction: rtl !important;
  align-items: center !important;
}

.home8-about-panel {
  order: initial !important;
  min-height: 390px !important;
  padding: clamp(32px, 4vw, 50px) !important;
  border-radius: 24px 0 0 24px !important;
  border: 1px solid #2c4561 !important;
  border-right: 0 !important;
  justify-content: center !important;
  direction: rtl !important;
  box-shadow: 0 24px 64px rgba(38, 61, 87, 0.17) !important;
  isolation: isolate;
}

.home8-about-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  bottom: -1px;
  right: min(-18px, calc((var(--max) - 100vw) / 2));
  width: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--navy);
  border-block: 1px solid #2c4561;
}

.home8-about-panel h2 {
  font-size: inherit !important;
  margin: 7px 0 15px !important;
}

.home8-about-panel p {
  font-size: 11px !important;
  line-height: 2.05 !important;
  margin: 0 0 22px !important;
}

.home8-about-panel .home8-button.light {
  min-height: 32px !important;
  padding: 6px 11px !important;
  font-size: 8.5px !important;
  gap: 5px !important;
  width: auto !important;
  align-self: flex-start !important;
}

.home8-about-image {
  order: initial !important;
  min-height: 380px !important;
  width: calc(100% + 34px) !important;
  transform: translateX(34px) !important;
  margin: 0 !important;
  border-radius: 22px !important;
}

.home8-about-image:hover {
  transform: translateX(34px) translateY(-5px) scale(1.006) !important;
}

/* FOOTER / DESCRIPTION — no surrounding box; one clean line + ellipsis + toggle. */

.footer-description-box {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  min-width: 0;
}

.footer-description-box p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 10.5px !important;
  line-height: 1.9 !important;
  display: block !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

.footer-description-box.is-open {
  display: block !important;
}

.footer-description-box.is-open p {
  text-overflow: clip;
}

.footer-description-box > button {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font: inherit;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  cursor: pointer;
  white-space: nowrap;
}

.footer-description-box.is-open > button {
  margin-top: 5px !important;
}

/* PRODUCT MODAL / PRICE + CODE — one column, no middle divider. */

.product-spec-strip {
  grid-template-columns: 1fr !important;
}

.product-spec-strip > div,
.product-spec-strip > div:first-child,
.product-spec-strip > div:last-child {
  border-left: 0 !important;
  border-right: 0 !important;
  padding: 11px 0 !important;
}

.product-spec-strip > div + div {
  padding-top: 3px !important;
}

/* PRODUCT DETAIL / typography — one readable step larger, same section titles everywhere. */

.detail-about-box h2,
.detail-section-head h2 {
  font-size: clamp(20px, 1.9vw, 27px) !important;
  line-height: 1.55 !important;
}

.detail-rich-text p,
.detail-about-box p {
  font-size: 12.5px !important;
  line-height: 2.15 !important;
}

.detail-tabs button {
  font-size: 10px !important;
}

.detail-tab-panel > p,
.detail-tab-copy > p,
.detail-bullet-list li {
  font-size: 12.5px !important;
  line-height: 2.05 !important;
}

.detail-spec-table span {
  font-size: 10px !important;
}

.detail-spec-table strong {
  font-size: 11px !important;
}

/* PRODUCT DETAIL / bullets — marker and first text line share the same baseline. */

.detail-bullet-list li {
  position: relative !important;
  padding-right: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.detail-bullet-list li::before {
  position: static !important;
  display: block !important;
  flex: 0 0 7px !important;
  width: 7px !important;
  height: 7px !important;
  margin-top: .78em !important;
}

/* PRODUCT DETAIL / images — no inner frame; image fills its media box. */

.product-detail-visual {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-detail-visual .product-visual {
  border: 0 !important;
  border-radius: 22px !important;
  background: transparent !important;
}

.product-detail-visual .product-visual img {
  object-fit: contain !important;
  object-position: center !important;
  padding: 18px !important;
  background: #fff !important;
}

.detail-product-section .detail-mini-media {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

.detail-product-section .detail-mini-media .product-visual {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.detail-product-section .detail-mini-media .product-visual img {
  object-fit: contain !important;
  object-position: center !important;
  padding: 12px !important;
  background: #fff !important;
}

/* PRODUCT DETAIL / image interaction — fixed visual frame with gentle hover zoom and click-to-enlarge. */

.product-detail-visual-trigger {
  appearance: none;
  width: 100%;
  color: inherit;
  cursor: zoom-in;
  position: relative;
}

.product-detail-visual-trigger .product-visual img {
  transition: transform .32s ease;
}

.product-detail-visual-trigger:hover .product-visual img {
  transform: scale(1.035);
}

.product-image-zoom-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(24, 43, 62, .88);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(20, 35, 50, .18);
  pointer-events: none;
}

.image-lightbox-open {
  overflow: hidden;
}

.product-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 27, .72);
  backdrop-filter: blur(8px);
}

.product-image-lightbox-frame {
  position: relative;
  z-index: 1;
  width: min(900px, 92vw);
  height: min(650px, 82vh);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 36px 100px rgba(0,0,0,.34);
}

.product-image-lightbox-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-image-lightbox-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid #d8e0e7;
  border-radius: 11px;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}

@media (max-width: 680px) {
  .product-image-lightbox {
    padding: 14px;
  }

  .product-image-lightbox-frame {
    width: 94vw;
    height: min(72vh, 560px);
    padding: 18px;
    border-radius: 18px;
  }
}

/* CONTACT / DESKTOP — restore the prior split form layout, keep current responsive layout below 981px. */

@media (min-width: 981px) {
  .contact-flow {
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr) !important;
    gap: 24px !important;
  }

  .contact-flow-banner {
    width: 100% !important;
  }

  .contact-flow-form-panel {
    width: auto !important;
    justify-self: stretch !important;
    padding: clamp(30px, 3.6vw, 50px) !important;
  }
}

/* HOME / ABOUT responsive behavior from the previously approved version. */

@media (max-width: 980px) {
  .home8-about {
    width: min(calc(100% - 28px), var(--max)) !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    min-height: auto !important;
    direction: rtl !important;
  }

  .home8-about-panel {
    order: initial !important;
    width: auto !important;
    justify-self: stretch !important;
    min-height: 290px !important;
    padding: 28px 30px 62px !important;
    border-radius: 24px !important;
    border-right: 1px solid #2c4561 !important;
  }

  .home8-about-panel::before {
    display: none;
  }

  .home8-about-image {
    order: initial !important;
    min-height: 285px !important;
    width: calc(100% - 34px) !important;
    justify-self: center !important;
    transform: translateY(-54px) !important;
    margin-bottom: -32px !important;
  }

  .home8-about-image:hover {
    transform: translateY(-58px) scale(1.005) !important;
  }
}

@media (max-width: 680px) {
  .home8-about {
    width: min(calc(100% - 24px), var(--max)) !important;
    margin-bottom: 48px !important;
  }

  .home8-about-panel {
    min-height: 225px !important;
    padding: 22px 20px 50px !important;
  }

  .home8-about-image {
    min-height: 220px !important;
    width: calc(100% - 14px) !important;
    transform: translateY(-38px) !important;
    margin-bottom: -22px !important;
  }

  .home8-about-image:hover {
    transform: translateY(-41px) scale(1.003) !important;
  }

  .detail-about-box h2,

  .detail-section-head h2 {
    font-size: 20px !important;
  }

  .detail-rich-text p,

  .detail-about-box p,

  .detail-tab-panel > p,

  .detail-tab-copy > p,

  .detail-bullet-list li {
    font-size: 12px !important;
  }
}

/* ========================================================================== */

/* ========================================================================== */

/* HOME HERO — image-led banner: the car owns the frame and copy sits in the naturally empty left side. */

.home8-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  min-height: 470px;
  margin-top: 32px !important;
  margin-bottom: 82px !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  isolation: isolate;
}

.home8-hero-media,
.home8-shaped-media {
  grid-area: 1 / 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 470px !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  z-index: 0;
}

.home8-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 22, 37, .68) 0%, rgba(10, 22, 37, .30) 30%, rgba(10, 22, 37, .04) 52%, transparent 68%);
}

.home8-shaped-media img,
.home8-hero-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 470px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 26px !important;
}

.home8-hero-copy {
  grid-area: 1 / 1 !important;
  align-self: center;
  justify-self: start;
  width: min(38%, 430px);
  min-width: 300px;
  margin: 0 0 0 clamp(28px, 4.2vw, 64px) !important;
  padding: clamp(24px, 3vw, 38px) 0 !important;
  z-index: 2;
  color: #fff;
}

.home8-hero-copy .site-eyebrow,
.home8-hero-copy h1,
.home8-hero-copy p {
  color: #fff !important;
}

.home8-hero-copy h1 {
  max-width: 390px !important;
  font-size: clamp(30px, 3.2vw, 43px) !important;
  line-height: 1.42 !important;
}

.home8-hero-copy p {
  max-width: 390px !important;
  color: rgba(255, 255, 255, .78) !important;
}

.home8-hero-accent {
  background: #d84b3f !important;
}

.home8-hero .home8-button.primary {
  color: var(--navy) !important;
  background: #fff !important;
  border-color: #fff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.home8-hero .home8-button.secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .48) !important;
  backdrop-filter: blur(8px);
}

@media (max-width: 980px) {
  .home8-hero {
    min-height: 0 !important;
    border-radius: 22px !important;
    overflow: visible !important;
    background: #fff;
  }

  .home8-hero-copy {
    grid-area: auto !important;
    order: 1;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 26px 24px 22px !important;
    border: 1px solid #dce5ec;
    border-radius: 22px 22px 0 0;
    background: #fff;
  }

  .home8-hero-copy .site-eyebrow {
    color: var(--accent) !important;
  }

  .home8-hero-copy h1 {
    color: var(--navy) !important;
    max-width: 650px !important;
  }

  .home8-hero-copy p {
    color: #6e7d8d !important;
    max-width: 650px !important;
  }

  .home8-hero-media,
  .home8-shaped-media {
    grid-area: auto !important;
    order: 2;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 0 0 22px 22px !important;
  }

  .home8-hero-media::after {
    display: none;
  }

  .home8-shaped-media img,
  .home8-hero-media img {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 7 !important;
    border-radius: 0 0 22px 22px !important;
    object-position: 64% center !important;
  }

  .home8-hero .home8-button.primary {
    color: #fff !important;
    background: var(--navy) !important;
    border-color: var(--navy) !important;
  }

  .home8-hero .home8-button.secondary {
    color: var(--navy) !important;
    background: #fff !important;
    border-color: #bac5d0 !important;
    backdrop-filter: none;
  }
}

@media (max-width: 680px) {
  .home8-hero {
    margin-top: 14px !important;
    margin-bottom: 46px !important;
    border-radius: 18px !important;
  }

  .home8-hero-copy {
    padding: 22px 18px 18px !important;
    border-radius: 18px 18px 0 0;
  }

  .home8-hero-copy h1 {
    font-size: clamp(25px, 7.8vw, 34px) !important;
  }

  .home8-shaped-media img,
  .home8-hero-media img {
    aspect-ratio: 16 / 9 !important;
    border-radius: 0 0 18px 18px !important;
    object-position: 67% center !important;
  }
}

/* HOME SERVICES — one row on laptop/desktop, 2×2 only on phones. */

.home8-benefit-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 18px !important;
  overflow: visible !important;
  padding: 4px 0 !important;
}

.home8-benefit {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
}

/* FOOTER — three true columns on desktop; newsletter stays inside contact column. */

.footer-links-grid.footer-links-grid-3col {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px 34px !important;
  align-items: start;
}

.footer-contact-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
  text-align: right;
}

.footer-contact-stack .footer-newsletter {
  margin: 0;
  text-align: right;
}

.footer-description-box,
.footer-description-box.is-open {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px !important;
  margin-bottom: 14px !important;
}

.footer-description-box p {
  width: 100%;
  margin: 0 !important;
}

.footer-description-preview {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.footer-description-more {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  max-width: 980px;
  margin-top: 4px !important;
}

.footer-description-box > button,
.footer-description-box.is-open > button {
  display: inline-flex;
  justify-self: start;
  width: max-content;
  margin-top: 2px !important;
  line-height: 1.45;
}

/* CONTACT — visual and form have exactly the same desktop height. */

@media (min-width: 981px) {
  .contact-flow {
    align-items: stretch !important;
  }

  .contact-flow-banner {
    height: auto !important;
    min-height: 590px !important;
    aspect-ratio: auto !important;
    align-self: stretch !important;
  }

  .contact-flow-form-panel {
    min-height: 590px !important;
    height: 100% !important;
  }

  .contact-flow-banner-image,

  .contact-flow-banner-image img {
    width: 100% !important;
    height: 100% !important;
  }

  .contact-flow-banner-image img {
    object-fit: cover !important;
    object-position: 82% center !important;
  }
}

.contact-flow-form-panel .contact-form input,
.contact-flow-form-panel .contact-form textarea {
  background: rgba(255, 255, 255, .88) !important;
  border-color: #dce5ec !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88), 0 8px 20px rgba(38, 61, 87, .025);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-flow-form-panel .contact-form input:focus,
.contact-flow-form-panel .contact-form textarea:focus {
  background: rgba(255, 255, 255, .98) !important;
  border-color: #aebdca !important;
  box-shadow: 0 0 0 4px rgba(59, 80, 108, .045), 0 10px 24px rgba(38, 61, 87, .045);
}

/* CONTACT INFO — replace the flat rectangular strip with individual refined cards. */

.contact-flow-info {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid #dce5ec !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 14px 36px rgba(38, 61, 87, .055) !important;
  overflow: hidden;
}

.contact-flow-info-item,
.contact-flow-info-item + .contact-flow-info-item,
.contact-flow-info-item:nth-child(odd),
.contact-flow-info-item:nth-child(even),
.contact-flow-info-item:nth-child(n/**/+3) {
  position: relative;
  min-height: 98px !important;
  padding: 20px 22px 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

.contact-flow-info-item + .contact-flow-info-item {
  border-right: 1px solid #e4e9ee !important;
}

.contact-flow-info-item::before {
  content: "";
  display: block !important;
  position: absolute;
  right: 22px;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition: opacity .22s ease, transform .22s ease;
}

.contact-flow-info-item:hover::before,
.contact-flow-info-item:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.contact-flow-info-item {
  transition: background .22s ease;
}

.contact-flow-info-item:hover,
.contact-flow-info-item:focus-within {
  transform: none;
  background: rgba(246, 249, 251, .78) !important;
  box-shadow: none !important;
}

.contact-flow-info-item span {
  color: #8290a0 !important;
  font-size: 9.5px !important;
  font-weight: 800;
}

.contact-flow-info-item strong {
  color: var(--navy) !important;
  font-size: 11.5px !important;
  line-height: 1.8 !important;
}

/* BLOG — consistent cards and spacing, without the newspaper-like alternating layout. */

.blog5-hero {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  min-height: auto !important;
  margin-top: 34px !important;
  padding-block: 0 72px !important;
  align-items: stretch;
}

.blog5-feature-media {
  min-height: 430px !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 38px rgba(38, 61, 87, 0.08);
}

.blog5-feature-copy {
  width: 100%;
  border: 1px solid #dce3ea !important;
  border-radius: 22px !important;
  padding: clamp(34px, 5vw, 62px) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 16px 38px rgba(38, 61, 87, 0.06);
}

.blog5-hero-text-only .blog5-feature-copy h1 {
  max-width: 820px;
}

.blog5-hero-text-only .blog5-feature-copy p {
  max-width: 920px;
}

.blog5-section {
  padding-top: 10px !important;
}

.blog5-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.blog5-card,
.blog5-card.featured {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  border: 1px solid #dce3ea;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(38, 61, 87, 0.05);
}

.blog5-card-media,
.blog5-card.featured .blog5-card-media {
  min-height: 205px !important;
  height: 205px !important;
  border-radius: 0 !important;
}

.blog5-card-copy,
.blog5-card:nth-child(even) .blog5-card-copy,
.blog5-card.featured .blog5-card-copy {
  flex: 1 1 auto;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 20px !important;
  justify-content: flex-start !important;
}

.blog5-card-copy h2,
.blog5-card.featured h2 {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

.blog5-card-copy p {
  margin-bottom: 14px !important;
}

.blog5-card-copy a {
  margin-top: auto;
}

@media (max-width: 980px) {
  .blog5-hero {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: 26px !important;
    padding-bottom: 56px !important;
  }

  .blog5-feature-media {
    min-height: 360px !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .blog5-feature-copy {
    border-top: 1px solid #dce3ea !important;
    border-radius: 20px !important;
  }

  .blog5-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .contact-flow-info {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .contact-flow-info-item + .contact-flow-info-item {
    border-right: 0 !important;
  }

  .contact-flow-info-item:nth-child(even) {
    border-right: 1px solid #e4e9ee !important;
  }

  .contact-flow-info-item:nth-child(n+3) {
    border-top: 1px solid #e4e9ee !important;
  }
}

@media (max-width: 760px) {
  .home8-benefit-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }

  .footer-links-grid.footer-links-grid-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 20px !important;
  }
}

@media (max-width: 680px) {
  .blog5-hero {
    margin-top: 20px !important;
    padding-bottom: 46px !important;
  }

  .blog5-feature-media {
    min-height: 280px !important;
  }

  .blog5-feature-copy {
    padding: 26px 22px !important;
  }

  .blog5-grid {
    grid-template-columns: 1fr !important;
  }

  .blog5-card-media,

  .blog5-card.featured .blog5-card-media {
    min-height: 220px !important;
    height: 220px !important;
  }

  .contact-flow-info {
    grid-template-columns: 1fr !important;
  }

  .contact-flow-info-item,
  .contact-flow-info-item:nth-child(even),
  .contact-flow-info-item:nth-child(n+3) {
    border-right: 0 !important;
    border-top: 0 !important;
  }

  .contact-flow-info-item + .contact-flow-info-item {
    border-top: 1px solid #e4e9ee !important;
  }
}

/* ========================================================================== */
/* FINAL DELIVERY PATCH — footer / blog / contact / home / about / font prep */
/* ========================================================================== */

:root {
  --font-ui: "IRANYekanWeb", Tahoma, "Segoe UI", Arial, sans-serif;
  --font-ui-bold: "IRANYekanWeb", Tahoma, "Segoe UI", Arial, sans-serif;
}

body,
input,
textarea,
button,
select {
  font-family: var(--font-ui);
}

.brand-logo-image {
  height: clamp(54px, 5vw, 70px) !important;
  width: auto !important;
  object-fit: contain;
}

.home8-hero {
  margin-top: 18px !important;
  overflow: visible !important;
}

.home8-hero-surface {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  align-items: stretch;
  gap: 28px;
  min-height: 500px;
  padding: clamp(28px, 3.2vw, 42px);
  border-radius: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8fc 30%, #e7eff6 56%, #d5e1eb 72%, #16334b 100%);
  box-shadow: 0 30px 80px rgba(21, 43, 66, 0.14);
  overflow: hidden;
}

.home8-hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 19% 24%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%), radial-gradient(circle at 82% 18%, rgba(209, 68, 58, 0.12), rgba(209, 68, 58, 0) 26%);
  pointer-events: none;
}

.home8-hero-copy {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  align-self: center;
  z-index: 2;
  color: var(--navy) !important;
}

.home8-hero-copy .site-eyebrow,
.home8-hero-copy h1,
.home8-hero-copy p {
  color: var(--navy) !important;
}

.home8-hero-copy .site-eyebrow {
  color: #d44d42 !important;
}

.home8-hero-copy h1 {
  max-width: 520px !important;
  font-size: clamp(34px, 3.2vw, 48px) !important;
  line-height: 1.34 !important;
}

.home8-hero-copy p {
  max-width: 500px !important;
  color: #526679 !important;
  font-size: 15px;
}

.home8-hero-accent {
  width: 68px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #16334b, #d44d42) !important;
}

.home8-hero-media,
.home8-shaped-media {
  position: relative !important;
  display: flex !important;
  align-items: end;
  justify-content: end;
  min-height: 430px !important;
  height: 100% !important;
  background: transparent !important;
  overflow: visible !important;
  z-index: 1;
}

.home8-hero-background-glow {
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: 74%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 70%);
  filter: blur(10px);
}

.home8-hero-breakout-shadow {
  position: absolute;
  right: 9%;
  bottom: 0;
  width: 70%;
  height: 16px;
  border-radius: 999px;
  background: rgba(20, 39, 60, 0.16);
  filter: blur(10px);
}

.home8-shaped-media img,
.home8-hero-media img {
  position: relative;
  width: min(100%, 860px) !important;
  max-height: 480px !important;
  min-height: 0 !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 73% center !important;
  border-radius: 28px !important;
  background: transparent !important;
  transform: translate(4.5%, 8%) scale(1.08);
  box-shadow: 0 26px 50px rgba(17, 32, 48, 0.16);
}

.home8-hero .home8-button.primary {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
  box-shadow: 0 12px 28px rgba(17, 34, 51, 0.14);
}

.home8-hero .home8-button.secondary {
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--navy) !important;
  border-color: rgba(22, 51, 75, 0.16) !important;
  backdrop-filter: blur(6px);
}

.home8-about-panel h2 {
  font-size: clamp(28px, 2.5vw, 37px) !important;
  line-height: 1.5 !important;
}

.home8-about-panel p {
  font-size: 14px !important;
  line-height: 2 !important;
}

.home8-about-panel .site-eyebrow,
.home8-about-panel .home8-button.light {
  font-size: 14px !important;
}

.home8-about-panel {
  padding-inline-end: clamp(28px, 4vw, 54px) !important;
}

.home8-vehicle-media.has-image {
  background-size: 68% auto !important;
  background-position: center center !important;
}

.home8-vehicle-card[href="/products?category=xantia"] .home8-vehicle-media.has-image {
  background-size: 58% auto !important;
}

.home8-vehicle-card[href="/products?category=ef7"] .home8-vehicle-media.has-image {
  background-size: 64% auto !important;
}

.home8-vehicle-card[href="/products?category=nissan"] .home8-vehicle-media.has-image,
.home8-vehicle-card[href="/products?category=renault"] .home8-vehicle-media.has-image {
  background-size: 62% auto !important;
}

.about5-values-section {
  margin-top: 8px;
}

.about5-values-panel-showcase {
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
  border: 1px solid rgba(22, 51, 75, 0.09);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 18px 44px rgba(21, 43, 66, 0.08);
}

.about5-values-showcase {
  display: grid;
  gap: 18px;
}

.about5-value-showcase {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.2fr) minmax(120px, 0.7fr);
  align-items: stretch;
  min-height: 220px;
  border: 1px solid rgba(22, 51, 75, 0.14);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 38, 56, 0.08);
}

.about5-value-visual {
  min-height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.about5-value-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
}

.about5-value-center {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.about5-value-showcase .about5-value-icon {
  width: 48px;
  height: 48px;
  margin-inline: auto;
  border-radius: 14px;
  background: rgba(22, 51, 75, 0.08);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.about5-value-showcase h3 {
  margin: 14px 0 10px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
}

.about5-value-showcase p {
  margin: 0;
  color: #647788;
  font-size: 13px;
  line-height: 1.95;
}

.about5-brand-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.about5-brand-item {
  min-height: 92px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(22, 51, 75, 0.11);
  background: rgba(255, 255, 255, 0.86);
}

.about5-brand-item img {
  max-width: 122px;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.46) sepia(0.18) hue-rotate(169deg) saturate(2.2);
  opacity: 0.96;
}

.blog5-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
}

.blog5-card-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f8192;
  font-size: 12px;
}

.blog5-card-copy a {
  margin-top: 0 !important;
}

.contact-flow-info {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px !important;
  padding: 0 !important;
  background: transparent !important;
}

.contact-flow-info-card {
  position: relative;
  min-height: 118px !important;
  padding: 20px 22px !important;
  border: 1px solid rgba(22, 51, 75, 0.1) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,250,252,0.98)) !important;
  box-shadow: 0 12px 26px rgba(20, 37, 54, 0.06) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-flow-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #d44d42;
  transition: width 0.25s ease;
}

.contact-flow-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(20, 37, 54, 0.09) !important;
  border-color: rgba(22, 51, 75, 0.16) !important;
}

.contact-flow-info-card:hover::before {
  width: calc(100% - 36px);
}

.contact-flow-info-label {
  display: block;
  margin-bottom: 14px;
  color: #7a8a98;
  font-size: 12px;
}

.contact-flow-info-link,
.contact-flow-info-card strong {
  color: var(--navy) !important;
  font-size: 17px;
  line-height: 1.8;
}

.contact-flow-info-card strong {
  display: block;
}

.site-footer {
  text-align: right;
}

.footer-links-grid.footer-links-grid-3col {
  direction: rtl;
  align-items: start;
}

.footer-contact-stack {
  gap: 16px !important;
}

.footer-newsletter {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-newsletter button {
  width: 100%;
}

.footer-socials a {
  display: grid;
  place-items: center;
}

.footer-socials .social-youtube svg {
  width: 16px;
  height: 16px;
  transform: none;
}

.footer-description-box > button,
.footer-description-box.is-open > button {
  margin-top: 8px !important;
}

.footer-bottom-inner {
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .home8-hero-surface {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  }

  .about5-value-showcase {
    grid-template-columns: minmax(100px, 0.55fr) minmax(0, 1fr) minmax(100px, 0.55fr);
  }

  .contact-flow-info {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .home8-hero-surface {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
    gap: 16px;
  }

  .home8-hero-copy {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .home8-hero-media,
  .home8-shaped-media {
    min-height: 280px !important;
  }

  .home8-shaped-media img,
  .home8-hero-media img {
    width: 100% !important;
    max-height: none !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-position: center center !important;
    transform: none;
  }

  .about5-value-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about5-value-visual {
    min-height: 170px;
  }

  .about5-brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links-grid.footer-links-grid-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .brand-logo-image {
    height: 44px !important;
  }

  .home8-hero-surface {
    padding: 16px;
    border-radius: 22px;
  }

  .home8-hero-copy h1 {
    font-size: clamp(27px, 8vw, 34px) !important;
  }

  .home8-about-panel h2 {
    font-size: 24px !important;
  }

  .home8-about-panel p {
    font-size: 12.8px !important;
  }

  .blog5-card-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-flow-info {
    grid-template-columns: 1fr !important;
  }

  .footer-links-grid.footer-links-grid-3col {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================================== */
/* QUICK FIX v35 — restore about cards, separate logos, hero breakout cleanup  */
/* ========================================================================== */

.home8-hero.home8-hero-breakout {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr) !important;
  align-items: center !important;
  gap: 28px !important;
  min-height: 500px;
  padding: clamp(28px, 3vw, 42px) !important;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 28%, #eaf2f8 58%, #d8e5ef 76%, #153349 100%);
  overflow: hidden !important;
}

.home8-hero.home8-hero-breakout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(255,255,255,0.92), rgba(255,255,255,0) 33%), radial-gradient(circle at 86% 18%, rgba(212, 77, 66, 0.14), rgba(212, 77, 66, 0) 24%);
  pointer-events: none;
}

.home8-hero-breakout .home8-hero-copy {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.home8-hero-breakout .home8-hero-copy h1,
.home8-hero-breakout .home8-hero-copy p,
.home8-hero-breakout .home8-hero-copy .site-eyebrow {
  color: var(--navy) !important;
}

.home8-hero-breakout .home8-hero-copy .site-eyebrow {
  color: #d44d42 !important;
}

.home8-hero-breakout .home8-hero-copy h1 {
  max-width: 520px !important;
  font-size: clamp(34px, 3.15vw, 48px) !important;
  line-height: 1.34 !important;
}

.home8-hero-breakout .home8-hero-copy p {
  max-width: 500px !important;
  color: #556877 !important;
}

.home8-hero-breakout .home8-hero-accent {
  background: linear-gradient(90deg, #153349, #d44d42) !important;
}

.home8-hero-breakout-media {
  position: relative;
  min-height: 430px !important;
  overflow: visible !important;
  background: transparent !important;
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-end;
}

.home8-hero-breakout-glow {
  position: absolute;
  right: 5%;
  bottom: 12%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.7), rgba(255,255,255,0) 68%);
  filter: blur(10px);
}

.home8-hero-breakout-media img {
  position: relative;
  width: min(100%, 860px) !important;
  max-height: 500px !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 73% center !important;
  transform: translate(7%, 7%) scale(1.08) !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 48px rgba(19, 33, 48, 0.14);
}

.home8-hero-breakout .home8-button.primary {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}

.home8-hero-breakout .home8-button.secondary {
  background: rgba(255,255,255,0.8) !important;
  color: var(--navy) !important;
  border-color: rgba(21, 51, 73, 0.14) !important;
}

.about5-brand-strip-standalone {
  margin-top: 18px;
}

.about5-brand-item.plain {
  border: 0 !important;
  background: transparent !important;
  min-height: 66px;
  box-shadow: none !important;
}

.about5-brand-item.plain img {
  max-width: 112px;
  max-height: 34px;
}

@media (max-width: 980px) {
  .home8-hero.home8-hero-breakout {
    grid-template-columns: 1fr !important;
    min-height: 0;
    padding: 22px !important;
    gap: 16px !important;
  }

  .home8-hero-breakout-media {
    min-height: 280px !important;
  }

  .home8-hero-breakout-media img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-position: center center !important;
    transform: none !important;
  }
}

@media (max-width: 680px) {
  .home8-hero.home8-hero-breakout {
    padding: 16px !important;
    border-radius: 22px;
  }
}

/* ========================================================================== */
/* v36 — HOME HERO restored exactly to the pre-experiment layout              */
/* ========================================================================== */

.home8-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 470px;
  margin: 32px 0 82px !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  background: transparent !important;
}

.home8-hero-media,
.home8-shaped-media {
  grid-area: 1 / 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 470px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  z-index: 0;
  display: block !important;
}

.home8-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 22, 37, .68) 0%, rgba(10, 22, 37, .30) 30%, rgba(10, 22, 37, .04) 52%, transparent 68%);
}

.home8-shaped-media img,
.home8-hero-media img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 470px !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.home8-hero-copy {
  grid-area: 1 / 1 !important;
  align-self: center;
  justify-self: start;
  width: min(38%, 430px) !important;
  min-width: 300px !important;
  margin: 0 0 0 clamp(28px, 4.2vw, 64px) !important;
  padding: clamp(24px, 3vw, 38px) 0 !important;
  z-index: 2;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
}

.home8-hero-copy .site-eyebrow,
.home8-hero-copy h1,
.home8-hero-copy p {
  color: #fff !important;
}

.home8-hero-copy h1 {
  max-width: 390px !important;
  font-size: clamp(30px, 3.2vw, 43px) !important;
  line-height: 1.42 !important;
}

.home8-hero-copy p {
  max-width: 390px !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: inherit !important;
}

.home8-hero-accent {
  background: #d84b3f !important;
}

.home8-hero .home8-button.primary {
  color: var(--navy) !important;
  background: #fff !important;
  border-color: #fff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.home8-hero .home8-button.secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .48) !important;
  backdrop-filter: blur(8px);
}

/* ABOUT — original three cards + one separate brand box. */
.about5-brand-box {
  margin-top: -24px;
  margin-bottom: 72px;
  padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 38px);
  border: 1px solid rgba(22, 51, 75, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 16px 38px rgba(20, 38, 56, 0.07);
}

.about5-brand-strip-large {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(20px, 3vw, 44px) !important;
  margin: 0 !important;
}

.about5-brand-item-large {
  min-height: 96px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.about5-brand-item-large img {
  width: auto !important;
  max-width: 165px !important;
  max-height: 62px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: grayscale(1) brightness(.48) sepia(.18) hue-rotate(169deg) saturate(2.2) !important;
}

@media (max-width: 980px) {
  .home8-hero {
    min-height: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .home8-hero-copy {
    grid-area: auto !important;
    order: 1;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 26px 24px 22px !important;
    border: 1px solid #dce5ec !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .home8-hero-copy .site-eyebrow {
    color: var(--accent) !important;
  }

  .home8-hero-copy h1 {
    color: var(--navy) !important;
    max-width: 650px !important;
  }

  .home8-hero-copy p {
    color: #6e7d8d !important;
    max-width: 650px !important;
  }

  .home8-hero-media,
  .home8-shaped-media {
    grid-area: auto !important;
    order: 2;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
  }

  .home8-hero-media::after {
    display: none;
  }

  .home8-shaped-media img,
  .home8-hero-media img {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 7 !important;
    border-radius: 0 !important;
    object-position: 64% center !important;
  }

  .home8-hero .home8-button.primary {
    color: #fff !important;
    background: var(--navy) !important;
    border-color: var(--navy) !important;
  }

  .home8-hero .home8-button.secondary {
    color: var(--navy) !important;
    background: #fff !important;
    border-color: #bac5d0 !important;
    backdrop-filter: none;
  }

  .about5-brand-box {
    margin-top: -10px;
    margin-bottom: 56px;
  }

  .about5-brand-strip-large {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .home8-hero {
    margin-top: 14px !important;
    margin-bottom: 46px !important;
    border-radius: 18px !important;
  }

  .home8-hero-copy {
    padding: 22px 18px 18px !important;
    border-radius: 18px 18px 0 0 !important;
  }

  .home8-hero-copy h1 {
    font-size: clamp(25px, 7.8vw, 34px) !important;
  }

  .home8-shaped-media img,
  .home8-hero-media img {
    aspect-ratio: 16 / 9 !important;
    border-radius: 0 0 18px 18px !important;
    object-position: 67% center !important;
  }

  .about5-brand-box {
    margin-inline: 12px;
    padding: 16px 18px;
    border-radius: 20px;
  }

  .about5-brand-item-large {
    min-height: 76px !important;
  }

  .about5-brand-item-large img {
    max-width: 130px !important;
    max-height: 48px !important;
  }
}

/* ========================================================================== */
/* v38 — requested refinements only                                            */
/* ========================================================================== */

/* HOME hero: keep the approved full-width design, only reduce height and remove top gap. */
.home8-hero {
  min-height: 410px !important;
  margin: 0 0 66px !important;
}

.home8-hero-media,
.home8-shaped-media {
  min-height: 410px !important;
}

.home8-shaped-media img,
.home8-hero-media img {
  min-height: 410px !important;
}

/* BLOG: restore the original image + copy split, keep the new real SEO copy. */
.blog5-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
  min-height: 430px !important;
  margin-top: 34px !important;
  padding-block: 0 72px !important;
}

.blog5-feature-media {
  display: block !important;
  min-height: 430px !important;
  border-radius: 22px !important;
  background-size: cover !important;
  background-position: center !important;
}

.blog5-feature-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 430px !important;
}

.blog5-feature-copy h1 {
  max-width: 620px !important;
}

.blog5-feature-copy p {
  max-width: 650px !important;
}

/* FOOTER: newsletter is now a separate fourth column at the far left. */
.footer-links-grid.footer-links-grid-4col {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px 30px !important;
  align-items: start !important;
  direction: rtl;
}

.footer-newsletter-standalone {
  margin: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  text-align: right;
  align-self: start;
}

.footer-newsletter-standalone input,
.footer-newsletter-standalone button {
  width: 100%;
}

.footer-socials .social-youtube svg {
  overflow: visible;
}

/* ABOUT: five brand marks in the same separate brand box. */
.about5-brand-strip-large {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

@media (max-width: 980px) {
  .home8-hero {
    margin-top: 0 !important;
    margin-bottom: 50px !important;
  }

  .home8-hero-media,
  .home8-shaped-media,
  .home8-shaped-media img,
  .home8-hero-media img {
    min-height: 0 !important;
  }

  .blog5-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .blog5-feature-media,
  .blog5-feature-copy {
    min-height: 350px !important;
  }

  .footer-links-grid.footer-links-grid-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .about5-brand-strip-large {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .home8-hero {
    margin-top: 0 !important;
    margin-bottom: 42px !important;
  }

  .blog5-feature-media,
  .blog5-feature-copy {
    min-height: 280px !important;
  }

  .footer-links-grid.footer-links-grid-4col {
    grid-template-columns: 1fr !important;
  }

  .about5-brand-strip-large {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Static preview safety: keep a single clean product visual and stable footer icons. */
.product-visual{position:relative;overflow:hidden}.product-visual img{display:block!important;position:static!important;inset:auto!important;width:100%;height:100%;object-fit:contain}.product-visual img~img{display:none!important}.footer-socials{display:flex!important;align-items:center!important;gap:10px!important}.footer-socials a{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;font-size:0!important}.footer-socials svg{display:block!important;width:18px!important;height:18px!important}.header-actions{display:flex!important;align-items:center!important;gap:8px}.login-link{display:inline-flex;align-items:center;white-space:nowrap}.favorite-header-button,.cart-button{font-size:18px!important}
