/*
 * Domenico theme for PrestaShop 1.7.8 (child of Classic).
 * Loaded after Classic's theme.css. All rules are scoped to body.dm-theme
 * so they win over Classic without !important where possible.
 */

:root {
  --dm-blue: #297ea9;
  --dm-blue-dark: #1f6389;
  --dm-ink: #222;
  --dm-ink-2: #253237;
  --dm-text: #555;
  --dm-muted: #888;
  --dm-line: #e8e8e8;
  --dm-soft: #f6f6f6;
  --dm-field: #edf4f8;
  --dm-field-line: #d3e3ec;
  --dm-sale: #e0245e;
  --dm-ok: #3aa76d;
  --dm-font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --dm-container: 1680px;
}

/* ---------- base ---------- */
body.dm-theme {
  font-family: var(--dm-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--dm-text);
  background: #fff;
}
.dm-theme h1, .dm-theme h2, .dm-theme h3, .dm-theme h4, .dm-theme h5, .dm-theme h6,
.dm-theme .h1, .dm-theme .h2, .dm-theme .h3, .dm-theme .h4, .dm-theme .h5, .dm-theme .h6 {
  font-family: var(--dm-font);
  color: var(--dm-ink);
}
.dm-theme a { color: var(--dm-ink); }
.dm-theme a:hover, .dm-theme a:focus { color: var(--dm-blue); text-decoration: none; }
.dm-theme #wrapper { background: #fff; padding-top: 0; box-shadow: none; }
.dm-theme #wrapper > .container { padding-top: 40px; padding-bottom: 20px; }
.dm-theme .container { max-width: var(--dm-container); width: 100%; }
@media (min-width: 768px) { .dm-theme .container { padding-left: 20px; padding-right: 20px; } }
@media (min-width: 1200px) { .dm-theme .container { padding-left: 40px; padding-right: 40px; } }
/* wide screens: 4 products per row in category lists, taller home banners */
@media (min-width: 1500px) {
  .dm-theme #js-product-list .dm-grid:not(.is-list) > .product { flex: 0 0 25%; max-width: 25%; width: 25%; }
  .dm-theme .dm-banners { grid-template-rows: 300px 300px; }
  .dm-theme .dm-hero .dm-hero__slide:not(.dm-hero__slide--pic) .dm-hero__pic img { height: 540px; }
}
.dm-theme #index #wrapper > .container, .dm-theme#index #wrapper > .container { padding-top: 0; }
.dm-theme .card { box-shadow: none; border: 0; }

.dm-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex: none; }

.dm-theme .btn { font-family: var(--dm-font); border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: 12px; box-shadow: none; }
.dm-theme .btn-primary, .dm-theme .dm-btn {
  background: var(--dm-ink-2); border-color: var(--dm-ink-2); color: #fff; padding: 12px 26px;
}
.dm-theme .btn-primary:hover, .dm-theme .btn-primary:focus, .dm-theme .dm-btn:hover {
  background: var(--dm-blue); border-color: var(--dm-blue); color: #fff;
}
.dm-theme .btn-secondary { background: #fff; border: 1px solid var(--dm-ink-2); color: var(--dm-ink-2); }
.dm-theme .btn-secondary:hover { background: var(--dm-ink-2); color: #fff; }
/* one field style for every form on the site: light blue fill, blue border on focus */
.dm-theme .form-control {
  border-radius: 0; border: 1px solid var(--dm-field-line); background-color: var(--dm-field); color: var(--dm-ink);
  font-family: var(--dm-font); font-size: 14px; box-shadow: none;
}
.dm-theme input.form-control, .dm-theme select.form-control { height: 46px; padding: 0 14px; }
.dm-theme textarea.form-control { padding: 12px 14px; min-height: 140px; }
.dm-theme .form-control:focus { border-color: var(--dm-blue); background-color: var(--dm-field); outline: 0; box-shadow: 0 0 0 3px rgba(41, 126, 169, .14); }
.dm-theme .form-control::placeholder { color: #8fa3ae; }
.dm-theme .has-error .form-control { border-color: #c9302c; }
.dm-theme .btn-outline, .dm-theme .dm-btn-outline { background: #fff; border: 1px solid var(--dm-ink-2); color: var(--dm-ink-2); padding: 12px 26px; }
.dm-theme .btn-outline:hover, .dm-theme .dm-btn-outline:hover { background: var(--dm-ink-2); color: #fff; }

.dm-link {
  display: inline-block; padding: 0 0 2px; border: 0; background: none; cursor: pointer;
  border-bottom: 1px solid currentColor; font-family: var(--dm-font);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink);
}
.dm-link:hover { color: var(--dm-blue); }

.dm-count {
  position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--dm-blue); color: #fff;
  font-size: 10px; line-height: 17px; font-weight: 600; text-align: center;
}

/* ---------- header ---------- */
.dm-theme #header { background: #fff; box-shadow: none; border-bottom: 1px solid var(--dm-line); position: relative; z-index: 50; }
.dm-theme #header .header-banner { background: var(--dm-soft); }
.dm-header__row { display: flex; align-items: center; gap: 20px; min-height: 84px; position: relative; }
.dm-logo { flex: none; }
.dm-logo h1 { margin: 0; font-size: inherit; line-height: 0; }
.dm-logo img, .dm-logo .logo { max-height: 44px; width: auto; height: auto; }
.dm-logo__text { font-size: 22px; font-weight: 700; color: var(--dm-blue); }
.dm-header__top { flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; gap: 12px; position: static; }
.dm-header__tools { display: flex; align-items: center; gap: 16px; flex: none; }
.dm-burger { display: none; border: 0; background: none; padding: 6px; color: var(--dm-ink); cursor: pointer; }

.dm-icon-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: none; padding: 4px; color: var(--dm-ink); cursor: pointer;
}
.dm-icon-btn:hover { color: var(--dm-blue); }

/* main menu (ps_mainmenu) */
.dm-theme #_desktop_top_menu { flex: 1; }
.dm-theme .dm-header #_desktop_top_menu > .top-menu { display: flex; justify-content: center; flex-wrap: nowrap; margin: 0; padding: 0; }
.dm-theme .dm-header .top-menu[data-depth="0"] > li { position: static; padding: 0; }
.dm-theme .dm-header .top-menu a[data-depth="0"] {
  display: flex; align-items: center; gap: 3px; padding: 30px 10px; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dm-ink);
}
.dm-theme .dm-header .top-menu a[data-depth="0"]:hover,
.dm-theme .dm-header .top-menu > li.current > a { color: var(--dm-blue); }
.dm-theme .dm-chev { width: 12px; height: 12px; stroke-width: 2; opacity: .6; }

/* dropdown: compact panel under its menu item (subcategories | new products | picture) */
.dm-theme .dm-header__top .top-menu[data-depth="0"] > li.dm-has-sub { position: relative; }
.dm-theme .dm-header__top .top-menu .sub-menu.dm-mega {
  top: 100% !important; left: 50%; right: auto; width: max-content; min-width: 260px; max-width: min(780px, calc(100vw - 32px));
  margin: 0; padding: 0; background: #fff; border: 1px solid #d9d9d9; border-radius: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08); z-index: 60;
  transform: translateX(calc(-50% + var(--dm-shift, 0px))) translateY(8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
/* closed panels are display:none, not just invisible: an invisible panel near the
   screen edge would still widen the page and cause sideways scrolling on tablets */
.dm-theme #_desktop_top_menu .top-menu[data-depth="0"] > li > .sub-menu.dm-mega { display: none; }
.dm-theme #_desktop_top_menu .top-menu[data-depth="0"] > li:hover > .sub-menu.dm-mega {
  display: block; transform: translateX(calc(-50% + var(--dm-shift, 0px))); animation: dm-mega-in .25s ease;
}
@keyframes dm-mega-in { from { opacity: 0; } to { opacity: 1; } }
/* small arrow pointing at the menu item */
.dm-theme .dm-header__top .sub-menu.dm-mega::before {
  content: ""; position: absolute; top: -7px; left: calc(50% - var(--dm-shift, 0px)); width: 12px; height: 12px; margin-left: -6px;
  background: #fff; border-top: 1px solid #d9d9d9; border-left: 1px solid #d9d9d9; transform: rotate(45deg);
}
.dm-mega__cols { display: flex; align-items: flex-start; gap: 40px; padding: 26px 30px 24px; }
.dm-mega__col { flex: 0 0 auto; min-width: 0; }
.dm-mega__col--links { min-width: 170px; }
.dm-mega__col--products { width: 220px; }
.dm-mega__col--pic { display: block; width: 190px; }
.dm-mega__col--pic img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--dm-soft); transition: opacity .2s; }
.dm-mega__col--pic:hover img { opacity: .9; }
.dm-mega__title {
  position: relative; margin: 0 0 16px; padding-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dm-ink);
}
.dm-mega__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 16px; height: 1px; background: var(--dm-ink); }
.dm-theme .dm-header__top .top-menu .dm-mega ul[data-depth="1"] { display: block; margin: 0; padding: 0; }
.dm-theme .dm-header__top .top-menu .dm-mega ul[data-depth="1"] > li { float: none; margin: 0; }
.dm-theme .dm-header__top .top-menu .dm-mega a[data-depth="1"] {
  display: block; padding: 5px 0; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--dm-text);
}
/* a subcategory that has its own children becomes a small heading */
.dm-theme .dm-header__top .top-menu .dm-mega ul[data-depth="1"] > li.dm-has-sub + li { margin-top: 12px; }
.dm-theme .dm-header__top .top-menu .dm-mega ul[data-depth="1"] > li.dm-has-sub > a {
  padding-top: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--dm-ink);
}
.dm-theme .dm-header__top .top-menu .dm-mega ul[data-depth="1"] > li:first-child.dm-has-sub > a { padding-top: 0; }
.dm-theme .dm-header__top .top-menu .dm-mega ul[data-depth="2"] { margin: 0; padding: 0; }
.dm-theme .dm-header__top .top-menu .dm-mega a[data-depth="2"] { display: block; padding: 4px 0; font-size: 13px; color: var(--dm-text); }
.dm-theme .dm-header__top .top-menu .dm-mega a[data-depth="1"]:hover,
.dm-theme .dm-header__top .top-menu .dm-mega a[data-depth="2"]:hover { color: var(--dm-blue); }
.dm-theme .dm-header .top-menu .sub-menu .collapse { display: block; }
.dm-theme .dm-header .top-menu .dropdown-item { background: none; white-space: normal; }
.dm-mega__product { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: var(--dm-text); }
.dm-mega__product:last-child { margin-bottom: 0; }
.dm-mega__thumb { flex: 0 0 60px; width: 60px; height: 60px; background: var(--dm-soft); }
.dm-mega__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.dm-mega__pinfo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dm-mega__pname { font-size: 13px; line-height: 1.35; color: var(--dm-text); }
.dm-mega__product:hover .dm-mega__pname { color: var(--dm-blue); }
.dm-mega__price { font-size: 13px; font-weight: 600; color: var(--dm-ink); }
.dm-mega__price s { margin-right: 4px; font-weight: 400; color: #999; }
.dm-mega__foot { padding: 14px 30px; border-top: 1px solid var(--dm-line); background: var(--dm-soft); text-align: center; }
.dm-mega__all { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dm-ink); }
.dm-mega__all:hover { color: var(--dm-blue); }
.dm-mega__all .dm-ic { width: 14px; height: 14px; }
/* Classic styles every link inside .top-menu as a padded block; undo that for the panel's own links */
.dm-theme .dm-header__top .top-menu .dm-mega a.dm-mega__product { display: flex; padding: 0; }
.dm-theme .dm-header__top .top-menu .dm-mega a.dm-mega__col--pic { display: block; padding: 0; }
.dm-theme .dm-header__top .top-menu .dm-mega a.dm-mega__all { display: inline-flex; padding: 0; color: var(--dm-ink); }
.dm-theme .dm-header__top .top-menu .dm-mega a.dm-mega__all:hover { color: var(--dm-blue); }
/* phone menu: only the subcategory links */
.dm-theme .dm-mobile-menu .dm-mega::before,
.dm-theme .dm-mobile-menu .dm-mega__title,
.dm-theme .dm-mobile-menu .dm-mega__col--products,
.dm-theme .dm-mobile-menu .dm-mega__col--pic,
.dm-theme .dm-mobile-menu .dm-mega__foot { display: none; }
.dm-theme .dm-mobile-menu .dm-mega__cols { display: block; padding: 0; }
.dm-theme .dm-mobile-menu .dm-mega { transform: none; }

/* search (ps_searchbar) */
.dm-search { position: relative; display: flex; align-items: center; }
.dm-theme #search_widget.dm-search { min-width: 0; width: auto; float: none; margin: 0; overflow: visible; }
.dm-theme .dm-search__form {
  position: absolute; right: -8px; top: calc(100% + 18px); width: 320px; display: none;
  background: #fff; border: 1px solid var(--dm-line); box-shadow: 0 14px 34px rgba(0, 0, 0, .1); padding: 10px; z-index: 70;
}
.dm-search.is-open .dm-search__form { display: flex; }
.dm-search__form input[type="text"] {
  flex: 1; min-width: 0; border: 1px solid #e2e2e2; padding: 10px 12px; font-family: var(--dm-font); font-size: 13px; outline: 0;
}
.dm-search__form input[type="text"]:focus { border-color: var(--dm-blue); }
.dm-search__form button { border: 0; background: var(--dm-ink-2); color: #fff; padding: 0 14px; cursor: pointer; }
.dm-theme .ui-autocomplete.ui-menu { font-family: var(--dm-font); border: 1px solid var(--dm-line); box-shadow: 0 14px 34px rgba(0, 0, 0, .1); }

/* language & currency */
.dm-theme .dm-selector .btn-unstyle {
  display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--dm-ink); padding: 4px 0;
}
.dm-theme .dm-selector .dm-ic { width: 12px; height: 12px; stroke-width: 2; }
.dm-theme .dm-selector .dropdown-menu { border-radius: 0; border-color: var(--dm-line); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); min-width: 120px; font-size: 13px; left: auto; right: 0; }
.dm-theme .dm-selector .dropdown-item { padding: 6px 16px; }
.dm-theme .dm-selector .current .dropdown-item { color: var(--dm-blue); }

