:root {
  --memora-ink: #202824;
  --memora-muted: #5e6862;
  --memora-line: #d8dfda;
  --memora-green: #234c3e;
  --memora-red: #a84c43;
  --memora-paper: #f6f7f4;
  --memora-white: #fff;
}

.page-memora-home {
  color: var(--memora-ink);
  background: var(--memora-white);
}

#appHeader .icon-quantity {
  background-color: var(--memora-green);
}

#appHeader .header-desktop > .container { gap: 20px; }
#appHeader .header-desktop .left { min-width: 0; }
#appHeader .header-desktop .logo,
#appHeader .header-desktop .right { flex-shrink: 0; }
#appHeader .header-desktop .left .menu { margin-left: 24px; }
#appHeader .header-desktop .navbar-nav { gap: 2px; }
#appHeader .header-desktop .navbar-nav > .nav-item > .nav-link,
#appHeader .header-desktop .navbar-nav > .nav-item > .dropdown > .nav-link {
  margin: 0 5px;
  padding: 10px 3px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0;
}
#appHeader .header-desktop .nav-link.active { color: var(--memora-green); }
#appHeader .header-desktop .nav-link .bi-chevron-down { margin-left: 5px; font-size: 10px; }
#appHeader .header-desktop .nav-item:focus-within > .dropdown > .dropdown-menu { display: block; }
@media (min-width: 992px) {
  #appHeader .header-desktop { display: block; }
}

#appHeader .header-desktop > .container { position: relative; }
#appHeader .header-desktop .menu .navbar { position: static; }
#appHeader .header-desktop .memora-nav-dropdown { display: flex; align-items: center; }
#appHeader .header-desktop .memora-nav-dropdown > .nav-link { margin-right: 0; }
#appHeader .memora-nav-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--memora-green);
  font-size: 11px;
}
#appHeader .memora-nav-toggle:hover { background: #eef3f0; }
#appHeader .memora-nav-toggle i { display: inline-block; transition: transform .15s ease; }
#appHeader .memora-nav-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
#appHeader .header-desktop .memora-nav-wide,
#appHeader .header-desktop .memora-nav-wide > .dropdown { position: static; }
#appHeader .header-desktop .memora-nav-item > .dropdown > .memora-nav-panel {
  display: none;
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  right: auto;
  transform: none;
  width: min(340px, calc(100vw - 32px));
  min-width: 0;
  max-height: min(640px, var(--memora-menu-height, calc(100dvh - 180px)));
  margin: 0;
  padding: 10px;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--memora-line);
  border-top: 2px solid var(--memora-green);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 14px 32px rgba(23, 43, 33, .14);
}
#appHeader .header-desktop .memora-nav-wide > .dropdown > .memora-nav-panel {
  left: 50%;
  right: auto;
  width: min(1180px, 100%);
  transform: translateX(-50%);
  padding: 0;
}
#appHeader[data-navigation-ready] .header-desktop .memora-nav-item > .dropdown > .memora-nav-panel { display: none; }
#appHeader[data-navigation-ready] .header-desktop .memora-nav-item > .dropdown.is-open > .memora-nav-panel,
#appHeader:not([data-navigation-ready]) .header-desktop .memora-nav-item:hover > .dropdown > .memora-nav-panel { display: flex; }
#appHeader .memora-nav-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--memora-line);
}
#appHeader .memora-nav-title { display: flex; align-items: center; gap: 12px; }
#appHeader .memora-nav-title strong { font-size: 18px; font-weight: 600; color: var(--memora-ink); }
#appHeader .memora-nav-title span { color: var(--memora-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
#appHeader .memora-nav-all { display: inline-flex; gap: 9px; align-items: center; color: var(--memora-green); font-size: 14px; text-decoration: none; }
#appHeader .memora-nav-all:hover { text-decoration: underline; }
#appHeader .memora-nav-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 280px;
  max-width: 100%;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--memora-line);
  border-radius: 4px;
  background: #f7f9f8;
  color: var(--memora-muted);
}
#appHeader .memora-nav-search input { width: 100%; min-width: 0; height: 38px; border: 0; outline: none; background: transparent; color: var(--memora-ink); font-size: 14px; }
#appHeader .memora-nav-search:focus-within { outline: 2px solid var(--memora-green); outline-offset: 2px; }
#appHeader .memora-nav-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #91a69b #f1f5f2; }
#appHeader .memora-nav-wide .memora-nav-scroll { padding: 12px; }
#appHeader .memora-nav-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 12px; }
#appHeader .memora-nav-wide .memora-nav-links { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
#appHeader .memora-nav-panel .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: 3px;
  color: var(--memora-ink);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
}
#appHeader .memora-nav-panel .dropdown-item[hidden] { display: none; }
#appHeader .memora-nav-panel .dropdown-item:hover,
#appHeader .memora-nav-panel .dropdown-item:focus-visible { background: #eef4f0; color: var(--memora-green); }
#appHeader .memora-nav-toggle:focus-visible,
#appHeader .memora-nav-panel a:focus-visible { outline: 2px solid var(--memora-green); outline-offset: -2px; }
#appHeader .memora-nav-empty { margin: 24px 12px; color: var(--memora-muted); font-size: 14px; }

