/**
 * DMM theme — Figma header (node 4155:11261)
 */

:root {
  --dmm-color-surface: #02080b;
  --dmm-color-muted: #414141;
  --dmm-color-topbar: #f3f2f1;
  --dmm-color-accent: #00b0f0;
  --dmm-color-white: #ffffff;
  --dmm-color-footer-bg: #0e1209;
  --dmm-color-footer-bottom: #060804;
  --dmm-color-footer-accent: #c2f494;
  --dmm-color-footer-divider: #606060;
  --dmm-shadow-menu: 0 16px 44px rgba(6, 8, 4, 0.08);
  --dmm-font-sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dmm-content-max: 1440px;
  --dmm-header-pad-x: clamp(1rem, 4.5vw, 4rem);
  /* Same outer width as .dmm-header__pill (inside .dmm-header__main-wrap padding) */
  --dmm-menu-width: calc(var(--dmm-content-max) - 2 * var(--dmm-header-pad-x));
  --dmm-footer-pad-x: var(--dmm-header-pad-x);
  --dmm-footer-overlap: 32px;
}

body.dmm-theme {
  font-family: var(--dmm-font-sans);
  color: var(--dmm-color-surface);
  background: var(--dmm-color-white);
}

/* —— Unified form field focus (registration reference) —— */
.dmm-theme textarea:focus,
.dmm-theme select:focus,
.dmm-theme .form-control:focus,
.dmm-theme .form-select:focus,
.dmm-theme .dmm-checkout-field__control:focus,
.dmm-theme .dmm-login-modal__control:focus,
.dmm-theme .dmm-category-filter__input:focus,
.dmm-theme input[type="text"]:focus,
.dmm-theme input[type="email"]:focus,
.dmm-theme input[type="tel"]:focus,
.dmm-theme input[type="password"]:focus,
.dmm-theme .dmm-password-field__input:focus,
.dmm-theme input[type="search"]:not(.dmm-search-modal__input):focus,
.dmm-theme input[type="number"]:focus,
.dmm-theme input[type="url"]:focus,
.dmm-theme input[type="date"]:focus {
  outline: none;
  border-color: var(--dmm-color-surface);
  box-shadow: none;
}

.dmm-theme .dmm-checkout-phone__control:focus-within,
.dmm-theme .dmm-category-sidebar__search-field:focus-within,
.dmm-theme .dmm-footer__callback-form:focus-within {
  border-color: var(--dmm-color-surface);
  box-shadow: none;
}

.dmm-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* —— Site content width (matches .dmm-header__pill) —— */
.dmm-theme .container,
.dmm-theme .container-sm,
.dmm-theme .container-md,
.dmm-theme .container-lg,
.dmm-theme .container-xl,
.dmm-theme .container-xxl,
.dmm-theme .container-fluid {
  --bs-gutter-x: 0;
  width: calc(100% - 2 * var(--dmm-header-pad-x));
  max-width: var(--dmm-menu-width);
  padding-left: 0;
  padding-right: 0;
}

.dmm-content-shell,
.dmm-categories__inner,
.dmm-sales__inner,
.dmm-new__inner,
.dmm-about__inner,
.dmm-hero__inner,
.dmm-product-hero__inner,
.dmm-product-page__extra-inner,
.dmm-related__inner,
.dmm-catalog-categories__inner,
.dmm-404__inner,
.dmm-category-page__inner,
.dmm-footer__grid {
  width: calc(100% - 2 * var(--dmm-header-pad-x));
  max-width: var(--dmm-menu-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* OpenCart default footer is absolute; DMM uses normal document flow */
.dmm-theme #container {
  position: relative;
  margin-bottom: 0;
  min-height: 0;
}

.dmm-theme #content,
.dmm-theme #column-left,
.dmm-theme #column-right {
  padding-bottom: 0;
}

.dmm-theme footer.dmm-footer {
  position: relative;
  z-index: 0;
  bottom: auto;
  width: 100%;
  margin-top: calc(-1 * var(--dmm-footer-overlap));
  border: 0;
  padding-top: 0;
  background: var(--dmm-color-footer-accent);
  color: inherit;
}

.dmm-theme main {
  position: relative;
  z-index: 1;
}

/* Inner pages — white shell with bottom radius over footer */
.dmm-contact-page,
.dmm-account-page,
.dmm-checkout-page,
.dmm-cart-page,
.dmm-login-page,
.dmm-product-page,
.dmm-404 {
  position: relative;
  z-index: 1;
  background: var(--dmm-color-white);
  border-radius: 0 0 32px 32px;
  overflow: hidden;
}

.dmm-home #content,
.dmm-home #column-left,
.dmm-home #column-right {
  padding-bottom: 0;
}

/* Hide default OpenCart top bar and category navbar */
.dmm-theme #top,
.dmm-header__menu-hidden {
  display: none !important;
}

/* —— Header —— */
.dmm-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--dmm-color-white);
}

.dmm-header__top {
  background: var(--dmm-color-topbar);
}

.dmm-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 33px;
  padding: 8px var(--dmm-header-pad-x);
  max-width: var(--dmm-content-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.dmm-header__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--dmm-color-muted);
  text-decoration: none;
}

.dmm-header__meta:hover {
  color: var(--dmm-color-surface);
}

.dmm-header__meta img {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.dmm-header__main-wrap {
  padding: 0 var(--dmm-header-pad-x) 8px;
  max-width: var(--dmm-content-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.dmm-header__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 0 clamp(1rem, 4.7vw, 4.25rem);
  background: var(--dmm-color-white);
  border-radius: 600px;
  box-shadow: var(--dmm-shadow-menu);
}

.dmm-header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.dmm-header__nav--left {
  min-width: 0;
}

.dmm-header__link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--dmm-color-surface);
  text-decoration: none;
  white-space: nowrap;
}

.dmm-header__link:hover {
  color: var(--dmm-color-accent);
}

.dmm-header__logo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-decoration: none;
}

.dmm-header__logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(344px, 100%);
  aspect-ratio: 344 / 48;
  object-fit: contain;
}

.dmm-header__logo-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 0 0 auto;
  width: auto;
  max-width: 251px;
}

/* Language switcher — hidden for now; remove this rule to show again */
.dmm-header__language {
  display: none;
  flex-shrink: 0;
}

.dmm-header__icons {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  line-height: 0;
}

/* —— Header search modal —— */
body.dmm-search-open {
  overflow: hidden;
}

.dmm-search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}

.dmm-search-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}

.dmm-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 11, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  transition:
    opacity 0.4s ease,
    background-color 0.4s ease,
    backdrop-filter 0.4s ease,
    -webkit-backdrop-filter 0.4s ease;
}

.dmm-search-modal.is-open .dmm-search-modal__backdrop {
  background: rgba(2, 8, 11, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 1;
}

.dmm-search-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.dmm-search-modal.is-open .dmm-search-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.dmm-search-modal__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 24px;
  border-radius: 16px;
  background: var(--dmm-color-white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.dmm-search-modal__submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: var(--dmm-color-accent);
  cursor: pointer;
}

.dmm-search-modal__submit:hover {
  background: #0099d1;
}

.dmm-search-modal__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  outline: none;
}

.dmm-search-modal__input::placeholder {
  color: #8f8f8f;
}

.dmm-language__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--dmm-color-surface);
  cursor: pointer;
}

.dmm-language__toggle::after {
  display: none;
}

.dmm-language__toggle:hover,
.dmm-language__toggle:focus {
  color: var(--dmm-color-accent);
}

.dmm-header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 600px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.dmm-header__icon-btn:hover {
  background: rgba(2, 8, 11, 0.04);
}

.dmm-header__icon-btn img,
.dmm-header__menu-toggle img,
.dmm-mobile-menu__action img {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dmm-language__chevron {
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.dmm-header__icon-btn--cart {
  line-height: 0;
}

.dmm-header__icon-btn--cart::after {
  display: none;
}

.dmm-theme #cart.dmm-header__cart {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  align-self: center;
}

.dmm-header__cart {
  position: relative;
  flex-shrink: 0;
}

.dmm-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.dmm-header__cart-badge {
  position: absolute;
  top: -5px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 3000px;
  background: var(--dmm-color-surface);
  color: var(--dmm-color-white);
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
  box-sizing: border-box;
}

.dmm-header__menu-toggle {
  display: none;
}

.dmm-header__mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.dmm-header__mobile-cart {
  display: none;
}

.dmm-header__mobile-cart-badge {
  top: -4px;
  right: -4px;
}

/* —— Mobile menu —— */
.dmm-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.25s;
}

.dmm-mobile-menu[aria-hidden="false"] {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.dmm-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 11, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: auto;
}

.dmm-mobile-menu[aria-hidden="false"] .dmm-mobile-menu__backdrop {
  opacity: 1;
}

.dmm-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 320px);
  height: 100%;
  min-height: 0;
  padding: max(16px, calc(env(safe-area-inset-top, 0px) + 12px)) 20px 32px;
  border-radius: 24px 0 0 24px;
  background: var(--dmm-color-white);
  box-shadow: -8px 0 32px rgba(2, 8, 11, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.dmm-mobile-menu[aria-hidden="false"] .dmm-mobile-menu__panel {
  transform: translateX(0);
}

.dmm-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dmm-mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-mobile-menu__link:hover {
  color: var(--dmm-color-accent);
}

.dmm-mobile-menu__actions {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid #f3f2f1;
}

.dmm-mobile-menu__action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
  cursor: pointer;
}

body.dmm-mobile-menu-open {
  overflow: hidden;
}

body.dmm-category-filters-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* —— Cart modal (Figma node 4042:33910) —— */
body.dmm-cart-open {
  overflow: hidden;
}

.dmm-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}

.dmm-cart-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}

.dmm-cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 11, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  transition:
    opacity 0.4s ease,
    background-color 0.4s ease,
    backdrop-filter 0.4s ease,
    -webkit-backdrop-filter 0.4s ease;
}

.dmm-cart-modal.is-open .dmm-cart-modal__backdrop {
  background: rgba(2, 8, 11, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 1;
}

.dmm-cart-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 48px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.dmm-cart-modal.is-open .dmm-cart-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.dmm-cart-modal__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-height: calc(100vh - 48px);
  padding: 32px 24px;
  border-radius: 24px;
  background: var(--dmm-color-white);
  box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
  box-sizing: border-box;
  overflow: hidden;
}

.dmm-cart-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.dmm-cart-modal__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
}

.dmm-cart-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-cart-modal__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 0;
  margin: 0;
}

.dmm-cart-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 16px;
  border-radius: 8px;
  background: #fefefe;
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow: visible;
}

.dmm-cart-item__main {
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
}

.dmm-cart-item__media {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dmm-color-white);
}

.dmm-cart-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dmm-cart-item__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.dmm-cart-item__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dmm-cart-item__row--foot {
  align-items: center;
}

.dmm-cart-item__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-cart-item__line-total {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  white-space: nowrap;
}

.dmm-cart-item__unit {
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  white-space: nowrap;
}

.dmm-cart-item__stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #f4f4f2;
  border-radius: 8px;
  overflow: hidden;
}

.dmm-cart-item__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  padding: 0;
  border: 0;
  background: #f6faff;
  cursor: pointer;
}

.dmm-cart-item__qty-input {
  width: 92px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-top: 1px solid #f4f4f2;
  border-bottom: 1px solid #f4f4f2;
  font-size: 16px;
  text-align: center;
  color: var(--dmm-color-surface);
  -moz-appearance: textfield;
}

.dmm-cart-item__qty-input::-webkit-outer-spin-button,
.dmm-cart-item__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dmm-cart-item__remove {
  flex-shrink: 0;
  margin: 0;
}

.dmm-cart-item__remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--dmm-color-white);
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  cursor: pointer;
}

.dmm-cart-modal__summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.dmm-cart-modal__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-cart-modal__summary-row--total {
  padding: 16px 0;
}

.dmm-cart-modal__summary-row--total strong {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.dmm-cart-modal__divider {
  height: 1px;
  background: #f3f2f1;
  border-radius: 2px;
}

.dmm-cart-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.dmm-cart-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1.5;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.dmm-cart-modal__btn--primary {
  border: 0;
  background: var(--dmm-color-surface);
  color: var(--dmm-color-white);
}

.dmm-cart-modal__btn--primary:hover {
  background: #1a2328;
  color: var(--dmm-color-white);
}

.dmm-cart-modal__btn--secondary {
  border: 1px solid var(--dmm-color-surface);
  background: var(--dmm-color-white);
  color: var(--dmm-color-surface);
}

.dmm-cart-modal__btn--secondary:hover {
  background: #f6faff;
  color: var(--dmm-color-surface);
}

.dmm-cart-modal__empty {
  margin: 0;
  padding: 24px 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--dmm-color-muted);
}

/* —— Login modal (Figma 4134:10061) —— */
body.dmm-login-open {
  overflow: hidden;
}

.dmm-login-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dmm-login-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.dmm-login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 11, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dmm-login-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 48px);
}

.dmm-login-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-height: calc(100vh - 48px);
  padding: 32px 24px;
  border-radius: 24px;
  background: var(--dmm-color-white);
  box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
  box-sizing: border-box;
  overflow-y: auto;
}

.dmm-login-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-login-modal__head {
  padding-right: 40px;
}

.dmm-login-modal__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--dmm-color-surface);
}