/* account + quick login */
.dm-user { position: relative; }
.dm-theme .dm-user .user-info { display: flex; align-items: center; gap: 14px; margin: 0; }
.dm-quick-login {
  position: absolute; right: -10px; top: calc(100% + 20px); width: 310px; z-index: 70;
  background: #fff; border: 1px solid var(--dm-line); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); padding: 22px;
}
.dm-quick-login[hidden] { display: none; }
.dm-quick-login form { display: grid; gap: 10px; }
.dm-quick-login__title { margin: 0 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--dm-ink); }
.dm-quick-login input[type="email"], .dm-quick-login input[type="password"] {
  border: 1px solid #e2e2e2; padding: 11px 12px; font-family: var(--dm-font); font-size: 13px; width: 100%; outline: 0;
}
.dm-quick-login input:focus { border-color: var(--dm-blue); }
.dm-quick-login__forgot { font-size: 12px; color: var(--dm-muted); justify-self: end; }
.dm-quick-login .dm-btn { width: 100%; }
.dm-quick-login__create { display: block; margin-top: 12px; font-size: 12px; color: var(--dm-muted); }
.dm-quick-login__close { position: absolute; right: 10px; top: 10px; border: 0; background: none; cursor: pointer; color: #999; padding: 4px; }
.dm-quick-login__close .dm-ic { width: 16px; height: 16px; }

/* cart icon */
.dm-theme #_desktop_cart .blockcart { background: none; padding: 0; height: auto; margin: 0; }
.dm-theme #_desktop_cart .blockcart .header { margin: 0; }
.dm-theme .blockcart .dm-icon-btn { color: var(--dm-ink); }
.dm-theme .blockcart.inactive .dm-count { background: #bbb; }

/* mobile menu panel (Classic's #mobile_top_menu_wrapper) */
.dm-mobile-menu { border-top: 1px solid var(--dm-line); background: #fff; padding: 8px 15px 20px; }
.dm-theme .dm-mobile-menu .top-menu a[data-depth="0"] { padding: 12px 0; font-size: 13px; font-weight: 600; text-transform: uppercase; border-bottom: 1px solid var(--dm-line); }
.dm-theme .dm-mobile-menu .top-menu .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
.dm-theme .dm-mobile-menu .js-top-menu-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 14px; }

/* ---------- grey band: breadcrumb + category title ---------- */
.dm-band { background: var(--dm-soft); padding: 26px 0; }
.dm-theme .dm-band .breadcrumb { background: none; padding: 0; margin: 0; font-size: 12px; }
.dm-theme .dm-band .breadcrumb ol { margin: 0; padding: 0; }
.dm-theme .dm-band .breadcrumb li { display: inline; color: var(--dm-ink); }
.dm-theme .dm-band .breadcrumb li::after { content: "/"; margin: 0 .4em; color: var(--dm-muted); }
.dm-theme .dm-band .breadcrumb li:last-child::after { content: ""; }
.dm-theme .dm-band .breadcrumb li a { color: var(--dm-muted); }
.dm-theme .dm-band .breadcrumb li a:hover { color: var(--dm-blue); }
.dm-band__title { margin: 8px 0 0; font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--dm-ink); }
.dm-band__desc { margin-top: 8px; max-width: none; font-size: 13.5px; line-height: 1.75; color: var(--dm-text); }
.dm-band__desc p:last-child { margin-bottom: 0; }
.dm-band__desc.is-collapsed { max-height: 4.4em; overflow: hidden; -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.dm-band__more { margin-top: 8px; }
.dm-band__subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.dm-band__subcats a {
  display: inline-block; padding: 8px 16px; background: #fff; border: 1px solid #dcdcdc;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--dm-ink);
  transition: border-color .2s, color .2s;
}
.dm-band__subcats a:hover, .dm-band__subcats a:focus-visible { border-color: var(--dm-blue); color: var(--dm-blue); }
.dm-theme .dm-no-cattree #left-column .block-categories { display: none; }
.dm-band__more[hidden] { display: none; }

/* ---------- left column: category tree + filters ---------- */
.dm-theme #left-column { padding-top: 0; }
.dm-theme #left-column .block-categories,
.dm-theme #left-column #search_filters,
.dm-theme #left-column .block,
.dm-theme #left-column > section,
.dm-theme #left-column > div:not(#search_filters_wrapper) {
  border: 1px solid var(--dm-line); box-shadow: none; padding: 22px 20px; margin-bottom: 24px; background: #fff;
}
.dm-theme #left-column #search_filters_wrapper { border: 0; padding: 0; }
.dm-theme #left-column .block-categories .h6,
.dm-theme #left-column .block-categories .category-top-menu > li > a,
.dm-theme #search_filters > .h6, .dm-theme #search_filters .text-uppercase.h6 {
  display: block; margin: 0 0 14px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--dm-ink);
}
.dm-theme .block-categories .category-sub-menu li { position: relative; }
.dm-theme .block-categories .category-sub-menu a { font-size: 13px; color: var(--dm-text); }
.dm-theme .block-categories .category-sub-menu a:hover { color: var(--dm-blue); }
.dm-theme .block-categories .category-sub-menu li[data-depth="0"] > a { font-weight: 400; border: 0; padding: 5px 0 5px 14px; display: block; position: relative; }
.dm-theme .block-categories .category-sub-menu li[data-depth="0"] > a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: #ccc; }
.dm-theme .block-categories .collapse-icons { top: 4px; }
.dm-theme .block-categories .collapse-icons .material-icons { font-size: 16px; color: var(--dm-muted); }
.dm-theme #search_filters .facet { padding-top: 14px; }
.dm-theme #search_filters .facet .facet-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--dm-ink); }
.dm-theme #search_filters .facet .facet-label, .dm-theme #search_filters .facet .facet-label a { font-size: 13px; }
.dm-theme #search_filters .facet .facet-label .magnitude { font-size: 12px; }
.dm-theme #search_filters .facet .facet-label a { color: var(--dm-text); }
.dm-theme #search_filters .facet .facet-label a:hover { color: var(--dm-blue); }
.dm-theme #search_filters .facet .magnitude { color: var(--dm-muted); }
.dm-theme .custom-checkbox input[type="checkbox"] + span { border-color: #ccc; border-radius: 0; }
.dm-theme .custom-checkbox input[type="checkbox"] + span .checkbox-checked { color: var(--dm-ink); }
.dm-theme .facet-dropdown { border-radius: 0; }
.dm-theme #search_filters .clear-all-wrapper .btn { background: none; border: 0; padding: 0 0 2px; border-bottom: 1px solid currentColor; color: var(--dm-ink); font-size: 11px; }
.dm-theme .active_filters { background: var(--dm-soft); margin-bottom: 20px; padding: 12px 16px; }
.dm-theme .active_filters .filter-block { box-shadow: none; background: #fff; border: 1px solid var(--dm-line); }

/* ---------- listing toolbar ---------- */
.dm-toolbar { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; margin: 0 0 24px; border-bottom: 1px solid var(--dm-line); }
.dm-toolbar__view { display: flex; gap: 8px; }
.dm-toolbar__view button { border: 0; background: none; padding: 2px; cursor: pointer; color: #aaa; }
.dm-toolbar__view button.is-active, .dm-toolbar__view button:hover { color: var(--dm-ink); }
.dm-toolbar__view .dm-ic { width: 18px; height: 18px; }
.dm-toolbar__sort { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.dm-theme .dm-toolbar .sort-by { font-size: 12px; color: var(--dm-muted); white-space: nowrap; padding: 0; margin: 0; }
.dm-theme .dm-toolbar .products-sort-order { padding: 0; }
.dm-theme .dm-toolbar .products-sort-order .select-title {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 190px;
  background: none; border: 0; border-bottom: 1px solid var(--dm-ink); padding: 4px 0; font-size: 13px; color: var(--dm-ink); box-shadow: none; margin: 0;
}
.dm-theme .dm-toolbar .products-sort-order .select-title .dm-ic { width: 14px; height: 14px; }
.dm-theme .dm-toolbar .products-sort-order .dropdown-menu { border-radius: 0; border-color: var(--dm-line); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); width: 100%; background: #fff; }
.dm-theme .dm-toolbar .products-sort-order .select-list { font-size: 13px; padding: 6px 14px; }
.dm-theme .dm-toolbar .products-sort-order .select-list:hover { background: var(--dm-soft); color: var(--dm-blue); }
.dm-toolbar__filter { display: none; }
.dm-theme .dm-toolbar__filter .btn { padding: 7px 14px; }

/* ---------- product grid & card ---------- */
.dm-theme .dm-grid { margin-left: -12px; margin-right: -12px; display: flex; flex-wrap: wrap; justify-content: flex-start; }
.dm-theme #wrapper .dm-grid { justify-content: flex-start; }
.dm-theme .dm-grid > .product { padding-left: 12px; padding-right: 12px; margin: 0 0 34px; float: none; }
.dm-theme .product-miniature.dm-card { display: block; }
.dm-theme .dm-card .thumbnail-container { position: relative; margin: 0; overflow: hidden; background: var(--dm-soft); box-shadow: none; }
.dm-theme .dm-card .thumbnail-container:hover .highlighted-informations,
.dm-theme .dm-card .thumbnail-container:focus-within .highlighted-informations { top: auto; }
.dm-theme .dm-card .thumbnail-top { position: relative; overflow: hidden; }
.dm-theme .dm-card .product-thumbnail { display: block; position: relative; height: auto; aspect-ratio: 1 / 1; background: var(--dm-soft); }
.dm-theme .dm-card .product-thumbnail img.dm-card__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; mix-blend-mode: multiply; transition: opacity .45s ease, transform .6s ease; }
.dm-theme .dm-card .product-thumbnail img.dm-card__img--alt { opacity: 0; }
/* Both photos use multiply (white photo backgrounds blend into the grey card),
   so the cover has to fade out while the second photo fades in; otherwise the
   two photos show through each other. Touch screens keep the cover. */
@media (hover: hover) {
  .dm-theme .dm-card:hover .product-thumbnail img.dm-card__img--alt { opacity: 1; }
  .dm-theme .dm-card:hover .product-thumbnail.has-alt img.dm-card__img--cover { opacity: 0; }
  .dm-theme .dm-card:hover .product-thumbnail:not(.has-alt) img.dm-card__img--cover { transform: scale(1.03); }
}

.dm-theme .dm-card .highlighted-informations.dm-card__actions {
  position: absolute; left: 0; right: 0; bottom: 16px; top: auto; z-index: 3; height: auto; width: 100%;
  display: flex; justify-content: center; gap: 8px; padding: 0; background: none; box-shadow: none;
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease;
}
.dm-theme .dm-card .highlighted-informations::after { display: none; }
.dm-theme .dm-card:focus-within .dm-card__actions { opacity: 1; transform: none; }
@media (hover: hover) { .dm-theme .dm-card:hover .dm-card__actions { opacity: 1; transform: none; } }
.dm-card__cart { margin: 0; }
.dm-round {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: #fff; color: var(--dm-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); transition: background .2s, color .2s;
}
.dm-theme .dm-round:hover { background: var(--dm-ink-2); color: #fff; }
.dm-round .dm-ic { width: 17px; height: 17px; }
.dm-theme .dm-card .quick-view { font-size: 0; color: var(--dm-ink); }
.dm-theme .dm-card .quick-view:hover { color: #fff; }
.dm-round[data-dm-tip]::before {
  content: attr(data-dm-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 4px 10px; border-radius: 12px; background: var(--dm-ink-2); color: #fff;
  font-size: 11px; line-height: 1.4; font-weight: 400; letter-spacing: 0; text-transform: none;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dm-round[data-dm-tip]:hover::before { opacity: 1; }

.dm-theme .dm-card .product-description.dm-card__body { position: static; height: auto; padding: 14px 0 0; background: none; text-align: left; }
.dm-theme .dm-card .product-description::after { display: none; }
.dm-theme .dm-card .product-title { margin: 0 0 6px; text-align: left; text-transform: none; font-size: 14px; line-height: 1.45; }
.dm-theme .dm-card .product-title a { font-size: 14px; font-weight: 400; color: #666; text-align: left; }
.dm-theme .dm-card .product-title a:hover { color: var(--dm-blue); }
.dm-theme .dm-card .product-price-and-shipping { text-align: left; font-size: 14px; font-weight: 500; color: var(--dm-ink); }
.dm-theme .dm-card .regular-price { color: #999; text-decoration: line-through; font-size: 13px; margin-right: 6px; font-weight: 400; }
.dm-theme .dm-card .price.dm-price--sale { color: var(--dm-sale); }
.dm-unit { color: var(--dm-muted); font-size: 12px; font-weight: 400; margin-left: 2px; }
.dm-theme .dm-card .variant-links { position: static; background: none; text-align: left; padding: 6px 0 0; min-height: 0; }
.dm-theme .dm-card .product-list-reviews { position: static; background: none; text-align: left; padding: 0; width: auto; }

/* labels: small uppercase text with an underline, like "NEW" / "-10 %" */
.dm-theme .product-flags { position: absolute; top: 12px; left: 12px; right: 12px; width: auto; z-index: 2; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.dm-theme .product-flags li.product-flag {
  margin: 0; min-height: 0; min-width: 0; padding: 3px 6px 2px; box-shadow: none;
  background: rgba(255, 255, 255, .94); color: var(--dm-ink);
  border-bottom: 1.5px solid currentColor;
  font-size: 10px; font-weight: 600; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase;
}
.dm-theme .product-flags li.product-flag.discount,
.dm-theme .product-flags li.product-flag.discount-percentage,
.dm-theme .product-flags li.product-flag.discount-amount { position: absolute; right: 0; top: 0; color: var(--dm-sale); }
.dm-theme .product-flags li.product-flag.on-sale { color: var(--dm-sale); width: auto; margin-top: 0; text-align: left; }
.dm-theme .product-flags li.product-flag.out_of_stock { color: var(--dm-muted); }

/* list view (toolbar switch) */
.dm-grid.is-list > .product { flex: 0 0 100%; max-width: 100%; }
.dm-grid.is-list .dm-card { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; }
.dm-grid.is-list .dm-card .thumbnail-container { grid-row: 1; }
.dm-grid.is-list .dm-card .product-title a { font-size: 16px; color: var(--dm-ink); }

/* pagination */
.dm-theme .dm-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--dm-line); font-size: 12px; color: var(--dm-muted); width: 100%; }
.dm-theme .dm-pagination > div { padding: 0; }
.dm-theme .dm-pagination .page-list { margin: 0; padding: 0; background: none; box-shadow: none; display: flex; gap: 6px; }
.dm-theme .dm-pagination .page-list li { display: inline-flex; }
.dm-theme .dm-pagination .page-list a, .dm-theme .dm-pagination .page-list .spacer { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; padding: 2px 4px; font-size: 13px; color: var(--dm-ink); }
.dm-theme .dm-pagination .page-list .current a { font-weight: 600; border-bottom: 1.5px solid var(--dm-ink); color: var(--dm-ink); }
.dm-theme .dm-pagination .page-list a.disabled { color: #ccc; }
.dm-theme .dm-pagination .dm-ic { width: 16px; height: 16px; }

/* ---------- section titles (home, related) ---------- */
.dm-section { padding-top: 60px; }
.dm-theme .dm-section-title,
.dm-theme .featured-products .products-section-title {
  margin: 0 0 34px; text-align: center; font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--dm-ink);
}
.dm-section-more { text-align: center; margin-top: 4px; }
.dm-slider + .dm-section-more { margin-top: 28px; }
.dm-theme .dm-section-more .all-product-link { float: none; margin: 0; font-size: 11px; font-weight: 600; color: var(--dm-ink); }

/* ---------- home: hero slider (ps_imageslider) ---------- */
.dm-theme#index #content.page-home, .dm-theme #index #content.page-home { margin: 0; }
.dm-theme .dm-hero { position: relative; left: auto; width: auto; margin: 0; padding: 0; box-shadow: none; background: var(--dm-soft); }
.dm-theme .dm-hero .carousel-inner { height: auto; margin: 0; }
.dm-theme .dm-hero .carousel-item { height: auto; }
.dm-hero__slide { position: relative; background: var(--dm-soft); }
.dm-hero__pic { display: block; }
/* photo across the whole width; with a text box it fills a fixed height, without text it keeps its own proportions */
.dm-theme .dm-hero .dm-hero__pic img { width: 100%; height: 460px; object-fit: cover; display: block; }
.dm-theme .dm-hero .dm-hero__slide--pic .dm-hero__pic img { height: auto; max-height: 640px; object-fit: contain; }
.dm-hero__box { position: absolute; z-index: 2; top: 50%; left: 8%; transform: translateY(-50%); width: min(460px, 40%); padding: 44px 48px; background: rgba(246, 246, 246, .94); border: 1px solid #ddd; }
.dm-hero__title { margin: 0 0 14px; font-size: 40px; line-height: 1.1; font-weight: 700; text-transform: uppercase; color: var(--dm-ink); }
.dm-hero__text { font-size: 14px; color: var(--dm-text); margin-bottom: 24px; }
.dm-hero__text p:last-child { margin: 0; }
.dm-theme .dm-hero .carousel-indicators { bottom: 14px; }
.dm-theme .dm-hero .carousel-indicators li { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--dm-ink); background: none; margin: 0 4px; }
.dm-theme .dm-hero .carousel-indicators .active { background: var(--dm-ink); }
.dm-theme .dm-hero .direction { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.dm-theme .dm-hero .carousel-control.dm-hero__arrow {
  pointer-events: auto; position: absolute; top: 50%; bottom: auto; width: 36px; height: 36px; margin-top: -18px; opacity: 1;
  display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--dm-ink); color: var(--dm-ink);
}
.dm-theme .dm-hero .carousel-control.left { left: 20px; }
.dm-theme .dm-hero .carousel-control.right { right: 20px; left: auto; }
.dm-theme .dm-hero .carousel-control:hover { background: var(--dm-ink-2); color: #fff; }

/* policy bar (blockreassurance "below header") */
.dm-theme .container-blockreassurance { max-width: none; background: var(--dm-soft); padding: 22px 15px; border-top: 1px solid #ececec; }
.dm-theme .blockreassurance { max-width: var(--dm-container); margin: 0 auto; }
.dm-theme .blockreassurance .row > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; text-align: left; padding: 6px 15px; }
.dm-theme .blockreassurance .block-icon { grid-row: span 2; margin: 0; }
.dm-theme .blockreassurance .block-icon img { width: 28px; height: 28px; }
.dm-theme .blockreassurance .block-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--dm-ink) !important; margin: 0; }
.dm-theme .blockreassurance p { font-size: 12px; margin: 0; color: var(--dm-muted) !important; }

/* home: category banners */
.dm-banners { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 20px; margin-top: 60px; }
.dm-banner { position: relative; display: block; overflow: hidden; background: var(--dm-soft); }
.dm-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dm-banner:hover img { transform: scale(1.04); }
.dm-banner--big { grid-row: span 2; }
.dm-banner--wide { grid-column: span 2; }
.dm-banner__label {
  position: absolute; left: 24px; top: 22px; padding: 4px 10px; background: rgba(255, 255, 255, .94);
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--dm-ink);
}

/* home: new products carousel */
.dm-slider { position: relative; }
.dm-theme .dm-slider .dm-slider__track { display: flex; flex-wrap: nowrap; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; }
.dm-slider__track::-webkit-scrollbar { display: none; }
.dm-theme .dm-slider .dm-slider__item { flex: 0 0 calc((100% - 72px) / 4); max-width: none; padding: 0; margin: 0; scroll-snap-align: start; }
.dm-slider__arrow {
  position: absolute; top: 38%; z-index: 4; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--dm-line);
  background: #fff; color: var(--dm-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.dm-slider__arrow:hover { background: var(--dm-ink-2); color: #fff; }
.dm-slider__arrow--prev { left: -19px; }
.dm-slider__arrow--next { right: -19px; }
.dm-slider__arrow .dm-ic { width: 16px; height: 16px; }

.dm-theme #custom-text { box-shadow: none; background: var(--dm-soft); margin: 60px 0 0; padding: 40px; text-align: center; }

/* ---------- product page ---------- */
.dm-theme .dm-product { margin-bottom: 0; }
/* two columns: photos | buying block, with a clear gap between them */
@media (min-width: 768px) {
  .dm-theme .row.dm-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 20px; margin-left: 0; margin-right: 0; }
  .dm-theme .row.dm-product::before, .dm-theme .row.dm-product::after { content: none; display: none; }
  .dm-theme .row.dm-product > [class*="col-"] { float: none; width: auto; max-width: none; padding: 0; }
}
@media (min-width: 992px) { .dm-theme .row.dm-product { column-gap: 28px; } }
@media (min-width: 1200px) { .dm-theme .row.dm-product { column-gap: 36px; } }
.dm-theme .dm-product .page-content, .dm-theme#product .dm-product #content { position: relative; max-width: none; margin: 0; }
.dm-theme .dm-product .delivery-information { padding: 0; font-weight: 400; display: block; margin-top: 2px; }
.dm-theme .dm-product .delivery-information::before { content: none; }
.dm-theme .dm-product .product-cover { position: relative; margin-bottom: 16px; background: var(--dm-soft); }
.dm-theme .dm-product .product-cover img { box-shadow: none; background: var(--dm-soft); mix-blend-mode: multiply; width: 100%; }
.dm-theme .dm-product .product-cover .layer { background: rgba(255, 255, 255, .5); }
.dm-theme .dm-product .product-cover .layer .zoom-in { color: var(--dm-ink); }
/* thumbnails under the main photo, all visible (they wrap), no scroll arrows */
.dm-theme .dm-product .js-qv-mask, .dm-theme#product #main .images-container .js-qv-mask.scroll { width: 100%; margin: 0; overflow: visible; white-space: normal; }
.dm-theme .dm-product .product-images { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.dm-theme .dm-product .product-images > li.thumb-container { margin: 0; width: calc((100% - 40px) / 5); max-width: 96px; }
.dm-theme .dm-product .product-images > li.thumb-container > .thumb { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.dm-theme .dm-product .scroll-box-arrows { display: none !important; }
@media (max-width: 767px) { .dm-theme .dm-product .images-container { margin-bottom: 24px; } }
.dm-theme .dm-product .product-images > li.thumb-container > .thumb { border: 1px solid transparent; background: var(--dm-soft); margin: 0; }
.dm-theme .dm-product .product-images > li.thumb-container > .thumb.selected,
.dm-theme .dm-product .product-images > li.thumb-container > .thumb:hover { border-color: var(--dm-ink); }
.dm-theme .dm-product .product-flags { top: 16px; left: auto; right: 16px; align-items: flex-end; }
.dm-theme .dm-product .product-flags li.product-flag.new {
  width: 50px; height: 50px; border-radius: 50%; padding: 0; border: 0; display: flex; align-items: center; justify-content: center;
  background: var(--dm-blue); color: #fff; font-size: 10px;
}
.dm-theme .dm-product .product-flags li.product-flag.discount,
.dm-theme .dm-product .product-flags li.product-flag.discount-percentage,
.dm-theme .dm-product .product-flags li.product-flag.discount-amount { position: static; }

.dm-theme .dm-product h1.h1 { margin: 0 0 12px; font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.35; }
.dm-theme .dm-product .product-prices { margin: 10px 0 0; }
.dm-theme .dm-product .product-prices .product-price { margin: 0; }
.dm-theme .dm-price__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.dm-theme .dm-price__unit { font-size: 13px; font-weight: 400; font-style: normal; color: var(--dm-muted); }
.dm-theme .dm-price__tax { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme .dm-product .has-discount .dm-price__main .discount { margin: 0; padding: 0; }
.dm-theme .dm-price__sub, .dm-theme .dm-product .product-unit-price { margin: 4px 0 0; font-size: 13px; color: var(--dm-muted); }
.dm-theme .dm-product .tax-shipping-delivery-label:not(:has(*)) { display: none; }
.dm-theme .dm-product .product-price { color: var(--dm-ink); }
.dm-theme .dm-product .current-price-value { font-size: 28px; font-weight: 700; color: var(--dm-ink); }
.dm-theme .dm-product .has-discount .current-price-value { color: var(--dm-sale); }
.dm-theme .dm-product .has-discount .discount { background: none; color: var(--dm-sale); font-weight: 600; font-size: 12px; padding: 0 0 0 8px; text-transform: uppercase; }
.dm-theme .dm-product .product-discount .regular-price { color: #999; font-size: 15px; }
.dm-theme .dm-product .tax-shipping-delivery-label { font-size: 12px; color: var(--dm-muted); }
.dm-theme .dm-product .product-information { font-size: 14px; color: var(--dm-text); }
.dm-theme .dm-product .product-description.dm-product__short { margin-top: 16px; padding: 0; border: 0; }
.dm-theme .dm-product__short > :last-child { margin-bottom: 0; }
.dm-theme .dm-product__short:not(:has(:not(p:empty))) { display: none; }
/* volume discounts as price tiers under the price */
.dm-theme .dm-product .product-discounts, .dm-theme .quickview .product-discounts { margin: 20px 0 0; }
.dm-theme .product-discounts:not(:has(.dm-tier)) { display: none; }
.dm-theme .dm-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--dm-line); border: 1px solid var(--dm-line); }
.dm-theme .dm-tier { display: block; padding: 10px 14px; background: #fff; }
.dm-theme .dm-tier__qty { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dm-theme .dm-tier__price { display: block; font-size: 16px; font-weight: 600; color: var(--dm-ink); }
.dm-theme .dm-tier__badge { display: inline-block; margin-left: 6px; padding: 1px 7px; background: var(--dm-blue); color: #fff; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.dm-theme .dm-tier__note { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--dm-muted); }
.dm-theme .dm-product .product-actions { margin-top: 22px; }
.dm-theme .dm-product .control-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--dm-ink); margin-bottom: 8px; }
.dm-theme .dm-product .product-variants > .product-variants-item { margin: 14px 0; }
.dm-theme .dm-product .product-variants .input-radio + span.radio-label,
.dm-theme .product-variants .radio-label {
  border: 1px solid #ddd; padding: 7px 12px; font-size: 12px; box-shadow: none; background: #fff; color: var(--dm-ink); min-width: 44px; text-align: center; font-weight: 500;
}
.dm-theme .product-variants .input-radio:checked + span, .dm-theme .product-variants .input-radio:hover + span { border-color: var(--dm-ink); }
.dm-theme .product-variants .input-color + span.color, .dm-theme .variant-links .color { width: 28px; height: 28px; border-radius: 50%; box-shadow: none; border: 1px solid #ddd; }
.dm-theme .product-variants .input-color:checked + span, .dm-theme .product-variants .input-color:hover + span { border: 2px solid var(--dm-ink); box-shadow: inset 0 0 0 2px #fff; }
.dm-theme .product-variants .form-control-select { border-radius: 0; background-color: #fff; border: 1px solid #ddd; }
.dm-theme .dm-product .product-quantity { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.dm-theme .dm-product .product-quantity .qty, .dm-theme .dm-product .product-quantity .add { margin: 0; float: none; }
.dm-theme .dm-product .bootstrap-touchspin { box-shadow: none; border: 1px solid #ddd; }
.dm-theme .dm-product .bootstrap-touchspin input.form-control { border: 0; height: 48px; font-size: 15px; }
.dm-theme .dm-product .bootstrap-touchspin .btn-touchspin { border: 0; border-left: 1px solid #ddd; background: #fff; height: 24px; }
.dm-theme .dm-product .add-to-cart { height: 50px; padding: 0 34px; font-size: 12px; letter-spacing: .1em; }
.dm-theme .dm-product .add-to-cart .material-icons { display: none; }
.dm-theme .dm-product #product-availability { display: block; margin-top: 14px; font-size: 13px; }
.dm-theme .dm-product .dm-availability__text { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.dm-theme .dm-product #product-availability .delivery-information { display: inline-block; margin: 0 0 0 14px; color: var(--dm-text); }
.dm-theme .dm-product #product-availability > .delivery-information:first-child { margin-left: 0; }
.dm-theme .dm-product .product-minimal-quantity { margin: 6px 0 0; font-size: 12px; color: var(--dm-muted); }
.dm-theme .dm-product #product-availability .product-available { color: var(--dm-ok); }
.dm-theme .dm-product #product-availability .material-icons { font-size: 16px; vertical-align: -3px; }
/* share buttons (and other modules of this hook) at the end of the right column, under a thin line */
.dm-theme .dm-product .product-additional-info { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--dm-line); }
.dm-theme .dm-product .product-additional-info .social-sharing { margin-top: 0; }
.dm-theme .dm-product .product-additional-info:not(:has(> :not(script, style))) { display: none; }
.dm-theme .social-sharing { display: flex; align-items: center; gap: 12px; }
.dm-theme .social-sharing > span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--dm-ink); }
.dm-theme .social-sharing ul { display: flex; gap: 8px; margin: 0; padding: 0; }
/* share buttons as blue circles with white icons, like the social links in the footer */
.dm-theme .social-sharing li, .dm-theme .social-sharing li.icon-gray:hover {
  display: block; width: 36px; height: 36px; margin: 0; box-shadow: none; border-radius: 50%;
  background-color: var(--dm-blue); background-position: center; background-repeat: no-repeat; background-size: 18px; transition: background-color .2s;
}
.dm-theme .social-sharing li:hover, .dm-theme .social-sharing li.icon-gray:hover { background-color: var(--dm-ink-2); }
.dm-theme .social-sharing li.facebook, .dm-theme .social-sharing li.facebook.icon-gray:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M13.4 21v-7.6h2.6l.4-3h-3V8.5c0-.9.3-1.5 1.5-1.5h1.6V4.3c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H7.7v3h2.6V21z'/%3E%3C/svg%3E"); }
.dm-theme .social-sharing li.twitter, .dm-theme .social-sharing li.twitter.icon-gray:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E"); }
.dm-theme .social-sharing li.pinterest, .dm-theme .social-sharing li.pinterest.icon-gray:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 20V5h4.5a4 4 0 0 1 0 8H9'/%3E%3C/svg%3E"); }
.dm-theme .social-sharing li::before { display: none; }

/* quick view: cart icon and stock tick centred on their text */
.dm-theme .quickview .add-to-cart { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 26px; line-height: 1; }
.dm-theme .quickview .add-to-cart .material-icons { margin: 0; font-size: 20px; line-height: 1; }

.dm-theme .blockreassurance_product { margin-top: 22px; border: 1px solid var(--dm-line); }
.dm-theme .blockreassurance_product > div:not(.clearfix) { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--dm-line); }
.dm-theme .blockreassurance_product > div:nth-last-child(2) { border-bottom: 0; }
.dm-theme .blockreassurance_product .item-product { width: 26px; height: 26px; margin: 0; }
.dm-theme .blockreassurance_product .block-title { font-size: 13px; color: var(--dm-ink) !important; margin: 0; font-weight: 500; }
.dm-theme .blockreassurance_product p { font-size: 12px; margin: 0; }

/* description and details: in full width under the photos and the buying
   block, side by side, no tabs */
.dm-product-info { display: grid; gap: 28px; margin: 48px 0 0; padding-top: 36px; border-top: 1px solid var(--dm-line); }
.dm-product-info:not(:has(> *)) { display: none; }
.dm-product-info__part { min-width: 0; }
@media (min-width: 768px) {
  /* description | product details side by side; other parts (downloads, module tabs) in full width */
  .dm-product-info:has(> #description):has(.dm-specs tbody tr) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 48px; }
  .dm-product-info > :not(#description, #product-details) { grid-column: 1 / -1; }
}
@media (min-width: 1200px) { .dm-product-info:has(> #description):has(.dm-specs tbody tr) { column-gap: 72px; } }
.dm-theme .dm-product-info__title { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme .dm-product-info .product-description { border: 0; padding: 0; font-size: 14px; color: var(--dm-text); line-height: 1.8; }
.dm-theme .dm-product-info .product-description > :first-child { margin-top: 0; }
.dm-theme .dm-product-info .product-description > :last-child { margin-bottom: 0; }
.dm-theme .js-product-details:not(:has(.dm-specs tbody tr)) > .dm-product-info__title { display: none; }
.dm-theme .dm-specs-wrap.is-collapsed { max-height: 300px; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.dm-theme .dm-specs-more { margin-top: 10px; }
.dm-theme .dm-specs-more[hidden] { display: none; }

/* tables: "Product details" list and tables inside descriptions, same look as the account tables */
.dm-theme .dm-specs { width: 100%; margin: 0; border: 1px solid var(--dm-line); border-collapse: collapse; background: #fff; font-size: 13px; line-height: 1.5; }
.dm-theme .dm-specs th, .dm-theme .dm-specs td { padding: 12px 20px; border: 0; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.dm-theme .dm-specs tbody tr + tr { border-top: 1px solid var(--dm-line); }
.dm-theme .dm-specs tbody th { width: 1%; white-space: nowrap; font-weight: 500; color: var(--dm-ink); }
.dm-theme .dm-specs tbody td { color: var(--dm-text); }
.dm-theme .dm-specs td a { color: var(--dm-blue); }
.dm-theme .dm-specs .manufacturer-logo { max-height: 40px; width: auto; }
.dm-theme .dm-specs__title { margin: 22px 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dm-theme .dm-specs:not(:has(tbody tr)) { display: none; }
@media (max-width: 575px) {
  .dm-theme .dm-specs th, .dm-theme .dm-specs td { padding: 11px 14px; }
  .dm-theme .dm-specs tbody th { width: 35%; white-space: normal; }
}
.dm-theme .product-description table { width: 100% !important; max-width: 100%; height: auto !important; margin: 0 0 16px; border: 1px solid var(--dm-line); border-collapse: collapse; background: #fff; font-size: 13px; line-height: 1.5; }
.dm-theme .product-description table th, .dm-theme .product-description table td { padding: 10px 14px; border: 1px solid var(--dm-line); color: var(--dm-text); vertical-align: top; width: auto !important; height: auto !important; overflow-wrap: anywhere; }
.dm-theme .product-description table th, .dm-theme .product-description table thead td { background: var(--dm-soft); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); text-align: left; }
.dm-theme .product-description table p { margin: 0; }

.dm-theme .product-accessories, .dm-theme .featured-products { margin-bottom: 0; }

/* product reviews (productcomments): one row "Comments (0) ★★★★★ ... [Write your review]"
   under a thin line, the list of reviews below */
.dm-theme .dm-product-reviews { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--dm-line); }
.dm-theme .dm-product-reviews > .row { display: contents; }
.dm-theme .dm-product-reviews > *, .dm-theme .dm-product-reviews > .row > * { grid-column: 1 / -1; min-width: 0; }
.dm-theme .dm-product-reviews > .row > [class*="col-"] { float: none; width: auto; max-width: none; padding: 0; }
.dm-theme .dm-product-reviews #product-comments-list-header { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 0; }
.dm-theme .dm-product-reviews #product-comments-list-header .comments-nb { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme .dm-product-reviews #product-comments-list-header .comments-nb .material-icons { display: none; }
.dm-theme .dm-product-reviews #empty-product-comment { grid-column: 2; grid-row: 1; margin: 0; padding: 0; border: 0; background: none; font-size: 13px; color: var(--dm-muted); }
.dm-theme .dm-product-reviews #product-comments-list:empty, .dm-theme .dm-product-reviews #product-comments-list-pagination:empty { display: none; }
.dm-theme .dm-product-reviews #product-comments-list-footer { padding: 0; }
.dm-theme .dm-product-reviews #product-comments-list-footer:not(:has(button, li)) { display: none; }
.dm-theme .dm-product-reviews .btn-comment, .dm-theme .dm-product-reviews .btn-comment-big { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border: 1px solid var(--dm-ink-2); border-radius: 0; background: #fff; color: var(--dm-ink-2); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; box-shadow: none; white-space: normal; text-align: center; line-height: 1.3; }
.dm-theme .dm-product-reviews .btn-comment:hover, .dm-theme .dm-product-reviews .btn-comment:focus { background: var(--dm-ink-2); color: #fff; }
.dm-theme .dm-product-reviews .btn-comment .material-icons { display: none; }
.dm-theme .dm-product-reviews .product-comment-list-item:not(#empty-product-comment) { padding: 18px 0; border-top: 1px solid var(--dm-line); }
@media (max-width: 575px) {
  .dm-theme .dm-product-reviews { grid-template-columns: minmax(0, 1fr); }
  .dm-theme .dm-product-reviews #empty-product-comment { grid-column: 1; grid-row: auto; }
}

/* quick view modal */
.dm-theme .quickview .modal-content { border-radius: 0; border: 0; background: #fff; min-height: 0; }
.dm-theme .quickview .modal-footer { border-top-color: var(--dm-line); }
/* quick view laid out like the product page (templates/catalog/_partials/quickview.tpl) */
.dm-theme .quickview .modal-dialog { max-width: 960px; }
.dm-theme .quickview .modal-header { padding: 8px 10px 0; }
.dm-theme .quickview .modal-body { min-height: 0; padding: 0 32px 32px; }
.dm-theme .quickview .dm-quickview .images-container { display: block; min-height: 0; }
.dm-theme .quickview .dm-quickview .mask, .dm-theme .quickview .dm-quickview .js-qv-mask.scroll { width: 100%; max-height: none; margin: 0; overflow: visible; white-space: normal; }
.dm-theme .quickview .dm-quickview .product-images > li.thumb-container { width: calc((100% - 30px) / 4); max-width: 80px; }
.dm-theme .quickview .dm-quickview .images-container .product-images > li.thumb-container > .thumb { max-width: none; margin: 0; }
.dm-theme .quickview .dm-quickview .arrows, .dm-theme .quickview .dm-quickview .scroll-box-arrows { display: none !important; }
.dm-theme .quickview .dm-quickview h1.h1 { font-size: 20px; }
.dm-theme .quickview .dm-quickview .current-price-value { font-size: 24px; }
.dm-theme .quickview .dm-quickview .product-description.dm-product__short { font-size: 14px; }
.dm-theme .quickview .dm-quickview .product-additional-info .social-sharing { margin: 0; }
@media (max-width: 575px) { .dm-theme .quickview .modal-body { padding: 0 16px 20px; } }

/* ---------- footer ---------- */
.dm-theme #footer { padding-top: 0; background: #fff; border-top: 1px solid var(--dm-line); margin-top: 60px; }
.dm-footer-before { background: var(--dm-soft); padding: 22px 0; }
.dm-theme .dm-footer-before .row { display: flex; flex-wrap: wrap; align-items: center; row-gap: 16px; }
.dm-footer-before .container > .row:empty { display: none; }
.dm-theme .dm-footer { background: #fff; padding-top: 50px; }
.dm-theme .dm-footer__cols { display: flex; flex-wrap: wrap; gap: 30px; margin: 0; }
.dm-theme .dm-footer__cols::before, .dm-theme .dm-footer__cols::after { display: none; }
.dm-theme .dm-footer__cols > [class*="col-"] { flex: 1 1 150px; width: auto; max-width: none; float: none; padding: 0; }
.dm-theme .dm-footer__cols > .dm-footer__about { flex: 1.5 1 220px; }
.dm-theme .dm-footer .myaccount-title a { font-size: inherit; }
.dm-footer__about p { font-size: 13px; color: var(--dm-muted); margin-top: 14px; line-height: 1.7; }
.dm-footer__logo img { max-height: 34px; width: auto; height: auto; }
.dm-theme .dm-footer .links .h3, .dm-theme .dm-footer .links .h4, .dm-theme .dm-footer .block-contact-title,
.dm-theme .dm-footer .myaccount-title, .dm-theme .dm-footer h4, .dm-theme .dm-footer p.h4 {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--dm-ink); margin-bottom: 16px;
}
.dm-theme .dm-footer .myaccount-title a { color: var(--dm-ink); }
.dm-theme .dm-footer li { margin-bottom: 6px; }
.dm-theme .dm-footer li a, .dm-theme .dm-footer .block-contact { font-size: 13px; color: var(--dm-muted); }
.dm-theme .dm-footer li a:hover { color: var(--dm-blue); }
.dm-footer__bottom { margin-top: 30px; border-top: 1px solid var(--dm-line); padding: 18px 0; font-size: 12px; color: var(--dm-muted); }
/* newsletter + social links: one low row */
.dm-theme .dm-footer-before .row { flex-wrap: nowrap; column-gap: 40px; }
.dm-theme .dm-footer-before .row::before, .dm-theme .dm-footer-before .row::after { display: none; }
.dm-theme .dm-news { display: flex; align-items: center; gap: 72px; flex: 1 1 auto; min-width: 0; width: auto; max-width: none; background: none; padding: 0 15px; margin: 0; float: none; }
.dm-news__text { display: flex; align-items: center; gap: 14px; flex: none; }
.dm-theme .dm-news__icon { width: 46px; height: 46px; flex: none; color: var(--dm-blue); stroke-width: 1.1; }
.dm-theme .dm-news #block-newsletter-label { margin: 0; font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--dm-ink); line-height: 1.3; }
.dm-theme #footer .dm-news .dm-news__note { margin: 2px 0 0; padding: 0; font-size: 12px; line-height: 1.4; color: var(--dm-muted); }
.dm-news__form { flex: 1 1 auto; min-width: 0; margin: 0; }
.dm-news__row { display: flex; align-items: center; gap: 12px 18px; }
.dm-news__field { display: flex; flex: 0 1 440px; min-width: 240px; }
.dm-theme .dm-news__field input[type="email"] { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #e2e2e2; border-right: 0; background: #fff; font-size: 13px; outline: none; }
.dm-theme .dm-news__field input[type="email"]:focus { border-color: var(--dm-blue); }
.dm-theme .dm-news__field .btn { flex: none; height: 46px; padding: 0 26px; background: var(--dm-blue); border-color: var(--dm-blue); }
.dm-theme .dm-news__field .btn:hover { background: var(--dm-blue-dark); border-color: var(--dm-blue-dark); }
.dm-theme .dm-news__form .alert { margin: 10px 0 0; padding: 8px 12px; font-size: 13px; }
.dm-theme .dm-news__form p:not(.alert) { font-size: 12px; color: var(--dm-muted); margin: 8px 0 0; }
/* GDPR consent (psgdpr) right after the button */
.dm-news__consent { flex: 0 1 280px; min-width: 0; }
.dm-news__consent:empty { display: none; }
.dm-theme .dm-news__consent .custom-checkbox { display: block; }
.dm-theme .dm-news__consent label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; line-height: 1.45; color: var(--dm-text); cursor: pointer; }
.dm-theme .dm-news__consent .custom-checkbox input[type="checkbox"] + span { flex: none; width: 18px; height: 18px; margin: 0; background: #fff; border: 1px solid #b9b9b9; }
.dm-theme .dm-news__consent .custom-checkbox input[type="checkbox"]:checked + span { border-color: var(--dm-blue); }
.dm-theme .dm-news__consent .custom-checkbox input[type="checkbox"] + span .checkbox-checked { margin: 0; font-size: 16px; color: var(--dm-blue); }
.dm-theme .dm-news__consent .custom-checkbox input[type="checkbox"]:focus-visible + span { outline: 2px solid var(--dm-blue); outline-offset: 2px; }
.dm-theme .dm-news__consent a { color: var(--dm-blue); text-decoration: underline; }
.dm-theme .dm-news__field .btn:disabled { opacity: .55; cursor: not-allowed; }
.dm-theme .dm-footer-before .block-social { flex: none; width: auto; float: none; margin-left: auto; padding: 0 15px; }
.dm-theme .block-social ul { margin: 0; padding: 0; display: flex; gap: 10px; }
/* Classic's icons are white pictures: blue circles keep them visible on the grey panel */
.dm-theme .block-social ul li { display: block; width: 38px; height: 38px; margin: 0; padding: 0; background-color: var(--dm-blue); background-position: center; background-repeat: no-repeat; background-size: 20px; border-radius: 50%; transition: background-color .2s; }
.dm-theme .block-social ul li::before { display: none; }
.dm-theme .block-social ul li a { display: block; width: 100%; height: 100%; }
.dm-theme .block-social ul li:hover { background-color: var(--dm-ink-2); }

/* ---------- fly cart (after add to cart) ---------- */
.dm-fly {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1060; background: #fff;
  border-top: 1px solid var(--dm-line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);
  transform: translateY(110%); transition: transform .35s ease;
}
.dm-fly.is-open { transform: none; }
.dm-fly__row { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; position: relative; }
.dm-fly__product { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.dm-fly__product img { width: 60px; height: 60px; object-fit: cover; background: var(--dm-soft); }
.dm-fly__product p { margin: 0; }
.dm-fly__ok { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--dm-ok); }
.dm-fly__name { font-size: 14px; color: var(--dm-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-fly__meta { font-size: 12px; color: var(--dm-muted); }
.dm-fly__total { display: flex; flex-direction: column; font-size: 12px; color: var(--dm-muted); }
.dm-fly__total strong { font-size: 18px; color: var(--dm-ink); font-weight: 600; }
.dm-fly__actions { display: flex; align-items: center; gap: 20px; }
.dm-fly__close { position: absolute; right: 4px; top: 6px; border: 0; background: none; color: #999; cursor: pointer; padding: 4px; }
.dm-fly__close .dm-ic { width: 16px; height: 16px; }

.dm-fly-btn {
  position: fixed; left: 24px; bottom: 24px; z-index: 1040; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; color: var(--dm-ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  display: inline-flex; align-items: center; justify-content: center;
}
.dm-theme .dm-fly-btn:hover { background: var(--dm-ink-2); color: #fff; }
.dm-fly-btn .dm-count { top: 2px; right: 0; }
body.dm-fly-open .dm-fly-btn { opacity: 0; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .dm-theme .dm-header .top-menu a[data-depth="0"] { padding: 30px 7px; font-size: 11px; letter-spacing: .02em; }
  .dm-theme .dm-chev { display: none; }
  .dm-header__tools { gap: 12px; }
  .dm-theme .dm-slider .dm-slider__item { flex-basis: calc((100% - 48px) / 3); }
}
@media (max-width: 991px) {
  .dm-theme .dm-header #_desktop_top_menu > .top-menu { flex-wrap: wrap; padding: 8px 0; }
  .dm-theme .dm-header .top-menu a[data-depth="0"] { padding: 8px 7px; }
  .dm-theme .dm-hero .dm-hero__slide:not(.dm-hero__slide--pic) .dm-hero__pic img { height: 300px; }
  .dm-hero__box { position: relative; top: auto; left: auto; transform: none; width: auto; margin: -70px 20px 40px; }
  .dm-hero__title { font-size: 30px; }
}
@media (max-width: 767px) {
  .dm-burger { display: inline-flex; order: 1; }
  .dm-logo { order: 2; flex: 1; text-align: center; }
  .dm-logo img, .dm-logo .logo { max-height: 30px; }
  .dm-header__top { order: 3; flex: none; }
  .dm-header__tools { order: 4; gap: 10px; }
  .dm-header__row { min-height: 62px; gap: 8px; }
  .dm-theme .dm-header__tools .dm-selector { display: none; }
  .dm-theme .dm-search__form { position: fixed; left: 10px; right: 10px; top: 70px; width: auto; }
  .dm-quick-login { position: fixed; left: 10px; right: 10px; top: 70px; width: auto; }
  .dm-band { padding: 18px 0; }
  /* phones: one scrollable row instead of wrapping */
  .dm-band__subcats { flex-wrap: nowrap; overflow-x: auto; margin-right: -15px; padding-right: 15px; scrollbar-width: none; }
  .dm-band__subcats::-webkit-scrollbar { display: none; }
  .dm-band__subcats a { padding: 7px 12px; font-size: 11px; }
  .dm-band__title { font-size: 18px; }
  .dm-toolbar__filter { display: block; }
  .dm-toolbar__view { display: none; }
  .dm-theme .dm-toolbar .products-sort-order .select-title { min-width: 130px; }
  .dm-theme .dm-toolbar .sort-by { display: none; }
  .dm-theme .dm-grid { margin-left: -6px; margin-right: -6px; }
  .dm-theme .dm-grid > .product { padding-left: 6px; padding-right: 6px; margin-bottom: 24px; }
  .dm-theme .dm-card .dm-card__actions { opacity: 1; transform: none; bottom: 8px; gap: 5px; }
  .dm-round { width: 32px; height: 32px; }
  .dm-round .dm-ic { width: 14px; height: 14px; }
  .dm-round[data-dm-tip]::before { display: none; }
  .dm-theme .product-flags li.product-flag.discount,
  .dm-theme .product-flags li.product-flag.discount-percentage,
  .dm-theme .product-flags li.product-flag.discount-amount { position: static; }
  .dm-banners { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; gap: 12px; margin-top: 40px; }
  .dm-banner--big { grid-row: auto; grid-column: span 2; }
  .dm-banner--wide { grid-column: span 2; }
  .dm-theme .dm-slider .dm-slider__item { flex-basis: calc((100% - 12px) / 2); }
  .dm-theme .dm-slider .dm-slider__track { gap: 12px; }
  .dm-slider__arrow { display: none; }
  .dm-section { padding-top: 40px; }
  .dm-theme .dm-section-title, .dm-theme .featured-products .products-section-title { font-size: 17px; margin-bottom: 22px; }
  .dm-theme .dm-pagination { flex-direction: column; }
  .dm-fly__row { flex-wrap: wrap; gap: 12px; padding-right: 30px; }
  .dm-fly__total { flex-direction: row; gap: 8px; align-items: baseline; }
  .dm-fly__actions { width: 100%; justify-content: space-between; }
  /* the header already has the cart icon; a floating button would cover text on a small screen */
  .dm-theme .dm-fly-btn { display: none; }
  .dm-fly__product { flex: 1 1 100%; }
  .dm-fly__product > div { min-width: 0; }
  .dm-fly__name { white-space: normal; }
  .dm-theme #mobile_top_menu_wrapper .top-menu a[data-depth="1"],
  .dm-theme #mobile_top_menu_wrapper .top-menu a[data-depth="2"] {
    padding: 9px 0; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--dm-text);
  }
  /* expand +/- sits at the right end of the row */
  .dm-theme #mobile_top_menu_wrapper .top-menu a[data-depth="0"] > .float-xs-right { order: 2; margin-left: auto; }
  .dm-theme .dm-mobile-menu .top-menu .sub-menu { padding: 4px 0 8px 14px; border-bottom: 1px solid var(--dm-line); }
  .dm-theme .dm-hero .direction { display: none; }
  .dm-theme .blockreassurance .row > div { flex: 0 0 50%; max-width: 50%; width: 50%; float: left; padding: 6px 8px; grid-template-columns: 28px 1fr; column-gap: 8px; }
  .dm-theme .blockreassurance .block-icon img { width: 22px; height: 22px; }
  .dm-theme #left-column .block-categories { display: none; }
  .dm-theme .dm-footer__cols { gap: 0; }
  .dm-theme .dm-footer__cols > [class*="col-"], .dm-theme .dm-footer__cols > .dm-footer__about { flex: 1 1 100%; }
  .dm-theme .dm-footer__about { margin-bottom: 16px; }
  .dm-grid.is-list .dm-card { grid-template-columns: 1fr; }
}

/* newsletter row on smaller screens: title on its own line */
@media (max-width: 1199px) {
  .dm-theme .dm-footer-before .row { flex-wrap: wrap; }
  .dm-theme .dm-news { flex-wrap: wrap; gap: 22px 30px; flex-basis: 100%; }
  .dm-news__text { flex: 1 1 100%; }
  .dm-news__form { flex: 1 1 100%; }
  .dm-theme .dm-footer-before .block-social { flex-basis: 100%; }
  .dm-theme .block-social ul { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .dm-footer-before { padding: 20px 0; }
  .dm-theme .dm-news #block-newsletter-label { font-size: 14px; letter-spacing: .02em; }
  .dm-news__row { flex-wrap: wrap; }
  .dm-news__field, .dm-news__consent { flex: 1 1 100%; min-width: 0; }
  .dm-theme .dm-news__field .btn { padding: 0 16px; font-size: 12px; }
  .dm-theme .block-social ul li { width: 34px; height: 34px; }
  .dm-hero__box { padding: 26px 24px; margin-bottom: 48px; }
  .dm-hero__title { font-size: 26px; }
}


/* ---------- forms: sign in, registration, account, addresses, checkout ---------- */
.dm-theme .dm-field { margin-bottom: 18px; }
.dm-theme .dm-field__label {
  display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; padding: 0; text-align: left;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--dm-ink);
}
.dm-theme .dm-field__optional { font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--dm-muted); }
.dm-theme .dm-field .form-control-comment { display: block; margin-top: 6px; padding: 0; font-size: 12px; font-style: normal; color: var(--dm-muted); }
.dm-theme .dm-field .help-block, .dm-theme .dm-field .alert-danger { margin: 6px 0 0; font-size: 12px; }
/* password with the Show button attached */
.dm-theme .dm-field .input-group { display: flex; width: 100%; }
.dm-theme .dm-field .input-group .form-control { flex: 1 1 auto; min-width: 0; border-right: 0; }
.dm-theme .dm-field .input-group-btn { display: flex; width: auto; }
.dm-theme .dm-field .input-group-btn .btn {
  height: 46px; padding: 0 16px; margin: 0; background: var(--dm-field); border: 1px solid var(--dm-field-line); border-left: 0;
  color: var(--dm-blue); font-size: 11px; box-shadow: none;
}
.dm-theme .dm-field .input-group .form-control:focus + .input-group-btn .btn { border-color: var(--dm-blue); }
/* radio buttons (title) */
.dm-theme .dm-field .radio-inline { display: inline-flex; align-items: center; gap: 8px; margin: 0 24px 0 0; font-size: 14px; color: var(--dm-ink); cursor: pointer; }
.dm-theme .custom-radio { width: 20px; height: 20px; margin: 0; border: 1px solid #aebfc9; background: #fff; }
.dm-theme .custom-radio input[type="radio"]:checked + span { top: 4px; left: 4px; width: 10px; height: 10px; background-color: var(--dm-blue); }
.dm-theme .custom-radio input[type="radio"]:focus + span { border-color: var(--dm-blue); }
/* checkboxes (consents, newsletter) */
.dm-theme .dm-field--checkbox { margin-bottom: 12px; }
.dm-theme .dm-field--checkbox .custom-checkbox { display: block; }
.dm-theme .dm-field--checkbox .custom-checkbox label { position: relative; display: block; min-height: 20px; margin: 0; padding: 0 0 0 30px; font-size: 13px; line-height: 1.5; color: var(--dm-ink); text-align: left; cursor: pointer; }
.dm-theme .dm-field--checkbox .custom-checkbox input[type="checkbox"] + span { position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: 0; background: #fff; border: 1px solid #aebfc9; }
.dm-theme .dm-field--checkbox .custom-checkbox input[type="checkbox"]:checked + span { border-color: var(--dm-blue); }
.dm-theme .dm-field--checkbox .custom-checkbox input[type="checkbox"] + span .checkbox-checked { margin: 0; font-size: 18px; color: var(--dm-blue); }
.dm-theme .dm-field--checkbox .custom-checkbox input[type="checkbox"]:focus-visible + span { outline: 2px solid var(--dm-blue); outline-offset: 2px; }
/* Classic: #authentication .custom-checkbox label { padding-left: .625rem } (login and registration pages) */
.dm-theme #wrapper .dm-field--checkbox .custom-checkbox label { padding-left: 30px; }
.dm-theme .dm-field--checkbox .custom-checkbox label em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--dm-muted); }
/* antispam module rows use Bootstrap columns: full width here */
.dm-theme .awm-as .form-group.row { margin: 0 0 12px; }
.dm-theme .awm-as .form-group.row > [class*="col-"] { width: 100%; max-width: none; flex: none; margin-left: 0; padding: 0; float: none; }

/* customer form: two fields per row (name, surname / e-mail, password) */
.dm-theme .js-customer-form > div:first-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.dm-theme .js-customer-form > div:first-child > * { grid-column: 1 / -1; }
.dm-theme .js-customer-form > div:first-child > .dm-field--firstname,
.dm-theme .js-customer-form > div:first-child > .dm-field--lastname,
.dm-theme .js-customer-form > div:first-child > .dm-field--email,
.dm-theme .js-customer-form > div:first-child > .dm-field--password,
.dm-theme .js-customer-form > div:first-child > .dm-field--new_password { grid-column: auto; }
.dm-theme .form-footer { margin-top: 10px; padding: 0; text-align: left; }
.dm-theme .form-footer .btn-primary, .dm-theme .form-footer .btn.float-xs-right { float: none !important; min-width: 220px; height: 50px; }

/* sign in and registration pages */
.dm-auth { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; max-width: 1100px; margin: 0 auto; }
.dm-theme .dm-auth__main { margin: 0; padding: 36px 40px; border: 1px solid var(--dm-line); background: #fff; }
.dm-theme #wrapper .dm-auth__side { margin: 0; padding: 32px; background: var(--dm-soft); text-align: left; }
.dm-theme .dm-auth .dm-auth__side-title { margin: 0 0 10px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--dm-ink); }
.dm-auth__main > .dm-auth__side-title { margin-bottom: 22px; }
.dm-auth__side-text { margin: 0 0 20px; font-size: 13px; color: var(--dm-text); }
.dm-auth__perks { margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--dm-text); }
.dm-auth__perks li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.dm-auth__perks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--dm-blue); border-bottom: 2px solid var(--dm-blue); transform: rotate(-45deg); }
.dm-theme #wrapper .dm-auth .forgot-password { margin: -4px 0 18px; padding: 0; text-align: left; font-size: 13px; }
.dm-theme .dm-auth .forgot-password a { color: var(--dm-blue); }
.dm-theme .dm-auth .login-form .form-footer .btn-primary { width: 100%; }
.dm-auth .dm-btn-outline { width: 100%; }
/* Classic caps the sign-in page (registration shares its body class in 1.7.8) at 640px */
body.page-authentication #content, body.page-registration #content, body.page-contact #content, body.page-password #content, body#module-cashondeliveryplus-validation #content { max-width: none; padding: 0; border: 0; background: none; }

/* forgotten password pages */
.dm-auth--single { grid-template-columns: minmax(0, 1fr); max-width: 600px; }
.dm-auth__intro { margin: 0 0 22px; font-size: 13px; line-height: 1.6; color: var(--dm-text); }
.dm-theme .dm-auth .dm-auth__alert { margin: 0 0 22px; font-size: 13px; }
.dm-theme .dm-auth .dm-auth__alert ul { margin: 0; padding: 0; list-style: none; }
.dm-theme .dm-password .form-footer .btn-primary, .dm-theme .dm-auth .dm-auth__wide-btn { width: 100%; }
.dm-theme .dm-auth .dm-auth__wide-btn { display: flex; align-items: center; justify-content: center; height: 50px; }
.dm-auth__back { margin: 18px 0 0; font-size: 13px; }
.dm-theme .dm-auth__back a { color: var(--dm-blue); }

/* Bootstrap sets select.form-control:not([size]):not([multiple]) to 38px */
.dm-theme .dm-field select.form-control:not([size]):not([multiple]) { height: 46px; }

/* contact page: message form in the card, store details in the side panel */
/* the side column is emptied in contact.tpl, so the content takes the full width whatever the page layout */
body.page-contact #content-wrapper { float: none; width: 100%; max-width: 100%; flex: 0 0 100%; }
.dm-theme .dm-contact .contact-form { padding: 0; color: var(--dm-text); background: none; }
.dm-contact .form-fields > .dm-auth__side-title { margin-bottom: 22px; }
.dm-contact__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.dm-contact__wide { grid-column: 1 / -1; }
.dm-theme .dm-contact textarea.form-control { min-height: 160px; resize: vertical; }
.dm-theme .dm-contact .alert { margin: 0 0 20px; }
.dm-theme .dm-contact .alert ul { margin: 0; padding: 0; list-style: none; }
.dm-contact__consent { margin-top: 2px; }
.dm-theme .dm-contact .form-footer .btn-primary { min-width: 220px; }
.dm-theme .dm-contact .bootstrap-filestyle { display: flex; width: 100%; }
.dm-theme .dm-contact .bootstrap-filestyle .form-control { flex: 1 1 auto; min-width: 0; border-right: 0; background: var(--dm-field); }
.dm-theme .dm-contact .bootstrap-filestyle .group-span-filestyle { display: flex; width: auto; }
.dm-theme .dm-contact .bootstrap-filestyle .btn { display: inline-flex; align-items: center; height: 46px; margin: 0; padding: 0 16px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dm-blue); background: var(--dm-field); border: 1px solid var(--dm-field-line); border-left: 0; border-radius: 0; box-shadow: none; cursor: pointer; }
.dm-theme .dm-contact .bootstrap-filestyle .btn .icon-span-filestyle { display: none; }
.dm-contact__list { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.6; color: var(--dm-text); }
.dm-contact__list li { display: flex; gap: 12px; margin-bottom: 14px; }
.dm-contact__list li:last-child { margin-bottom: 0; }
.dm-theme .dm-contact__icon { margin-top: 1px; color: var(--dm-blue); }
.dm-contact__list a { color: var(--dm-ink); word-break: break-word; }
.dm-contact__list a:hover { color: var(--dm-blue); }
@media (max-width: 991px) {
  .dm-auth { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .dm-theme .js-customer-form > div:first-child { grid-template-columns: 1fr; }
  .dm-contact__grid { grid-template-columns: 1fr; }
  .dm-theme .dm-auth__main { padding: 24px 16px; }
  .dm-theme #wrapper .dm-auth__side { padding: 22px 16px; }
}

/* ---------- notices (all pages): quiet, in the theme colours ---------- */
.dm-theme .alert { border: 0; border-left: 3px solid; border-radius: 0; padding: 14px 18px; font-size: 13px; line-height: 1.6; }
.dm-theme .alert ul { margin: 0; padding: 0; list-style: none; }
.dm-theme .alert a { color: var(--dm-blue); text-decoration: underline; }
.dm-theme .alert-success { background: #ebf6ef; border-color: #2f8f5b; color: #1f5e3c; }
.dm-theme .alert-danger { background: #fbeeed; border-color: #c9302c; color: #8a1f1c; }
.dm-theme .alert-warning, .dm-theme .alert-info { background: var(--dm-field); border-color: var(--dm-blue); color: var(--dm-ink); }

/* ---------- customer account ---------- */
.dm-theme #content.dm-account { max-width: 1100px; margin: 0 auto; padding: 0; border: 0; background: none; box-shadow: none; font-size: 14px; color: var(--dm-text); }
.dm-account--nav { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; align-items: start; }
.dm-account__main { min-width: 0; }
.dm-theme .dm-account #notifications .container { width: auto; max-width: none; padding: 0; }
.dm-theme .dm-account #notifications .alert { margin: 0 0 20px; }
.dm-account__intro { margin: 0 0 14px; font-size: 13px; color: var(--dm-muted); }

/* account menu */
.dm-account__nav { padding: 22px 0 14px; background: var(--dm-soft); }
.dm-account__who { margin: 0 0 8px; padding: 0 22px 16px; border-bottom: 1px solid var(--dm-line); }
.dm-account__who-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dm-account__who-name { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--dm-ink); }
.dm-account__links { margin: 0; padding: 0; list-style: none; }
.dm-theme .dm-account__nav a { display: flex; align-items: center; gap: 12px; float: none; width: auto; max-width: none; margin: 0; padding: 10px 22px 10px 19px; border-left: 3px solid transparent; font-size: 13px; line-height: 1.4; color: var(--dm-ink); text-align: left; text-transform: none; }
.dm-theme .dm-account__nav a:hover { color: var(--dm-blue); }
.dm-theme .dm-account__nav a.is-active { border-left-color: var(--dm-blue); background: #fff; color: var(--dm-blue); font-weight: 600; }
.dm-theme .dm-account__nav .dm-ic { width: 18px; height: 18px; color: var(--dm-blue); }
.dm-theme .dm-account__nav .link-item { display: flex; align-items: center; gap: 12px; padding: 0; box-shadow: none; background: none; font-size: 13px; font-weight: 400; text-transform: none; color: inherit; }
.dm-theme .dm-account__nav .link-item i { width: 18px; padding: 0; font-size: 18px; color: var(--dm-blue); }
.dm-theme .dm-account__nav .dm-account__logout { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--dm-line); color: var(--dm-muted); }

/* cards */
.dm-theme .dm-panel { margin: 0 0 20px; padding: 28px 32px; background: #fff; border: 1px solid var(--dm-line); }
.dm-theme .dm-panel--flush { padding: 0; }
.dm-theme .dm-panel__title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme .dm-panel__title .dm-ic { color: var(--dm-blue); }
.dm-panel__text { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--dm-text); }
.dm-theme .dm-panel__link { font-size: 13px; color: var(--dm-blue); word-break: break-all; }
.dm-theme .dm-account address { margin: 0; font-size: 13px; font-style: normal; line-height: 1.7; color: var(--dm-text); }
.dm-theme .dm-account .dm-btn-outline, .dm-theme .dm-account .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.dm-theme .dm-account .dm-btn-outline .dm-ic, .dm-theme .dm-account .btn-primary .dm-ic { width: 18px; height: 18px; }

/* empty list */
.dm-empty { padding: 50px 24px; background: #fff; border: 1px solid var(--dm-line); text-align: center; }
.dm-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--dm-field); color: var(--dm-blue); }
.dm-theme .dm-empty__icon .dm-ic { width: 28px; height: 28px; stroke-width: 1.3; }
.dm-empty__text { margin: 18px auto 22px; max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--dm-ink); }
.dm-empty__text:last-child { margin-bottom: 0; }
.dm-theme .dm-empty .btn-primary { min-width: 220px; height: 50px; }

/* account home tiles (Classic's markup, also used by module links) */
.dm-theme #content.dm-account .dm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.dm-theme #content.dm-account .dm-tiles::before, .dm-theme #content.dm-account .dm-tiles::after { display: none; }
.dm-theme #content.dm-account .dm-tiles > a { display: block; float: none; width: auto; max-width: none; margin: 0; padding: 0; }
.dm-theme #content.dm-account .dm-tiles a .link-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; min-height: 150px; padding: 28px 20px; background: #fff; border: 1px solid var(--dm-line); box-shadow: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; text-align: center; text-transform: uppercase; color: var(--dm-ink); transition: border-color .15s, color .15s; }
.dm-theme #content.dm-account .dm-tiles a:hover .link-item { border-color: var(--dm-blue); color: var(--dm-blue); }
.dm-theme #content.dm-account .dm-tiles a .dm-ic { width: 34px; height: 34px; stroke-width: 1.2; color: var(--dm-blue); }
.dm-theme #content.dm-account .dm-tiles a i { display: block; width: auto; padding: 0; font-size: 34px; color: var(--dm-blue); }
.dm-theme .dm-account__signout { max-width: 1100px; margin: 24px auto 0; text-align: center; }
.dm-theme .dm-account__signout .dm-btn-outline { display: inline-flex; align-items: center; gap: 8px; min-width: 220px; justify-content: center; }
.dm-theme .dm-account__signout .dm-ic { width: 18px; height: 18px; }

/* addresses */
.dm-addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.dm-theme .dm-address { display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid var(--dm-line); box-shadow: none; }
.dm-theme .dm-address .address-body { flex: 1 1 auto; padding: 24px 24px 18px; }
.dm-theme .dm-address .address-body .dm-address__alias { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme .dm-address .address-body address { min-height: 0; }
.dm-theme .dm-address .dm-address__actions { display: grid; gap: 8px; margin: 0; padding: 0 24px 24px; border: 0; text-align: left; }
/* Classic styles .page-addresses .address .address-footer a (grey text, dark on hover), hence the long selectors */
.dm-theme .dm-address .dm-address__actions a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--dm-ink-2); background: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink-2); text-align: center; transition: background .15s, color .15s, border-color .15s; }
.dm-theme .dm-address .dm-address__actions a:hover, .dm-theme .dm-address .dm-address__actions a:focus-visible { background: var(--dm-ink-2); color: #fff; }
.dm-theme .dm-address .dm-address__actions a span { font-size: inherit; color: inherit; vertical-align: baseline; }
.dm-theme .dm-address .dm-address__actions a[data-link-action="delete-address"] { border-color: var(--dm-line); color: var(--dm-muted); }
.dm-theme .dm-address .dm-address__actions a[data-link-action="delete-address"]:hover { border-color: #c9302c; background: #c9302c; color: #fff; }
.dm-theme .dm-address .dm-address__actions .dm-ic { width: 16px; height: 16px; flex: none; }
.dm-theme .dm-addresses__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 200px; border: 1px dashed #aebfc9; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-blue); transition: background .15s; }
.dm-theme .dm-addresses__add:hover { background: var(--dm-field); color: var(--dm-blue); }
.dm-theme .dm-addresses__add .dm-ic { width: 28px; height: 28px; }

/* personal information: e-mail and passwords one per row, easier to type */
body#identity .js-customer-form > div:first-child > .dm-field--email,
body#identity .js-customer-form > div:first-child > .dm-field--password,
body#identity .js-customer-form > div:first-child > .dm-field--new_password { grid-column: 1 / -1; }

/* address form: two fields per row */
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > * { grid-column: 1 / -1; }
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--firstname,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--lastname,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--company,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--vat_number,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--postcode,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--city,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--id_country,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--id_state,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--phone,
.dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields > .dm-field--phone_mobile { grid-column: auto; }

/* status label */
.dm-status { display: inline-block; padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 600; line-height: 1.3; color: #fff; }
.dm-status.dark { color: var(--dm-ink); }

/* order history, credit slips: a table on computers, cards on phones */
.dm-orders__head, .dm-order { display: grid; grid-template-columns: 1.1fr 1fr .9fr 1.6fr .5fr 1.3fr; gap: 16px; align-items: center; padding: 16px 24px; }
.dm-rows__head, .dm-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 16px; align-items: center; padding: 16px 24px; }
.dm-orders__head, .dm-rows__head, .dm-lines__head { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dm-orders__head, .dm-rows__head { background: var(--dm-soft); }
.dm-order + .dm-order, .dm-row + .dm-row { border-top: 1px solid var(--dm-line); }
.dm-order, .dm-row { font-size: 13px; color: var(--dm-text); }
.dm-theme .dm-order__ref { font-weight: 600; color: var(--dm-ink); }
.dm-theme .dm-order__ref:hover { color: var(--dm-blue); }
.dm-order__total { font-weight: 600; color: var(--dm-ink); }
.dm-theme .dm-order__invoice a { display: inline-flex; align-items: center; gap: 6px; color: var(--dm-blue); }
.dm-order__invoice-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dm-order__actions, .dm-row__action { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.dm-theme .dm-order__actions .dm-btn-outline, .dm-theme .dm-row__action .dm-btn-outline { height: 36px; padding: 0 16px; font-size: 11px; }
.dm-theme .dm-order__reorder { font-size: 12px; color: var(--dm-blue); text-decoration: underline; }
.dm-row__label { display: none; }

/* order details */
.dm-order-sum__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--dm-line); }
.dm-order-sum__ref { margin: 0; font-size: 15px; font-weight: 600; color: var(--dm-ink); }
.dm-order-sum__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dm-theme .dm-order-sum__actions .btn { height: 42px; padding: 0 20px; }
.dm-order-sum__facts, .dm-order-ship, .dm-voucher__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; margin: 0; }
.dm-order-ship { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.dm-order-ship + .dm-order-ship { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--dm-line); }
.dm-account dt { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dm-account dd { margin: 0; font-size: 14px; color: var(--dm-ink); word-break: break-word; }
.dm-order-sum__total { font-weight: 600; }
.dm-order-sum__notes { margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--dm-text); }
.dm-order-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px; }
.dm-lines__head, .dm-line { display: grid; grid-template-columns: minmax(0, 1fr) 80px 100px 100px; gap: 16px; align-items: center; }
.dm-lines__head { padding-bottom: 10px; }
.dm-lines__head span:nth-child(n+2), .dm-line > span { text-align: right; }
.dm-lines__head span:nth-child(2), .dm-line__qty { text-align: center !important; }
.dm-line { padding: 14px 0; border-top: 1px solid var(--dm-line); font-size: 13px; color: var(--dm-text); }
.dm-theme .dm-line__name { display: block; font-weight: 600; color: var(--dm-ink); }
.dm-line__ref { display: block; margin-top: 2px; font-size: 12px; color: var(--dm-muted); }
.dm-line__total { font-weight: 600; color: var(--dm-ink); }
.dm-line__label { display: none; }
.dm-totals { margin: 0; padding-top: 14px; border-top: 1px solid var(--dm-line); }
.dm-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 4px 0; }
.dm-totals dt { margin: 0; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--dm-text); }
.dm-totals dd { font-size: 13px; }
.dm-totals .dm-totals__total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--dm-line); }
.dm-totals .dm-totals__total dt, .dm-totals .dm-totals__total dd { font-size: 15px; font-weight: 600; color: var(--dm-ink); }
.dm-timeline { margin: 0; padding: 0; list-style: none; }
.dm-timeline li { position: relative; padding: 0 0 16px 24px; }
.dm-timeline li:last-child { padding-bottom: 0; }
.dm-timeline li::before { content: ""; position: absolute; left: 4px; top: 16px; bottom: 0; border-left: 1px solid var(--dm-line); }
.dm-timeline li:last-child::before { display: none; }
.dm-timeline__dot { position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; }
.dm-timeline__state { display: block; font-size: 13px; font-weight: 600; color: var(--dm-ink); }
.dm-timeline__date { display: block; font-size: 12px; color: var(--dm-muted); }
.dm-msg { margin: 0 0 12px; padding: 14px 16px; background: var(--dm-soft); }
.dm-msg__meta { margin: 0 0 4px; font-size: 12px; color: var(--dm-muted); }
.dm-msg__text { font-size: 13px; color: var(--dm-ink); }
.dm-order-msg .messages + form { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--dm-line); }
.dm-theme .dm-order-msg textarea.form-control { min-height: 120px; }
.dm-theme .dm-panel--classic .box { padding: 0; box-shadow: none; background: none; }

/* vouchers */
.dm-vouchers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.dm-theme .dm-voucher { margin: 0; }
.dm-voucher__code { display: inline-block; margin: 0 0 12px; padding: 8px 14px; border: 1px dashed var(--dm-blue); font-size: 16px; font-weight: 600; letter-spacing: .08em; color: var(--dm-blue); }
.dm-voucher__name { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--dm-ink); }
.dm-voucher__facts { grid-template-columns: 1fr 1fr; }

/* Classic tables left on account pages (merchandise returns) */
.dm-theme .dm-account .table { background: #fff; border: 1px solid var(--dm-line); font-size: 13px; }
.dm-theme .dm-account .table th, .dm-theme .dm-account .table td { border-color: var(--dm-line); padding: 12px 16px; vertical-align: middle; }
.dm-theme .dm-account .table thead th { background: var(--dm-soft); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dm-theme .dm-account .table-striped tbody tr:nth-of-type(odd) { background: none; }

@media (max-width: 991px) {
  .dm-account--nav { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dm-account__nav { display: flex; gap: 8px; padding: 0 0 4px; overflow-x: auto; background: none; scrollbar-width: none; }
  .dm-account__nav::-webkit-scrollbar { display: none; }
  .dm-account__who { display: none; }
  .dm-account__links, .dm-account__modules { display: flex; gap: 8px; }
  .dm-theme .dm-account__nav a, .dm-theme .dm-account__nav .dm-account__logout { flex: none; margin: 0; padding: 8px 14px; border: 1px solid var(--dm-line); background: #fff; white-space: nowrap; }
  .dm-theme .dm-account__nav a.is-active { border-color: var(--dm-blue); background: var(--dm-blue); color: #fff; }
  .dm-theme .dm-account__nav a.is-active .dm-ic { color: #fff; }
  .dm-theme #content.dm-account .dm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-order-sum__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .dm-orders__head, .dm-rows__head { display: none; }
  .dm-order { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ref status" "date total" "invoice actions"; gap: 8px 16px; padding: 18px 16px; }
  .dm-order__ref { grid-area: ref; }
  .dm-order__status { grid-area: status; text-align: right; }
  .dm-order__date { grid-area: date; }
  .dm-order__total { grid-area: total; text-align: right; }
  .dm-order__invoice { grid-area: invoice; }
  .dm-order__actions { grid-area: actions; }
  .dm-order__invoice-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .dm-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 16px; }
  .dm-row__label { display: inline; margin-right: 6px; color: var(--dm-muted); }
  .dm-row__label::after { content: ":"; }
  .dm-row__action { justify-content: flex-start; margin-top: 6px; }
}
@media (max-width: 575px) {
  .dm-theme .dm-panel { padding: 22px 16px; }
  .dm-theme .dm-panel--flush { padding: 0; }
  .dm-theme #content.dm-account .dm-tiles { gap: 12px; }
  .dm-theme #content.dm-account .dm-tiles a .link-item { min-height: 120px; padding: 20px 12px; font-size: 12px; }
  .dm-theme :is(.dm-account, #checkout-addresses-step) .js-address-form .form-fields { grid-template-columns: minmax(0, 1fr); }
  .dm-line { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "desc total" "qty price"; gap: 4px 16px; }
  .dm-lines__head { display: none; }
  .dm-line__desc { grid-area: desc; }
  .dm-line__total { grid-area: total; }
  .dm-line__qty { grid-area: qty; text-align: left !important; font-size: 12px; color: var(--dm-muted); }
  .dm-line__price { grid-area: price; font-size: 12px; color: var(--dm-muted); }
  .dm-line__label { display: inline; }
  .dm-line__label::after { content: ": "; }
  .dm-order-sum__actions, .dm-order-sum__actions .btn { width: 100%; }
  .dm-empty { padding: 36px 16px; }
}
.dm-order-follow { margin: 20px 0 4px; padding-top: 16px; border-top: 1px solid var(--dm-line); }

/* wishlist (blockwishlist) pages in the account layout */
.dm-theme .dm-account__nav .link-item .dm-ic { width: 18px; height: 18px; color: var(--dm-blue); }
body#module-blockwishlist-lists .dm-account__modules #wishlist-link,
body#module-blockwishlist-view .dm-account__modules #wishlist-link { border-left-color: var(--dm-blue); background: #fff; color: var(--dm-blue); font-weight: 600; }
.dm-theme .dm-wishlist__back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13px; color: var(--dm-blue); }
.dm-theme .dm-wishlist__back .dm-ic { width: 16px; height: 16px; }
.dm-theme .dm-wishlist .card { padding: 24px; border: 1px solid var(--dm-line); box-shadow: none; background: #fff; }
.dm-theme .dm-wishlist h1 { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme .dm-wishlist .text-primary, .dm-theme .dm-wishlist a.wishlist-add-to-new { color: var(--dm-blue) !important; }
@media (max-width: 991px) {
  body#module-blockwishlist-lists .dm-account__modules #wishlist-link,
  body#module-blockwishlist-view .dm-account__modules #wishlist-link { border-color: var(--dm-blue); background: var(--dm-blue); color: #fff; }
  body#module-blockwishlist-lists .dm-account__modules #wishlist-link .dm-ic,
  body#module-blockwishlist-view .dm-account__modules #wishlist-link .dm-ic { color: #fff; }
}
body#module-blockwishlist-lists .dm-account__modules #wishlist-link .link-item,
body#module-blockwishlist-view .dm-account__modules #wishlist-link .link-item { font-weight: 600; }

/* ---------- Nothing found: empty prices drop / new products / search / category, 404 ---------- */
.dm-theme #content.dm-notfound { max-width: none; margin: 0 0 30px; padding: 0; background: none; border: 0; font-size: inherit; color: inherit; }
.dm-theme #content.dm-notfound--page { max-width: 760px; margin: 10px auto 40px; }
.dm-theme .dm-notfound__box { padding: 56px 32px; }
.dm-theme .dm-notfound__title,
.dm-theme .dm-notfound__box h4 { margin: 20px 0 8px; font-family: var(--dm-font); font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--dm-ink); text-transform: none; }
.dm-theme .dm-notfound__text,
.dm-theme .dm-notfound__box h4 + p,
.dm-theme .dm-notfound__content p { max-width: 460px; margin: 0 auto; font-size: 15px; line-height: 1.6; color: var(--dm-text); }
.dm-theme .dm-notfound--page .dm-notfound__text { margin-top: 18px; }
.dm-theme .dm-notfound__search { display: flex; max-width: 440px; margin: 26px auto 0; }
.dm-theme .dm-notfound__search input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 18px; border: 1px solid var(--dm-field-line); border-right: 0; background: var(--dm-field); font-family: var(--dm-font); font-size: 14px; color: var(--dm-ink); outline: none; }
.dm-theme .dm-notfound__search input:focus { border-color: var(--dm-blue); background: #fff; }
.dm-theme .dm-notfound__search button { flex: 0 0 54px; display: flex; align-items: center; justify-content: center; height: 50px; padding: 0; border: 0; background: var(--dm-blue); color: #fff; cursor: pointer; }
.dm-theme .dm-notfound__search button:hover { background: var(--dm-blue-dark); }
.dm-theme .dm-notfound__search .dm-ic { width: 20px; height: 20px; }
.dm-theme .dm-notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.dm-theme .dm-notfound__links .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; height: 50px; padding: 0 26px; }
@media (max-width: 575px) {
  .dm-theme .dm-notfound__box { padding: 38px 16px; }
  .dm-theme .dm-notfound__title, .dm-theme .dm-notfound__box h4 { font-size: 18px; }
  .dm-theme .dm-notfound__links { flex-direction: column; align-items: stretch; }
  .dm-theme .dm-notfound__links .btn { min-width: 0; width: 100%; }
}

/* ---------- Cart and checkout ---------- */
.dm-theme #wrapper .dm-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; max-width: 1280px; margin: 0 auto 40px; }
.dm-theme #wrapper .dm-cart--empty { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.dm-theme #wrapper .dm-cart__main, .dm-theme #wrapper .dm-cart__side { min-width: 0; }
.dm-theme #wrapper .dm-cart .card { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.dm-theme #wrapper .dm-cart .card-block { padding: 0; }

/* product list */
.dm-theme #wrapper .dm-cart .dm-cart__panel { padding: 0 28px; background: #fff; border: 1px solid var(--dm-line); }
.dm-theme #wrapper .dm-cart--empty .dm-cart__panel { padding: 0; border: 0; }
.dm-theme #wrapper .dm-cart__head { display: grid; grid-template-columns: minmax(0, 1fr) 110px 100px 36px; gap: 20px; padding: 18px 0 14px; border-bottom: 1px solid var(--dm-line); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dm-muted); }
.dm-theme #wrapper .dm-cart .cart-items { margin: 0; padding: 0; list-style: none; }
.dm-theme #wrapper .dm-cart .cart-item { padding: 0; border-bottom: 1px solid var(--dm-line); }
.dm-theme #wrapper .dm-cart .cart-item:last-child { border-bottom: 0; }
.dm-theme #wrapper .dm-line-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) 110px 100px 36px; gap: 20px; align-items: center; padding: 22px 0; }
.dm-theme #wrapper .dm-line-item__img { display: block; border: 1px solid var(--dm-line); }
.dm-theme #wrapper .dm-line-item__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dm-theme #wrapper .dm-line-item .product-line-info { display: block; margin: 0; }
.dm-theme #wrapper .dm-line-item__name { display: inline; padding: 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--dm-ink); text-align: left; white-space: normal; }
.dm-theme #wrapper .dm-line-item__name:hover { color: var(--dm-blue); }
.dm-theme #wrapper .dm-line-item__attr { margin-top: 4px !important; font-size: 12px; color: var(--dm-muted); }
.dm-theme #wrapper .dm-line-item__attr .label { padding: 0; font-size: inherit; font-weight: 400; color: inherit; }
.dm-theme #wrapper .dm-line-item__attr .value { color: var(--dm-text); }
.dm-theme #wrapper .dm-line-item__price { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px !important; font-size: 13px; color: var(--dm-text); }
.dm-theme #wrapper .dm-line-item__price .price { font-weight: 500; color: var(--dm-ink); }
.dm-theme #wrapper .dm-line-item__price.has-discount .price { color: var(--dm-sale); }
.dm-theme #wrapper .dm-line-item__price .regular-price { font-size: 12px; color: var(--dm-muted); text-decoration: line-through; }
.dm-theme #wrapper .dm-line-item__price .discount { margin: 0; padding: 1px 6px; background: none; border: 1px solid var(--dm-sale); font-size: 11px; font-weight: 600; color: var(--dm-sale); }
.dm-theme #wrapper .dm-line-item__price .unit-price-cart { flex-basis: 100%; font-size: 12px; color: var(--dm-muted); }
.dm-theme #wrapper .dm-line-item__custom { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--dm-blue); text-decoration: underline; }
.dm-theme #wrapper .dm-line-item__total { font-size: 15px; font-weight: 600; color: var(--dm-ink); }
.dm-theme #wrapper .dm-line-item__total .product-price { font-size: inherit; font-weight: inherit; color: inherit; }
.dm-theme #wrapper .dm-line-item__actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dm-theme #wrapper .dm-line-item .remove-from-cart { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--dm-muted); border: 1px solid transparent; transition: color .15s, border-color .15s; }
.dm-theme #wrapper .dm-line-item .remove-from-cart:hover { color: #c9302c; border-color: #efc9c8; }
.dm-theme #wrapper .dm-line-item .remove-from-cart .dm-ic { width: 18px; height: 18px; }
/* quantity: Classic TouchSpin with small up/down buttons */
.dm-theme #wrapper .dm-line-item .bootstrap-touchspin { display: inline-flex; float: none; width: auto; height: 44px; border: 1px solid #d6d6d6; box-shadow: none; background: #fff; }
.dm-theme #wrapper .dm-line-item .bootstrap-touchspin input.js-cart-line-product-quantity,
.dm-theme #wrapper .dm-line-item .qty > input.js-cart-line-product-quantity { width: 52px; height: 42px; padding: 0 4px; border: 0; background: #fff; font-family: var(--dm-font); font-size: 14px; font-weight: 500; color: var(--dm-ink); text-align: center; box-shadow: none; }
.dm-theme #wrapper .dm-line-item .qty > input.js-cart-line-product-quantity { border: 1px solid #d6d6d6; }
.dm-theme #wrapper .dm-line-item .bootstrap-touchspin .input-group-btn-vertical { display: flex; flex-direction: column; width: 28px; border-left: 1px solid #d6d6d6; }
.dm-theme #wrapper .dm-line-item .bootstrap-touchspin .btn-touchspin { flex: 1 1 50%; position: relative; width: 100%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--dm-ink); }
.dm-theme #wrapper .dm-line-item .bootstrap-touchspin .btn-touchspin + .btn-touchspin { border-top: 1px solid #d6d6d6; }
.dm-theme #wrapper .dm-line-item .bootstrap-touchspin .btn-touchspin:hover { background: var(--dm-field); color: var(--dm-blue); }
.dm-theme #wrapper .dm-line-item .bootstrap-touchspin .btn-touchspin i { position: static; font-size: 16px; line-height: 1; }
.dm-theme #wrapper .dm-cart__empty { border: 1px solid var(--dm-line); }
.dm-theme #wrapper .dm-cart__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme #wrapper .dm-cart__back:hover { color: var(--dm-blue); }
.dm-theme #wrapper .dm-cart__back .dm-ic { width: 16px; height: 16px; }

/* summary (cart and checkout) */
.dm-theme #wrapper .dm-cart .dm-summary,
body#checkout #wrapper #js-checkout-summary { padding: 28px; background: var(--dm-soft); }
.dm-theme #wrapper .dm-cart .cart-summary-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin: 0 0 10px; font-size: 14px; color: var(--dm-text); }
.dm-theme #wrapper .dm-cart .cart-summary-line::after { display: none; }
.dm-theme #wrapper .dm-cart .cart-summary-line .label { padding: 0; font-size: inherit; font-weight: 400; color: inherit; text-align: left; white-space: normal; }
.dm-theme #wrapper .dm-cart .cart-summary-line .value { float: none; font-weight: 600; color: var(--dm-ink); }
.dm-theme #wrapper .dm-cart .cart-summary-line > div { flex-basis: 100%; }
.dm-theme #wrapper .dm-cart .cart-summary-line > div:empty { display: none; }
.dm-theme #wrapper .dm-cart .cart-summary-totals { margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid #dcdcdc; background: none; }
.dm-theme #wrapper .dm-cart .cart-summary-totals .cart-total { margin: 0 0 6px; padding: 0; background: none; border: 0; font-size: 17px; }
.dm-theme #wrapper .dm-cart .cart-summary-totals .cart-summary-line { padding: 0; }
.dm-theme #wrapper .dm-cart .cart-overview { padding: 0; }
.dm-theme #wrapper .dm-cart .cart-summary-totals .cart-total .label,
.dm-theme #wrapper .dm-cart .cart-summary-totals .cart-total .value { font-weight: 600; color: var(--dm-ink); }
.dm-theme #wrapper .dm-cart .cart-summary-line .sub { font-size: 12px; font-weight: 400; color: var(--dm-muted); }
.dm-theme #wrapper .dm-cart .cart-detailed-actions { padding: 20px 0 0; }
.dm-theme #wrapper .dm-cart .cart-detailed-actions .btn-primary { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; }
.dm-theme #wrapper .dm-cart .cart-detailed-actions .alert { margin: 0 0 12px; }
.dm-theme #wrapper .dm-cart__side .blockreassurance_product,
.dm-theme #wrapper .dm-cart__side #block-reassurance { margin-top: 20px; }
/* promo code */
.dm-theme #wrapper .dm-promo { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid #dcdcdc; }
.dm-theme #wrapper .dm-promo .promo-code-button { margin: 0; padding: 0; text-align: left; }
.dm-theme #wrapper .dm-promo__toggle a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--dm-blue); text-decoration: none; }
.dm-theme #wrapper .dm-promo__toggle a:hover { text-decoration: underline; }
.dm-theme #wrapper .dm-promo .dm-ic { width: 16px; height: 16px; }
.dm-theme #wrapper .dm-promo .promo-code.dm-promo__box { padding: 4px 0 0; background: none; }
.dm-theme #wrapper .dm-promo__form { display: flex; margin: 0; }
.dm-theme #wrapper .dm-promo__form .promo-input { flex: 1 1 auto; min-width: 0; height: 46px; margin: 0; padding: 0 14px; border: 1px solid var(--dm-field-line); border-right: 0; background: #fff; font-family: var(--dm-font); font-size: 14px; color: var(--dm-ink); text-indent: 0; outline: none; }
.dm-theme #wrapper .dm-promo__form .promo-input:focus { border-color: var(--dm-blue); }
.dm-theme #wrapper .dm-promo__form .btn { flex: 0 0 auto; height: 46px; margin: 0; padding: 0 20px; }
.dm-theme #wrapper .dm-promo .cancel-promo { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--dm-muted); text-decoration: underline; cursor: pointer; }
.dm-theme #wrapper .dm-promo .alert.js-error { margin: 10px 0 0; }
.dm-theme #wrapper .dm-promo__list { margin: 0 0 12px; padding: 0; list-style: none; }
.dm-theme #wrapper .dm-promo__item { align-items: center !important; }
.dm-theme #wrapper .dm-promo__item .label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500 !important; color: var(--dm-ink) !important; }
.dm-theme #wrapper .dm-promo__value { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--dm-ok); }
.dm-theme #wrapper .dm-promo__value a { display: inline-flex; color: var(--dm-muted); }
.dm-theme #wrapper .dm-promo__value a:hover { color: #c9302c; }
.dm-theme #wrapper .dm-promo .promo-highlighted { margin: 14px 0 6px; font-size: 13px; color: var(--dm-text); }
.dm-theme #wrapper .dm-promo .promo-discounts { margin: 0; padding: 0; list-style: none; }
.dm-theme #wrapper .dm-promo .promo-discounts .code { font-weight: 600; color: var(--dm-blue); }

/* checkout: summary product list */
.dm-theme #wrapper .dm-sumprod { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.dm-theme #wrapper .dm-sumprod > p { margin: 0; }
.dm-theme #wrapper .dm-sumprod__count { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink); }
.dm-theme #wrapper .dm-sumprod__toggle a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--dm-blue); }
.dm-theme #wrapper .dm-sumprod__toggle .dm-ic { width: 14px; height: 14px; transition: transform .15s; }
.dm-theme #wrapper .dm-sumprod__toggle a[aria-expanded="false"] .dm-ic { transform: rotate(-90deg); }
.dm-theme #wrapper .dm-sumprod #cart-summary-product-list { flex: 0 0 100%; }
.dm-theme #wrapper .dm-sumprod__list { margin: 12px 0 0; padding: 0; list-style: none; }
.dm-theme #wrapper .dm-sumprod__list .media { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 0; border-top: 1px solid #e2e2e2; }
.dm-theme #wrapper .dm-sumprod__img { position: relative; flex: 0 0 56px; display: block; background: #fff; border: 1px solid var(--dm-line); }
.dm-theme #wrapper .dm-sumprod__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dm-theme #wrapper .dm-sumprod__img .dm-sumprod__qty { position: absolute; top: -8px; right: -8px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 20px; height: 20px; margin: 0; padding: 0 5px; border-radius: 10px; background: var(--dm-ink-2); font-family: var(--dm-font); font-size: 11px; font-weight: 600; line-height: 1; color: #fff; text-align: center; float: none; }
.dm-theme #wrapper .dm-sumprod__body { flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 1.4; }
.dm-theme #wrapper .dm-sumprod__body .product-name { display: block; }
.dm-theme #wrapper .dm-sumprod__body .product-name a { color: var(--dm-ink); font-weight: 500; }
.dm-theme #wrapper .dm-sumprod__body .product-line-info { display: block; margin-top: 2px; font-size: 12px; color: var(--dm-muted); }
.dm-theme #wrapper .dm-sumprod__price { flex: none; font-size: 13px; font-weight: 600; color: var(--dm-ink); }
body#checkout #wrapper #js-checkout-summary .cart-summary-subtotals-container { margin: 14px 0 0; padding: 16px 0 0; border-top: 1px solid #dcdcdc; border-bottom: 0; }
body#checkout #wrapper #js-checkout-summary .cart-summary-line { margin-bottom: 10px; }
body#checkout #wrapper #js-checkout-summary .cart-summary-line .label { font-size: 14px; font-weight: 400; }
body#checkout #wrapper #js-checkout-summary .cart-summary-line .value { font-size: 14px; font-weight: 600; }
body#checkout #wrapper #js-checkout-summary .cart-summary-totals .cart-total .label,
body#checkout #wrapper #js-checkout-summary .cart-summary-totals .cart-total .value { font-size: 17px; font-weight: 600; }
body#checkout #wrapper #js-checkout-summary .cart-summary-line .sub { font-size: 12px; font-weight: 400; }

/* checkout steps */
body#checkout #wrapper .dm-step { margin: 0 0 16px; padding: 0; background: #fff; border: 1px solid var(--dm-line); box-shadow: none; }
body#checkout #wrapper .dm-step.-current { border-color: #c9dce7; }
body#checkout #wrapper .dm-step .step-title { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 28px; border: 0; opacity: 1; font-family: var(--dm-font); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink); cursor: default; }
body#checkout #wrapper .dm-step.-reachable:not(.-current) .step-title { cursor: pointer; }
body#checkout #wrapper .dm-step:not(.-reachable) .step-title { color: #9a9a9a; }
body#checkout #wrapper .dm-step__badge { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #cdd7dd; border-radius: 50%; font-size: 13px; letter-spacing: 0; color: var(--dm-muted); }
body#checkout #wrapper .dm-step .step-number { display: inline; width: auto; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: inherit; font-weight: 600; color: inherit; }
body#checkout #wrapper .dm-step .dm-step__done { display: none; width: 18px; height: 18px; stroke-width: 2; }
body#checkout #wrapper .dm-step.-current .dm-step__badge { background: var(--dm-blue); border-color: var(--dm-blue); color: #fff; }
body#checkout #wrapper .dm-step.-complete:not(.-current) .dm-step__badge { background: var(--dm-ok); border-color: var(--dm-ok); color: #fff; }
body#checkout #wrapper .dm-step.-complete:not(.-current) .step-number { display: none; }
body#checkout #wrapper .dm-step.-complete:not(.-current) .dm-step__done { display: block; color: #fff; }
body#checkout #wrapper .dm-step .step-edit { display: none; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--dm-blue); }
body#checkout #wrapper .dm-step .step-edit .dm-ic { width: 15px; height: 15px; }
body#checkout #wrapper .dm-step.-reachable.-complete:not(.-current) .step-edit { display: inline-flex; }
body#checkout #wrapper .dm-step .content { display: none; padding: 0 28px 28px; }
body#checkout #wrapper .dm-step.-current .step-title { border-bottom: 1px solid var(--dm-line); }
body#checkout #wrapper .dm-step.-current .content { padding-top: 24px; }
body#checkout #wrapper .dm-step.-current .content { display: block; }
body#checkout #wrapper .dm-step .content .h4,
body#checkout #wrapper .dm-step .content h2 { margin: 6px 0 14px; font-family: var(--dm-font); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink); }
body#checkout #wrapper .dm-step .content > p,
body#checkout #wrapper .dm-step__intro { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--dm-text); }
body#checkout #wrapper .dm-step .continue { min-width: 220px; height: 50px; margin-top: 10px; }
body#checkout #wrapper .dm-step .form-footer { text-align: right; }
body#checkout #wrapper .dm-step form::after,
body#checkout #wrapper .dm-step .clearfix::after { content: ""; display: table; clear: both; }

/* step 1: guest / sign in */
body#checkout #wrapper #checkout-personal-information-step .nav-inline { display: flex; margin: 0 0 24px; padding: 0; border-bottom: 1px solid var(--dm-line); }
body#checkout #wrapper #checkout-personal-information-step .nav-inline .nav-item { margin: 0; }
body#checkout #wrapper #checkout-personal-information-step .nav-separator { display: none; }
body#checkout #wrapper #checkout-personal-information-step .nav-link { display: block; margin-bottom: -1px; padding: 12px 18px; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
body#checkout #wrapper #checkout-personal-information-step .nav-link:hover { color: var(--dm-ink); }
body#checkout #wrapper #checkout-personal-information-step .nav-link.active { border-bottom-color: var(--dm-blue); color: var(--dm-ink); }
body#checkout #wrapper .form-informations { display: block; margin: 4px 0 16px; padding: 14px 16px; background: var(--dm-field); border-left: 3px solid var(--dm-blue); font-size: 13px; line-height: 1.5; color: var(--dm-text); }
body#checkout #wrapper .form-informations-title { color: var(--dm-ink); }
body#checkout #wrapper .form-informations-option { font-style: normal !important; color: var(--dm-muted); }
body#checkout #wrapper .form-informations-subtitle { color: var(--dm-text) !important; }

/* step 2: address cards */
body#checkout #wrapper .address-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0 0 8px; }
body#checkout #wrapper .address-selector > * { margin-bottom: 16px; }
body#checkout #wrapper .address-selector .dm-addr__nojs { grid-column: 1 / -1; margin: 0; }
body#checkout #wrapper .address-selector .dm-addr { display: flex; flex-direction: column; flex: none; max-width: none; background: #fff; border: 1px solid var(--dm-line); box-shadow: none; }
body#checkout #wrapper .address-selector .dm-addr.selected,
body#checkout #wrapper .address-selector .dm-addr:has(input:checked) { border-color: var(--dm-blue); box-shadow: inset 0 0 0 1px var(--dm-blue); background: #f7fbfd; }
body#checkout #wrapper .dm-addr__head { flex: 1 1 auto; margin: 0; padding: 20px 20px 16px; }
body#checkout #wrapper .address-selector .dm-addr .radio-block { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px 12px; margin: 0; padding: 0; font-weight: 400; text-align: left; cursor: pointer; }
body#checkout #wrapper .dm-addr .custom-radio { margin-top: 1px; }
body#checkout #wrapper .dm-addr__alias { align-self: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dm-ink); }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__text { grid-column: 2; margin: 0; font-size: 13px; font-weight: 400; line-height: 1.7; color: var(--dm-text); }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 0; padding: 0 20px 20px; border: 0; text-align: center; }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; margin: 0; padding: 0 10px; border: 1px solid var(--dm-ink-2); background: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink-2); white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a span { font-size: inherit; color: inherit; }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a .dm-ic { width: 15px; height: 15px; }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a:hover,
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a:focus-visible { background: var(--dm-ink-2); color: #fff; }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a.delete-address { border-color: var(--dm-line); color: var(--dm-muted); }
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a.delete-address:hover,
body#checkout #wrapper .address-selector .dm-addr .dm-addr__actions a.delete-address:focus-visible { background: #c9302c; border-color: #c9302c; color: #fff; }
body#checkout #wrapper .address-selector .dm-addr-add { min-height: 160px; }
body#checkout #wrapper .dm-addr-diff { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--dm-blue); }
body#checkout #wrapper .dm-addr-diff:hover { text-decoration: underline; }
body#checkout #wrapper .dm-addr-diff .dm-ic { width: 16px; height: 16px; }
body#checkout #wrapper .js-address-form .form-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px 24px; }
body#checkout #wrapper .js-address-form .form-footer .btn { float: none; margin: 10px 0 0; }
body#checkout #wrapper .js-address-form .cancel-address { order: -1; float: none; display: inline-flex; align-items: center; height: 50px; margin: 10px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }

/* step 3: carriers (Classic markup kept for Zásielkovňa and other carrier modules) */
body#checkout #wrapper .delivery-options { margin: 0 0 8px; }
body#checkout #wrapper .delivery-option { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; margin: 0 0 10px; padding: 16px 20px; background: #fff; border: 1px solid var(--dm-line); cursor: pointer; }
body#checkout #wrapper .delivery-option:has(input:checked) { border-color: var(--dm-blue); box-shadow: inset 0 0 0 1px var(--dm-blue); background: #f7fbfd; }
body#checkout #wrapper .delivery-option > .col-sm-1 { flex: 0 0 auto; float: none; width: auto; max-width: none; padding: 0 16px 0 0; }
body#checkout #wrapper .delivery-option .custom-radio { float: none; display: block; }
body#checkout #wrapper .delivery-option label.delivery-option-2 { display: block; flex: 1 1 auto; float: none; width: auto; max-width: none; margin: 0; padding: 0; text-align: left; cursor: pointer; }
body#checkout #wrapper .delivery-option-2 > .row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 2px; margin: 0; }
body#checkout #wrapper .delivery-option-2 > .row::after { display: none; }
body#checkout #wrapper .delivery-option-2 > .row > div { float: none; width: auto; max-width: none; padding: 0; }
body#checkout #wrapper .delivery-option-2 > .row > div:nth-child(1) { flex: 1 1 auto; order: 1; min-width: 0; }
body#checkout #wrapper .delivery-option-2 > .row > div:nth-child(2) { flex: 0 0 100%; order: 3; }
body#checkout #wrapper .delivery-option-2 > .row > div:nth-child(3) { flex: 0 0 auto; order: 2; }
body#checkout #wrapper .delivery-option .carrier { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; margin: 0; }
body#checkout #wrapper .delivery-option .carrier .carriere-name-container { flex: 1 1 auto; padding: 0; text-align: left; }
body#checkout #wrapper .delivery-option .carrier::after { display: none; }
body#checkout #wrapper .delivery-option .carrier > div { flex: 0 1 auto; float: none; width: auto; max-width: none; padding: 0; }
body#checkout #wrapper .delivery-option .carrier-logo img { display: block; max-width: 56px; max-height: 40px; }
body#checkout #wrapper .delivery-option .carrier-name { display: inline; font-size: 14px; font-weight: 600; color: var(--dm-ink); }
body#checkout #wrapper .delivery-option .carrier-delay { display: block; font-size: 12px; line-height: 1.5; color: var(--dm-muted); }
body#checkout #wrapper .delivery-option-2 > .row > div:has(.carrier-hasLogo) ~ div .carrier-delay { padding-left: 68px; }
body#checkout #wrapper .delivery-option .carrier-price { font-size: 14px; font-weight: 600; color: var(--dm-ink); white-space: nowrap; }
body#checkout #wrapper .carrier-extra-content { margin: -11px 0 10px; padding: 16px 20px 18px 56px; background: #f7fbfd; border: 0; box-shadow: inset 2px 0 0 var(--dm-blue), inset -2px 0 0 var(--dm-blue), inset 0 -2px 0 var(--dm-blue); }
body#checkout #wrapper .carrier-extra-content:not(:has(*)) { display: none !important; }
body#checkout #wrapper .order-options { margin-top: 22px; }
body#checkout #wrapper #use_same_address { width: 18px; height: 18px; margin: 0 10px 0 0; vertical-align: -4px; accent-color: var(--dm-blue); }
body#checkout #wrapper label[for="use_same_address"] { font-size: 13px; color: var(--dm-ink); cursor: pointer; }
body#checkout #wrapper .order-options #delivery label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--dm-ink); text-align: left; }
body#checkout #wrapper .order-options textarea { display: block; width: 100%; min-height: 90px; margin: 0 0 12px; padding: 12px 16px; background: var(--dm-field); border: 1px solid var(--dm-field-line); font-family: var(--dm-font); font-size: 14px; color: var(--dm-ink); resize: vertical; }
body#checkout #wrapper .order-options textarea:focus { background: #fff; border-color: var(--dm-blue); outline: none; }
body#checkout #wrapper .order-options .custom-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; }
body#checkout #wrapper .order-options .custom-checkbox label { margin: 0; font-size: 13px; text-align: left; }

/* step 4: payment */
body#checkout #wrapper .payment-options > div:not([class]) { margin: 10px 0 0; }
body#checkout #wrapper .payment-options > div:not([class]):first-child { margin-top: 0; }
body#checkout #wrapper .payment-option { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 20px; background: #fff; border: 1px solid var(--dm-line); cursor: pointer; }
body#checkout #wrapper .payment-options > div:has(input[name="payment-option"]:checked) > .payment-option { border-color: var(--dm-blue); box-shadow: inset 0 0 0 1px var(--dm-blue); background: #f7fbfd; }
body#checkout #wrapper .payment-option::after { display: none; }
body#checkout #wrapper .payment-option .custom-radio { float: none; flex: none; margin: 0; }
body#checkout #wrapper .payment-option label { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font-size: 14px; font-weight: 600; color: var(--dm-ink); text-align: left; cursor: pointer; }
body#checkout #wrapper .payment-option label img { max-height: 28px; width: auto; }
body#checkout #wrapper .payment-options .additional-information { margin: 0; padding: 14px 20px 16px 54px; background: #f7fbfd; font-size: 13px; line-height: 1.6; color: var(--dm-text); box-shadow: inset 2px 0 0 var(--dm-blue), inset -2px 0 0 var(--dm-blue), inset 0 -2px 0 var(--dm-blue); }
body#checkout #wrapper .payment-options .additional-information p:last-child { margin-bottom: 0; }
body#checkout #wrapper #conditions-to-approve { margin: 24px 0 0; }
/* Heureka "Overené zákazníkmi" opt-out (module dm_heureka, template dm_consent_17.tpl) uses the same
   markup as the terms checkbox but sits outside #conditions-to-approve; its wrapper div has no class,
   so it is found by the checkbox id. The two hidden-field rows of that list are hidden. */
.dm-theme #wrapper div:has(> ul #dm_heureka_consent) { margin: 24px 0 0; }
.dm-theme #wrapper div:has(> ul #dm_heureka_consent) > br { display: none; }
.dm-theme #wrapper div:has(> ul #dm_heureka_consent) li:not(:has(input[type="checkbox"])) { display: none; }
body#checkout #wrapper #conditions-to-approve ul, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) ul { margin: 0; padding: 0; list-style: none; }
body#checkout #wrapper #conditions-to-approve li, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 10px; }
body#checkout #wrapper #conditions-to-approve .float-xs-left, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) .float-xs-left { float: none; flex: none; }
body#checkout #wrapper #conditions-to-approve .custom-checkbox input[type="checkbox"] + span, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) .custom-checkbox input[type="checkbox"] + span { width: 20px; height: 20px; margin: 0; background: #fff; border: 1px solid #aebfc9; }
body#checkout #wrapper #conditions-to-approve .custom-checkbox input[type="checkbox"]:checked + span, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) .custom-checkbox input[type="checkbox"]:checked + span { border-color: var(--dm-blue); }
body#checkout #wrapper #conditions-to-approve .custom-checkbox input[type="checkbox"] + span .checkbox-checked, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) .custom-checkbox input[type="checkbox"] + span .checkbox-checked { margin: 0; font-size: 18px; color: var(--dm-blue); }
body#checkout #wrapper #conditions-to-approve .condition-label label, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) .condition-label label { margin: 0; font-family: var(--dm-font); font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--dm-ink); text-align: left; }
body#checkout #wrapper #conditions-to-approve .condition-label a, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) .condition-label a { color: var(--dm-blue); text-decoration: underline; }
body#checkout #wrapper #conditions-to-approve .condition-label, .dm-theme #wrapper div:has(> ul #dm_heureka_consent) .condition-label { margin: 0; }
body#checkout #wrapper div:has(> ul #dm_heureka_consent) + #conditions-to-approve { margin-top: 4px; }
body#checkout #wrapper #payment-confirmation { margin-top: 20px; }
body#checkout #wrapper #payment-confirmation .btn-primary { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; font-size: 13px; }
body#checkout #wrapper #payment-confirmation .btn-primary.disabled { opacity: .45; }
body#checkout #wrapper .js-alert-payment-conditions { margin-top: 12px; }

@media (max-width: 991px) {
  .dm-theme #wrapper .dm-cart { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
  .dm-theme #wrapper .dm-cart .dm-cart__panel { padding: 0 16px; }
  .dm-theme #wrapper .dm-cart__head { display: none; }
  .dm-theme #wrapper .dm-line-item { grid-template-columns: 80px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "img qty total"; gap: 12px 14px; align-items: start; padding: 18px 0; }
  .dm-theme #wrapper .dm-line-item__img { grid-area: img; }
  .dm-theme #wrapper .dm-line-item__info { grid-area: info; }
  .dm-theme #wrapper .dm-line-item__qty { grid-area: qty; }
  .dm-theme #wrapper .dm-line-item__total { grid-area: total; align-self: center; text-align: right; }
  .dm-theme #wrapper .dm-line-item__actions { grid-area: rm; margin: -8px -8px 0 0; }
  .dm-theme #wrapper .dm-cart .dm-summary, body#checkout #wrapper #js-checkout-summary { padding: 22px 18px; }
  body#checkout #wrapper .dm-step .step-title { padding: 16px 18px; font-size: 13px; gap: 12px; }
  body#checkout #wrapper .dm-step .content { padding: 0 18px 22px; }
  body#checkout #wrapper .dm-step .continue { width: 100%; float: none !important; }
  body#checkout #wrapper .address-selector { grid-template-columns: minmax(0, 1fr); }
  body#checkout #wrapper .delivery-option, body#checkout #wrapper .payment-option { padding: 14px 16px; }
  body#checkout #wrapper .carrier-extra-content { padding-left: 16px; padding-right: 16px; }
  body#checkout #wrapper .payment-options .additional-information { padding-left: 16px; }
  body#checkout #wrapper .delivery-option-2 > .row > div:has(.carrier-hasLogo) ~ div .carrier-delay { padding-left: 0; }
}

/* order confirmation: same cards as checkout (Classic markup, CSS only) */
body#order-confirmation #wrapper #content-hook_order_confirmation,
body#order-confirmation #wrapper #content.page-order-confirmation,
body#order-confirmation #wrapper #content-hook_payment_return,
body#order-confirmation #wrapper #registration-form { max-width: 1100px; margin: 0 auto 20px; background: #fff; border: 1px solid var(--dm-line); box-shadow: none; }
body#order-confirmation #wrapper #content-hook_order_confirmation .card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--dm-font); font-size: 20px; font-weight: 600; text-transform: none; color: var(--dm-ink); }
body#order-confirmation #wrapper #content-hook_order_confirmation .card-title .done { color: var(--dm-ok); }
body#order-confirmation #wrapper #content-hook_order_confirmation p { font-size: 14px; color: var(--dm-text); }
body#order-confirmation #wrapper #order-details ul { padding-left: 0; list-style: none; font-size: 14px; line-height: 1.8; }

/* cash on delivery confirmation (module cashondeliveryplus, validation page) */
.dm-codp__head { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.dm-codp__icon { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dm-field); color: var(--dm-blue); }
.dm-codp__icon .dm-ic { width: 22px; height: 22px; }
.dm-theme .dm-codp .dm-codp__intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--dm-ink); }
.dm-theme .dm-codp .dm-codp__summary { margin: 0 0 24px; padding: 18px 20px; background: var(--dm-soft); }
.dm-codp__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 14px; }
.dm-theme .dm-codp .dm-codp__row dt { margin: 0; font-weight: 400; color: var(--dm-text); }
.dm-theme .dm-codp .dm-codp__row dd { margin: 0; font-weight: 600; color: var(--dm-ink); white-space: nowrap; }
.dm-codp__row--total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--dm-line); }
.dm-theme .dm-codp .dm-codp__row--total dt { font-weight: 600; color: var(--dm-ink); }
.dm-theme .dm-codp .dm-codp__row--total dd { font-size: 18px; font-weight: 700; }
.dm-theme .dm-codp .dm-codp__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 64px; padding: 12px 20px; font-size: 13px; line-height: 1.3; white-space: normal; }
.dm-codp__btn-sum { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.dm-theme .dm-codp .dm-codp__note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--dm-muted); text-align: center; }
.dm-theme .dm-codp .dm-codp__back { text-align: center; }
.dm-codp__back a { display: inline-flex; align-items: center; gap: 6px; }
.dm-codp__back .dm-ic { width: 16px; height: 16px; }

/* ---------- Product photo viewer (#product-modal): dark full-screen gallery ---------- */
.dm-theme #product-modal.dm-lb { padding: 0 !important; overflow: hidden; }
.dm-theme #product-modal.dm-lb .modal-dialog { width: 100%; max-width: none; height: 100%; margin: 0; transform: none; }
.dm-theme #product-modal.dm-lb.fade .modal-dialog { transition: none; }
.dm-theme #product-modal.dm-lb.fade { transition: opacity .2s ease; }
.dm-theme #product-modal.dm-lb .modal-content { display: flex; flex-direction: column; height: 100%; padding: 0; border: 0; border-radius: 0; background: #151b1f; color: #fff; font-family: var(--dm-font, 'Poppins', sans-serif); }
.dm-lb__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; min-height: 72px; padding: 14px 14px 14px 26px; }
.dm-lb__count { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.dm-lb__title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 240px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.dm-lb__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .15s ease; }
.dm-lb__btn:hover, .dm-lb__btn:focus-visible { background: rgba(255, 255, 255, .24); color: #fff; outline: none; }
.dm-lb__btn .dm-ic { width: 22px; height: 22px; stroke-width: 1.6; }
.dm-lb__close { margin-left: auto; }
.dm-lb__stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 90px; }
.dm-lb__arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; }
.dm-lb__prev { left: 22px; }
.dm-lb__next { right: 22px; }
.dm-lb__figure { position: relative; width: 100%; height: 100%; margin: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; touch-action: pan-y pinch-zoom; }
.dm-lb__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: 50% 50%; transition: transform .25s ease, opacity .15s ease; user-select: none; -webkit-user-drag: none; }
.dm-lb__figure.is-zoomed { cursor: zoom-out; touch-action: none; }
.dm-lb__figure.is-zoomed .dm-lb__img { transform: scale(2.2); transition: opacity .15s ease; }
.dm-lb__figure.is-loading .dm-lb__img { opacity: .6; }
.dm-lb__thumbs { display: flex; justify-content: center; gap: 10px; flex: none; margin: 0; padding: 16px 16px 20px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.dm-lb__thumbs::-webkit-scrollbar { display: none; }
.dm-lb__thumbs li { flex: none; }
.dm-lb__thumb { display: block; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: #fff; opacity: .55; overflow: hidden; cursor: pointer; transition: opacity .15s ease, border-color .15s ease; }
.dm-lb__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dm-lb__thumb:hover, .dm-lb__thumb:focus-visible { opacity: .85; outline: none; }
.dm-lb__thumb.is-active { opacity: 1; border-color: var(--dm-blue, #297ea9); }
/* the cover opens the viewer on every screen, phones included */
.dm-theme .dm-product .product-cover .js-qv-product-cover { cursor: zoom-in; }
@media (max-width: 767px) {
  .dm-lb__top { min-height: 64px; padding: 10px 10px 10px 18px; }
  .dm-lb__title { display: none; }
  .dm-lb__stage { padding: 0; }
  .dm-lb__arrow { display: none; }
  .dm-lb__thumbs { justify-content: flex-start; gap: 8px; padding: 14px 16px 18px; }
  .dm-lb__thumbs li:first-child { margin-left: auto; }
  .dm-lb__thumbs li:last-child { margin-right: auto; }
  .dm-lb__thumb { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-lb__img, .dm-theme #product-modal.dm-lb.fade { transition: none; }
}
/* quick view has no photo viewer of its own: hide Classic's magnifier there */
.dm-theme .quickview .product-cover .layer { display: none; }

/* phones and tablets (touch screens without hover): no quick view / add to cart
   buttons on product cards, a tap on the card opens the product page (Anton) */
@media (hover: none) {
  .dm-theme .dm-card .highlighted-informations.dm-card__actions { display: none; }
}

/* productcomments pop-ups ("Write your review", "Review sent", errors) in the
   site style: square window, labels above light blue fields, dark buttons */
.dm-theme .product-comment-modal .modal-dialog { max-width: 720px; }
.dm-theme .product-comment-modal .modal-content { text-align: left; border: 0; border-radius: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .18); font-family: var(--dm-font); }
.dm-theme .product-comment-modal .modal-header { display: flex; align-items: center; gap: 16px; padding: 26px 32px 18px; border-bottom: 1px solid var(--dm-line); }
.dm-theme .product-comment-modal .modal-header .h2 { float: none; display: flex; align-items: center; gap: 10px; flex: 1 1 auto; margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--dm-ink); line-height: 1.3; }
.dm-theme .product-comment-modal .modal-header .material-icons { font-size: 26px; line-height: 1; }
.dm-theme .product-comment-modal .modal-header .material-icons.check_circle { color: var(--dm-ok); }
.dm-theme .product-comment-modal .modal-header .close { float: none; margin: 0; padding: 0; font-size: 28px; font-weight: 300; line-height: 1; color: var(--dm-ink); opacity: .6; text-shadow: none; }
.dm-theme .product-comment-modal .modal-header .close:hover { opacity: 1; }
.dm-theme .product-comment-modal .modal-body { padding: 22px 32px 30px; font-size: 14px; color: var(--dm-text); }
/* product line: small photo, name and short text, rating on the right */
.dm-theme #post-product-comment-form > .row:first-child { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: start; margin: 0 0 6px; padding-bottom: 20px; border-bottom: 1px solid var(--dm-line); }
.dm-theme #post-product-comment-form > .row:first-child::before, .dm-theme #post-product-comment-form > .row:first-child::after { content: none; display: none; }
.dm-theme #post-product-comment-form > .row:first-child > [class*="col-"] { float: none; width: auto; max-width: none; padding: 0; }
.dm-theme .product-comment-modal .modal-dialog .product-cover, .dm-theme .product-comment-modal .modal-dialog .product-cover img { width: 72px; height: 72px; margin: 0; object-fit: cover; background: var(--dm-soft); }
.dm-theme .product-comment-modal .modal-dialog .h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--dm-ink); }
.dm-theme .product-comment-modal [itemprop="description"] { font-size: 13px; line-height: 1.6; color: var(--dm-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dm-theme .product-comment-modal [itemprop="description"] p { margin: 0; }
.dm-theme #post-product-comment-modal #criterions_list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dm-theme #post-product-comment-modal .criterion-rating { align-items: center; gap: 10px; }
.dm-theme #post-product-comment-modal .criterion-rating label { margin: 0; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-ink); }
/* fields */
.dm-theme #post-product-comment-form > .row:not(:first-child) { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; }
.dm-theme #post-product-comment-form > .row:not(:first-child)::before, .dm-theme #post-product-comment-form > .row:not(:first-child)::after { content: none; display: none; }
.dm-theme #post-product-comment-form > .row:not(:first-child) > [class*="col-"] { float: none; width: auto; max-width: none; flex: 1 1 200px; padding: 0; }
.dm-theme .product-comment-modal label.form-label { display: block; text-align: left; margin: 16px 0 6px; font-size: 12px; font-weight: 500; color: var(--dm-ink); }
.dm-theme .product-comment-modal label.form-label sup.required, .dm-theme .product-comment-modal p.required sup { margin: 0 0 0 2px; font-size: 12px; top: 0; color: var(--dm-sale); }
.dm-theme .product-comment-modal input:not([type="checkbox"]):not([type="radio"]), .dm-theme .product-comment-modal textarea {
  display: block; width: 100%; margin: 0; border: 1px solid var(--dm-field-line); border-radius: 0; background: var(--dm-field);
  font-family: var(--dm-font); font-size: 14px; color: var(--dm-ink); box-shadow: none; outline: 0;
}
.dm-theme .product-comment-modal input:not([type="checkbox"]):not([type="radio"]) { height: 46px; padding: 0 14px; }
.dm-theme .product-comment-modal textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
.dm-theme .product-comment-modal input:focus, .dm-theme .product-comment-modal textarea:focus { border-color: var(--dm-blue); box-shadow: 0 0 0 3px rgba(41, 126, 169, .14); }
.dm-theme #post-product-comment-form input.error, .dm-theme #post-product-comment-form textarea.error { border-color: #c9302c; background: #fdf3f3; }
.dm-theme .product-comment-modal .psgdpr_consent_message, .dm-theme .product-comment-modal .gdpr_consent { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--dm-text); }
/* bottom line: "* Required fields" on the left, buttons on the right */
.dm-theme #post-product-comment-form > .row:last-child { align-items: center; margin-top: 20px; }
.dm-theme .product-comment-modal p.required { margin: 0; font-size: 12px; color: var(--dm-muted); }
.dm-theme .product-comment-modal .post-comment-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.dm-theme .product-comment-modal .btn-comment, .dm-theme .product-comment-modal .btn-comment-inverse {
  display: inline-flex; align-items: center; justify-content: center; height: 46px; margin: 0; padding: 0 26px;
  border: 1px solid var(--dm-ink-2); border-radius: 0; box-shadow: none; background: var(--dm-ink-2); color: #fff;
  font-family: var(--dm-font); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
}
.dm-theme .product-comment-modal .btn-comment:hover, .dm-theme .product-comment-modal .btn-comment:focus { background: var(--dm-blue); border-color: var(--dm-blue); color: #fff; }
.dm-theme .product-comment-modal .btn-comment-inverse { background: #fff; color: var(--dm-ink-2); }
.dm-theme .product-comment-modal .btn-comment-inverse:hover, .dm-theme .product-comment-modal .btn-comment-inverse:focus { background: var(--dm-ink-2); border-color: var(--dm-ink-2); color: #fff; }
.dm-theme .product-comment-modal .post-comment-buttons .btn-comment { margin-left: 0; }
.dm-theme #product-comment-posted-modal .post-comment-buttons, .dm-theme #product-comment-post-error .post-comment-buttons,
.dm-theme #update-comment-usefulness-post-error .post-comment-buttons, .dm-theme #report-comment-posted .post-comment-buttons,
.dm-theme #report-comment-post-error .post-comment-buttons { margin-top: 22px; }
@media (max-width: 575px) {
  .dm-theme .product-comment-modal .modal-dialog { margin: 10px auto; width: calc(100% - 20px); }
  .dm-theme .product-comment-modal .modal-header { padding: 18px 18px 14px; }
  .dm-theme .product-comment-modal .modal-body { padding: 16px 18px 22px; }
  .dm-theme #post-product-comment-form > .row:first-child { grid-template-columns: 56px minmax(0, 1fr); }
  .dm-theme .product-comment-modal .modal-dialog .product-cover, .dm-theme .product-comment-modal .modal-dialog .product-cover img { width: 56px; height: 56px; }
  .dm-theme #post-product-comment-form > .row:first-child > .col-sm-6 { grid-column: 1 / -1; }
  .dm-theme #post-product-comment-modal .criterion-rating { justify-content: flex-start; }
  .dm-theme .product-comment-modal .post-comment-buttons { flex-direction: column-reverse; align-items: stretch; margin-top: 12px; }
  .dm-theme .product-comment-modal .post-comment-buttons .btn { width: 100%; }
}