#appHeader .header-mobile #mobile-menu-offcanvas { width: min(360px, calc(100vw - 32px)); height: 100dvh; }
#appHeader .header-mobile .mobile-menu-wrap { min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; }
#appHeader .header-mobile .ul-children .nav-link { white-space: normal; overflow-wrap: anywhere; height: auto; min-height: 44px; }

#appHeader .language-switch > .dropdown:first-child {
  display: none;
}

.footer-newsletter-wrapper,
#appFooter .payment-icon {
  display: none;
}

#appFooter .footer-box .footer-top-links ul li a:hover {
  color: var(--memora-red);
}

.memora-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 530px;
  aspect-ratio: 3.2;
  max-height: 800px;
  align-items: flex-end;
  overflow: hidden;
  background: #303631;
}

.memora-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 27, 24, .72), rgba(20, 27, 24, .45) 42%, rgba(20, 27, 24, .08) 68%, transparent);
  content: "";
}

.memora-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 65%;
}

.memora-hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 0 0 64px;
  color: var(--memora-white);
}

.memora-eyebrow {
  margin: 0 0 12px;
  color: var(--memora-red);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.memora-hero .memora-eyebrow {
  color: #fff;
}

.memora-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: var(--memora-hero-title-size, 48px);
  font-weight: 650;
  line-height: 1.05;
}

.memora-hero-line {
  margin: 16px 0 24px;
  font-size: 21px;
  line-height: 1.45;
}

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

.memora-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 650;
  text-decoration: none;
}

.memora-button-light {
  color: var(--memora-ink);
  background: var(--memora-white);
}

.memora-button-outline {
  color: var(--memora-white);
  border-color: rgba(255, 255, 255, .85);
  background: rgba(25, 32, 28, .16);
}

.memora-button-dark {
  color: var(--memora-white);
  background: var(--memora-green);
}

.memora-signature {
  padding: 68px 0 0;
  background: #fff;
  color: var(--memora-ink);
}

.memora-signature-inner.container,
.page-home #home-modules-box .module-product > :is(.container, .container-fluid),
.page-home #home-modules-box .module-category > :is(.container, .container-fluid) {
  width: min(100% - 40px, 1180px);
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 0;
}

.memora-signature-inner.container-fluid {
  width: min(100% - 40px, 1400px);
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 0;
}

.memora-signature-inner.swiper-fullscreen {
  width: 100%;
}

.memora-signature-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 30px;
}

.memora-signature-eyebrow {
  margin: 0 0 14px;
  color: var(--memora-green);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  text-transform: uppercase;
}

.memora-signature-heading h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