.dmm-login-modal__notice {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.dmm-login-modal__notice--error {
  background: #fff5f5;
  color: #d64545;
}

.dmm-login-modal__notice--success {
  background: #f4fff4;
  color: #009900;
}

.dmm-login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dmm-login-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dmm-login-modal__label {
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-login-modal__control {
  width: 100%;
  min-height: 56px;
  padding: 16px;
  border: 1px solid #f4f4f2;
  border-radius: 12px;
  background: var(--dmm-color-white);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  box-sizing: border-box;
}

.dmm-login-modal__control::placeholder {
  color: #8f8f8f;
}

.dmm-login-modal__field:nth-child(2) .dmm-login-modal__control {
  border-radius: 16px;
}

.dmm-login-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--dmm-color-surface);
  color: var(--dmm-color-white);
  font: inherit;
  font-size: 18px;
  line-height: 1.5;
  cursor: pointer;
}

.dmm-login-modal__submit img {
  filter: brightness(0) invert(1);
}

.dmm-login-modal__social {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding-top: 8px;
}

.dmm-login-modal__social-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #8f8f8f;
}

.dmm-login-modal__social-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dmm-login-modal__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid #f4f4f2;
  border-radius: 12px;
  background: var(--dmm-color-white);
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.05);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #344054;
  cursor: not-allowed;
  opacity: 0.72;
  text-decoration: none;
}

.dmm-login-modal__social-btn--active {
  cursor: pointer;
  opacity: 1;
}

.dmm-login-modal__social-btn--active:hover {
  border-color: var(--dmm-color-surface);
  color: var(--dmm-color-surface);
}

.dmm-login-modal__social-btn img {
  flex-shrink: 0;
  display: block;
  width: 24px;
  height: 24px;
}

.dmm-login-modal__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  margin-top: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--dmm-color-surface);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

body.dmm-account-success-open,
body.dmm-logout-success-open {
  overflow: hidden;
}

.dmm-account-success-modal__message,
.dmm-logout-success-modal__message {
  font-size: 18px;
  line-height: 1.6;
  color: var(--dmm-color-surface);
}

.dmm-account-success-modal__message p,
.dmm-logout-success-modal__message p {
  margin: 0 0 12px;
}

.dmm-account-success-modal__message p:last-child,
.dmm-logout-success-modal__message p:last-child {
  margin-bottom: 0;
}

.dmm-account-success-modal__message a,
.dmm-logout-success-modal__message a {
  color: inherit;
  text-decoration: underline;
}

.dmm-account-success-modal__continue,
.dmm-logout-success-modal__continue {
  text-decoration: none;
  margin-top: 8px;
}

.dmm-account-success-modal__continue:hover,
.dmm-logout-success-modal__continue:hover {
  color: var(--dmm-color-white);
}

body.dmm-delete-account-open {
  overflow: hidden;
}

.dmm-delete-account-modal__panel {
  gap: 16px;
}

.dmm-delete-account-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dmm-delete-account-modal__confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.dmm-delete-account-modal__check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dmm-delete-account-modal__check-box {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  background: var(--dmm-color-white);
}

.dmm-delete-account-modal__check-input:checked + .dmm-delete-account-modal__check-box {
  border-color: var(--dmm-color-surface);
  background: var(--dmm-color-surface);
  background-image: none;
}

.dmm-delete-account-modal__check-input:checked + .dmm-delete-account-modal__check-box::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13' fill='none'%3E%3Cpath d='M1 8.5L4.5 12L15 1' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.dmm-delete-account-modal__confirm-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-delete-account-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dmm-delete-account-modal__keep {
  width: 100%;
  margin-top: 0;
}

.dmm-delete-account-modal__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border: 1px solid var(--dmm-color-surface);
  border-radius: 8px;
  background: var(--dmm-color-white);
  color: var(--dmm-color-surface);
  font: inherit;
  font-size: 18px;
  line-height: 1.5;
  cursor: pointer;
}

.dmm-delete-account-modal__delete:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dmm-delete-account-modal__delete:not(:disabled):hover {
  background: #f6faff;
}

.dmm-account-sidebar__item--button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 767px) {
  .dmm-cart-modal {
    padding: max(32px, calc(env(safe-area-inset-top, 0px) + 16px)) 12px 16px;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
  }

  .dmm-cart-modal__dialog {
    max-width: none;
    width: 100%;
    max-height: 100%;
    opacity: 1;
    transform: translateY(calc(100% + 16px));
    transition: transform 0.4s ease;
  }

  .dmm-cart-modal.is-open .dmm-cart-modal__dialog {
    transform: translateY(0);
  }

  .dmm-cart-modal__panel {
    max-height: 100%;
    padding-top: 24px;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
  }

  .dmm-cart-item {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .dmm-cart-item__remove {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    margin: 0;
  }

  .dmm-cart-item__main {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .dmm-cart-item__media {
    width: 100%;
    height: 120px;
  }

  .dmm-cart-item__body {
    width: 100%;
    align-items: stretch;
  }

  .dmm-cart-item__toggle,
  .dmm-cart-item__row,
  .dmm-cart-item__row--foot,
  .dmm-cart-item__qty-form {
    width: 100%;
    box-sizing: border-box;
  }

  .dmm-cart-item__row--foot {
    justify-content: space-between;
    gap: 12px;
  }

  .dmm-cart-item__qty-form {
    display: flex;
    justify-content: flex-end;
    margin: 0;
  }

  .dmm-login-modal {
    padding: 0;
    align-items: flex-end;
  }

  .dmm-login-modal__dialog {
    max-width: none;
    max-height: 92vh;
  }

  .dmm-login-modal__panel {
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 767px) {
  :root {
    --dmm-header-pad-x: 16px;
    --dmm-header-gap: 8px;
    --dmm-header-main-pad-bottom: 8px;
    --dmm-footer-overlap: 48px;
  }

  .dmm-header {
    gap: var(--dmm-header-gap);
  }

  .dmm-header__top-inner {
    justify-content: space-between;
    gap: 12px;
    min-height: 33px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .dmm-header__main-wrap {
    padding: 0 var(--dmm-header-pad-x) var(--dmm-header-main-pad-bottom);
  }

  .dmm-header__pill {
    flex-wrap: nowrap;
    gap: 16px;
    min-height: 60px;
    padding: 12px;
    border-radius: 66px;
  }

  .dmm-header__nav--left,
  .dmm-header__language,
  .dmm-header__icons > .dmm-header__icon-btn,
  .dmm-header__icons > a.dmm-header__icon-btn,
  .dmm-header__cart .dmm-cart__trigger {
    display: none;
  }

  /* Keep #cart in DOM so fixed cart modal can open from mobile menu */
  .dmm-header__actions {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
    visibility: hidden;
    pointer-events: none;
  }

  .dmm-cart-modal.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .dmm-header__logo {
    flex: 1 1 auto;
    justify-content: flex-start;
    order: 0;
    width: auto;
    min-width: 0;
    max-width: calc(100% - 126px);
  }

  .dmm-header__logo-img {
    height: 30px;
    width: auto;
    max-width: 100%;
    aspect-ratio: 213 / 30;
    object-fit: contain;
    object-position: left center;
  }

  .dmm-header__menu-toggle {
    display: inline-flex;
  }

  .dmm-header__mobile-actions {
    display: inline-flex;
    flex-shrink: 0;
  }

  .dmm-header__mobile-cart,
  .dmm-header__mobile-search {
    display: inline-flex;
  }
}

@media (max-width: 399px) {
  .dmm-header__pill {
    gap: 8px;
    padding: 12px 10px;
  }

  .dmm-header__logo {
    max-width: calc(100% - 112px);
  }

  .dmm-header__logo-img {
    height: 24px;
    max-width: 100%;
  }

  .dmm-header__mobile-actions {
    gap: 4px;
  }
}

/* —— Footer (Figma node 4117:8761) —— */
.dmm-footer {
  margin-top: auto;
  background: var(--dmm-color-footer-accent);
}

.dmm-footer__main {
  background: var(--dmm-color-footer-bg);
  padding: 128px 0 64px;
}

.dmm-footer__grid {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.dmm-footer__col {
  flex: 1 1 0;
  min-width: 0;
}

.dmm-footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dmm-footer__logo {
  display: inline-block;
  text-decoration: none;
}

.dmm-footer__logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 258px;
  aspect-ratio: 344 / 48;
  object-fit: contain;
}

.dmm-footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dmm-footer__contact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-white);
}

.dmm-footer__contact img {
  flex-shrink: 0;
  margin-top: 2px;
}

.dmm-footer__contact a {
  color: inherit;
  text-decoration: none;
}

.dmm-footer__contact a:hover {
  color: var(--dmm-color-accent);
}

.dmm-footer__divider {
  flex: 0 0 1px;
  width: 1px;
  background: var(--dmm-color-footer-divider);
  border-radius: 2px;
  align-self: stretch;
}

.dmm-footer__col--nav {
  display: flex;
  align-items: center;
}

.dmm-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dmm-footer__nav a {
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-white);
  text-decoration: none;
}

.dmm-footer__nav a:hover {
  color: var(--dmm-color-accent);
}

.dmm-footer__col--callback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.dmm-footer__callback-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-white);
}

.dmm-footer__callback-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 24px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.dmm-footer__callback-notice {
  flex: 1 1 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.dmm-footer__callback-notice.is-success {
  color: #8dff8d;
}

.dmm-footer__callback-notice.is-error {
  color: #ffb3b3;
}

.dmm-footer__callback-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-white);
  outline: none;
}

.dmm-footer__callback-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.dmm-footer__callback-submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 32px;
  background: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-footer__callback-submit:hover {
  background: var(--dmm-color-accent);
}

.dmm-footer__callback-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dmm-footer__bottom {
  background: var(--dmm-color-footer-bottom);
  padding: 8px var(--dmm-footer-pad-x);
  text-align: center;
}

.dmm-footer__copyright {
  margin: 0;
  font-family: Inter, var(--dmm-font-sans);
  font-size: 14px;
  line-height: normal;
  color: var(--dmm-color-white);
}

/* —— Homepage promo banner (Figma node 4003:21526) —— */
.dmm-promo {
  --dmm-promo-height: 875px;
  position: relative;
  height: var(--dmm-promo-height);
  min-height: var(--dmm-promo-height);
  margin-bottom: -48px;
  overflow: hidden;
  border-radius: 48px 48px 0 0;
  background-color: #3f5f52;
}

.dmm-promo__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dmm-promo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.dmm-promo__products {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(58%, 835px);
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.dmm-promo__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(63, 95, 82, 0.88) 0%,
    rgba(63, 95, 82, 0.55) 38%,
    rgba(63, 95, 82, 0.12) 58%,
    transparent 72%
  );
}

.dmm-promo__inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 64px var(--dmm-header-pad-x);
  pointer-events: none;
}

.dmm-promo__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: calc(100% - 2 * var(--dmm-header-pad-x));
  max-width: var(--dmm-menu-width);
  margin: -72px auto 0;
  pointer-events: auto;
}

.dmm-promo__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dmm-promo__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-white);
}

.dmm-promo__text {
  margin: 0;
  max-width: 521px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #fefefe;
}

.dmm-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 60px;
  padding: 16px 24px;
  border: 1px solid var(--dmm-color-surface);
  border-radius: 8px;
  background: var(--dmm-color-white);
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-promo__btn:hover {
  background: #f6faff;
  color: var(--dmm-color-surface);
}

.dmm-promo__btn-icon {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

@media (max-width: 991px) {
  .dmm-promo {
    --dmm-promo-height: 800px;
  }

  .dmm-promo__title {
    font-size: 28px;
  }

  .dmm-promo__text {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .dmm-promo {
    --dmm-promo-height: 650px;
    margin-bottom: -32px;
    border-radius: 32px 32px 0 0;
  }

  .dmm-promo__inner {
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .dmm-promo__content {
    gap: 24px;
    margin-top: -40px;
  }
}

@media (max-width: 767px) {
  .dmm-promo {
    --dmm-promo-height: 574px;
    margin-bottom: -48px;
    border-radius: 48px 48px 0 0;
  }

  .dmm-promo__products {
    display: none;
  }

  .dmm-promo__overlay {
    background: rgba(40, 40, 40, 0.4);
  }

  .dmm-promo__inner {
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .dmm-promo__content {
    gap: 32px;
    margin-top: 0;
  }

  .dmm-promo__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .dmm-promo__text {
    max-width: none;
    font-size: 16px;
  }

  .dmm-promo__btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 16px;
  }

  .dmm-promo__btn-icon {
    width: 24px;
    height: 24px;
  }
}

/* —— Homepage categories (Figma node 4117:9298) —— */
.dmm-categories {
  padding: 64px 0;
  background: var(--dmm-color-white);
  border-radius: 48px 48px 0 0;
}

.dmm-categories__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dmm-categories__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dmm-categories__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-categories__all {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
  white-space: nowrap;
}

.dmm-categories__all:hover {
  color: var(--dmm-color-surface);
  opacity: 0.75;
}

.dmm-categories__all-icon {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.dmm-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmm-categories__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 402px;
  padding: 24px;
  border-radius: 8px;
  background: #fefefe;
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
  color: inherit;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}

.dmm-categories__card:hover {
  box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.12);
}

.dmm-categories__card-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.dmm-categories__card-link:hover {
  color: inherit;
}

.dmm-categories__subs {
  display: none;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmm-categories__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f6faff;
}

.dmm-categories__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dmm-categories__product {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.dmm-categories__title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 68px;
  width: 100%;
}

.dmm-categories__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
  word-break: break-word;
}

.dmm-categories__arrow {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .dmm-categories__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .dmm-categories__card {
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }

  .dmm-categories__card-link {
    gap: 12px;
  }

  .dmm-categories__title-row {
    min-height: 0;
  }

  .dmm-categories__name {
    font-size: 18px;
    line-height: 1.2;
  }

  .dmm-categories__arrow {
    width: 24px;
    height: 24px;
  }

  .dmm-categories__subs {
    display: flex;
  }

  .dmm-categories__sub-link {
    display: block;
    padding: 2px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--dmm-color-surface);
    text-decoration: none;
  }

  .dmm-categories__sub-link:hover {
    opacity: 0.75;
    color: var(--dmm-color-surface);
  }
}

@media (max-width: 767px) {
  .dmm-categories {
    padding: 48px 0;
    border-radius: 48px 48px 0 0;
  }

  .dmm-categories__inner {
    gap: 32px;
  }

  .dmm-categories__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dmm-categories__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .dmm-categories__all {
    align-self: flex-start;
    min-height: 60px;
    padding: 16px 24px;
  }

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

  .dmm-categories__card {
    min-height: 0;
    gap: 12px;
    padding: 12px;
  }

  .dmm-categories__media {
    flex: none;
    height: auto;
    aspect-ratio: 1;
  }

  .dmm-categories__title-row {
    align-items: flex-start;
    min-height: calc(16px * 1.3 * 2);
  }

  .dmm-categories__name {
    font-size: 16px;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dmm-categories__arrow {
    width: 24px;
    height: 24px;
  }
}

/* —— Shared carousel dots (hero reference) —— */
.dmm-dots,
.dmm-hero__dots,
.dmm-sales__dots,
.dmm-related__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.dmm-dot,
.dmm-hero__dot,
.dmm-sales__dot,
.dmm-related__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dmm-color-surface);
  opacity: 0.35;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
}

.dmm-dot.is-active,
.dmm-hero__dot.is-active,
.dmm-sales__dot.is-active,
.dmm-related__dot.is-active {
  width: 16px;
  height: 16px;
  border: 2px solid var(--dmm-color-surface);
  background: transparent;
  opacity: 1;
}

/* —— Shared wholesale price toggle —— */
.dmm-new-card__toggle,
.dmm-sales-card__toggle,
.dmm-cart-item__toggle {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 4px;
  border: 1px solid #ecf4ff;
  border-radius: 8px;
  background: #f6faff;
  overflow: visible;
}

.dmm-new-card__toggle-btn,
.dmm-sales-card__toggle-btn,
.dmm-cart-item__toggle-btn {
  flex: 1 1 50%;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--dmm-color-muted);
  cursor: pointer;
  text-align: center;
}

.dmm-new-card__toggle-btn.is-active,
.dmm-sales-card__toggle-btn.is-active,
.dmm-cart-item__toggle-btn.is-active {
  background: var(--dmm-color-white);
  color: var(--dmm-color-surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* —— Shared product card hover (category card reference) —— */
.dmm-new-card,
.dmm-sales-card {
  transition: box-shadow 0.2s ease;
}

.dmm-new-card:hover,
.dmm-sales-card:hover {
  z-index: 1;
  box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.12);
}

/* —— Homepage top sales (Figma node 2161:30621) —— */
.dmm-sales {
  position: relative;
  z-index: 1;
  padding: 64px 0 80px;
  background: #fefefe;
  border-radius: 48px 48px 0 0;
}

.dmm-sales__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dmm-sales__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dmm-sales__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-sales__nav {
  display: flex;
  gap: 12px;
}

.dmm-sales__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dmm-color-white);
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  cursor: pointer;
}

.dmm-sales__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.dmm-sales__viewport {
  overflow: hidden;
  /* Місце для box-shadow карток при hover */
  padding: 16px 20px;
  margin: -16px -20px;
}

.dmm-sales__track {
  display: flex;
  gap: 24px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.dmm-sales-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: var(--dmm-color-white);
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow: visible;
}

.dmm-sales__track .dmm-new-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  overflow: visible;
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
}

.dmm-sales-card__badge-corner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.dmm-sales-card__badge--top-sales {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  border-radius: 8px 0 8px 0;
  background: #00b0f0;
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--dmm-color-white);
  white-space: nowrap;
}

.dmm-sales-card__badge--sale {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 0 0 8px 0;
  background: #fff5e8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fca21c;
}

.dmm-sales-card__wishlist-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
}

.dmm-sales-card__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}


.dmm-sales-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-decoration: none;
}

.dmm-sales-card__media img {
  display: block;
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.dmm-sales-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.dmm-sales-card__name a {
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-sales-card__price-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dmm-sales-card__price {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-sales-card__price-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--dmm-color-muted);
}

.dmm-sales-card__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dmm-sales-card__stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: #f6faff;
}

.dmm-sales-card__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-sales-card__qty-input {
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: var(--dmm-color-surface);
  -moz-appearance: textfield;
}

.dmm-sales-card__qty-input::-webkit-outer-spin-button,
.dmm-sales-card__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dmm-sales-card__total-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.dmm-sales-card__total-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--dmm-color-muted);
}