.memora-signature-description {
  max-width: 52ch;
  margin: 0;
  color: var(--memora-muted);
  font-size: 16px;
  line-height: 1.75;
}

.memora-signature-image {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #e9edeb;
}

.memora-signature-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.25;
  object-fit: contain;
}

.memora-signature-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--memora-line);
  font-size: 13px;
  line-height: 1.6;
}

.memora-signature-caption > span {
  color: var(--memora-muted);
}

.memora-signature-caption a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--memora-ink);
  text-decoration: none;
}

.memora-signature a:focus-visible {
  outline: 2px solid var(--memora-green);
  outline-offset: 5px;
}

.page-home #module-module-custom-products-demo-003 .module-line {
  padding-top: 44px;
}

.page-home #module-module-custom-products-demo-003 .module-title-wrap {
  margin-bottom: 28px;
  text-align: left !important;
}

.page-home #module-module-custom-products-demo-003 .module-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}

.memora-intro,
.memora-products,
.memora-quote-band {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.memora-quote-page,
.memora-quote-received,
.memora-quote-offer {
  max-width: 1180px;
  padding-top: 42px;
  padding-bottom: 64px;
}

.memora-quote-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.memora-quote-heading h1,
.memora-quote-received h1,
.memora-quote-offer h1 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 620;
  line-height: 1.15;
}

.memora-quote-heading > p:last-child,
.memora-quote-received > p:not(.memora-eyebrow),
.memora-quote-offer > p:not(.memora-eyebrow) {
  color: var(--memora-muted);
  line-height: 1.6;
}

.memora-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 350px);
  align-items: start;
  gap: 40px;
}

.memora-quote-form section {
  padding: 22px 0;
  border-top: 1px solid var(--memora-line);
}

.memora-quote-form h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 650;
}

.memora-live-preview {
  position: sticky;
  top: 20px;
  min-width: 0;
}

.memora-preview-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--memora-paper);
}

.memora-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.memora-preview-inscription {
  position: absolute;
  top: 47%;
  left: 54%;
  width: 30%;
  max-height: 30%;
  overflow: hidden;
  color: #f2f0e7;
  font-family: Georgia, serif;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 2px #111;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.memora-quote-prices {
  max-width: 560px;
  margin: 28px 0;
  border-top: 1px solid var(--memora-line);
}

.memora-quote-prices > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--memora-line);
}

.memora-quote-prices dt,
.memora-quote-prices dd {
  margin: 0;
}

.memora-quote-prices dd {
  font-weight: 650;
}

.memora-quote-note {
  max-width: 700px;
  padding: 16px;
  border-left: 3px solid var(--memora-green);
  background: var(--memora-paper);
}

.memora-checkout-service {
  margin: 0 0 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--memora-line);
}

.memora-checkout-service h2 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.memora-checkout-service > p {
  margin-bottom: 1rem;
  color: var(--memora-muted);
}

.memora-install-price {
  padding-left: 6px;
  color: var(--memora-muted);
  font-weight: 500;
}

.memora-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 34px 0 40px;
  border-bottom: 1px solid var(--memora-line);
}

.memora-intro-item span {
  display: block;
  margin-bottom: 13px;
  color: var(--memora-red);
  font-size: .78rem;
  font-weight: 700;
}

.memora-intro-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
}

.memora-intro-item p {
  max-width: 34ch;
  margin: 0;
  color: var(--memora-muted);
  line-height: 1.55;
}

.memora-products {
  padding: 54px 0 64px;
}

.memora-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.memora-section-heading h2,
.memora-quote-band h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 620;
  line-height: 1.2;
}

.memora-text-link {
  color: var(--memora-green);
  font-weight: 650;
  text-decoration: none;
}

.memora-text-link span {
  padding-left: 5px;
}

.memora-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.memora-product {
  min-width: 0;
}

.memora-product-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--memora-paper);
}

.memora-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.memora-product-image:hover img {
  transform: scale(1.025);
}

.memora-product-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding-top: 12px;
}

.memora-product-copy h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
}