.dmm-sales-card__total {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-sales-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--dmm-color-surface);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-sales-card__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.dmm-sales-card__cart:hover {
  background: #1a2328;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .dmm-sales__viewport {
    touch-action: pan-y;
  }

  .dmm-sales-card {
    flex: 0 0 calc((100% - 48px) / 3);
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card {
    flex: 0 0 calc((100% - 48px) / 3);
    padding: 12px;
    gap: 8px;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__media {
    min-height: 120px;
    height: 120px;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__name {
    min-height: 0;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__toggle {
    flex-direction: column;
    gap: 4px;
    padding: 4px;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__toggle-btn {
    flex: none;
    width: 100%;
    min-height: 32px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__unit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__unit-price {
    font-size: 14px;
    white-space: normal;
    text-align: center;
    align-self: center;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__stepper {
    width: 100%;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__qty-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 4px;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__cart {
    width: 100%;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .dmm-sales__inner .dmm-sales__track .dmm-new-card__total {
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .dmm-sales {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .dmm-sales__title {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .dmm-sales {
    border-radius: 32px 32px 0 0;
  }

  .dmm-sales-card {
    flex: 0 0 100%;
  }

  .dmm-sales__track .dmm-new-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 767px) {
  .dmm-sales {
    padding: 48px 0;
    border-radius: 48px 48px 0 0;
  }

  .dmm-sales__inner {
    gap: 32px;
  }

  .dmm-sales__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .dmm-sales__arrow {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
  }

  .dmm-sales__viewport {
    touch-action: pan-y;
  }

  .dmm-sales-card,
  .dmm-sales__track .dmm-new-card {
    flex: 0 0 100%;
    gap: 8px;
    padding: 16px;
    background: #fefefe;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }

  .dmm-sales-card__wishlist {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--dmm-color-white);
    box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  }

  .dmm-sales-card__wishlist img {
    width: 16px;
    height: 16px;
  }

  .dmm-sales-card__media {
    min-height: 270px;
  }

  .dmm-sales-card__media img {
    max-height: 270px;
  }

  .dmm-sales-card__name {
    min-height: 54px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
  }

  .dmm-sales-card__footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 0;
  }

  .dmm-sales-card__price-row {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .dmm-sales-card__price {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
  }

  .dmm-sales-card__price-label {
    display: none;
  }

  .dmm-sales-card__qty-row {
    display: contents;
  }

  .dmm-sales-card__stepper {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .dmm-sales-card__total-wrap {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    align-self: center;
  }

  .dmm-sales-card__total-label {
    display: none;
  }

  .dmm-sales-card__total {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
  }

  .dmm-sales-card__cart {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: min(157px, 100%);
    min-height: 40px;
    padding: 8px 16px;
  }

  .dmm-sales-card__cart img {
    display: none;
  }

  .dmm-sales__track .dmm-new-card:hover,
  .dmm-sales__track .dmm-sales-card:hover {
    box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.12);
  }
}

.dmm-sales__track .dmm-new-card:hover,
.dmm-sales__track .dmm-sales-card:hover {
  z-index: 2;
  box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.12);
}

/* —— Homepage new products (Figma node 2161:30680) —— */
.dmm-new {
  padding: 64px 0;
  background: var(--dmm-color-white);
}

.dmm-new__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dmm-new__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dmm-new__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-new__all {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
  white-space: nowrap;
}

.dmm-new__all:hover {
  color: var(--dmm-color-surface);
  opacity: 0.75;
}

.dmm-new__all-icon {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.dmm-new__body {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.dmm-new__aside {
  position: sticky;
  top: 24px;
  flex: 1 1 0;
  min-width: 0;
  align-self: flex-start;
}

.dmm-new__side-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 520px;
  max-height: 1054px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

.dmm-new__cards {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.dmm-new__row {
  display: flex;
  gap: 24px;
}

.dmm-new-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: #fefefe;
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow: visible;
}

.dmm-new-card__badge-corner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.dmm-new-card__wishlist-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
}

.dmm-new-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  height: 270px;
  border-radius: 8px;
  text-decoration: none;
}

.dmm-new-card__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dmm-new-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  border-radius: 8px 0 8px 0;
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--dmm-color-white);
  white-space: nowrap;
}

.dmm-new-card__badge--new {
  background: #4fb036;
}

.dmm-new-card__badge--top_sales {
  background: #00b0f0;
}

.dmm-new-card__badge--sale {
  background: #fca21c;
}

.dmm-new-card__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--dmm-color-white);
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  cursor: pointer;
}

.dmm-new-card__name {
  margin: 0;
  min-height: 54px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.dmm-new-card__name a {
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-new-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.dmm-new-card__unit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.dmm-new-card__unit-price {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  white-space: nowrap;
}

.dmm-new-card__stepper {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 1px solid #f4f4f2;
  border-radius: 8px;
  overflow: hidden;
}

.dmm-new-card__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  padding: 0;
  border: 0;
  border-right: 1px solid #f4f4f2;
  background: #f6faff;
  cursor: pointer;
}

.dmm-new-card__qty-btn:last-of-type {
  border-right: 0;
  border-left: 1px solid #f4f4f2;
}

.dmm-new-card__qty-input {
  width: 92px;
  height: 36px;
  padding: 0 5px;
  border: 0;
  border-right: 1px solid #f4f4f2;
  background: var(--dmm-color-white);
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: var(--dmm-color-surface);
  -moz-appearance: textfield;
}

.dmm-new-card__qty-input::-webkit-outer-spin-button,
.dmm-new-card__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dmm-new-card__footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 0 0;
}

.dmm-new-card__total {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  white-space: nowrap;
}

.dmm-new-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 157px;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--dmm-color-surface);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-new-card__cart:hover {
  background: #1a2328;
}

.dmm-new--catalog {
  padding-top: 0;
  background: var(--dmm-color-white);
}

.dmm-new--catalog .dmm-new__body {
  flex-direction: column;
}

.dmm-new--catalog .dmm-new__cards {
  width: 100%;
  gap: 32px;
}

.dmm-new--catalog .dmm-new__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .dmm-new:not(.dmm-new--catalog) .dmm-new__body {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__aside {
    position: static;
    flex: none;
    width: 100%;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__side-img {
    width: 100%;
    min-height: 280px;
    max-height: 420px;
    height: auto;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__cards {
    flex: none;
    width: 100%;
    gap: 24px;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new-card {
    flex: none;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1199px) {
  .dmm-new--catalog .dmm-new__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .dmm-new {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .dmm-new__title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .dmm-new:not(.dmm-new--catalog) {
    padding: 48px 0;
  }

  .dmm-new__inner {
    gap: 32px;
  }

  .dmm-new__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dmm-new__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .dmm-new__all {
    align-self: flex-start;
    min-height: 60px;
    padding: 16px 24px;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__body {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__aside {
    position: static;
    width: 100%;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__side-img {
    height: 229px;
    min-height: 229px;
    max-height: 229px;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__cards {
    width: 100%;
    gap: 32px;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new__row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
  }

  .dmm-new:not(.dmm-new--catalog) .dmm-new-card {
    flex: none;
    width: 100%;
    max-width: none;
    align-self: stretch;
  }

  .dmm-new-card__badge-corner {
    top: 16px;
    left: 16px;
  }

  .dmm-category-grid .dmm-new-card__badge-corner,
  .dmm-new--catalog .dmm-new-card__badge-corner {
    top: 0;
    left: 0;
  }

  .dmm-new-card__wishlist-corner {
    top: 16px;
    right: 16px;
  }

  .dmm-category-grid .dmm-new-card__wishlist-corner,
  .dmm-new--catalog .dmm-new-card__wishlist-corner {
    top: 0;
    right: 0;
  }

  .dmm-new-card__wishlist img {
    width: 16px;
    height: 16px;
  }

  .dmm-new-card__name {
    min-height: 54px;
    font-size: 18px;
    line-height: 1.5;
  }

  .dmm-new-card__footer-row {
    padding-top: 8px;
  }

  .dmm-new-card__cart {
    width: min(157px, 100%);
    min-height: 40px;
    padding: 8px 16px;
  }
}

/* —— Homepage about + benefits (Figma node 2161:30776) —— */
.dmm-about {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--dmm-color-white);
  border-radius: 0 0 48px 48px;
  overflow: hidden;
}

.dmm-about__inner {
  display: flex;
  flex-direction: column;
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--dmm-color-white);
  border-radius: 32px;
  overflow: hidden;
}

/* Homepage last block — extend white panel into footer overlap */
.dmm-home .dmm-about__inner {
  padding-bottom: calc(74px + var(--dmm-footer-overlap));
}

.dmm-about__banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  padding: 85px clamp(24px, 18vw, 256px);
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.dmm-about__banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dmm-about__banner-bg,
.dmm-about__banner-products {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.dmm-about__banner-products {
  object-position: center;
}

.dmm-about__banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 23.36%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(40, 40, 40, 0.3) 0%, rgba(40, 40, 40, 0.3) 100%);
}

.dmm-about__banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.dmm-about__title {
  margin: 0;
  max-width: 632px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-white);
}

.dmm-about__text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-white);
}

.dmm-about__btn {
  margin-top: 16px;
}

.dmm-about__benefits {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 64px 0 0;
  list-style: none;
}

.dmm-about__benefit {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border-radius: 24px;
}

.dmm-about__benefit-icon {
  display: block;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.dmm-about__benefit-text {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: var(--dmm-color-surface);
}

@media (max-width: 991px) {
  .dmm-about {
    border-radius: 0 0 32px 32px;
  }

  .dmm-about__inner {
    border-radius: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .dmm-home .dmm-about__inner {
    padding-bottom: calc(58px + var(--dmm-footer-overlap));
  }

  .dmm-about__banner {
    min-height: 420px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .dmm-about__title {
    font-size: 28px;
  }

  .dmm-about__text {
    font-size: 16px;
  }

  .dmm-about__benefits {
    flex-direction: column;
    gap: 16px;
    padding-top: 48px;
  }

  .dmm-about__benefit-text {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .dmm-about__banner {
    min-height: 360px;
    padding: 48px 16px;
  }

  .dmm-about__benefit {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .dmm-about__benefit-text {
    font-size: 18px;
  }
}

/* —— Hero banner (Figma node 4059:9771) —— */
.dmm-home__modules {
  padding-top: 0;
}

.dmm-hero {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

.dmm-hero__viewport {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-radius: 0 0 48px 48px;
  touch-action: pan-y;
}

.dmm-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  background: var(--dmm-hero-bg, #b7dfff);
}

.dmm-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.dmm-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 87px;
  padding-bottom: 75px;
  min-height: 700px;
}

.dmm-hero__content {
  flex: 0 1 463px;
  max-width: 100%;
}

.dmm-hero__title {
  margin: 0 0 9px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-hero__text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-muted);
}

/* —— Primary CTA button (hero, about, 404) —— */
.dmm-cta,
.dmm-hero__btn,
.dmm-about__btn,
.dmm-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-width: 300px;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--dmm-color-surface);
  color: var(--dmm-color-white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.dmm-cta:hover,
.dmm-hero__btn:hover,
.dmm-about__btn:hover,
.dmm-404__btn:hover {
  background: #1a2328;
  color: var(--dmm-color-white);
}

.dmm-cta__icon,
.dmm-hero__btn img,
.dmm-hero__btn-icon,
.dmm-about__btn-icon,
.dmm-404__btn-icon {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.dmm-hero__media {
  position: relative;
  flex: 0 1 560px;
  max-width: 100%;
  aspect-ratio: 1;
}

.dmm-hero__media-bg {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: #f6faff;
}

.dmm-hero__media-img {
  position: absolute;
  inset: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dmm-hero__media-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dmm-hero__badge {
  position: absolute;
  top: 12%;
  right: -4%;
  width: 108px;
  min-height: 90px;
  padding: 16px 8px;
  border-radius: 24px;
  background: #fafcff;
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.dmm-hero__badge strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #fca21c;
}

.dmm-hero__badge span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--dmm-color-white);
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  cursor: pointer;
  line-height: 0;
  flex-shrink: 0;
}

.dmm-hero__arrow img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.dmm-hero__arrow--prev {
  left: clamp(1rem, 4.5vw, 4rem);
}

.dmm-hero__arrow--next {
  right: clamp(1rem, 4.5vw, 4rem);
}

.dmm-hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .dmm-hero__viewport {
    min-height: 645px;
  }

  .dmm-hero__inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: 645px;
    padding-top: 40px;
    padding-bottom: 80px;
    text-align: center;
  }

  .dmm-hero__content {
    flex-basis: auto;
    order: 2;
  }

  .dmm-hero__title {
    font-size: 28px;
    line-height: 1.25;
  }

  .dmm-hero__media {
    order: 1;
    flex-basis: auto;
    width: min(100%, 320px);
    max-height: 320px;
    aspect-ratio: 1;
  }

  .dmm-hero__badge {
    right: 0;
  }
}

@media (max-width: 767px) {
  .dmm-about {
    border-radius: 0 0 48px 48px;
  }

  .dmm-home .dmm-about__inner {
    padding-bottom: calc(74px + var(--dmm-footer-overlap));
  }

  .dmm-hero__viewport {
    min-height: 628px;
    border-radius: 0 0 48px 48px;
  }

  .dmm-hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    min-height: 628px;
    padding: 18px 16px 72px;
    text-align: left;
  }

  .dmm-hero__content {
    order: 2;
    flex: none;
    width: 100%;
    max-width: none;
  }

  .dmm-hero__media {
    order: 1;
    flex: none;
    width: 100%;
    max-width: 343px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .dmm-hero__title {
    margin-bottom: 9px;
    font-size: 24px;
    line-height: 1.2;
  }

  .dmm-hero__text {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .dmm-cta,
  .dmm-hero__btn,
  .dmm-about__btn,
  .dmm-404__btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 16px;
  }

  .dmm-cta__icon,
  .dmm-hero__btn img,
  .dmm-hero__btn-icon,
  .dmm-about__btn-icon,
  .dmm-404__btn-icon {
    width: 24px;
    height: 24px;
  }

  .dmm-hero__badge {
    top: 84px;
    right: 16%;
    width: 68px;
    min-height: 56px;
    padding: 9px 8px;
    border-radius: 15px;
  }

  .dmm-hero__badge strong {
    font-size: 18px;
  }

  .dmm-hero__arrow {
    display: none;
  }

  .dmm-hero__dots {
    bottom: 24px;
  }
}

/* —— Catalog category banner (Figma node 4021:22010) —— */
.dmm-catalog-banner {
  --dmm-catalog-banner-height: 320px;
  position: relative;
  width: calc(100% - 2 * var(--dmm-header-pad-x));
  max-width: var(--dmm-menu-width);
  height: var(--dmm-catalog-banner-height);
  min-height: var(--dmm-catalog-banner-height);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  background-color: #6b6b6b;
}

.dmm-catalog-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dmm-catalog-banner__layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 32px 32px 0 0;
}

.dmm-catalog-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 32px 32px 0 0;
  background: rgba(40, 40, 40, 0.25);
  pointer-events: none;
}

.dmm-catalog-banner--category .dmm-catalog-banner__layer--single {
  object-position: center 38%;
}

.dmm-catalog-banner--category .dmm-catalog-banner__content {
  display: none;
}

.dmm-catalog-banner__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 0 0 40px;
  pointer-events: none;
}

.dmm-catalog-banner__title {
  margin: 0;
  max-width: 613px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-white);
  text-shadow: 0 2px 12px rgba(2, 8, 11, 0.35);
}

.dmm-catalog #content {
  padding-top: 24px;
}

/* —— Catalog landing page (Figma node 4021:22044) —— */
.dmm-catalog-page {
  background: var(--dmm-color-white);
  border-radius: 0 0 32px 32px;
  overflow: hidden;
}

.dmm-catalog-categories {
  padding: 64px 0 0;
  background: var(--dmm-color-white);
}

.dmm-catalog-categories__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dmm-catalog-categories__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-catalog-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmm-catalog-categories__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 24px;
  border-radius: 8px;
  background: #fefefe;
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
  color: inherit;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}

.dmm-catalog-categories__card:hover {
  box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.12);
}

.dmm-catalog-categories__card-link {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.dmm-catalog-categories__card-link .dmm-catalog-categories__bg,
.dmm-catalog-categories__card-link .dmm-catalog-categories__product {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.dmm-catalog-categories__card-link:hover {
  color: inherit;
}

.dmm-catalog-categories__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f6faff;
}

.dmm-catalog-categories__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}

.dmm-catalog-categories__product {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.dmm-catalog-categories__title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 58px;
  width: 100%;
}

.dmm-catalog-categories__name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
  word-break: break-word;
}

.dmm-catalog-categories__arrow {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.dmm-catalog-categories__subs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmm-catalog-categories__sub-link {
  display: block;
  padding: 2px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-catalog-categories__sub-link:hover {
  opacity: 0.75;
  color: var(--dmm-color-surface);
}

.dmm-catalog-categories__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--dmm-color-surface);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-catalog-categories__all:hover {
  opacity: 0.75;
  color: var(--dmm-color-surface);
}

.dmm-catalog-categories__all-icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.dmm-catalog-page .dmm-new--catalog {
  padding: 64px 0 calc(80px + var(--dmm-footer-overlap));
  background: var(--dmm-color-white);
  border-radius: 0 0 32px 32px;
}

@media (max-width: 1199px) {
  .dmm-catalog-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .dmm-catalog-categories {
    padding-top: 48px;
  }

  .dmm-catalog-categories__inner {
    gap: 32px;
  }

  .dmm-catalog-categories__title {
    font-size: 28px;
  }

  .dmm-catalog-page .dmm-new--catalog {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-page .dmm-new--catalog {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .dmm-new--catalog .dmm-new__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dmm-catalog-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .dmm-catalog-categories__card {
    gap: 12px;
    padding: 12px;
  }

  .dmm-catalog-categories__title-row {
    min-height: calc(16px * 1.3 * 2);
    gap: 4px;
  }

  .dmm-catalog-categories__name {
    font-size: 16px;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dmm-catalog-categories__arrow {
    width: 20px;
    height: 20px;
  }

  .dmm-catalog-categories__sub-link {
    font-size: 14px;
    line-height: 1.4;
  }

  .dmm-catalog-categories__all {
    margin-top: 4px;
    font-size: 14px;
  }

  .dmm-catalog-categories__all-icon {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .dmm-catalog-banner {
    --dmm-catalog-banner-height: 200px;
    min-height: var(--dmm-catalog-banner-height);
    border-radius: 24px 24px 0 0;
  }

  .dmm-catalog-banner__layer,
  .dmm-catalog-banner__overlay {
    border-radius: 24px 24px 0 0;
  }

  .dmm-catalog-banner__title {
    font-size: 28px;
  }

  .dmm-catalog-banner__content {
    padding-bottom: 24px;
  }
}

/* Catalog page top — Figma node 4170:35864 */
@media (max-width: 767px) {
  body.dmm-theme {
    overflow-x: hidden;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-header {
    position: relative;
    z-index: 2;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-header__main-wrap {
    position: relative;
    z-index: 2;
  }

  .dmm-theme main > .dmm-catalog-banner:first-child {
    --dmm-catalog-banner-height: 320px;
    --dmm-catalog-banner-pull: 100px;
    width: 100%;
    max-width: 100%;
    margin-top: calc(-1 * var(--dmm-catalog-banner-pull));
    margin-left: 0;
    margin-right: 0;
    border-radius: 32px 32px 0 0;
    position: relative;
    z-index: 0;
  }

  .dmm-theme main > .dmm-catalog-banner:first-child .dmm-catalog-banner__layer,
  .dmm-theme main > .dmm-catalog-banner:first-child .dmm-catalog-banner__overlay {
    border-radius: 32px 32px 0 0;
  }

  .dmm-theme main > .dmm-catalog-banner:first-child .dmm-catalog-banner__layer {
    inset: 0 auto 0 -38.44%;
    width: 235.19%;
    max-width: none;
    min-width: 235.19%;
    height: 100%;
    object-position: center center;
  }

  .dmm-theme main > .dmm-catalog-banner:first-child .dmm-catalog-banner__title {
    font-size: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .dmm-theme main > .dmm-catalog-banner:first-child .dmm-catalog-banner__content {
    padding-bottom: 24px;
    padding-left: 0;
    padding-right: 0;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-page {
    width: 100%;
    max-width: 100%;
    margin-top: -48px;
    margin-left: 0;
    margin-right: 0;
    padding: 48px 16px 0;
    border-radius: 48px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    overflow: hidden;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-categories {
    padding: 0;
    background: transparent;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-categories__inner {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    gap: 32px;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-categories__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-categories__grid {
    gap: 16px;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-page .dmm-new--catalog {
    padding: 48px 0 64px;
    background: var(--dmm-color-white);
    border-radius: 0 0 48px 48px;
  }

  .dmm-theme:has(main > .dmm-catalog-banner) .dmm-catalog-page .dmm-new--catalog .dmm-new__inner {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    gap: 32px;
  }

  /* Category products page top — Figma node 4170:38314 */
  .dmm-theme:has(main > .dmm-catalog-banner--category) .dmm-category-page {
    width: 100%;
    max-width: 100%;
    margin-top: -48px;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 16px 0;
    border-radius: 48px 48px 0 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .dmm-theme:has(main > .dmm-catalog-banner--category) .dmm-category-page__inner {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-top: 8px;
    padding-left: 0;
    padding-right: 0;
    gap: 24px;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Category header + filters — Figma node 4170:38397 */
  .dmm-category-page__inner {
    grid-template-areas:
      "intro"
      "main";
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 0;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .dmm-category-breadcrumbs--intro,
  .dmm-category-page__toolbar,
  .dmm-category-page__subs {
    display: block;
  }

  .dmm-category-breadcrumbs--sidebar {
    display: none;
  }

  .dmm-category-search-modal.dmm-search-modal {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dmm-category-page__intro {
    grid-area: intro;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .dmm-category-page__title {
    font-size: 24px;
    line-height: 1.3;
  }

  .dmm-category-page__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .dmm-category-main {
    grid-area: main;
    width: 100%;
    min-width: 0;
    margin-top: 24px;
  }

  .dmm-category-page__sort-control--desktop {
    display: none;
  }

  .dmm-category-sidebar {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px 16px;
    box-sizing: border-box;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.4s;
  }

  .dmm-category-sidebar.is-open {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s;
  }

  .dmm-category-sidebar__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 11, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    opacity: 0;
    transition:
      opacity 0.4s ease,
      background-color 0.4s ease,
      backdrop-filter 0.4s ease,
      -webkit-backdrop-filter 0.4s ease;
    cursor: pointer;
  }

  .dmm-category-sidebar.is-open .dmm-category-sidebar__backdrop {
    background: rgba(2, 8, 11, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 1;
    touch-action: none;
    overscroll-behavior: none;
  }

  .dmm-category-sidebar__drawer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(92vh - 16px);
    background: var(--dmm-color-white);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-sizing: border-box;
    overflow: hidden;
  }

  .dmm-category-sidebar.is-open .dmm-category-sidebar__drawer {
    transform: translateY(0);
  }

  .dmm-category-sidebar__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    padding: 0 24px 16px;
    padding-top: max(48px, calc(env(safe-area-inset-top, 0px) + 32px));
    border-bottom: 1px solid #f3f2f1;
  }

  .dmm-category-sidebar__drawer-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dmm-color-surface);
  }

  .dmm-category-sidebar__drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 40px;
    min-height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: var(--dmm-color-surface);
    cursor: pointer;
  }

  .dmm-category-sidebar__panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 24px 24px;
  }

  .dmm-category-sidebar__drawer-footer {
    display: flex;
    flex-shrink: 0;
    padding: 16px 24px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #f3f2f1;
    background: var(--dmm-color-white);
    box-shadow: 0 -8px 24px rgba(2, 8, 11, 0.06);
  }

  .dmm-category-sidebar__apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--dmm-color-surface);
    color: var(--dmm-color-white);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
  }

  .dmm-category-sidebar__apply-btn:hover {
    background: #1a2328;
  }

  .dmm-category-sidebar__search,
  .dmm-category-sidebar__subs {
    display: none;
  }

  body.dmm-category-filters-open,
  body.dmm-category-search-open {
    overflow: hidden;
  }

  .dmm-category-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.4;
    color: #606060;
  }

  .dmm-category-breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #8f8f8f;
  }

  .dmm-category-breadcrumbs__link {
    color: #606060;
    text-decoration: none;
  }

  .dmm-category-breadcrumbs__link:hover {
    color: var(--dmm-color-accent);
  }

  .dmm-category-breadcrumbs__current {
    color: var(--dmm-color-surface);
  }

  .dmm-category-page__subs {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    min-width: 0;
  }

  .dmm-category-page__subs-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 6px 8px 8px;
    list-style: none;
    width: 100%;
    overflow: visible;
  }

  .dmm-category-page__subs-list > li {
    display: flex;
    flex: 0 0 auto;
    max-width: 100%;
  }

  .dmm-category-page__sub-link {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fefefe;
    box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    line-height: 1.4;
    color: var(--dmm-color-surface);
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .dmm-category-page__sub-link.is-active {
    color: var(--dmm-color-accent);
  }

  .dmm-category-page__sub-link img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
  }

  .dmm-category-sidebar__search-field {
    flex-direction: row;
    justify-content: space-between;
    min-height: 40px;
    padding: 8px 16px;
    border-color: #8f8f8f;
  }

  .dmm-category-sidebar__search-input {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    color: #606060;
  }

  .dmm-category-sidebar__search-input::placeholder {
    color: #606060;
  }

  .dmm-category-sidebar__search-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
  }

  .dmm-category-sidebar__subs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .dmm-category-sidebar__sub-link {
    padding: 2px 0;
    border-bottom: 0;
  }

  .dmm-category-sidebar__sub-link img {
    width: 24px;
    height: 24px;
    opacity: 1;
  }

  .dmm-category-sidebar__filters {
    gap: 16px;
  }

  .dmm-category-sidebar__panel .dmm-category-filter {
    border-top: 0;
    padding-top: 0;
  }

  .dmm-category-sidebar__panel .dmm-category-filter + .dmm-category-filter {
    border-top: 1px solid #f3f2f1;
    padding-top: 16px;
  }

  .dmm-theme main > .dmm-catalog-banner--category:first-child .dmm-catalog-banner__layer--single {
    object-position: center 35%;
  }
}

@media (max-width: 991px) {
  .dmm-footer__main {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .dmm-footer__grid {
    flex-direction: column;
    gap: 40px;
  }

  .dmm-footer__divider {
    width: 100%;
    height: 1px;
    flex: 0 0 auto;
  }

  .dmm-footer__col--nav {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .dmm-footer__main {
    padding-top: calc(64px + var(--dmm-footer-overlap));
  }
}

/* —— Category products page (Figma node 4021:25030) —— */
.dmm-category-page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  background: var(--dmm-color-white);
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  box-sizing: border-box;
}

.dmm-category-page__inner {
  padding-top: 48px;
  padding-bottom: calc(64px + var(--dmm-footer-overlap));
}

.dmm-category-page__intro {
  grid-area: intro;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dmm-category-page__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-category-page__toolbar,
.dmm-category-page__subs {
  display: none;
}

.dmm-category-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
  color: #606060;
}

.dmm-category-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #8f8f8f;
}

.dmm-category-breadcrumbs__link {
  color: #606060;
  text-decoration: none;
}

.dmm-category-breadcrumbs__link:hover {
  color: var(--dmm-color-accent);
}

.dmm-category-breadcrumbs__current {
  color: var(--dmm-color-surface);
}

.dmm-category-breadcrumbs--intro {
  display: none;
}

.dmm-category-breadcrumbs--sidebar {
  display: block;
  min-width: 0;
}

.dmm-category-page__sort-control--desktop {
  position: relative;
  flex-shrink: 0;
}

.dmm-category-page__toolbar {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

  .dmm-category-page__toolbar-left,
  .dmm-category-page__toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }

.dmm-category-page__view-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.dmm-category-page__view-icon[hidden] {
  display: none;
}

.dmm-category-page__tool-btn.is-active {
  border-color: var(--dmm-color-surface);
  background: #f6faff;
}

.dmm-category-page__tool-btn,
.dmm-category-page__sort-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid #f3f2f1;
  border-radius: 8px;
  background: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-category-page__tool-btn img,
.dmm-category-page__sort-icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.dmm-category-page__sort-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  opacity: 0;
  appearance: none;
  cursor: pointer;
}

@media (min-width: 1200px) {
  .dmm-category-sidebar__drawer-head {
    display: none;
  }

  .dmm-category-sidebar__drawer-footer {
    display: none !important;
  }

  .dmm-category-sidebar__backdrop {
    display: none;
  }

  .dmm-category-sidebar {
    position: static;
    inset: auto;
    z-index: auto;
    grid-area: sidebar;
    align-self: start;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .dmm-category-sidebar__drawer {
    width: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: none;
  }
}

.dmm-category-sidebar__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dmm-category-sidebar__drawer-footer {
  display: none;
}

@media (max-width: 1199px) {
  .dmm-category-sidebar__drawer-footer {
    display: flex;
    flex-shrink: 0;
    padding: 16px 24px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #f3f2f1;
    background: var(--dmm-color-white);
    box-shadow: 0 -8px 24px rgba(2, 8, 11, 0.06);
  }

  .dmm-category-sidebar__apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--dmm-color-surface);
    color: var(--dmm-color-white);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
  }

  .dmm-category-sidebar__apply-btn:hover {
    background: #1a2328;
  }

  .dmm-category-sidebar__drawer {
    display: flex;
    flex-direction: column;
  }

  .dmm-category-sidebar__panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.dmm-category-sidebar__divider {
  height: 1px;
  background: #f3f2f1;
  border-radius: 2px;
}

.dmm-category-main {
  grid-area: main;
  min-width: 0;
}

@media (min-width: 1200px) {
  .dmm-category-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.dmm-category-sidebar__search-field {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #f3f2f1;
  border-radius: 8px;
  background: var(--dmm-color-white);
}

.dmm-category-sidebar__search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  outline: none;
}

.dmm-category-sidebar__search-input::placeholder {
  color: #8f8f8f;
}

.dmm-category-sidebar__subs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmm-category-sidebar__sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f2f1;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-category-sidebar__sub-link.is-active {
  color: var(--dmm-color-accent);
}

.dmm-category-sidebar__sub-link img {
  flex-shrink: 0;
  opacity: 0.7;
}

.dmm-category-sidebar__filters {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dmm-category-filter {
  border-top: 1px solid #f3f2f1;
  padding-top: 16px;
}

.dmm-category-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  cursor: pointer;
}

.dmm-category-filter__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dmm-category-filter__head[aria-expanded="true"] .dmm-category-filter__chevron {
  transform: rotate(180deg);
}

.dmm-category-filter.is-collapsed .dmm-category-filter__body {
  display: none;
}

.dmm-category-filter.is-collapsed .dmm-category-filter__chevron {
  transform: rotate(0deg);
}

.dmm-category-filter__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 13px;
}

.dmm-category-filter__range-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.dmm-category-filter__input {
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  padding: 8px 16px;
  border: 1px solid #f3f2f1;
  border-radius: 4px;
  background: var(--dmm-color-white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #606060;
}

.dmm-category-filter__sep {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.dmm-category-filter__slider {
  position: relative;
  height: 24px;
  width: 100%;
}

.dmm-category-filter__slider-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  border-radius: 2px;
  background: #f3f2f1;
  transform: translateY(-50%);
  pointer-events: none;
}

.dmm-category-filter__slider-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 2px;
  background: #00b0f0;
}

.dmm-category-filter__slider input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  pointer-events: none;
  appearance: none;
  background: transparent;
}

.dmm-category-filter__slider input[data-range-min-ui] {
  z-index: 3;
}

.dmm-category-filter__slider input[data-range-max-ui] {
  z-index: 4;
}

.dmm-category-filter__slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: transparent;
}

.dmm-category-filter__slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -10px;
  border: 0;
  border-radius: 50%;
  background: #00b0f0;
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  pointer-events: auto;
  cursor: pointer;
}

.dmm-category-filter__slider input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: transparent;
}

.dmm-category-filter__slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #00b0f0;
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  pointer-events: auto;
  cursor: pointer;
}

.dmm-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dmm-category-card {
  height: 100%;
}

.dmm-category-main__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.dmm-category-main__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--dmm-color-surface);
  border-radius: 8px;
  background: var(--dmm-color-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  cursor: pointer;
}

.dmm-category-main__more-btn img {
  flex-shrink: 0;
}

.dmm-category-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.dmm-category-main__empty {
  margin: 0;
  font-size: 18px;
  color: #606060;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .dmm-page > main {
    flex: 1 0 auto;
  }

  .dmm-theme footer.dmm-footer {
    margin-top: calc(-1 * var(--dmm-footer-overlap));
    transform: none;
  }

  .dmm-theme:has(main > .dmm-catalog-banner--category) .dmm-category-page {
    width: 100%;
    max-width: 100%;
    margin-top: -48px;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 16px 0;
    border-radius: 48px 48px 0 0;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .dmm-theme:has(main > .dmm-catalog-banner--category) .dmm-category-page__inner {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-top: 8px;
    padding-left: 0;
    padding-right: 0;
    gap: 24px;
  }

  .dmm-category-page {
    display: block;
    padding-top: 40px;
    padding-bottom: 0;
    padding-left: max(var(--dmm-header-pad-x), calc((100% - var(--dmm-menu-width)) / 2));
    padding-right: max(var(--dmm-header-pad-x), calc((100% - var(--dmm-menu-width)) / 2));
  }

  .dmm-category-page__inner {
    display: grid;
    grid-template-areas:
      "intro"
      "main";
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    padding-bottom: calc(48px + var(--dmm-footer-overlap));
  }

  .dmm-category-main__more {
    margin-bottom: 32px;
  }

  .dmm-category-breadcrumbs--intro,
  .dmm-category-page__toolbar,
  .dmm-category-page__subs {
    display: block;
  }

  .dmm-category-breadcrumbs--sidebar {
    display: none;
  }

  .dmm-category-search-modal.dmm-search-modal {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dmm-category-page__intro {
    grid-area: intro;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .dmm-category-page__title {
    font-size: 24px;
    line-height: 1.3;
  }

  .dmm-category-page__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .dmm-category-page__sort-control--desktop {
    display: none;
  }

  .dmm-category-main {
    grid-area: main;
    width: 100%;
    min-width: 0;
    margin-top: 24px;
  }

  .dmm-category-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.4;
    color: #606060;
  }

  .dmm-category-breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #8f8f8f;
  }

  .dmm-category-breadcrumbs__link {
    color: #606060;
    text-decoration: none;
  }

  .dmm-category-breadcrumbs__link:hover {
    color: var(--dmm-color-accent);
  }

  .dmm-category-breadcrumbs__current {
    color: var(--dmm-color-surface);
  }

  .dmm-category-page__subs {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    min-width: 0;
  }

  .dmm-category-page__subs-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 6px 8px 8px;
    list-style: none;
    width: 100%;
    overflow: visible;
  }

  .dmm-category-page__subs-list > li {
    display: flex;
    flex: 0 0 auto;
    max-width: 100%;
  }

  .dmm-category-page__sub-link {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fefefe;
    box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    line-height: 1.4;
    color: var(--dmm-color-surface);
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .dmm-category-page__sub-link.is-active {
    color: var(--dmm-color-accent);
  }

  .dmm-category-page__sub-link img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
  }

  .dmm-category-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    box-sizing: border-box;
  }

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

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-category-card {
    padding: 12px;
    gap: 8px;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__media {
    min-height: 120px;
    height: 120px;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__name {
    min-height: 0;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__toggle {
    flex-direction: column;
    gap: 4px;
    padding: 4px;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__toggle-btn {
    flex: none;
    width: 100%;
    min-height: 32px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__unit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__unit-price {
    font-size: 14px;
    white-space: normal;
    text-align: center;
    align-self: center;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__stepper {
    width: 100%;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__qty-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 4px;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__cart {
    width: 100%;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .dmm-category-grid:not(.dmm-category-grid--cols-1) .dmm-new-card__total {
    font-size: 14px;
    text-align: center;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__toggle {
    flex-direction: row;
    gap: 0;
    padding: 4px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__toggle-btn {
    flex: 1 1 50%;
    width: auto;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__unit-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__unit-price {
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
    align-self: auto;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__stepper {
    width: auto;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__qty-input {
    width: 92px;
    flex: none;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__cart {
    width: 157px;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 16px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__total {
    font-size: 16px;
    text-align: left;
  }

  .dmm-category-sidebar__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    padding: 0 24px 16px;
    padding-top: max(48px, calc(env(safe-area-inset-top, 0px) + 32px));
    border-bottom: 1px solid #f3f2f1;
  }

  .dmm-category-sidebar__drawer-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dmm-color-surface);
  }

  .dmm-category-sidebar__drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 40px;
    min-height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: var(--dmm-color-surface);
    cursor: pointer;
  }

  .dmm-category-sidebar__panel .dmm-category-filter {
    border-top: 0;
    padding-top: 0;
  }

  .dmm-category-sidebar__panel .dmm-category-filter + .dmm-category-filter {
    border-top: 1px solid #f3f2f1;
    padding-top: 16px;
  }

  .dmm-category-sidebar__filters {
    gap: 16px;
  }

  .dmm-category-sidebar__backdrop {
    display: block;
  }

  .dmm-category-sidebar {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px 16px;
    box-sizing: border-box;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.4s;
  }

  .dmm-category-sidebar.is-open {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s;
  }

  .dmm-category-sidebar__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 11, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    opacity: 0;
    transition:
      opacity 0.4s ease,
      background-color 0.4s ease,
      backdrop-filter 0.4s ease,
      -webkit-backdrop-filter 0.4s ease;
    cursor: pointer;
  }

  .dmm-category-sidebar.is-open .dmm-category-sidebar__backdrop {
    background: rgba(2, 8, 11, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 1;
    touch-action: none;
    overscroll-behavior: none;
  }

  .dmm-category-sidebar__drawer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(92vh - 16px);
    background: var(--dmm-color-white);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-sizing: border-box;
    overflow: hidden;
  }

  .dmm-category-sidebar.is-open .dmm-category-sidebar__drawer {
    transform: translateY(0);
  }

  .dmm-category-sidebar__panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 24px 24px;
  }

  .dmm-category-sidebar__drawer-footer {
    display: flex;
    flex-shrink: 0;
    padding: 16px 24px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #f3f2f1;
    background: var(--dmm-color-white);
    box-shadow: 0 -8px 24px rgba(2, 8, 11, 0.06);
  }

  .dmm-category-sidebar__apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--dmm-color-surface);
    color: var(--dmm-color-white);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
  }

  .dmm-category-sidebar__apply-btn:hover {
    background: #1a2328;
  }

  .dmm-category-sidebar__search,
  .dmm-category-sidebar__subs {
    display: none;
  }

  body.dmm-category-filters-open,
  body.dmm-category-search-open {
    overflow: hidden;
  }
}

@media (min-width: 1200px) {
  .dmm-category-page {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    grid-template-areas:
      "crumbs intro"
      "sidebar main";
    align-items: start;
    gap: 32px;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-top: 48px;
    padding-bottom: calc(64px + var(--dmm-footer-overlap));
    padding-left: max(var(--dmm-header-pad-x), calc((100% - var(--dmm-menu-width)) / 2));
    padding-right: max(var(--dmm-header-pad-x), calc((100% - var(--dmm-menu-width)) / 2));
    box-sizing: border-box;
  }

  .dmm-category-page__inner {
    display: contents;
    padding-top: 0;
    padding-bottom: 0;
  }

  .dmm-category-breadcrumbs--sidebar {
    grid-area: crumbs;
    justify-self: start;
    align-self: start;
    width: 100%;
    text-align: left;
  }

  .dmm-category-page__intro {
    justify-self: stretch;
    align-self: start;
    width: 100%;
  }

  .dmm-category-page__sort-control--desktop {
    display: block;
  }

  .dmm-category-page__sort-control--desktop .dmm-category-page__sort-select {
    position: relative;
    inset: auto;
    min-width: 220px;
    min-height: 48px;
    padding: 12px 40px 12px 16px;
    border: 1px solid #f3f2f1;
    border-radius: 8px;
    background: var(--dmm-color-white);
    opacity: 1;
  }

  .dmm-category-page__sort-control--desktop::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 24px;
    height: 24px;
    background: url("../image/category/icon-chevron.svg") center / contain no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
  }
}

@media (min-width: 1200px) {
  .dmm-category-page__sort-control {
    width: auto;
    min-width: 220px;
    height: auto;
    min-height: 48px;
    padding: 0;
  }

  .dmm-category-page__sort-icon {
    display: none;
  }

  .dmm-category-page__sort-select {
    position: relative;
    inset: auto;
    min-width: 220px;
    min-height: 48px;
    padding: 12px 40px 12px 16px;
    border: 1px solid #f3f2f1;
    border-radius: 8px;
    background: var(--dmm-color-white);
    opacity: 1;
  }

  .dmm-category-page__sort-control::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 24px;
    height: 24px;
    background: url("../image/category/icon-chevron.svg") center / contain no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  .dmm-contact-page,
  .dmm-account-page,
  .dmm-checkout-page,
  .dmm-cart-page,
  .dmm-login-page,
  .dmm-product-page,
  .dmm-404 {
    border-radius: 0 0 48px 48px;
  }

  .dmm-category-breadcrumbs--intro,
  .dmm-category-page__subs {
    display: block;
  }

  .dmm-category-breadcrumbs--sidebar {
    display: none;
  }

  .dmm-category-search-modal.dmm-search-modal {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dmm-category-page__toolbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .dmm-category-page__sort-control--desktop {
    display: none;
  }

  .dmm-category-page__inner {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: calc(48px + var(--dmm-footer-overlap));
  }

  .dmm-category-main {
    width: 100%;
    min-width: 0;
    margin-top: 24px;
  }

  .dmm-category-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    box-sizing: border-box;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 {
    grid-template-columns: 1fr;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-category-card {
    padding: 12px;
    gap: 8px;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__media {
    min-height: 120px;
    height: 120px;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__name {
    min-height: 0;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__toggle {
    flex-direction: column;
    gap: 4px;
    padding: 4px;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__toggle-btn {
    flex: none;
    width: 100%;
    min-height: 32px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__unit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__unit-price {
    font-size: 14px;
    white-space: normal;
    text-align: center;
    align-self: center;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__stepper {
    width: 100%;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__qty-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 4px;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__cart {
    width: 100%;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .dmm-category-grid.dmm-category-grid--cols-2 .dmm-new-card__total {
    font-size: 14px;
    text-align: center;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-category-card {
    padding: 16px;
    gap: 8px;
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.08);
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__badge-corner {
    top: 0;
    left: 0;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__wishlist-corner {
    top: 0;
    right: 0;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__wishlist img {
    width: 16px;
    height: 16px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__media {
    min-height: 270px;
    height: 270px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__name {
    min-height: 54px;
    font-size: 18px;
    line-height: 1.5;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__toggle {
    flex-direction: row;
    gap: 0;
    padding: 4px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__toggle-btn {
    flex: 1 1 50%;
    width: auto;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__unit-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__unit-price {
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
    align-self: auto;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__stepper {
    width: auto;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__qty-input {
    flex: none;
    width: 48px;
    min-width: 48px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__cart {
    width: min(157px, 100%);
    min-height: 40px;
    padding: 8px 16px;
    font-size: 16px;
  }

  .dmm-category-grid.dmm-category-grid--cols-1 .dmm-new-card__total {
    font-size: 16px;
    text-align: left;
  }
}

/* —— Product page hero (Figma node 4026:3696) —— */
.dmm-product-page {
  padding-bottom: calc(64px + var(--dmm-footer-overlap));
}

.dmm-product-hero {
  padding: 48px 0 64px;
}

.dmm-product-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.dmm-product-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dmm-product-hero__main-wrap {
  position: relative;
  min-height: 600px;
  border-radius: 8px;
  background: #fefefe;
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  overflow: hidden;
}

.dmm-product-hero__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.dmm-product-hero__wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.dmm-product-hero__main,
.dmm-product-hero__main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.dmm-product-hero__main-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.dmm-product-hero__main-link:focus-visible {
  outline: 2px solid var(--dmm-color-accent, #c41e3a);
  outline-offset: 4px;
}

.dmm-product-hero__popup-gallery {
  display: none !important;
}

body.dmm-product-lightbox-open {
  overflow: hidden;
}

.dmm-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.dmm-product-lightbox[hidden] {
  display: none !important;
}

.dmm-product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 72%);
}

.dmm-product-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 960px);
  max-height: calc(100vh - 48px);
}

.dmm-product-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.dmm-product-lightbox__close {
  position: absolute;
  top: -8px;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: #1a1a1a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dmm-product-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: #1a1a1a;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.dmm-product-lightbox__nav--prev {
  left: -12px;
}

.dmm-product-lightbox__nav--next {
  right: -12px;
}

@media (max-width: 767px) {
  .dmm-product-lightbox__nav--prev {
    left: 0;
  }

  .dmm-product-lightbox__nav--next {
    right: 0;
  }

  .dmm-product-lightbox__close {
    top: 0;
    right: 0;
  }
}

.dmm-product-hero__main img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

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

.dmm-product-hero__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 155px;
  padding: 12px;
  border: 0;
  border-radius: 20px;
  background: #fefefe;
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
  overflow: hidden;
  cursor: pointer;
}

.dmm-product-hero__thumb.is-active {
  outline: 2px solid var(--dmm-color-accent);
  outline-offset: 2px;
}

.dmm-product-hero__thumb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.dmm-product-hero__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.dmm-product-hero__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.dmm-product-hero__head-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dmm-product-hero__category {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #8f8f8f;
}

.dmm-product-hero__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-product-hero__head-price {
  margin: 0;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
  white-space: nowrap;
}

.dmm-product-hero__divider {
  width: 100%;
  height: 1px;
  background: #f3f2f1;
  border-radius: 2px;
}

.dmm-product-hero__divider--muted {
  background: #bfbfbf;
}

.dmm-product-hero__divider--bold {
  height: 2px;
}

.dmm-product-hero__description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-product-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dmm-product-hero__stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #090;
}

.dmm-product-hero__stock.is-out {
  color: #8f8f8f;
}

.dmm-product-hero__stock.is-out img {
  opacity: 0.45;
}

.dmm-product-hero__sku {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  white-space: nowrap;
}

.dmm-product-hero__sku strong {
  font-weight: 600;
}

.dmm-product-hero__buy.dmm-new-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.dmm-product-hero__toggle {
  min-height: 40px;
}

.dmm-product-hero__toggle .dmm-new-card__toggle-btn {
  min-height: 40px;
}

.dmm-product-hero__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.dmm-product-hero__total {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dmm-product-hero__total-label {
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-product-hero__total-value {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-product-hero__cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--dmm-color-surface);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-white);
  cursor: pointer;
}

.dmm-product-hero__cart-btn:hover {
  background: #1a2023;
}

.dmm-product-hero__accordions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.dmm-product-hero__accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 12px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
  cursor: pointer;
}

.dmm-product-hero__accordion-head img {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dmm-product-hero__accordion-head.is-open img {
  transform: rotate(45deg);
}

.dmm-product-hero__accordion-body {
  padding: 0 12px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-product-hero__accordion-body p {
  margin: 0;
}

.dmm-product-page__extra {
  padding: 0 0 64px;
}

.dmm-product-page__extra-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dmm-product-specs__title,
.dmm-product-reviews__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
}

.dmm-product-specs__table {
  width: 100%;
  border-collapse: collapse;
}

.dmm-product-specs__table td,
.dmm-product-specs__table th {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f2f1;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}

.dmm-product-specs__group th {
  font-weight: 600;
}

@media (max-width: 1199px) {
  .dmm-product-hero__inner {
    grid-template-columns: 1fr;
  }

  .dmm-product-hero__main-wrap,
  .dmm-product-hero__main,
  .dmm-product-hero__main img {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  /* Product page top — Figma node 4170:39535 */
  .dmm-theme:has(main > .dmm-product-page) .dmm-header {
    position: relative;
    z-index: 2;
  }

  .dmm-theme main > .dmm-product-page:first-child {
    width: 100%;
    max-width: 100%;
    margin-top: -64px;
    margin-left: 0;
    margin-right: 0;
    padding: 48px 16px calc(48px + var(--dmm-footer-overlap));
    border-radius: 48px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    overflow: hidden;
  }

  .dmm-product-hero {
    padding: 0 0 48px;
  }

  .dmm-product-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .dmm-product-hero__info {
    display: contents;
  }

  .dmm-product-hero__head {
    order: 1;
    flex-direction: row;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
  }

  .dmm-product-hero__category {
    font-size: 12px;
    line-height: 1.5;
    color: #8f8f8f;
  }

  .dmm-product-hero__title {
    font-size: 18px;
    line-height: 1.2;
  }

  .dmm-product-hero__head-price {
    font-size: 18px;
    line-height: 1.2;
  }

  .dmm-product-hero__visual {
    order: 2;
    gap: 16px;
    width: 100%;
  }

  .dmm-product-hero__main-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1;
    max-height: min(85vw, 340px);
    padding: 16px;
  }

  .dmm-product-hero__main,
  .dmm-product-hero__main-link {
    min-height: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
  }

  .dmm-product-hero__main img {
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .dmm-product-hero__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: none;
  }

  .dmm-product-hero__thumb {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    padding: 6px;
    border-radius: 10px;
  }

  .dmm-product-hero__thumb.is-active {
    outline: none;
    box-shadow: 0 0 0 2px var(--dmm-color-accent);
  }

  .dmm-product-hero__divider--muted {
    order: 3;
    width: 100%;
    background: #bfbfbf;
  }

  .dmm-product-hero__description {
    order: 4;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
  }

  .dmm-product-hero__meta {
    order: 5;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
  }

  .dmm-product-hero__stock {
    font-size: 18px;
    line-height: 1.2;
    color: #090;
  }

  .dmm-product-hero__sku {
    font-size: 16px;
    line-height: 1.5;
    text-align: right;
  }

  .dmm-product-hero__meta + .dmm-product-hero__divider {
    order: 6;
    width: 100%;
  }

  .dmm-product-hero__buy {
    order: 7;
    width: 100%;
    gap: 16px;
  }

  .dmm-product-hero__buy.dmm-new-card {
    gap: 24px;
  }

  .dmm-product-hero__toggle {
    width: 100%;
  }

  .dmm-product-hero__price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 24px 16px;
    width: 100%;
  }

  .dmm-product-hero__price-row .dmm-new-card__unit-price {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .dmm-product-hero__price-row .dmm-new-card__stepper {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .dmm-product-hero__total {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    width: 100%;
  }

  .dmm-product-hero__total-label {
    font-size: 16px;
    line-height: 1.5;
  }

  .dmm-product-hero__total-value {
    font-size: 18px;
    line-height: 1.3;
  }

  .dmm-product-hero__cart-btn {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 18px;
    line-height: 1.5;
  }

  .dmm-product-hero__accordions {
    order: 8;
    display: none;
  }
}

/* —— Product page related (Figma node 4042:8570) —— */
.dmm-related {
  padding: 64px 0;
}

.dmm-related__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dmm-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dmm-related__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-related__nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dmm-related__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.dmm-related__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.dmm-related__viewport {
  overflow: hidden;
  padding: 16px 20px;
  margin: -16px -20px;
}

.dmm-related__track .dmm-new-card:hover {
  z-index: 2;
  box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.12);
}

.dmm-related__track {
  display: flex;
  gap: 24px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.dmm-related__track .dmm-new-card {
  flex: 0 0 302px;
  width: 302px;
  min-width: 302px;
}

@media (max-width: 767px) {
  .dmm-related {
    padding: 48px 0;
  }

  .dmm-related__title {
    font-size: 28px;
  }

  .dmm-related__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dmm-related__track .dmm-new-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
  }
}

/* —— Checkout (Figma 4097:28694) —— */
.dmm-checkout-page .breadcrumb {
  display: none;
}

.dmm-checkout-page {
  padding: 32px var(--dmm-header-pad-x) calc(48px + var(--dmm-footer-overlap));
}

.dmm-checkout {
  width: 100%;
  max-width: var(--dmm-menu-width);
  margin: 0 auto;
}

.dmm-checkout__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
}

.dmm-checkout__title {
  margin: 0;
  width: 100%;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--dmm-color-surface);
}

.dmm-checkout__tabs {
  display: flex;
  gap: 24px;
  width: 100%;
}

.dmm-checkout__tab {
  flex: 0 0 250px;
  max-width: 250px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid #f3f2f1;
  background: transparent;
  font: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  color: #8f8f8f;
  cursor: pointer;
}

.dmm-checkout__tab.is-active {
  color: var(--dmm-color-surface);
  border-bottom-color: #141718;
}

.dmm-checkout__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.dmm-checkout__main,
.dmm-checkout__aside {
  min-width: 0;
}

.dmm-checkout__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dmm-checkout__card,
.dmm-checkout__summary {
  padding: 24px;
  border-radius: 16px;
  background: var(--dmm-color-white);
  box-shadow: 0 8px 16px -8px rgba(15, 15, 15, 0.12);
}

.dmm-checkout__card-title,
.dmm-checkout__summary-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
}

.dmm-checkout__card-divider {
  height: 1px;
  margin-bottom: 16px;
  background: #f3f2f1;
  border-radius: 2px;
}

.dmm-checkout__aside {
  position: sticky;
  top: 24px;
}

.dmm-checkout-form legend,
.dmm-checkout-form .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dmm-checkout-form .row,
.dmm-checkout-form__grid {
  --bs-gutter-x: 8px;
  --bs-gutter-y: 8px;
}

.dmm-checkout-form__grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dmm-checkout-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.dmm-checkout-field__label {
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-checkout-field__control {
  min-height: 56px;
  padding: 16px;
  border: 1px solid #f4f4f2;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  background: var(--dmm-color-white);
  box-shadow: none;
}

.dmm-password-field {
  position: relative;
  display: block;
  width: 100%;
}

.dmm-password-field .dmm-checkout-field__control,
.dmm-password-field .dmm-login-modal__control {
  width: 100%;
  padding-right: 52px;
  box-sizing: border-box;
}

.dmm-password-field__toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.dmm-password-field__toggle:hover {
  background: #f3f2f1;
}

.dmm-password-field__icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dmm-checkout-field__control--textarea {
  min-height: 120px;
  resize: vertical;
}

.dmm-checkout-field__picker {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.dmm-checkout-field__picker .dmm-checkout-field__control {
  flex: 1 1 auto;
}

.dmm-checkout-field__check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.dmm-checkout-field--agree {
  margin-top: 16px;
}

.dmm-checkout-phone__control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid #f4f4f2;
  border-radius: 16px;
  background: var(--dmm-color-white);
}

.dmm-checkout-phone__prefix {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--dmm-color-surface);
  white-space: nowrap;
}

.dmm-checkout-phone__flag {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.dmm-checkout-phone__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  box-shadow: none;
}

.dmm-checkout-phone__input::placeholder {
  color: #8f8f8f;
}

.dmm-checkout-form .form-label {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.dmm-checkout-form .form-control,
.dmm-checkout-form .form-select {
  min-height: 56px;
  padding: 16px;
  border: 1px solid #f4f4f2;
  border-radius: 16px;
  font-size: 16px;
  box-shadow: none;
}

.dmm-checkout-form #shipping-address {
  margin-top: 8px;
}

.dmm-checkout-form #shipping-address .row,
.dmm-checkout-form > fieldset .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dmm-checkout-form #shipping-address .col,
.dmm-checkout-form > fieldset .col {
  width: 100%;
  max-width: 100%;
  flex: none;
}

.dmm-checkout-form .form-check-inline {
  margin-right: 16px;
}

.dmm-checkout-register__foot {
  margin-top: 16px;
}

.dmm-checkout-login__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.dmm-checkout-login__forgotten {
  font-size: 14px;
  color: #606060;
  text-decoration: none;
}

.dmm-checkout-login__forgotten:hover {
  color: var(--dmm-color-surface);
}

.dmm-checkout__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}

.dmm-checkout__btn--primary {
  background: var(--dmm-color-surface);
  color: var(--dmm-color-white);
}

.dmm-checkout__btn--secondary {
  flex-shrink: 0;
  background: #f6faff;
  color: var(--dmm-color-surface);
  border: 1px solid #f4f4f2;
}

.dmm-checkout__btn--confirm {
  width: 100%;
  min-height: 60px;
  font-size: 18px;
}

.dmm-checkout__btn--confirm img {
  filter: brightness(0) invert(1);
}

.dmm-checkout__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dmm-checkout-confirm__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.dmm-checkout-confirm__item.dmm-cart-item {
  padding: 16px;
}

.dmm-checkout-confirm__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.dmm-checkout-confirm__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  line-height: 1.5;
}

.dmm-checkout-confirm__row-label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.dmm-checkout-confirm__row-label small {
  font-size: 12px;
  color: #606060;
}

.dmm-checkout-confirm__summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.dmm-checkout-confirm__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 16px;
  line-height: 1.5;
}

.dmm-checkout-confirm__summary-row--total {
  padding: 16px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.dmm-checkout-confirm__summary-row--total strong {
  font-weight: 600;
}

.dmm-checkout-confirm__divider {
  height: 1px;
  margin: 8px 0;
  background: #f3f2f1;
}

.dmm-checkout-confirm__payment .btn,
.dmm-checkout-confirm__payment #button-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--dmm-color-surface);
  color: var(--dmm-color-white);
  font: inherit;
  font-size: 18px;
  line-height: 1.5;
}

.dmm-checkout-confirm__payment .btn:disabled,
.dmm-checkout-confirm__payment #button-confirm:disabled {
  opacity: 0.45;
}

/* —— Cart page (same panel as header cart modal) —— */
.dmm-cart-page {
  padding: 32px var(--dmm-header-pad-x) calc(48px + var(--dmm-footer-overlap));
  overflow: visible;
}

.dmm-cart-page__wrap,
.dmm-cart-page #shopping-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  box-sizing: border-box;
}

.dmm-cart-page__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 32px 24px;
  border-radius: 24px;
  background: var(--dmm-color-white);
  box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
  box-sizing: border-box;
  overflow: visible;
}

.dmm-cart-page__head {
  flex-shrink: 0;
}

.dmm-cart-page__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
}

.dmm-cart-page__notice {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.dmm-cart-page__notice--error {
  background: #fff5f5;
  color: #d64545;
}

.dmm-cart-page__notice--success {
  background: #f4fff4;
  color: #009900;
}

.dmm-cart-page__notice--info {
  background: #f6faff;
  color: var(--dmm-color-surface);
}

.dmm-cart-page__notice--info a {
  color: var(--dmm-color-accent);
}

.dmm-cart-page__items {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.dmm-cart-page__item.dmm-cart-item {
  padding: 16px;
}

.dmm-cart-page__name-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.dmm-cart-page__meta {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.5;
  color: #606060;
}

.dmm-cart-page__minimum {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #d64545;
}

.dmm-cart-page__stock-mark {
  margin-left: 4px;
  color: #d64545;
}

.dmm-cart-page__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dmm-cart-page__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-cart-page__summary {
  margin-top: 0;
}

.dmm-cart-page__actions .dmm-cart-modal__btn--secondary {
  text-decoration: none;
}

@media (max-width: 575px) {
  .dmm-cart-page {
    padding: 16px var(--dmm-header-pad-x) calc(32px + var(--dmm-footer-overlap));
  }

  .dmm-cart-page__panel {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .dmm-cart-modal__items {
    padding: 8px 0;
  }
}

/* —— Account login page —— */
.dmm-login-page {
  padding: 32px var(--dmm-header-pad-x) calc(48px + var(--dmm-footer-overlap));
}

.dmm-login-page__wrap {
  width: 100%;
  max-width: var(--dmm-menu-width);
  margin: 0 auto;
}

.dmm-login-page__head {
  margin-bottom: 32px;
  text-align: center;
}

.dmm-login-page__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-login-page__notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.dmm-login-page__notice--error {
  background: #fff5f5;
  color: #d64545;
}

.dmm-login-page__notice--success {
  background: #f4fff4;
  color: #009900;
}

.dmm-login-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.dmm-login-page__card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dmm-login-page__text {
  flex: 1 1 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--dmm-color-surface);
}

.dmm-login-page__card-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.dmm-login-page__card--single {
  width: min(100%, 640px);
  margin: 0 auto;
}

.dmm-login-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.dmm-login-page__form .dmm-checkout-login__foot {
  margin-top: 8px;
}

.dmm-login-page .dmm-checkout-login {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
}

.dmm-login-page .dmm-checkout-login__foot {
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 991px) {
  .dmm-login-page__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .dmm-login-page {
    padding: 16px var(--dmm-header-pad-x) calc(32px + var(--dmm-footer-overlap));
  }

  .dmm-login-page__title {
    font-size: 28px;
  }

  .dmm-login-page .dmm-checkout-login__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .dmm-login-page .dmm-checkout-login__foot .dmm-checkout__btn {
    width: 100%;
  }
}

/* —— Account register page —— */
.dmm-register-page__card {
  width: min(100%, 700px);
  margin: 0 auto;
}

.dmm-register-page__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--dmm-color-surface);
}

.dmm-register-page__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.dmm-register-page__form .dmm-checkout-field {
  margin-bottom: 8px;
}

.dmm-register-page__newsletter {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0 0;
  cursor: pointer;
}

.dmm-register-page__newsletter-input {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
}

.dmm-register-page__newsletter span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-register-page__newsletter span a {
  color: inherit;
  text-decoration: underline;
}

.dmm-register-page__submit {
  margin-top: 16px;
}

.dmm-register-page__login {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--dmm-color-surface);
}

.dmm-register-page__login a {
  color: var(--dmm-color-surface);
  text-decoration: underline;
}

.dmm-register-page .dmm-checkout-field__control::placeholder,
.dmm-register-page .dmm-checkout-phone__input::placeholder {
  color: #8f8f8f;
}

@media (max-width: 575px) {
  .dmm-register-page {
    padding-bottom: calc(32px + var(--dmm-footer-overlap));
  }
}

/* —— Account cabinet —— */
.dmm-account-page {
  padding: 32px var(--dmm-header-pad-x) calc(64px + var(--dmm-footer-overlap));
}

.dmm-account-page__wrap {
  width: 100%;
  max-width: var(--dmm-menu-width);
  margin: 0 auto;
}

.dmm-account-page__layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.dmm-account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dmm-account-sidebar__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dmm-account-sidebar__divider {
  height: 1px;
  background: #f3f2f1;
  border-radius: 2px;
}

.dmm-account-sidebar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 29px;
  text-decoration: none;
}

.dmm-account-sidebar__link {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #8f8f8f;
}

.dmm-account-sidebar__link--active {
  color: var(--dmm-color-surface);
}

.dmm-account-sidebar__link--danger {
  color: #e08484;
}

.dmm-account-sidebar__indicator {
  flex-shrink: 0;
  width: 2px;
  height: 29px;
  border-radius: 2px;
  background: #f3f2f1;
}

.dmm-account-sidebar__item--active .dmm-account-sidebar__indicator {
  background: var(--dmm-color-surface);
}

.dmm-account-sidebar__item--danger .dmm-account-sidebar__indicator {
  background: #f3f2f1;
}

.dmm-account-page__card {
  width: 100%;
}

.dmm-account-page__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
}

.dmm-account-page__notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.dmm-account-page__notice--success {
  background: #f4fff4;
  color: #009900;
}

.dmm-account-page__form .dmm-checkout-field {
  margin-bottom: 8px;
}

.dmm-account-page__submit {
  margin-top: 16px;
}

.dmm-account-page__benefits {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid #c4c4c4;
}

.dmm-account-page__benefits .dmm-about__benefits {
  margin: 0;
  padding: 0;
  border-top: none;
}

.dmm-account-orders__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dmm-account-order-card {
  background: #fefefe;
  border-radius: 8px;
}

.dmm-account-order-card__link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 80px;
  padding: 8px 8px 8px 0;
  color: inherit;
  text-decoration: none;
}

.dmm-account-order-card__status {
  flex-shrink: 0;
  align-self: stretch;
  width: 2px;
  border-radius: 2px;
  background: #bfbfbf;
}

.dmm-account-order-card__status--complete {
  background: #009900;
}

.dmm-account-order-card__status--cancelled {
  background: #bfbfbf;
}

.dmm-account-order-card__status--default {
  background: #00b0f0;
}

.dmm-account-order-card__info {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.dmm-account-order-card__meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8f8f8f;
}

.dmm-account-order-card__status-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-account-order-card__total {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 8px;
  width: 200px;
  text-align: center;
}

.dmm-account-order-card__total-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8f8f8f;
}

.dmm-account-order-card__total-value {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-account-order-card__thumbs {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: 230px;
}

.dmm-account-order-card__extra {
  font-size: 12px;
  line-height: 1.5;
  color: #8f8f8f;
}

.dmm-account-order-card__thumb {
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
}

.dmm-account-order-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dmm-account-order-card__toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 8px rgba(15, 15, 15, 0.12);
}

.dmm-account-order-card__toggle img {
  display: block;
  width: 16px;
  height: 16px;
}

.dmm-account-orders__empty {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #8f8f8f;
}

.dmm-account-orders__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.dmm-account-orders__pagination-results {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #8f8f8f;
}

.dmm-account-wishlist__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dmm-account-wishlist__cards .dmm-sales-card {
  flex: none;
  width: 100%;
}

.dmm-account-wishlist__empty {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #8f8f8f;
}

@media (max-width: 991px) {
  .dmm-account-page__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dmm-account-sidebar__link {
    font-size: 20px;
  }

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

@media (max-width: 575px) {
  .dmm-account-page {
    padding: 16px var(--dmm-header-pad-x) calc(32px + var(--dmm-footer-overlap));
  }

  .dmm-account-order-card__link {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px 12px 12px 0;
  }

  .dmm-account-order-card__total,
  .dmm-account-order-card__thumbs {
    width: auto;
  }

  .dmm-account-order-card__total {
    flex: 1 1 calc(50% - 16px);
    text-align: left;
  }

  .dmm-account-order-card__thumbs {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .dmm-account-order-card__toggle {
    margin-left: auto;
  }

  .dmm-account-wishlist__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .dmm-checkout__grid {
    grid-template-columns: 1fr;
  }

  .dmm-checkout__aside {
    position: static;
  }

  .dmm-checkout__tabs {
    flex-direction: column;
    gap: 16px;
  }

  .dmm-checkout__tab {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .dmm-checkout-form #shipping-address .row,
  .dmm-checkout-form > fieldset .row,
  .dmm-checkout-form__grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dmm-checkout-page {
    padding-top: 24px;
  }

  .dmm-checkout__title {
    font-size: 28px;
  }

  .dmm-checkout__tab {
    font-size: 20px;
  }

  .dmm-checkout-field__picker {
    flex-direction: column;
  }
}

.dmm-np {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.dmm-np__hint {
  margin: 0;
  color: var(--dmm-color-text-secondary, #6b7280);
  font-size: 14px;
  line-height: 1.4;
}

.dmm-checkout-payment__bank {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.dmm-checkout-payment__bank-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.dmm-checkout-payment__bank-details {
  padding: 16px 20px;
  border: 1px solid var(--dmm-color-border, #e5e7eb);
  border-radius: 12px;
  background: var(--dmm-color-surface-muted, #f9fafb);
  font-size: 15px;
  line-height: 1.6;
}

.dmm-checkout-payment__bank-details p {
  margin: 0 0 8px;
}

.dmm-checkout-payment__bank-details p:last-child {
  margin-bottom: 0;
}

.dmm-checkout-payment__bank-note {
  margin: 0;
  color: var(--dmm-color-text-secondary, #6b7280);
  font-size: 14px;
  line-height: 1.4;
}

.dmm-checkout-payment__confirm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* —— 404 page (Figma node 4074:29274) —— */
.dmm-404 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--dmm-header-pad-x) calc(64px + var(--dmm-footer-overlap));
}

.dmm-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.dmm-404__visual {
  width: min(100%, 886px);
}

.dmm-404__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 886 / 480;
  object-fit: contain;
}

.dmm-404__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(100%, 553px);
  padding: 24px 16px;
}

.dmm-404__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--dmm-color-surface);
}


@media (max-width: 767px) {
  .dmm-404 {
    padding-top: 32px;
    padding-bottom: calc(48px + var(--dmm-footer-overlap));
  }

  .dmm-404__content {
    gap: 24px;
    padding-inline: 0;
  }

  .dmm-404__btn {
    width: 100%;
  }
}

/* —— Global toast alerts (cart panel style) —— */
.dmm-theme #alert.dmm-alert-stack {
  position: fixed;
  top: 24px;
  right: var(--dmm-header-pad-x);
  left: auto;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(calc(100vw - 2 * var(--dmm-header-pad-x)), 420px);
  margin: 0;
  pointer-events: none;
}

.dmm-theme #alert.dmm-alert-stack .alert {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  margin: 0;
  padding: 16px 48px 16px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--dmm-color-white);
  box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
  color: var(--dmm-color-surface);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  pointer-events: auto;
  animation: dmm-alert-in 0.28s ease;
}

.dmm-theme #alert.dmm-alert-stack .alert.alert-dismissible {
  padding-right: 48px;
}

.dmm-theme #alert.dmm-alert-stack .alert > i {
  grid-column: 1;
  grid-row: 1;
  margin-top: 2px;
  font-size: 18px;
  line-height: 1;
}

.dmm-theme #alert.dmm-alert-stack .alert__text {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  text-align: left;
}

.dmm-theme #alert.dmm-alert-stack .alert-success i {
  color: #009900;
}

.dmm-theme #alert.dmm-alert-stack .alert a {
  color: var(--dmm-color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dmm-theme #alert.dmm-alert-stack .alert a:hover {
  color: var(--dmm-color-surface);
}

.dmm-theme #alert.dmm-alert-stack .alert-danger i,
.dmm-theme #alert.dmm-alert-stack .alert-warning i {
  color: #d64545;
}

.dmm-theme #alert.dmm-alert-stack .alert-info i {
  color: var(--dmm-color-accent);
}