.memora-product-copy h3 a {
  color: var(--memora-ink);
  text-decoration: none;
}

.memora-product-sku {
  margin: 0;
  color: var(--memora-muted);
  font-size: 12px;
}

.memora-product-copy .memora-product-mode-badges {
  justify-content: flex-start;
}

.memora-mode-badge-standard {
  border-color: #c9ccc2;
  color: #50584e;
  background: #f1f3ed;
}

.memora-product-routes {
  display: grid;
  gap: 5px;
}

.memora-product-routes .memora-text-link {
  font-size: 13px;
}

.memora-product-summary {
  margin: 0;
  color: var(--memora-muted);
  font-size: 14px;
  line-height: 1.5;
}

.memora-product-copy > span {
  color: var(--memora-muted);
  font-size: .9rem;
}

.memora-empty {
  margin: 0;
  padding: 24px 0;
  color: var(--memora-muted);
}

.memora-footer-links {
  display: flex;
  width: min(100% - 40px, 1180px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid var(--memora-line);
  color: var(--memora-muted);
  font-size: .9rem;
}

.memora-footer-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.memora-footer-links a {
  color: var(--memora-green);
  text-decoration: none;
}

.memora-footer-contact span {
  padding-left: 5px;
  color: var(--memora-ink);
}

.memora-quote-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--memora-line);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .memora-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .memora-signature {
    padding-top: 36px;
  }

  .memora-signature-inner.container,
  .memora-signature-inner.container-fluid,
  .page-home #home-modules-box .module-product > :is(.container, .container-fluid),
  .page-home #home-modules-box .module-category > :is(.container, .container-fluid) {
    width: calc(100% - 32px);
  }

  .memora-signature-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }

  .memora-signature-heading h2 {
    font-size: 28px;
  }

  .memora-signature-eyebrow {
    margin-bottom: 10px;
  }

  .memora-signature-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .memora-signature-caption {
    padding: 14px 0 22px;
    font-size: 12px;
  }

  .page-home #module-module-custom-products-demo-003 .module-line {
    padding-top: 30px;
  }

  .page-home #module-module-custom-products-demo-003 .module-title {
    font-size: 26px;
  }

  .memora-hero {
    display: block;
    min-height: 500px;
    aspect-ratio: auto;
    max-height: none;
    padding-top: 280px;
    background: #202824;
  }

  .memora-hero-image {
    height: 280px;
    object-position: center;
  }

  .memora-hero::after {
    background: linear-gradient(180deg, transparent 140px, rgba(32, 40, 36, .4) 220px, #202824 280px);
  }

  .memora-hero-content {
    width: min(100% - 32px, 1180px);
    padding-bottom: 36px;
  }

  .memora-hero h1 {
    font-size: min(36px, var(--memora-hero-title-size, 48px));
  }

  .memora-hero-line {
    max-width: 24ch;
    font-size: 19px;
  }

  .memora-hero-actions {
    gap: 8px;
  }

  .memora-hero-actions .memora-button {
    padding: 0 12px;
    font-size: 12px;
  }

  .memora-intro,
  .memora-products,
  .memora-quote-band,
  .memora-footer-links {
    width: min(100% - 32px, 1180px);
  }

  .memora-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 0 30px;
  }

  .memora-intro-item p {
    max-width: 42ch;
  }

  .memora-products {
    padding: 38px 0 42px;
  }

  .memora-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .memora-section-heading h2,
  .memora-quote-band h2 {
    font-size: 25px;
  }

  .memora-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .memora-product-copy {
    flex-direction: column;
    gap: 4px;
  }

  .memora-quote-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .memora-footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .memora-footer-links nav {
    gap: 10px 16px;
  }

  .memora-quote-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .memora-live-preview {
    position: static;
    grid-row: 1;
    max-width: 380px;
  }

  .memora-quote-heading h1,
  .memora-quote-received h1,
  .memora-quote-offer h1 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .memora-product-image img {
    transition: none;
  }
}