.dmm-theme #alert.dmm-alert-stack .alert-primary,
.dmm-theme #alert.dmm-alert-stack .alert-secondary,
.dmm-theme #alert.dmm-alert-stack .alert-success,
.dmm-theme #alert.dmm-alert-stack .alert-danger,
.dmm-theme #alert.dmm-alert-stack .alert-warning,
.dmm-theme #alert.dmm-alert-stack .alert-info,
.dmm-theme #alert.dmm-alert-stack .alert-light,
.dmm-theme #alert.dmm-alert-stack .alert-dark {
  background: var(--dmm-color-white);
  box-shadow: 0 24px 64px rgba(2, 8, 11, 0.2);
}

.dmm-theme #alert.dmm-alert-stack .btn-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent url('../image/cart/icon-close.svg') center / 24px 24px no-repeat;
  opacity: 1;
  filter: none;
}

.dmm-theme #alert.dmm-alert-stack .btn-close:hover {
  background-color: #f6faff;
}

@keyframes dmm-alert-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .dmm-theme #alert.dmm-alert-stack {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }

  .dmm-theme #alert.dmm-alert-stack .alert {
    font-size: 15px;
    padding: 14px 44px 14px 14px;
    animation: dmm-alert-in-mobile 0.28s ease;
  }

  .dmm-theme #alert.dmm-alert-stack .alert.alert-dismissible {
    padding-right: 44px;
  }
}

@keyframes dmm-alert-in-mobile {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Account order detail —— */
.dmm-account-order-info__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.dmm-account-order-info__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
  text-decoration: none;
}

.dmm-account-order-info__back img {
  transform: rotate(180deg);
}

.dmm-account-order-info__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
  background: #fefefe;
}

.dmm-account-order-info__meta {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dmm-color-surface);
}

.dmm-account-order-info__status {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #606060;
}

.dmm-account-order-info__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}

.dmm-account-order-info__details:has(> :only-child) {
  grid-template-columns: 1fr;
}

.dmm-account-order-info__detail {
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: #fefefe;
}

.dmm-account-order-info__detail dt {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #606060;
}

.dmm-account-order-info__detail dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-account-order-info__section-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
}

.dmm-account-order-info__products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.dmm-account-order-info__product {
  padding: 12px;
  border-radius: 8px;
  background: #fefefe;
}

.dmm-account-order-info__product .dmm-cart-item__main {
  align-items: flex-start;
  gap: 12px;
}

.dmm-account-order-info__product .dmm-cart-item__media {
  width: 80px;
  height: 80px;
}

.dmm-account-order-info__product-meta {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
  color: #606060;
}

.dmm-account-order-info__product-meta li + li {
  margin-top: 4px;
}

.dmm-account-order-info__totals {
  margin-bottom: 32px;
  padding: 16px;
  border-radius: 8px;
  background: #fefefe;
}

.dmm-account-order-info__comment {
  margin-bottom: 32px;
  padding: 16px;
  border-radius: 8px;
  background: #fefefe;
}

.dmm-account-order-info__comment p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dmm-color-surface);
}

.dmm-account-order-info__history {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dmm-account-order-info__history-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #fefefe;
}

.dmm-account-order-info__history-date {
  font-size: 14px;
  line-height: 1.5;
  color: #606060;
}

.dmm-account-order-info__history-status {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-account-order-info__history-comment {
  font-size: 14px;
  line-height: 1.5;
  color: #606060;
}

.dmm-account-order-info__history-comment p {
  margin: 0;
}

.dmm-account-order-info__empty {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #606060;
}

@media (max-width: 767px) {
  .dmm-account-order-info__details {
    grid-template-columns: 1fr;
  }

  .dmm-account-order-info__history-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* —— Contact page —— */
.dmm-contact-page {
  padding: 32px var(--dmm-header-pad-x) calc(64px + var(--dmm-footer-overlap));
}

.dmm-contact-page__wrap {
  width: 100%;
  max-width: var(--dmm-menu-width);
  margin: 0 auto;
}

.dmm-contact-page__title {
  margin: 0 0 32px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--dmm-color-surface);
}

.dmm-contact-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.dmm-contact-page__card {
  padding: 24px;
  border-radius: 16px;
  background: var(--dmm-color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.dmm-contact-page__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dmm-contact-page__section-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dmm-contact-page__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #009900;
}

.dmm-contact-page__icon img {
  filter: brightness(0) invert(1);
}

.dmm-contact-page__section-title,
.dmm-contact-page__form-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmm-color-surface);
}

.dmm-contact-page__form-title {
  text-align: center;
}

.dmm-contact-page__section-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dmm-color-surface);
}

.dmm-contact-page__section-body p {
  margin: 0;
}

.dmm-contact-page__section-body a {
  color: inherit;
  text-decoration: none;
}

.dmm-contact-page__section-body a:hover {
  color: #009900;
}

.dmm-contact-page__info .dmm-checkout__card-divider {
  margin: 24px 0;
}

.dmm-contact-page__form-card .dmm-checkout__card-divider {
  margin-bottom: 24px;
}

.dmm-contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dmm-contact-page__fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dmm-contact-page__form .dmm-checkout-field {
  margin-bottom: 0;
}

.dmm-contact-page__comment {
  min-height: 120px;
}

.dmm-contact-page__notice {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.dmm-contact-page__notice.is-success {
  background: #f4fff4;
  color: #009900;
}

.dmm-contact-page__notice.is-error {
  background: #fff5f5;
  color: #d80000;
}

.dmm-contact-page__submit img {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: none;
}

.dmm-contact-page__benefits {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid #c4c4c4;
}

.dmm-contact-page__benefits .dmm-about__benefits {
  margin: 0;
  padding: 0;
  border-top: none;
}

@media (max-width: 991px) {
  .dmm-contact-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .dmm-contact-page {
    padding-top: 24px;
    padding-bottom: calc(32px + var(--dmm-footer-overlap));
  }

  .dmm-contact-page__title {
    font-size: 28px;
  }

  .dmm-contact-page__fields-row {
    grid-template-columns: 1fr;
  }
}

/* —— Checkout success page —— */
.dmm-checkout-success-page .breadcrumb {
  display: none;
}

.dmm-checkout-success__card {
  width: min(100%, 640px);
  margin: 0 auto;
  text-align: center;
}

.dmm-checkout-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #ecfdf3;
}

.dmm-checkout-success__title {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dmm-color-surface);
}

.dmm-checkout-success__message {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
  color: var(--dmm-color-surface);
}

.dmm-checkout-success__message p {
  margin: 0 0 12px;
}

.dmm-checkout-success__message p:last-child {
  margin-bottom: 0;
}

.dmm-checkout-success__message a {
  color: inherit;
  text-decoration: underline;
}

.dmm-checkout-success__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dmm-checkout-success__orders {
  width: 100%;
  min-height: 48px;
}

@media (max-width: 575px) {
  .dmm-checkout-success__title {
    font-size: 28px;
  }

  .dmm-checkout-success__message {
    font-size: 16px;
  }
}
